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

rocm-smi fails to set profile #1089

Closed
btspce opened this issue Apr 24, 2020 · 2 comments
Closed

rocm-smi fails to set profile #1089

btspce opened this issue Apr 24, 2020 · 2 comments

Comments

@btspce
Copy link

btspce commented Apr 24, 2020

System: Raven Ridge 2700u
rocm-smi from ROCm 2.2 works.

$ sudo /opt/rocm-3.3.0/bin/rocm-smi --setprofile 3

========================ROCm System Management Interface========================
Traceback (most recent call last):
File "/opt/rocm-3.3.0/bin/rocm-smi", line 2995, in
setProfile(deviceList, args.setprofile)
File "/opt/rocm-3.3.0/bin/rocm-smi", line 2434, in setProfile
if writeProfileSysfs(device, profile):
File "/opt/rocm-3.3.0/bin/rocm-smi", line 677, in writeProfileSysfs
if not verifySetProfile(device, value):
File "/opt/rocm-3.3.0/bin/rocm-smi", line 583, in verifySetProfile
maxProfileLevel = getMaxLevel(device, 'profile')
File "/opt/rocm-3.3.0/bin/rocm-smi", line 856, in getMaxLevel
return int(levels.splitlines()[-1][0])
ValueError: invalid literal for int() with base 10: ' '

@ROCmSupport
Copy link

Thanks @btspce for reaching out.
I will check this for you asap.
Thank you.

@ROCmSupport
Copy link

ROCmSupport commented Mar 17, 2021

Hi @btspce
I have verified with the latest ROCm 4.0 and found that issue is not observed anymore.
Request you to try with the same.

**_taccuser@taccuser-X399-DESIGNARE-EX:/opt$ /opt/rocm-4.0.0/bin/rocm-smi --setprofile 3

======================= ROCm System Management Interface =======================
============================== Set Power Profile ===============================
GPU[0] : Successfully set profile to: POWER SAVING

============================= End of ROCm SMI Log ==============================_**

Thank you.

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

No branches or pull requests

2 participants