mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #127] [BUG] UTF-8 Error during decoding device name on R555 driver #81
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kangkannnng on GitHub (May 26, 2024).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/127
Originally assigned to: @XuehaiPan on GitHub.
Required prerequisites
What version of nvitop are you using?
1.3.2
Operating system and version
Ubuntu 22.04 / WSL
NVIDIA driver version
555.42.03
NVIDIA-SMI
Python environment
3.12.3 | packaged by conda-forge | (main, Apr 15 2024, 18:38:13) [GCC 12.3.0] linux
nvidia-cublas-cu12==12.1.3.1
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==8.9.2.26
nvidia-cufft-cu12==11.0.2.54
nvidia-curand-cu12==10.3.2.106
nvidia-cusolver-cu12==11.4.5.107
nvidia-cusparse-cu12==12.1.0.106
nvidia-nccl-cu12==2.20.5
nvidia-nvjitlink-cu12==12.4.127
nvidia-nvtx-cu12==12.1.105
Problem description
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 0: invalid start byte
Steps to Reproduce
nvitop
Traceback
Logs
No response
Expected behavior
No response
Additional context
No response
@XuehaiPan commented on GitHub (May 26, 2024):
Similar issues on other repos:
I cannot reproduce this on native Linux with 555.42.02 driver (the latest driver shipped with CUDA toolkit 12.5 at the time this comment is posted).
It seems this is a bug that only occurs in WSL with 555.85 driver.
@ssjjrrr commented on GitHub (Jun 14, 2024):
Same problem
@Saya47 commented on GitHub (Jul 3, 2024):
Same issue for me as well. Windows 11, WSL2. Used to use nvitop just fine then stopped working with the UnicodeDecodeError error. Found this issue and I remembered I had also upgraded Nvidia Driver.
@winkeylucky commented on GitHub (Jul 4, 2024):
Same problem, Windows 11, WSL2
| NVIDIA-SMI 555.58.02 Driver Version: 556.12 CUDA Version: 12.5
@winkeylucky commented on GitHub (Jul 4, 2024):
根据报错我把这个文件改了(~/anaconda3/lib/python3.12/site-packages/pynvml.py", line 1921),,然后就有这个效果
@XuehaiPan commented on GitHub (Jul 4, 2024):
Could you try to use the latest version of
nvitopand downgrade thenvidia-ml-pyversion?@winkeylucky commented on GitHub (Jul 4, 2024):
这边试过:

nvidia-ml-py 11.515.48
nvitop 1.3.3.dev20+g6bc8a8b
同样的问题,只是位置变了
@Gh0stExp10it commented on GitHub (Jul 20, 2024):
I was able to confirm that the problem is fixed with NVIDIA driver version 560.70.
https://github.com/wookayin/gpustat/issues/170#issuecomment-2241108111
@kenvix commented on GitHub (Aug 11, 2024):
The latest nvidia driver has fixed this issue. Simply download the latest Windows driver from https://www.nvidia.cn/drivers/lookup/
@XuehaiPan commented on GitHub (Dec 29, 2024):
FYI, a new release has been made.