Skip to content

Fix misleading CUDA device specification by replacing 'cuda:0' with 'cuda' #2184

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gangula-karthik
Copy link

This change updates the CUDA device specification from cuda:0 to cuda to prevent confusion. Specifying cuda:0 can be misleading as it utilises all available GPUs, not just GPU 0. By using CUDA, the behaviour aligns with user expectations and improves clarity in device selection.

This issue was also discussed in #2165, where it was noted that the cuda:0 label could cause misunderstanding in multi-GPU environments. This fix ensures consistency and avoids potential misinterpretation.

@gangula-karthik gangula-karthik requested a review from a team as a code owner April 26, 2025 14:02
Copy link
Contributor

github-actions bot commented Apr 26, 2025

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

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.

1 participant