High-performance C++ library for vector similarity search at billion scale. Uses Intel MKL, AVX-512/multi-arch SIMD dispatch, quantization, NUMA-aware memory, OpenMP threading. Python bindings via pybind11. Archetype: C++ (with Python bindings).
Tech stack: C++20, Intel MKL, OpenMP, pybind11, CMake. Core principle: Performance over simplicity in hot paths.
- Backward compatibility is default for public API (
include/svs/) - Performance-critical: avoid allocations in hot loops, respect memory alignment
- For SIMD dispatch changes: consult
cmake/multi-arch.cmakeandinclude/svs/multi-arch/ - Python bindings: update
bindings/python/and ensure GIL release for blocking MKL calls
Build: cmake -B build && cmake --build build
Test: ctest --test-dir build
Python: pip install -e bindings/python/
.github/AGENTS.md— CI/CDbenchmark/AGENTS.md— performance benchmarksbindings/AGENTS.md— C++/Python bindings (router)cmake/AGENTS.md— build systeminclude/svs/AGENTS.md— public C++ APItests/AGENTS.md— test suite
For Copilot/agent behavior policy: .github/copilot-instructions.md