mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #76] [BUG] (Windows) nvitop lists no processes; OverflowError: Python int too large to convert to C long #46
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#46
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 @God-damnit-all on GitHub (Jun 20, 2023).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/76
Originally assigned to: @XuehaiPan on GitHub.
Required prerequisites
What version of nvitop are you using?
1.1.2
Operating system and version
Windows 10 Build 19045.2965
NVIDIA driver version
535.98.0
NVIDIA-SMI
Python environment
Installed with a virtual environment via
python -m venvwhich downloadedcachetools-5.3.1 colorama-0.4.6 nvidia-ml-py-11.525.112 nvitop-1.1.2 psutil-5.9.5 termcolor-2.3.0 windows-curses-2.3.13.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] win32
Problem description
Running nvitop doesn't list processes and says
Gathering process statusforever. After quitting the program, there areOverflowErrorerrors.Steps to Reproduce
Just ran
nvitopwithin the virtual environment.Traceback
Logs
Only change is the addition of this line:
Expected behavior
I expected nvitop to list the processes similar to how running
nvidia-smidoes.Additional context
(A few things in this screenshot were hidden for privacy purposes)
@XuehaiPan commented on GitHub (Jun 21, 2023):
Hi @ImportTaste, thanks for raising this. I have encountered the same issue before. I think this would be a bug on the upstream (
nvidia-ml-py) with the incompatible NVIDIA driver. Thenvidia-ml-pyreturns invalid PIDs.I haven't found a solution for this yet. This may be due to an internal API change in the NVML library. We may need to wait for the next
nvidia-ml-pyrelease.As a temporary workaround, you could downgrade your NVIDIA driver version.
See also:
@XuehaiPan commented on GitHub (Jul 7, 2023):
Hi @ImportTaste, a new release of
nvidia-ml-pywith version 12.535.77 came out several hours ago. You can upgrade yournvidia-ml-pypackage with the command:This would resolve the unrecognized PIDs with CUDA 12 drivers.
I would also make a new release of
nvitopto resolve CUDA 12 driver support.