Skip to content

[BugFix] Avoid unnecessary Ray import warnings - #6079

Merged
DarkLight1337 merged 1 commit into
vllm-project:mainfrom
njhill:ray-import-warning
Jul 3, 2024
Merged

DarkLight1337 merged 1 commit into
vllm-project:mainfrom
njhill:ray-import-warning

Conversation

@njhill

@njhill njhill commented Jul 2, 2024 •

Copy link
Copy Markdown
Member

Currently the logs are polluted with multiple Ray import warnings when it's not installed, even in cases where Ray is not being used. There should be an error only in the case that Ray is configured and/or required but not available, and in that case it should be fatal.

In our own builds/tests this was also interfering with the subprocess stdout-based custom all-reduce p2p check recently introduced in #5669.

Currently the logs are polluted with multiple Ray import warnings even in cases where Ray is not being used. There should be an error only in the case that Ray is configured and/or required but not available, and in that case it should be fatal.

In our own builds/tests this was also interfering with the subprocess-based custom all-reduce p2p check recently introduced in vllm-project#5669.
@njhill njhill mentioned this pull request Jul 2, 2024

@DarkLight1337 DarkLight1337 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the QoL improvement!

@DarkLight1337
DarkLight1337 merged commit d830656 into vllm-project:main Jul 3, 2024
prashantgupta24 pushed a commit to opendatahub-io/vllm that referenced this pull request Jul 3, 2024
robertgshaw2-redhat pushed a commit to neuralmagic/nm-vllm that referenced this pull request Jul 7, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 8, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 24, 2024
Alvant pushed a commit to compressa-ai/vllm that referenced this pull request Oct 26, 2024
LeiWang1999 pushed a commit to LeiWang1999/vllm-bitblas that referenced this pull request Mar 26, 2025
Signed-off-by: LeiWang1999 <leiwang1999@outlook.com>
plasticchris pushed a commit to plasticchris/vllm that referenced this pull request Jul 19, 2026
michael-gpu pushed a commit to practical-inference/vllm-ampere-extended that referenced this pull request Oct 20, 2026
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.

2 participants