faiss

Community

Billion-scale vector search, pure performance.

AuthorzechenzhangAGI
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the critical need for ultra-fast similarity searches on massive datasets of dense vectors, often involving millions or billions of items. It provides a high-performance solution for applications where speed and scale are paramount, without the overhead of a full database.

Core Features & Use Cases

  • Billion-Scale Search: Efficiently search and cluster billions of vectors, enabling large-scale applications like image retrieval, data deduplication, or recommendation systems.
  • GPU Acceleration: Achieve 10-100× faster search speeds with robust GPU support, drastically reducing query latency for demanding workloads.
  • Diverse Index Types: Choose from various index types (Flat for exact, IVF for approximate, HNSW for best quality/speed) to optimize for your specific performance and accuracy needs.
  • High Performance: Ideal for applications demanding high throughput and low latency pure similarity search, without needing metadata filtering capabilities.
  • Use Case: Build a recommendation system that finds similar items from a catalog of millions in milliseconds, or perform large-scale data deduplication across petabytes of data.

Quick Start

Create a NumPy array of 1000 random 128-dimensional vectors. Initialize a faiss.IndexFlatL2 index, add the vectors, then search for the 5 nearest neighbors to a query vector.

Dependency Matrix

Required Modules

faiss-cpufaiss-gpu

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: faiss
Download link: https://github.com/zechenzhangAGI/AI-research-SKILLs/archive/main.zip#faiss

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository