Closed DerVerruckteFuchs closed 4 years ago
This is just a python2 vs python3 change. Rocm-smi should best possible be updated to Python3 as many distros are moving rapidly towards removing python2 from the default install base.
All you have to do for now is change the following in rocm_smi.py
-- !/usr/bin/env python
++ !/usr/bin/env python2
I made a PR to deal with that a few days ago https://github.com/RadeonOpenCompute/ROC-smi/pull/80 Cheers
I've brought the fix internally. Sorry that it's taken 6 months to get this brought in. I'm working on some changes to ensure that PRs aren't outstanding this long going forward.
Fixed in 3.6
Whenever I use rocm-smi I get warning output before any other output with Python 3.8:
I get normal output as expected with Python 2.7:
However, with both Python 3.8 and 2.7 I get similar warning output when trying to set my fan speeds.
2.7:
3.8 notably has more output:
Using sudo reduces output for 3.8 (looks similar to setting fan with Python 2.7 without sudo):
Using sudo with 2.7 eliminates warnings completely: