[PR #207] Add gpu-stats.py nvitop logging script #209

Open
opened 2026-05-05 03:27:50 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/XuehaiPan/nvitop/pull/207
Author: @danboid
Created: 3/9/2026
Status: 🔄 Open

Base: mainHead: main


📝 Commits (1)

  • 6a01315 Add gpu-stats.py nvitop logging script

📊 Changes

1 file changed (+82 additions, -0 deletions)

View changed files

nvitop/gpu-stats.py (+82 -0)

📄 Description

Issue Type

Improvement/feature implementation

Description

Add gpu-stats.py logging script.

Motivation and Context

There doesn't seem to be a full example of how to use the nvitop python API in the nvitop repo so I thought I'd contribute the script I use to log GPU stats on my GPU server.

Testing

This script has been tested with multiple NVIDIA A100 GPUs, some with MIG enabled and some without, under proxmox / Debian 13.

The GPU activity column prints a 1 if a process is currently running on that GPU or 0 if it is idle.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/XuehaiPan/nvitop/pull/207 **Author:** [@danboid](https://github.com/danboid) **Created:** 3/9/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`6a01315`](https://github.com/XuehaiPan/nvitop/commit/6a01315846c50a5815f7de03fb6947a455d9a837) Add gpu-stats.py nvitop logging script ### 📊 Changes **1 file changed** (+82 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `nvitop/gpu-stats.py` (+82 -0) </details> ### 📄 Description #### Issue Type Improvement/feature implementation #### Description Add gpu-stats.py logging script. #### Motivation and Context There doesn't seem to be a full example of how to use the nvitop python API in the nvitop repo so I thought I'd contribute the script I use to log GPU stats on my GPU server. #### Testing This script has been tested with multiple NVIDIA A100 GPUs, some with MIG enabled and some without, under proxmox / Debian 13. The GPU activity column prints a 1 if a process is currently running on that GPU or 0 if it is idle. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror added the
pull-request
label 2026-05-05 03:27:50 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/nvitop#209
No description provided.