mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #33] [Question] nvitop runs non-dynamically inside slurm jobs #24
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#24
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 @Saber813 on GitHub (Aug 15, 2022).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/33
Runtime Environment
nvitopversion or commit: 0.7.2python-ml-pyversion: 11.450.51Current Behavior
Query the GPU usage of the computing node through Slurm, and the output is displayed statically
Images / Videos
@XuehaiPan commented on GitHub (Aug 15, 2022):
Hi @Saber813, this is intentional behavior. Your
stdoutis not a TTY terminal withslurm.a2f7c2425c/nvitop/cli.py (L268-L270)You should add
--ptyoption to enable a pseudo-terminal:@Saber813 commented on GitHub (Aug 16, 2022):
It works! Thank you, Closed
nvidia-ml-pyversion #124