mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[PR #8] [MERGED] MIG device support #120
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#120
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?
📋 Pull Request Information
Original PR: https://github.com/XuehaiPan/nvitop/pull/8
Author: @XuehaiPan
Created: 11/19/2021
Status: ✅ Merged
Merged: 6/26/2022
Merged by: @XuehaiPan
Base:
dev← Head:mig-support📝 Commits (10+)
45542cafeat(core/device): add class MigDevice for MIG support61f84a8feat(core/device): update CUDA device enumeration1f51739feat(gui): MIG device support1c5daecfix(core/device): fix variable referencedda66a9chore(core/process): set default process GPU utilization to N/A463acc3refactor(gui/device): rename variables60802bfchore(core/device): move abstract methods to class Devicef9b1d4brefactor(core/device): cache physical device for MIG instances2a1b856fix(gui/device): fix MIG device snapshots5c36522style: apply suggestions from pylint📊 Changes
17 files changed (+1402 additions, -293 deletions)
View changed files
📝
README.md(+183 -40)➕
nvitop/callbacks/lightning.py(+6 -0)➕
nvitop/callbacks/tensorboard.py(+12 -0)📝
nvitop/callbacks/utils.py(+1 -1)📝
nvitop/cli.py(+2 -1)📝
nvitop/core/__init__.py(+4 -127)➕
nvitop/core/collector.py(+683 -0)📝
nvitop/core/device.py(+301 -42)📝
nvitop/core/process.py(+19 -10)📝
nvitop/gui/library/device.py(+55 -3)📝
nvitop/gui/library/keybinding.py(+1 -1)📝
nvitop/gui/screens/main/__init__.py(+2 -2)📝
nvitop/gui/screens/main/device.py(+108 -41)📝
nvitop/gui/screens/main/host.py(+2 -2)📝
nvitop/gui/screens/main/process.py(+16 -16)📝
nvitop/gui/screens/main/utils.py(+1 -1)📝
nvitop/gui/screens/treeview.py(+6 -6)📄 Description
Issue Type
Runtime Environment
3.5+430.64/460.84/470.82.00nvitopversion or commit: WIPnvidia-ml-pyversion:11.450.51/11.450.129/11.495.46C/C.UTF-8/en_US.UTF-8Description
Add MIG device support to
nvitop.core/device: Add classMigDeviceand updateCUDA_VISIBLE_DEVICEShandling for MIG devices.gui: Updatenvitop's UI for MIG enabled setup.Motivation and Context
Add MIG device support to
nvitop. Resolves #5.Testing
Help wanted, see https://github.com/XuehaiPan/nvitop/pull/8#issuecomment-1155241507.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.