Repository navigation
Send half_float vectors to the remote index build service - #3608
ManasviGoyal wants to merge 3 commits into
Conversation
PR Reviewer Guide 🔍(Review updated until commit ea431df)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to ea431df Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit f42efd3
Suggestions up to commit 7fe9fb9
Suggestions up to commit 5df8439
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3608 +/- ##
============================================
+ Coverage 83.08% 83.10% +0.01%
Complexity 5013 5013
============================================
Files 489 489
Lines 17793 17783 -10
Branches 2399 2396 -3
============================================
- Hits 14783 14778 -5
+ Misses 2103 2101 -2
+ Partials 907 904 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Persistent review updated to latest commit f41bd45 |
|
@ManasviGoyal please check the CI failures. |
@navneet1v the remote vector changes need to be merged first and then we need to republish the api-latest for the CIs to pass |
f41bd45 to
7fe9fb9
Compare
|
Persistent review updated to latest commit 7fe9fb9 |
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit f42efd3. ⛔ Hard block: Issues at High severity or above will block this PR from merging.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
|
Persistent review updated to latest commit f42efd3 |
Signed-off-by: Manasvi Goyal <mg.manasvi@gmail.com>
Signed-off-by: Manasvi Goyal <mg.manasvi@gmail.com>
Signed-off-by: Manasvi Goyal <mg.manasvi@gmail.com>
f42efd3 to
ea431df
Compare
|
Persistent review updated to latest commit ea431df |
Description
Upload
half_floatvectors to the remote index build service as fp16 (2 bytes per dimension) instead of fp32.Today the data node expands
half_floatvectors to fp32 for upload and the service converts them back to fp16 before building on the GPU, which takes fp16 natively. Twice the bytes to S3 and a conversion pass for nothing.The upload stream now encodes each
half_floatvector to fp16 with the existing SIMD encoder, and the size estimates that paddedhalf_floatto 4 bytes per dimension use the real 2 bytes. Only thehalf_floatfield type changes;floatwith the fp16 scalar quantizer still uploads fp32. Request format and search path are unchanged.Requires opensearch-project/remote-vector-index-builder#155 deployed first as an older service misreads fp16 blobs as fp32.
Docker image tag changed from 'api-latest' to 'api-snapshot' for apply remote-vector-index-builder changes.
Related Issues
Resolves #3607
Check List
--signoff.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.