faiss
by facebook
GPU-accelerated billion-scale vector similarity search and clustering
facebook/faissmixpeek://vector_index@v1/facebook_faiss_v1Overview
FAISS is Meta's library for efficient similarity search and clustering of dense vectors. It supports multiple index types (IVF, PQ, HNSW, flat), product quantization for compression, and optimized GPU kernels that handle billion-scale datasets.
On Mixpeek, FAISS powers the vector search infrastructure behind retriever stages, enabling sub-millisecond approximate nearest neighbor queries over large embedding collections.
Architecture
C++ library with Python bindings. Supports flat (exact), IVF (inverted file), PQ (product quantization), HNSW (graph-based), and composite indexes. GPU batched search with CUDA kernels for billion-scale workloads.
Mixpeek SDK Integration
// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so faiss runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
const res = await fetch(
"https://api.mixpeek.com/v1/namespaces/ns_your_namespace/documents/upsert",
{
method: "POST",
headers: {
Authorization: "Bearer API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
collection_id: "col_your_collection",
documents: [
{
document_id: "asset-00412",
// The vector name has to match a vector index on the collection.
vectors: { "image-embedding": yourVector },
payload: { source_key: "archive/2026/asset-00412" },
},
],
}),
},
);
// Managed alternative, if this exact model is not the requirement:
// image_extractor@v1 runs google/siglip-base-patch16-224
// (768-d) over a bucket, with no inference of your own.Capabilities
- Billion-scale approximate nearest neighbor search
- GPU-accelerated with CUDA kernels
- Product quantization for 10-100x memory compression
- Multiple index types: IVF, PQ, HNSW, flat
- Clustering with k-means at scale
Use Cases on Mixpeek
Benchmarks
| Dataset | Metric | Score | Source |
|---|---|---|---|
| SIFT1M | Recall@1 (IVF4096,PQ64) | 97.2% | Johnson et al., 2019: Table 2 |
| Deep1B | Recall@1 (OPQ) | 94.5% | Johnson et al., 2019: Table 4 |
Performance
Library, not a model: GPU-accelerated similarity search
Common Pipeline Companions
Explore on Mixpeek
Compare alternatives in this category
Hand-picked tools & platforms compared
Deep-dive technical guide
See how Mixpeek runs models as extractors
Store & search embeddings at scale
Usage-based pricing for pipelines
Compare models, APIs & infrastructure
Specification
Build a pipeline with faiss
Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.
Run it on your own data, free