Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ] add ability to display VRAM Usage #1100

Closed
NicTanghe opened this issue Oct 4, 2022 · 4 comments
Closed

[REQ] add ability to display VRAM Usage #1100

NicTanghe opened this issue Oct 4, 2022 · 4 comments
Labels
question ❔ Further information is requested

Comments

@NicTanghe
Copy link

I'm currently trying to troubleshoot something that is probably related to VRAM usage.
It would b very handy if HTOP could also display this info.

@BenBE BenBE added the question ❔ Further information is requested label Oct 4, 2022
@BenBE
Copy link
Member

BenBE commented Oct 4, 2022

What do you mean by this exactly? Is there an other tool that does this already or can you point to some documentation for this feature?

@NicTanghe
Copy link
Author

NicTanghe commented Oct 4, 2022

Right now I`m using,
nvidia-smi -l --query-gpu=timestamp,temperature.gpu,memory.used,memory.free --format=csv
(for an nvidia Gpu)
Output:

nvidia-smi -l --query-gpu=timestamp,temperature.gpu,memory.used,memory.free --format=csv
timestamp, temperature.gpu, memory.used [MiB], memory.free [MiB]
2022/10/04 14:44:54.814, 46, 487 MiB, 7472 MiB
2022/10/04 14:44:59.816, 46, 487 MiB, 7472 MiB
2022/10/04 14:45:04.816, 46, 487 MiB, 7472 MiB

https://nvidia.custhelp.com/app/answers/detail/a_id/3751/~/useful-nvidia-smi-queries

@BenBE
Copy link
Member

BenBE commented Oct 4, 2022

Given that this is highly dependent on the vendor of the GPU used we decided to not support this in htop directly, as otherwise we'd have to implement this for all vendors or get nagged to do it for the others we didn't do yet.

One planned feature that could help in this regard is #526. Another references worth taking a look at regarding GPU meters is e.g. #406 (GPU utilization).

@NicTanghe
Copy link
Author

NicTanghe commented Oct 4, 2022

I Wil close this as it is a duplicate of 406:

Since there are only 2 or soon 3 vendors, it shouldn’t b that hard to just check what vendor it is and then run it`s part of the code.

Closed as its a duplicate of #406

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❔ Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants