Adjust GPU graph building params#137074
Merged
mayya-sharipova merged 2 commits intoelastic:mainfrom Oct 24, 2025
Merged
Conversation
cuvs 2025.12 https://github.com/rapidsai/cuvs/pull/1448/files will provide an API for converting HNSW CPU Params to Cagra params. But for current ES that uses 2025.10 version, we need to adjust params ourselves. This PR adjust params based on the code from the cuvs library. fadfas
Collaborator
|
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
Collaborator
|
Hi @mayya-sharipova, I've created a changelog YAML for you. |
Contributor
Author
|
New cagra params for GPU index building based on this PR With this adjustments, we can make GPU indexing/merging up to **3x faster ** than before gist: 1_000_000 docs; 960 dims; euclidean metric
cohere-wikipedia_v2: 934_024 docs; 768 dims; cosine metric
quora-E5-small: 522931 docs; 384 dims; cosine metric
opeanai: 2.6M docs; 1536 dims; dot_product (cosine for GPU)
|
Collaborator
💚 Backport successful
|
mayya-sharipova
added a commit
to mayya-sharipova/elasticsearch
that referenced
this pull request
Oct 24, 2025
cuvs 2025.12 https://github.com/rapidsai/cuvs/pull/1448/files will provide an API for converting HNSW CPU Params to Cagra params. But for current ES that uses 2025.10 version, we need to adjust params ourselves. This PR adjust params based on the code from the cuvs library.
elasticsearchmachine
pushed a commit
that referenced
this pull request
Oct 24, 2025
cuvs 2025.12 https://github.com/rapidsai/cuvs/pull/1448/files will provide an API for converting HNSW CPU Params to Cagra params. But for current ES that uses 2025.10 version, we need to adjust params ourselves. This PR adjust params based on the code from the cuvs library.
fzowl
pushed a commit
to voyage-ai/elasticsearch
that referenced
this pull request
Nov 3, 2025
cuvs 2025.12 https://github.com/rapidsai/cuvs/pull/1448/files will provide an API for converting HNSW CPU Params to Cagra params. But for current ES that uses 2025.10 version, we need to adjust params ourselves. This PR adjust params based on the code from the cuvs library.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cuvs 2025.12 will provide an API for converting HNSW CPU Params to Cagra params.
But for current ES that uses 2025.10 version, we need to adjust params
ourselves. This PR adjust params based on the code from the cuvs library.