Skip to content

Commit

Permalink
Update zeus/device/gpu/amd.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jae-Won Chung <[email protected]>
  • Loading branch information
parthraut and jaywonchung authored Oct 29, 2024
1 parent 8405392 commit 6e632d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zeus/device/gpu/amd.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ def amdsmi_is_available() -> bool:
return False
# usually thrown if versions of amdsmi and ROCm are incompatible.
except AttributeError:
logger.warning("Do you have the correct version of ROCm and amdsmi installed?")
logger.warning(
"Failed to import amdsmi. "
"Ensure amdsmi's version is at least as high as the current ROCm version."
)
return False
try:
amdsmi.amdsmi_init()
Expand Down

0 comments on commit 6e632d2

Please sign in to comment.