Adjust openai_vector benchmark for gpu indexing#936
Closed
mayya-sharipova wants to merge 1 commit intoelastic:masterfrom
Closed
Adjust openai_vector benchmark for gpu indexing#936mayya-sharipova wants to merge 1 commit intoelastic:masterfrom
mayya-sharipova wants to merge 1 commit intoelastic:masterfrom
Conversation
39f13fc to
497ad4b
Compare
497ad4b to
3562893
Compare
ChrisHegarty
approved these changes
Nov 26, 2025
Contributor
Author
|
Closing this PR, as it is not needed anymore. |
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.
Draft PR for now as "index.vectors.indexing.use_gpu" is currently only enabled under Feature flag.
For GPU indexing pass the following
params.jsonfile to a rally run:params.json
Notes:
./rally race ...--runtime-jdk=25 --track-params=<.../params.json> --on-error=abort
Notes
trueto enforce gpu indexing orfalseto enforce CPU indexinghnsworint8_hnswfor GPU indexingFrom 9.3, there is a new option for using base64 encoded vectors for indexing
openai_vectortrack, add the following params in params.json:vim ~/.rally/rally.ini
Example running openai_vector track:
params_gpu.json
params_cpu.json
Troubleshoot
[o.e.x.g.GPUSupport ] [elasticsearch-0] Found compatible GPU [NVIDIA L4] (id: [0])
it means your setup is successful, and Elasticsearch can use GPU. If you don’t see this line from GPUSupport, you should see an explanation why elasticsearch can’t use your GPU device.