Skip to content

TurboQuant native distance path and HNSW persistence support (WIP quality tuning)#36413

Open
SahilKumar75 wants to merge 1 commit into
vespa-engine:masterfrom
SahilKumar75:issue-36327-turboquant-hnsw
Open

TurboQuant native distance path and HNSW persistence support (WIP quality tuning)#36413
SahilKumar75 wants to merge 1 commit into
vespa-engine:masterfrom
SahilKumar75:issue-36327-turboquant-hnsw

Conversation

@SahilKumar75

Copy link
Copy Markdown
Contributor

I hereby state that this submission is released according to the license in the root of this project's source tree, and that I have the proper authorization to make this contribution on behalf of the owner of its copyright.

Tracks #36327

Summary of changes introduced
A dedicated TurboQuant distance path (no DotProduct fallback).
TurboQuant-aware HNSW saving/loading of internal state hooks.
Improvements in schema/tooling as well as additional TurboQuant-specific tests.

Validation
All distance functions: validation passed.
HNSW Index: all validation passed.
Stress test for HNSW index (using SIFT dataset): passed.
Latency / memory checks performed.

Limitations of the current implementation
Recall metric is yet to meet the desired level (recall@10 ~ 0.26 on SIFT subset).
Therefore, this PR can be considered integration/stability ready, however requires some more quality tuning before closing #36327.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants