mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[PR #21] [MERGED] Async Status Collector for Logger Integration (e.g. CSV or TensorBoard) #123
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#123
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/21
Author: @XuehaiPan
Created: 6/22/2022
Status: ✅ Merged
Merged: 6/26/2022
Merged by: @XuehaiPan
Base:
mig-support← Head:collector📝 Commits (10+)
b8c10f8feat(core): add metric collector5fb0628docs: update README.md forResourceMetricCollector2e27014chore(core/collector): add timestamp to resultsb2990dcdocs: update README.md forResourceMetricCollectorffe8394feat(core/collector): addresetmethod72b7b89refactor(core/collector): rename methodsaff3767feat(core/collector): feat log metric min/maxdd651a6chore(core/collector): use ASCII characterscddad4afeat(core): pickle support for Device and Process objectsaec57f5chore(core/collector): do not log stats for running time📊 Changes
8 files changed (+867 additions, -137 deletions)
View changed files
📝
README.md(+150 -7)➕
nvitop/callbacks/lightning.py(+6 -0)➕
nvitop/callbacks/tensorboard.py(+10 -0)📝
nvitop/callbacks/utils.py(+1 -1)📝
nvitop/core/__init__.py(+2 -125)➕
nvitop/core/collector.py(+683 -0)📝
nvitop/core/device.py(+9 -3)📝
nvitop/core/process.py(+6 -1)📄 Description
Issue Type
Runtime Environment
3.9.13470.129nvitopversion or commit: N/Apython-ml-pyversion:11.450.51en_US.UTF-8Description
Add a status collector for logger integration.
Core APIs:
For example:
The results can be easily logged into TensorBoard or to CSV file.
Motivation and Context
Resolves #18
Resolves #20
Testing
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.