faiss

Perform billion-scale vector similarity search with FAISS index types on GPU or CPU.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Rawgrowth-Consulting/rawclaw-agent --skill faiss-rawgrowth-consulting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: faiss
Source: https://github.com/Rawgrowth-Consulting/rawclaw-agent/tree/main/optional-skills/mlops/faiss
Command: npx skills add https://github.com/Rawgrowth-Consulting/rawclaw-agent --skill faiss-rawgrowth-consulting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FAISS enables fast, scalable vector similarity search and clustering on billion-scale embeddings, supporting GPU acceleration and various index types.

Core Features & Use Cases

  • Efficient, GPU-accelerated vector search for embeddings with billions of vectors
  • Supports index types such as Flat, IVF, and HNSW for different accuracy/speed tradeoffs
  • Pure vector similarity search without the need for metadata, suitable for large-scale retrieval and RAG workflows

Quick Start

Install FAISS and run the basic CPU/GPU example to index 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 vector similarity search on billion-scale embeddings?

Vector similarity search on billion-scale embeddings requires specialized index structures like Flat, IVF, or HNSW to balance speed and accuracy. FAISS provides fast, scalable retrieval for large-scale datasets across CPU and GPU environments without needing metadata.

When do I need GPU acceleration for large-scale vector search?

GPU acceleration for large-scale vector search is needed when querying billions of embeddings to maximize throughput. FAISS supports GPU execution alongside CPU bindings to significantly speed up similarity search and clustering for massive embedding datasets.

Can I use FAISS for retrieval in RAG workflows without metadata?

Yes, you can use FAISS for retrieval in RAG workflows without metadata. It performs pure vector similarity search based solely on embedding vectors, making it suitable for large-scale retrieval where metadata-free similarity matching is required.

What is the best way to choose between IVF and HNSW index types for similarity search?

Choosing between IVF and HNSW index types for similarity search depends on your accuracy and speed tradeoff requirements. FAISS supports multiple index types including Flat, IVF, and HNSW to optimize large-scale retrieval based on specific performance needs.

Does vector similarity search work with Python bindings for CPU execution?

Yes, vector similarity search works with Python bindings for CPU execution. FAISS provides Python bindings that allow you to index vectors and perform fast similarity search directly on CPU or scale up using GPU acceleration.