Skip to content

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

Open
gangula-karthik wants to merge 3 commits into
mlcommons:masterfrom
gangula-karthik:master
Open

gangula-karthik wants to merge 3 commits into
mlcommons:masterfrom
gangula-karthik:master

Conversation

@gangula-karthik

Copy link
Copy Markdown

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
@github-actions

github-actions Bot commented Apr 26, 2025 •

Copy link
Copy Markdown
Contributor

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

This branch has not been deployed

No deployments
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