mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #44] [Bug] Corrupted dependency of version 0.10.0 with pynvml #29
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#29
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 @lounicotra on GitHub (Oct 19, 2022).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/44
Runtime Environment
460.84]nvitopversion or commit: 0.10.0python-ml-pyversion: [e.g.11.450.51]C/C.UTF-8/en_US.UTF-8]Current Behavior
Version 0.10.0 complains about 'pynvml' has no attribute '_nvmlGetFunctionPointer' Here's sequence of working/not working. Servers have the latest versions of py3nvml and pynvml. Dell servers running A100 GPUs. Just built a new Ubuntu 20.04 system running on Dell Poweredge R720 with cuda 11.5 and GTX1080s and I was able to install 0.10.0 with no issues and it is working fine. Thanks.
Reverting to 0.9.0 fixes the issue.
@XuehaiPan commented on GitHub (Oct 20, 2022):
Hi, @lounicotra thanks for the feedback. This happens when the dependency package
pynvml.pyis corrupted. I will add a more informative message for this in a patch release.Please reinstall
nvitopandnvidia-ml-pyas:or install
nvitopin a new clean virtual environment.All of
nvidia-ml-py,nvidia-ml-py3, andpynvmlinstall modulepynvml.py. So they are mutually in conflict with each other. You should uninstallpyvnmland force reinstallnvidia-ml-py. Otherwise, please installnvitopin a clean virtual environment (do not installnvidia-ml-py3andpynvml). Then everything will work as expected.@lounicotra commented on GitHub (Oct 20, 2022):
Thanks for looking into this Xuehai!