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

[FEATURE] Lucene Inbuilt Scalar Quantizer to convert float 32 bits to 4 bits #2252

Open
naveentatikonda opened this issue Nov 7, 2024 · 0 comments · May be fixed by #2253
Open

[FEATURE] Lucene Inbuilt Scalar Quantizer to convert float 32 bits to 4 bits #2252

naveentatikonda opened this issue Nov 7, 2024 · 0 comments · May be fixed by #2253

Comments

@naveentatikonda
Copy link
Member

Description

Since OpenSearch 2.17 we have support for Lucene Inbuilt Scalar Quantizer which accepts fp32 vectors as input and dynamically quantizes the data into int7 ranging from [0 to 127] providing 4x compression. Adding support for 4 bits to the Lucene SQ provides 8x compression which helps to quantize fp32 vectors into int4 ranging from [0 to 15], which helps to further reduce the memory requirements by trading off recall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 2.19.0
Development

Successfully merging a pull request may close this issue.

2 participants