Allow GPU payload HNSW builds without main graph#8832
Conversation
Create GPU vector storage when payload HNSW links need indexing so hnsw.m=0 does not force payload block construction onto CPU. Made-with: Cursor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughGPU vector allocation in HNSW index construction is made conditional not only for main-graph builds but also when additional payload link graphs require GPU indexing. The code now creates Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Collapse the main-graph GPU condition so the all-features lint job passes. Made-with: Cursor
* fix: allow GPU payload HNSW builds without main graph Create GPU vector storage when payload HNSW links need indexing so hnsw.m=0 does not force payload block construction onto CPU. Made-with: Cursor * fix: satisfy clippy in GPU HNSW path Collapse the main-graph GPU condition so the all-features lint job passes. Made-with: Cursor --------- Co-authored-by: Cursor Agent <[email protected]>
Summary
hnsw.m=0.Test plan
cargo check -p segmentcargo check -p segment --features gpucargo test -p segment --features gpu --test integration gpu_hnsw_test --no-runMade with Cursor