Repository navigation
vllm: point import failures at rocm diagnose #646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This guard hardcodes
os_family: "linux", so it always reports "diagnosable" regardless of the real host. But the checker it calls,check_17_torch_dlpack_cuda_variant, is registered inCHECKERSfor&["linux"]only -- unlike its siblingscheck_16_vllm_oomandcheck_18_comgr_conflict, both&["linux", "wsl"].run_all_checksfilters byplatform_family(e)before invoking any checker, so on a real WSLExaminationthis checker never actually runs, even thoughdocs/vllm.mddocuments vLLM as supported on both Linux and WSL.Concretely: a WSL user hits this import failure, follows the new hint, runs
rocm diagnose --symptom '<line>', and gets no diagnosis -- because the real check never fires on that platform, even though this guard (and the PR's test plan) claims every emitted symptom is diagnosable.Two ways to close this: register
check_17_torch_dlpack_cuda_variantfor&["linux", "wsl"]to match its siblings and have this guard use the real host instead of a hardcoded one, or scope the engine-side hint inprocess.rsto skip on WSL to match what's actually diagnosable today.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Check 17 was registered for Linux only, and the guard hard-coded the host. Check 17 is now registered for Linux and WSL, and fix-17 applies on both, like fix-16. The guard no longer names a host. It runs the registry for a Linux and a WSL host and needs the entry to score on both. I added a WSL test like the OOM one, and the catalog and the doctor skill reference are updated. Fixed in 8c976a2.