Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Faiss SQFP16 Range Validation and Clipping #1563

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport d63ce27 from #1562

* Add Range Validation for SQFP16 (#1493)

* Add Range Validation for SQFP16 Vector Data

Signed-off-by: Naveen Tatikonda <[email protected]>

* Add index setting to clip vector data to FP16 range

Signed-off-by: Naveen Tatikonda <[email protected]>

* Add CHANGELOG

Signed-off-by: Naveen Tatikonda <[email protected]>

* Add an encoder parameter to clip fp16 range

Signed-off-by: Naveen Tatikonda <[email protected]>

* Address Review Comments

Signed-off-by: Naveen Tatikonda <[email protected]>

* Add BWC Tests

Signed-off-by: Naveen Tatikonda <[email protected]>

---------

Signed-off-by: Naveen Tatikonda <[email protected]>

* SQFP16 Range Validation for Faiss IVF Models (#1557)

* SQFP16 Range Validation for Faiss IVF Models

Signed-off-by: Naveen Tatikonda <[email protected]>

* Address Review Comments

Signed-off-by: Naveen Tatikonda <[email protected]>

---------

Signed-off-by: Naveen Tatikonda <[email protected]>

* Rebase Changes

Signed-off-by: Naveen Tatikonda <[email protected]>

---------

Signed-off-by: Naveen Tatikonda <[email protected]>
(cherry picked from commit d63ce27)
Signed-off-by: Naveen Tatikonda <[email protected]>
Copy link

codecov bot commented Mar 18, 2024

Codecov Report

Attention: Patch coverage is 73.43750% with 17 lines in your changes are missing coverage. Please review.

Project coverage is 84.97%. Comparing base (6329f5f) to head (cca4adc).

Files Patch % Lines
...nsearch/knn/index/mapper/KNNVectorFieldMapper.java 74.35% 7 Missing and 3 partials ⚠️
.../main/java/org/opensearch/knn/index/Parameter.java 36.36% 5 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #1563      +/-   ##
============================================
- Coverage     85.03%   84.97%   -0.07%     
- Complexity     1325     1343      +18     
============================================
  Files           167      167              
  Lines          5452     5510      +58     
  Branches        533      548      +15     
============================================
+ Hits           4636     4682      +46     
- Misses          587      595       +8     
- Partials        229      233       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@naveentatikonda naveentatikonda merged commit 1d712da into 2.x Mar 18, 2024
79 of 80 checks passed
@github-actions github-actions bot deleted the backport/backport-1562-to-2.x branch March 18, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants