Expand description
Native FAISS Integration — UNAVAILABLE under the Pure Rust policy
This module’s types describe what a native FAISS integration (via FFI
bindings to Facebook’s C++ FAISS library) would look like, but no such
integration is actually wired up: the COOLJAPAN Pure Rust Policy forbids
adding new C/C++ FFI dependencies to this crate’s default build, and no
oxirs-vec-adapter-faiss quarantine crate exists (unlike, e.g.,
oxirs-vec-adapter-cuda for CUDA).
NativeFaissIndex::new therefore always returns an explicit error
instead of fabricating a working index behind fake numeric handles. Use
this crate’s Pure Rust indexes instead (HnswIndex, IvfIndex,
PQIndex, …), or the byte-compatible (import/export only, no live FFI)
crate::faiss_compatibility module.
The struct/field definitions below are kept only so that a future real
oxirs-vec-adapter-faiss crate has a documented shape to implement
against; none of the “simulated” logic they describe (GPU context,
memory pool, benchmark numbers) executes in production.
Structs§
- Allocation
Stats - Memory allocation statistics
- Benchmark
Dataset - Benchmark dataset
- Benchmark
Result - Individual benchmark result
- Comparison
Data - Performance comparison data
- Comparison
Result - Comparison result
- Dataset
Characteristics - Dataset characteristics for benchmarking
- Faiss
Performance Comparison - Performance comparison framework
- GpuContext
- GPU context for FAISS GPU operations
- GpuMetrics
- GPU performance metrics
- GpuResource
- GPU resource handle
- Memory
Block - Memory block in the pool
- Memory
Metrics - Memory efficiency metrics
- Memory
Pool - Memory pool for efficient memory management
- Native
Faiss Config - Native FAISS integration configuration
- Native
Faiss Index - Native FAISS index wrapper
- Native
Faiss Statistics - Native FAISS statistics with detailed metrics
- Native
Metrics - Native FAISS specific metrics
- Native
Performance Tuning - Native performance tuning configuration
- Performance
Metrics - Performance metrics for comparison
- Performance
Ratios - Performance ratios
- Statistical
Significance - Statistical significance test results