Skip to content

docs(vllm_performance): use optuna in vLLM performance endpoint example#857

Merged
christian-pinto merged 3 commits into
mainfrom
cp_vllm_perforamnce_example_use_optuna
Apr 16, 2026
Merged

docs(vllm_performance): use optuna in vLLM performance endpoint example#857
christian-pinto merged 3 commits into
mainfrom
cp_vllm_perforamnce_example_use_optuna

Conversation

@christian-pinto
Copy link
Copy Markdown
Member

@christian-pinto christian-pinto commented Apr 15, 2026

This PR migrates the vLLM performance endpoint example from using HyperOpt to Optuna as the search algorithm, mainly because Optuna is more actively maintained and released.

Using HyperOpt users might incur in runtime errors due to to using deprecated python libraries.

The example is slightly different as in optuna it is not possible to set the gamma value that control the number of top observations to be selected. The rest of the discussion, explaining how the optimizer behaves, is mostly related to the actual sampling algorithm (TPE) and therefore it is valid with both libraries.

This PR fixes #847

… use search algorithm from the optuna library

Signed-off-by: Christian Pinto <christian.pinto@ibm.com>
@AlessandroPomponio AlessandroPomponio changed the title chore(vllm-performance): Updated vLLM performance endpoint example to use optuna docs(vllm_performance): use optuna in vLLM performance endpoint example Apr 15, 2026
Comment thread website/docs/examples/vllm-performance-endpoint.md Outdated
Comment thread website/docs/examples/vllm-performance-endpoint.md Outdated
Comment thread website/docs/examples/vllm-performance-endpoint.md Outdated
Signed-off-by: Christian Pinto <christian.pinto@ibm.com>
@christian-pinto christian-pinto added this pull request to the merge queue Apr 16, 2026
Merged via the queue into main with commit aeb400f Apr 16, 2026
19 checks passed
@christian-pinto christian-pinto deleted the cp_vllm_perforamnce_example_use_optuna branch April 16, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Unable to run Ray Tune operations using hyperopt

2 participants