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

division by zero on APU 4700u #93

Closed
ye-luo opened this issue Oct 29, 2020 · 1 comment
Closed

division by zero on APU 4700u #93

ye-luo opened this issue Oct 29, 2020 · 1 comment

Comments

@ye-luo
Copy link

ye-luo commented Oct 29, 2020

Please cover APU in your test. It was fine in 3.8 but I got the following in 3.9

Traceback (most recent call last):
  File "/opt/rocm/bin/rocm-smi", line 2537, in <module>
    showAllConcise(deviceList)
  File "/opt/rocm/bin/rocm-smi", line 1058, in showAllConcise
    (fanLevel, fanSpeed) = getFanSpeed(device)
  File "/opt/rocm/bin/rocm-smi", line 182, in getFanSpeed
    return (fl, round((float(fl) / float(fm)) * 100, 2))
ZeroDivisionError: float division by zero
@kentrussell
Copy link
Contributor

Thanks, this issue will be resolved in ROCm 4.1. If not, please open a new issue at https://github.com/RadeonOpenCompute/rocm_smi_lib, as this repo will be deprecated and all SMI CLI functionality will be moving over there. 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