ValueError: invalid literal for int() with base 10: '[Not Supported]'
See original GitHub issueRunning gpustat got following return
Traceback (most recent call last):
File "/home/~~~/anaconda2/bin/gpustat", line 11, in <module>
sys.exit(main())
File "/home/~~~/anaconda2/lib/python2.7/site-packages/gpustat.py", line 283, in main
print_gpustat(**vars(args))
File "/home/~~~/anaconda2/lib/python2.7/site-packages/gpustat.py", line 242, in print_gpustat
gpu_stats.update_process_information()
File "/home/~~~/anaconda2/lib/python2.7/site-packages/gpustat.py", line 196, in update_process_information
processes = self.running_processes()
File "/home/~~~/anaconda2/lib/python2.7/site-packages/gpustat.py", line 166, in running_processes
pid_map = {int(e['pid']) : None for e in process_entries}
File "/home/~~~/anaconda2/lib/python2.7/site-packages/gpustat.py", line 166, in <dictcomp>
pid_map = {int(e['pid']) : None for e in process_entries}
ValueError: invalid literal for int() with base 10: '[Not Supported]'
- Ubuntu 14.04
- Python 2.7 with Anaconda 4
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
ValueError: invalid literal for int() with base 10: '' - Stack Overflow
The reason is that you are getting an empty string or a string as an argument into int. Check if it ...
Read more >ValueError: invalid literal for int() with base 10
The error message invalid literal for int() with base 10 would seem to indicate that you are passing a string that's not an...
Read more >Python ValueError: invalid literal for int() with base 10
This error can frequently occur when converting user-input to an integer-type using the int() function. This problem happens because Python stores the input...
Read more >How to fix this ValueError invalid literal for int with base 10 ...
The error message invalid literal for int() with base 10 would seem to indicate that you are passing a string that's not an...
Read more >ValueError: invalid literal for int() with base 10 in Python
The Python ValueError: invalid literal for int() with base 10 occurs when we pass a string that cannot be directly converted to an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It looks that
nvidia-smicannot retrieve some usage information of older GPU cards such as GT 610 and GTX 780. I fixed the issue in 902f9cd.Please try with the latest master version, or you can install it directly via pip+git:
@wookayin It works fine. 😃