Code
How facebookresearch/faiss is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new index type
- Export the class in SWIG interface by adding class declarations.
- Add wrapper in Python class_wrappers.py for user-friendly API.
Add GPU implementation for existing index
- Register cloner logic in GpuCloner to convert CPU to GPU index.
Add new distance metric
- Implement distance computation kernel in distances.h and dispatch table.
- Add dispatcher logic to select correct implementation at runtime.
- Integrate into Index.cpp search methods to use new metric.
Change the public API
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.