Skip to content

[llm] bump vllm to 0.9.0.1 - #53443

Merged
kouroshHakha merged 17 commits into
ray-project:masterfrom
lk-chen:bump_vllm_090
Jun 9, 2025
Merged

kouroshHakha merged 17 commits into
ray-project:masterfrom
lk-chen:bump_vllm_090

Conversation

@lk-chen

@lk-chen lk-chen commented May 30, 2025

Copy link
Copy Markdown
Contributor

Why are these changes needed?

Many important reasons

  1. P/D disaggregation feature is added in 0.9.0
  2. There's this dependency chain: vllm0.8.5 -> opentelemetry1.26.0 -> protobuf3, ray wants to upgrade to protobuf4
  • vllm0.9.0 allows opentelemetry 1.27, which accepts protobuf4
  1. some users want vllm 0.9.0

Related issue number

Checks

@lk-chen
lk-chen requested review from a team as code owners May 30, 2025 17:46
@eicherseiji

eicherseiji commented May 30, 2025 •

Copy link
Copy Markdown
Contributor

@lk-chen Can we change the import path here:

# python/ray/llm/_internal/serve/deployments/llm/vllm/vllm_engine.py
        if self.llm_config.log_engine_metrics:
            from ray.llm._internal.serve.deployments.llm.vllm.vllm_loggers import (
                RayPrometheusStatLogger,
            )

            # V1 AsyncLLMEngine does not yet support add_logger
            # For now, assume folks enabling log_engine_metrics do not require LoggingStatLogger, PrometheusStatLogger
            custom_stat_loggers = [RayPrometheusStatLogger]

From

            from ray.llm._internal.serve.deployments.llm.vllm.vllm_loggers import (

to

            from vllm.v1.metrics.ray_wrappers import (

and delete python/ray/llm/_internal/serve/deployments/llm/vllm/vllm_loggers.py?

release/llm_tests/serve/test_llm_serve_integration.py would have to be changed as well. Lmk if it's easier for me to just upload a patch.

@eicherseiji eicherseiji self-assigned this May 30, 2025
@eicherseiji

Copy link
Copy Markdown
Contributor

Taking this over

@lk-chen lk-chen changed the title [llm] bump vllm to 0.9.0 [llm] bump vllm to 0.9.0.1 Jun 2, 2025
@eicherseiji eicherseiji added the go add ONLY when ready to merge, run all tests label Jun 3, 2025
@eicherseiji

Copy link
Copy Markdown
Contributor

Workarounds in this PR:

@kouroshHakha kouroshHakha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of qs before we merge.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that if I run the script using compiled graph twice in a row the second one will die because of this hythersis effect?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah; I think pytest isn't letting the engine/pytorch clean up correctly between parameterizations so this is the workaround.

lk-chen and others added 17 commits June 8, 2025 08:41
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
@kouroshHakha
kouroshHakha merged commit a872286 into ray-project:master Jun 9, 2025
@lk-chen
lk-chen deleted the bump_vllm_090 branch August 7, 2025 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants