Skip to content
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] Use a correct device when creating OptionalCUDAGuard #2583

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

sh1ng
Copy link
Contributor

@sh1ng sh1ng commented Jan 24, 2024

fix of #2350

@sh1ng sh1ng changed the title Use a correct device when creating OptionalCUDAGuard [Fix] Use a correct device when creating OptionalCUDAGuard Jan 24, 2024
@jeejeelee
Copy link
Contributor

Nice, in my PR(#1959), I did not encounter this issue when using test_cache. Perhaps we can add a unit test in test_cache to avoid similar issues.

@LiuXiaoxuanPKU
Copy link
Collaborator

Thanks for the fix!

@LiuXiaoxuanPKU LiuXiaoxuanPKU merged commit 5265631 into vllm-project:main Jan 26, 2024
16 checks passed
@sh1ng sh1ng deleted the fix-2350 branch January 26, 2024 09:13
sh1ng added a commit to sh1ng/vllm that referenced this pull request Jan 26, 2024
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
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.

None yet

3 participants