Install & Compatibility
Where this runs
tested against v1.4.7.2110 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
py 3.10
✕ build_error
✓ 78.2s
py 3.11
✕ build_error
✓ 69.6s
py 3.12
✕ build_error
✓ 64.8s
py 3.13
✕ build_error
✓ 58.3s
py 3.9
✕ build_error
✕ timeout
4813MB installed
● package 4813MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
FastPlaid
✓ from fast_plaid.search import FastPlaid
✗ from fast_plaid import FastPlaid
FastPlaid is in the search submodule, not the root package
search
✓ from fast_plaid import search
The search module contains FastPlaid and helper functions
Basic index creation and search with random embeddings
import torch
from fast_plaid.search import FastPlaid
# Create random embeddings (100 documents, 128 dimensions)
docs = torch.randn(100, 128)
queries = torch.randn(5, 128)
# Build index
plaid = FastPlaid()
plaid.create(docs)
# Search
scores, indices = plaid.search(queries, top_k=3)
print(indices)
Errors
Common errors & fixes
ImportError: cannot import name 'FastPlaid' from 'fast_plaid'
FastPlaid class is in the search submodule, not the root package.
fixUse 'from fast_plaid.search import FastPlaid' instead of 'from fast_plaid import FastPlaid'.
PanicException: input tensor is too large
The internal quantile computation fails on large datasets due to PyTorch size limits in versions <1.4.5.
fixUpgrade to fast-plaid >=1.4.5, which replaces quantile with kthvalue-based approach.
AttributeError: 'FastPlaid' object has no attribute 'delete'
The delete method was introduced in version 1.2.3; using an older version.
fixUpgrade to fast-plaid >=1.2.3: pip install 'fast-plaid>=1.2.3'
Upgrade
Version history
1.4.7.2110latest on PyPI · released May 28, 2026
Audit
Dependencies
torchrequiredCore dependency for tensor operations and GPU acceleration