Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Latest commit

 

History

History

diskann-quantization

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Quantization

Refer to the crate level documentation for usage of the quantization crate.

Inspecting CPU caches

cargo run -p diskann-quantization --features cache-diagnostics --bin detect-cache

Reports the probe source and hardware L1d/L2 capacities before budget scaling. logical_sharers is an OS-reported count, not a count of active workers or a cache reservation. CPUID and other unavailable counts are reported as unknown.

Generating FlatBuffers bindings

The Rust bindings generated from the files in schemas are checked into src/flatbuffers. Regenerate them after changing a schema:

./tools/generate-flatbuffers.sh

The script finds flatc on PATH by default. Pass a path to use another executable:

./tools/generate-flatbuffers.sh /path/to/flatc

Use flatc version 25.2.10, available from the official release page.

SHA-512 sums of the zip directories for v25.2.10 are as follows.

  • 6a20c2fc4e4e094574a0fd064f79a374eb9e6abba9e49d4543ec384b056725f6ca9f7823ba5952fcfa40e31a56a4e25baa659415d94edd69a7a978942577c579 Linux.flatc.binary.clang++-18.zip
  • 8784aae9f7984fdf5685e3944787bc547ca3a8bccefa4ba33efbe73960ebb6c94c2061d251dcc00e683133e65c8f47833195e0293415bc8abbd7b5aab4419714 Windows.flatc.binary.zip