faiss

Search large-scale dense vector datasets with GPU-accelerated FAISS indexing.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/LynxLabVN/office-agent --skill faiss-lynxlabvn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: faiss
Source: https://github.com/LynxLabVN/office-agent/tree/main/agent-core/optional-skills/mlops/faiss
Command: npx skills add https://github.com/LynxLabVN/office-agent --skill faiss-lynxlabvn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires faiss-cpu, faiss-gpu, numpy, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides efficient vector similarity search for large datasets, addressing the challenges of indexing and searching billions of vectors in high-dimensional spaces.

Core Features & Use Cases

  • Large Scale Search: Index and search billions of vectors, with GPU acceleration available.
  • Flexible Indexing: Choose from multiple index types like Flat, IVF, HNSW, and PQ.
  • Use Case: Imagine you have a dataset of customer queries and their embeddings. Use this Skill to quickly find similar queries for personalized recommendations.

Quick Start

Load the pre-trained index 'pretrained-index' and search for the most similar queries to a new customer query using the faiss skill.

Frequently Asked Questions about faiss

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform vector similarity search on billions of high-dimensional vectors?

Vector similarity search on billions of high-dimensional vectors is achieved through flexible indexing methods like IVF, HNSW, and PQ, allowing quick retrieval of near neighbors from large datasets.

Can I use GPU acceleration for dense vector similarity search?

Yes, GPU acceleration is supported for dense vector similarity search. By utilizing faiss-gpu alongside numpy, the retrieval process is optimized for faster performance on large datasets.

What is the best way to index dense vectors for large-scale retrieval?

The best way to index dense vectors for large-scale retrieval is by selecting an appropriate index type such as Flat, IVF, HNSW, or PQ based on your specific search accuracy and speed requirements.

Does this vector search approach work for clustering applications?

Yes, this vector search approach works for clustering applications. It facilitates quick retrieval of near neighbors and clustering applications for large-scale dense vector datasets.

Do I need faiss-cpu and faiss-gpu installed for high-dimensional vector processing?

You need either faiss-cpu or faiss-gpu installed for high-dimensional vector processing, depending on your hardware. Both dependencies integrate with numpy to handle the underlying data arrays.