Skip to content

[WIP] ANNs for clustering at training time #1938

Open
HowardHuang1 wants to merge 12 commits into
NVIDIA:mainfrom
HowardHuang1:HH-ANNs-for-clustering-at-training
Open

[WIP] ANNs for clustering at training time #1938
HowardHuang1 wants to merge 12 commits into
NVIDIA:mainfrom
HowardHuang1:HH-ANNs-for-clustering-at-training

Conversation

@HowardHuang1

Copy link
Copy Markdown
Contributor

No description provided.

@copy-pr-bot

copy-pr-bot Bot commented Mar 20, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@aamijar aamijar moved this to In Progress in Unstructured Data Processing Mar 20, 2026
@aamijar aamijar added non-breaking Introduces a non-breaking change feature request New feature or request labels Mar 20, 2026
@aamijar

aamijar commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

/ok to test d26e916

…sed by upstream changes. Add 2 helper functions to recover use_ann_for_extend flag after serialize/deserialize
…rrors Extend_NearestCentroidLookup_Speedup for clarity
…up_Speedup and BM_IVFPQ_Extend_NearestCentroidLookup_Speedup. Also rename use_ann_for_fit to use_ann_for_build_fit to clear up confusion because ANN for nearest cluster assignment can occur in 2 places within build(): (1) in fit and (2) post-fit
…stfit boolean and test cases. Since extend and postfit both use ann on fixed centroids, we factored out common code. Renamed functions in kmeans_balanced.cuh for clarity: assign_nearest_centroid_cagra now more accurately mirrors assign_nearest_centroid_cagra_with_index_reuse.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request New feature or request non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants