Closed hui-zhao-1 closed 1 year ago
Duplicate #88, would be fixed by #89.
排查日志,怀疑是 https://github.com/XuehaiPan/nvitop/blob/main/nvitop/api/libnvml.py line 590 的 __determine_get_running_processes_version_suffix() 这个方法有问题 我这边没有看懂这里为什么要通过 'nvmlDeviceGetConfComputeMemSizeInfo' 判断 版本号,所以 fork 代码把这个判断注释以后,解决了这个问题,参考:https://github.com/XuehaiPan/nvitop/commit/cc3ad6da513062cab1759267fb80a028d74c2f32
已经通过 pip3 install git+https://github.com/XuehaiPan/nvitop.git 验证 问题解决了
Required prerequisites
What version of nvitop are you using?
1.2.0
Operating system and version
Ubuntu 20.04.6 LTS (Focal Fossa)
NVIDIA driver version
535.86.10
NVIDIA-SMI
Python environment
3.8.17 (default, Jul 5 2023, 21:04:15) [GCC 11.2.0] linux nvidia-ml-py==12.535.77 nvitop==1.2.0
Problem description
测试机器使用的 nvidia driver https://international.download.nvidia.com/tesla/535.86.10/NVIDIA-Linux-x86_64-535.86.10.run 在该 版本 driver 下,运行 nvitop 无法正常看到运行中的进程:
![image](https://github.com/XuehaiPan/nvitop/assets/19888114/b0c29ee1-d9ef-4a09-b574-0b8d0a20614b)
Steps to Reproduce
排查发现,nvitop 报了这个错误:![image](https://github.com/XuehaiPan/nvitop/assets/19888114/3ff9bc02-e5a0-4080-ab9f-5aef479c747f)
Traceback
Logs
No response
Expected behavior
No response
Additional context
No response