Skip to content

Support both nvidia-smi and amd-smi#156

Merged
henricasanova merged 7 commits into
mainfrom
nvidia_amd_smi
Jun 30, 2026
Merged

Support both nvidia-smi and amd-smi#156
henricasanova merged 7 commits into
mainfrom
nvidia_amd_smi

Conversation

@quantumsteve

Copy link
Copy Markdown
Collaborator

Add check for nvidia-smi or amd-smi and use either for get_available_gpus().

Signed-off-by: Steven Hahn <hahnse@ornl.gov>
Signed-off-by: Steven Hahn <hahnse@ornl.gov>
Signed-off-by: Steven Hahn <hahnse@ornl.gov>
Signed-off-by: Steven Hahn <hahnse@ornl.gov>
Signed-off-by: Steven Hahn <hahnse@ornl.gov>
Signed-off-by: Steven Hahn <hahnse@ornl.gov>
Signed-off-by: Steven Hahn <hahnse@ornl.gov>

@henricasanova henricasanova left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable to me, but of course I don't know much about GPUs.

@henricasanova henricasanova merged commit 921776d into main Jun 30, 2026
5 checks passed
@quantumsteve quantumsteve deleted the nvidia_amd_smi branch June 30, 2026 20:56
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.

2 participants