NVIDIA 555.85 & 555.99 returns garbage data for any nvml queries
bug
<!-- Feel free to change the order of sections if appropriate. -->
**Describe the bug**
I've simply executed ```gpustat```and get the following error response:
```
Error on querying NVIDIA devices. Use --debug flag to see more details.
'utf-8' codec can't decode byte 0xf8 in position 0: invalid start byte
```
When executed with --debug option:
```
Traceback (most recent call last):
File "home/xyz/.local/lib/python3.10/site-packages/gpustat/cli.py", line 58, in print_gpustat
gpu_stats = GPUStatCollection.new_query(debug=debug, id=id)
File "home/xyz/.local/lib/python3.10/site-packages/gpustat/core.py", line 603, in new_query
gpu_info = get_gpu_info(handle)
File "home/xyz/.local/lib/python3.10/site-packages/gpustat/core.py", line 456, in get_gpu_info
name = _decode(N.nvmlDeviceGetName(handle))
File "home/xyz/.local/lib/python3.10/site-packages/pynvml.py", line 2094, in wrapper
return res.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 0: invalid start byte
```
**Screenshots or Program Output**
`gpustat --debug` as above.
`nvidia-smi`

**Environment information:**
- OS: Ubuntu 22.04.4 LTS (WSL2)
- NVIDIA Driver version: 555.85
- The name(s) of GPU card: NVIDIA Geforce RTX3080
- gpustat version: gpustat 1.1.1
- pynvml version: nvidia-ml-py 12.550.52
**Additional context**
Thank you in advanced!
关闭于 2024-07-20 8 条评论