[Enhance]: Support the DiskANN index compute distances through turbo Quantizer
メンテナーはふだん 1 日以内に返信
@richyreachy がすでに取り組んでいます。
2026年10月13日 から。
評価
この issue はまだ評価されていません。
説明
Affected Component
DiskANN builder, searcher, streamer, and Turbo quantizer framework.
Current Behavior
DiskANN maintains a dedicated PQ implementation, resulting in duplicated training, serialization, and distance-calculation logic. It also lacks a standard mechanism for injecting external quantizers.
Desired Improvement
Refactor DiskANN to use the Turbo quantizer framework:
- Replace the legacy DiskANN PQ trainer/table with
PqInt8Quantizer. - Persist self-describing quantizer metadata with the index.
- Restore quantizers through the common initialization/deserialization contract.
- Support external quantizer injection in builders, searchers, and streamers.
- Support FP16 and FP32 input with L2, cosine, and inner-product policies.
- Use SIMD-optimized full-precision distance calculations during graph construction and reranking.
- Add tests covering general search, filtering, grouping, node cache, vector fetching, RNN search, and FP16 entry points.
Impact
This consolidates quantization under one framework, reduces duplicated code, and makes future quantizer integration easier.
Benchmark results show:
- Search QPS is 0.5–2.9% higher than the main branch.
- FP32 recall remains within ±0.1 percentage points of main.
- FP16 Turbo PQ introduces an expected 1.6–2.1 percentage-point R@1 trade-off.
- 主要言語
- C++
- スター
- 16.3k
- フォーク
- 1k
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 32
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
alibaba/zvec のほかの issue
-
[Feature]: IVF_TIEREDQ index type, with a learned variable-bit codec (25–44% less index memory than `IVF_RABITQ` at equal recall)対応中かも @richyreachy が 7 日前に担当しました。 オープンfeature
メンテナーはふだん 1 日以内に返信
-
Support an opt-in portable x86 FastPFOR build without SSE4.1対応中かも @egolearner が 20 日前に担当しました。 オープン
alibaba/zvec#875 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Enhance]: Reduce vector index block fragmentation caused by frequent flushes対応中かも @feihongxu0824 が 22 日前に担当しました。 オープンenhancement
メンテナーはふだん 1 日以内に返信
-
[Performance]:High-selectivity range filter materializes a full bitmap — `bitset_set_list` ~49% CPU, dwarfing the ANN search対応中かも @zhourrr が 22 日前に担当しました。 オープンenhancement
alibaba/zvec#868 · コメント 13 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Performance] Warm-query latency on small collections with query() and query_internal_ids() in v0.8.0再び着手できるかも @egolearner が 33 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
deepseek-ai/DeepEP#839 ·
メンテナーはふだん 6 日以内に返信
-
bot-triaged module: correctness (silent) module: cpu module: empty tensor module: loss triage review
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
stephenberry/glaze#3126 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ultravideo/kvazaar#453 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
google-ai-edge/LiteRT-LM#4783 ·
メンテナーはふだん 1 日以内に返信