faiss

Perform fast similarity search over large-scale dense vectors with FAISS index types.

Updated May 20, 2026
One-click install
npx skills add https://github.com/SriRamkunamsetty/SITA2.0-HermesAgent --skill faiss-sriramkunamsetty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: faiss
Source: https://github.com/SriRamkunamsetty/SITA2.0-HermesAgent/tree/main/hermes-agent/optional-skills/mlops/faiss
Command: npx skills add https://github.com/SriRamkunamsetty/SITA2.0-HermesAgent --skill faiss-sriramkunamsetty

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FAISS provides fast, scalable similarity search over large-scale dense vector datasets, enabling efficient nearest-neighbor retrieval for embeddings.

Core Features & Use Cases

  • Supports multiple index types (Flat, IVF, HNSW, PQ) for exact and approximate search.
  • GPU acceleration and CPU options for flexible deployment.
  • Use cases include embedding retrieval, recommendation, similarity search, and clustering on large vector collections.

Quick Start

Install FAISS (faiss-cpu or faiss-gpu), create an index with your vector dimension, add your vectors, and perform a search.

Frequently Asked Questions about faiss

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

FAQPage Schema
How do I perform fast similarity search over large-scale dense vectors?

FAISS enables fast similarity search over large-scale dense vectors by creating an index for your vector dimension, adding your vectors, and querying for nearest neighbors. It supports billions of vectors across AI pipelines.

When do I need approximate vs exact nearest-neighbor search for embedding retrieval?

Approximate nearest-neighbor search is needed for billion-scale embedding retrieval to balance speed and accuracy. Exact search uses Flat indices, while IVF, HNSW, and PQ indices provide approximate search for faster, scalable querying.

Do I need faiss-gpu installed to run vector search, or can I use faiss-cpu?

You do not need faiss-gpu installed to run vector search; faiss-cpu is fully supported for CPU deployment. FAISS offers GPU acceleration as a flexible option for faster processing, requiring faiss-gpu and numpy.

What is the best way to scale vector similarity search across billions of vectors?

The best way to scale vector similarity search across billions of vectors is using FAISS with IVF, HNSW, or PQ indices. These approximate search structures reduce computational load while maintaining retrieval accuracy on large collections.

Does FAISS support GPU acceleration for recommendation and clustering pipelines?

FAISS supports GPU acceleration for recommendation and clustering pipelines via the faiss-gpu backend. This provides flexible deployment options for processing large vector collections alongside standard CPU operations.

Why use FAISS for vector similarity search instead of other data and analytics tools?

FAISS is used for vector similarity search because it handles exact and approximate search across Flat, IVF, HNSW, and PQ indices. It provides specialized, fast nearest-neighbor retrieval for dense embeddings at a billion-vector scale.