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

ValueError when reading the feature mask #102

Closed
tripledes opened this issue Jan 4, 2021 · 0 comments · Fixed by #103
Closed

ValueError when reading the feature mask #102

tripledes opened this issue Jan 4, 2021 · 0 comments · Fixed by #103

Comments

@tripledes
Copy link
Contributor

Trying to run gpu-utils with the following environment:

  • Running on a venv
  • Installed from pypi
  • Python version 3.9.0
  • Kernel: 5.10 (liquorix)
  • OS: Debian/testing

I get the following error:

Traceback (most recent call last):                                                                                                                                                                                                                                                        
  File "/home/sjr/.pyenv/versions/gpu-utils/bin/gpu-ls", line 150, in <module>
    main()                                                        
  File "/home/sjr/.pyenv/versions/gpu-utils/bin/gpu-ls", line 98, in main
    gpu_list.set_gpu_list(clinfo_flag=True)                                                                                                  
  File "/home/sjr/.pyenv/versions/3.9.0/envs/gpu-utils/lib/python3.9/site-packages/GPUmodules/GPUmodule.py", line 1671, in set_gpu_list
    self.amd_featuremask = env.GUT_CONST.read_amdfeaturemask()                                                                               
  File "/home/sjr/.pyenv/versions/3.9.0/envs/gpu-utils/lib/python3.9/site-packages/GPUmodules/env.py", line 206, in read_amdfeaturemask
    self.amdfeaturemask = int(fm_file.readline())

I get the same error using the packaged version for Debian testing (bullseye).

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 a pull request may close this issue.

1 participant