-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Fix get_device_name for cuda platforms that return bytes #12636
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: mgoin <[email protected]>
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
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.
Thanks for the more general fix!
@youkaichao can you take a look at this? As per #12635 (comment), I think it's better to tell users to upgrade their pynvml version instead of silently casting the type. |
We could do both? We fix it because we can, and tell the user that they should upgrade |
I'm not sure whether there are other implications besides just the type issue when outdated pynvml is used. @youkaichao should know more. |
the outdated pynvml package in general does not work, and I think we can be more aggressive to turn Line 31 in 4f4d427
|
a better solution is to make sure we are always using I don't know if we can find some advanced python |
A more general fix for the proposed changes in #12565 and #12635