faiss
A library for fast similarity search and clustering of dense vectors, able to handle collections too large for memory. It is commonly used for embedding search and recommendation.
Share on XLicense: MIT
Overview
Faiss is a library for similarity search and clustering of dense vectors. It assumes each item is a vector with an integer ID, and finds the vectors closest to a query by L2 distance or dot product. Cosine similarity is supported through normalized vectors. It can search collections of any size, including ones that do not fit in RAM. It is written in C++ with full Python and numpy wrappers, and some algorithms run on the GPU.
Key features
- Nearest-neighbor search by L2 distance or dot product
- Handles vector sets larger than RAM
- C++ core with complete Python and numpy wrappers
- Some algorithms available on the GPU
- Code for evaluation and parameter tuning
Best for
Engineers building embedding search or recommendation features who need to search many vectors quickly. It is developed mainly at Meta's Fundamental AI Research group.
- Upstream
- facebookresearch/faiss
- Fork on GitHub
- Guo-astro/faiss
- Upstream stars
- 41k
- Category
- Developer tools and infrastructure
- Language
- C++
- License
- MIT
- Forked
- 2025-11-12
- Sync status
- In syncLast synced 2026-09-29
More in Developer tools and infrastructure
DBX is a lightweight, cross-platform database client for connecting to and managing over 100 database types. It offers desktop, Docker, and CLI access, plus AI assistance and an MCP Server for database workflows.
Forked 2026-09-29Last synced 2026-09-29License: Apache-2.0Developer tools and infrastructureGitHub
Escrcpy is a graphical desktop interface for scrcpy that mirrors and controls Android devices. It helps developers and testers manage connected devices, including wireless and multi-device workflows.
Forked 2026-09-29Last synced 2026-09-29License: Apache-2.0Developer tools and infrastructureGitHub
Lightpanda is a headless browser built from scratch for AI agents and automation. It aims to be lighter and faster than Chromium and works with Playwright and Puppeteer.
Forked 2026-09-28Last synced 2026-09-29License: AGPL-3.0Developer tools and infrastructureGitHub
A self-hosted open-source monitoring platform for servers, apps and infrastructure. It offers uptime monitoring, distributed checks, incident tracking and alerts.
Forked 2026-09-28Last synced 2026-09-29License: MITDeveloper tools and infrastructureGitHub