Comparison
faiss-cpu vs milvus-lite vs pynndescent vs pyspark-hnsw
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A library for efficient similarity search and clustering of dense vectors.
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install faiss-cpuLightweight version of Milvus for local development and testing
Actively maintained. Last release 7 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
pip install milvus-liteNearest Neighbor Descent
Actively maintained. Last release 2 days ago, commits in 16 of the last 26 weeks. A safe choice.
pip install pynndescentSlowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pyspark-hnswIn short
- pyspark-hnsw is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- faiss-cpu is the most used: 13.3M downloads a month, 1.7× more than pynndescent.
- Maintenance is comparable: faiss-cpu 85, milvus-lite 83, pynndescent 79 on Pythie’s Index.
- Safe default for a new project: faiss-cpu.
Side by side
| Metric | faiss-cpu | milvus-lite | pynndescent | pyspark-hnsw |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | Pythie’s Index: 83 | Pythie’s Index: 79 | Pythie’s Index: 20 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Slowing down |
| Downloads / month | 13.3M | 876.4K | 7.8M | 327.1K |
| Downloads, month over month | +8% | -5% | +9% | -7% |
| GitHub stars | 42K | 466 | 981 | 304 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1.1K | 15 | 103 | 0 |
| Last release | Nov 10, 2026 | Oct 13, 2026 | Dec 1, 2026 | Dec 30, 2022 |
| Releases, 12 months | 7 | 7 | 3 | 0 |
| Weeks with commits | 26 / 26 | 10 / 26 | 16 / 26 | 0 / 26 |
| Recent contributors | 38 | 16 | 12 | 4 |
| First release | Jul 2019 | May 2024 | Mar 2018 | Sep 2019 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.13 | 3.11 – 3.15 | – |
| License | MIT | Apache-2.0 | BSD-2-Clause | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.