mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #74] [Feature Request] Add support to AMD's ROCm GPU #43
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#43
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 @Junyi-99 on GitHub (Jun 11, 2023).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/74
Originally assigned to: @XuehaiPan on GitHub.
Required prerequisites
Motivation
I have been using
nvitopfor monitoring NVIDIA devices and processes, and I find it to be a great tool with a beautiful UI. Thank you for this good project!However, I noticed that it doesn't support AMD's ROCm GPU platform. As an AMD user (we have an AMD GPU cluster), I can only use "rocm-smi" to monitor my GPU, and I would love to have a similar tool like nvitop for ROCm.
I believe that adding support for AMD's ROCm GPU would make nvitop a more versatile and inclusive monitoring tool. It would allow users who work with AMD GPUs to benefit from the same features and options that nvitop provides to NVIDIA users.
Solution
Using
rocm-smiAlternatives
No response
Additional context
No response
@XuehaiPan commented on GitHub (Jun 21, 2023):
Hi @Junyi-99, thanks for raising this, and I apologize for the late response. I'm afraid that AMD graphics cards may not be supported in
nvitopin the foreseeable future. This is due to a lack of necessary Python dependencies on PyPI (there is only an example in RadeonOpenCompute/rocm_smi_lib) and I personally don't have access to a machine with an AMD graphics card for testing. Sorry about that.nvitopis completely open-source, and you are welcome to fork and develop your own monitor tool.@Junyi-99 commented on GitHub (Jun 21, 2023):
Thanks for your reply and for digging into ROCm monitoring solutions. I will continue to pay attention to this project, I think this issue can be closed.
Thank you again.
@yan-rui commented on GitHub (Jun 26, 2023):
Thank you so much for this work. It has become an important part of my work.
But recently I started working on other GPUs and it's very inconvenient without nvitop.
Can you help point out what parts needs to be modified to replace nvidia-smi related commands?
@Junyi-99 commented on GitHub (Jun 26, 2023):
What do you mean "to replace nvidia-smi related commands"?
@yan-rui commented on GitHub (Jun 26, 2023):
我现在用的GPU使用的监控工具与nvidia很像。
所以我想,是否需要将nvidia监控工具相关的api替换为现在在用的GPU的监控工具api,就可以用上nvitop了?
@Junyi-99 commented on GitHub (Jun 26, 2023):
我认为是可以的
@yan-rui commented on GitHub (Jun 26, 2023):
我修改哪些地方可以达到这个目的呢?
@Junyi-99 commented on GitHub (Jun 26, 2023):
抱歉,你需要自己阅读源代码,找到需要修改的位置
@yan-rui commented on GitHub (Jun 26, 2023):
好的, 多谢回复,我仔细看看代码
@Junyi-99 commented on GitHub (Mar 11, 2024):
I've successfully adapted nvitop for AMD platforms using ROCm and tested it on
mi50,mi100, andmi210machines without affecting NVIDIA functionality.I'd like to contribute these changes to extend nvitop's usability to AMD users.
Looking forward to your feedback!
MI50:

MI100:

MI210:

@Junyi-99 commented on GitHub (Mar 11, 2024):
🤗 Really looking forward to
nvitop's support for AMD GPUs, just like ROCm offers CUDA compatibility!@johnnynunez commented on GitHub (Oct 28, 2024):
any news?
@intexcor commented on GitHub (Jul 3, 2025):
Use https://github.com/intexcor/gputop
@yizeyi18 commented on GitHub (Mar 12, 2026):
any news?