facebookresearch/faiss

A library for efficient similarity search and clustering of dense vectors.

Owned by Meta

View on GitHub ↗Jump to charts ↓Open shareable report →

facebookresearch/faiss has 41k+ stars and 4.5k+ forks on GitHub, is written in C++, and was last pushed on Oct 16, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on August 31st, 2026
Created on February 7th, 2017
Open Issues & Pull Requests: 356 (+0)
GitHub issues: Enabled
Number of forks: 4,558
Total Stargazers: 41,164 (-1)
Total Subscribers: 498 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 24.6 hours
Mean response time: 17.1 days
90th percentile: 11.3 days
Tracked items: 411

Maintainer activity

13 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

How this project is maintained

Roughly one issue in five opened in the past year never receives a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "enhancement" is answered fastest, typically in about 13 hours, while "backlog" waits about 3 days. 72% of issues opened in the past year have been closed, leaving a working backlog. Three people close 50% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 84
New in 7 days: 3
Closed in 7 days: 1
Avg open age: 616 days
Stale 30+ days: 76
Stale 90+ days: 53

Recent activity

Opened in 7 days: 3
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • autoclose (95)
  • install (78)
  • Implementation (71)
  • GPU (70)
  • stale (67)
  • backlog (53)
  • feature request (45)
  • unconfirmed-bug (41)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Faiss is a library for efficient similarity search and clustering of dense vectors.

Faiss addresses the problem of finding similar vectors in large datasets by providing multiple indexing algorithms that trade off search speed, result quality, memory usage, and training time. The library assumes vectors are represented as fixed-dimensional arrays and compared using L2 distance or dot product similarity. It includes methods ranging from exact search baselines to compressed quantization codes that can scale to billions of vectors in memory on a single machine, as well as graph-based structures like HNSW and NSG. GPU implementations are available for the most computationally intensive operations, with automatic memory transfer handling and support for both single and multi-GPU setups.

Faiss suits projects requiring vector similarity at scale, from recommendation systems to semantic search. The choice between methods depends on whether your use case prioritizes exact results or can tolerate approximation in exchange for speed and memory efficiency. The library is implemented primarily in C++ with Python bindings, requires only a BLAS implementation as a core dependency, and offers optional GPU acceleration via CUDA or AMD ROCm. Precompiled packages are available through Anaconda for both CPU and GPU variants.

The project maintains a detailed changelog documenting feature additions and improvements. Development activity includes ongoing refinement of indexing algorithms and GPU implementations, with support for emerging GPU backends like NVIDIA cuVS. The codebase is built with CMake and includes comprehensive documentation alongside the core library functionality.