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

Option to display a bar besides the number to indicate memory usage #140

Open
Natithan opened this issue Nov 4, 2022 · 2 comments
Open

Comments

@Natithan
Copy link

Natithan commented Nov 4, 2022

Hi,

Thanks for the program, very useful.
I was thinking a nice additional option could be to show the 'fullness' of the GPU ram with a bar instead of just with the number.
This for the use case of quickly identifying (almost) empty GPUs when sharing a bunch of GPUs with labmates (eg see image: some of them are full, some have a lot of space left, a bar could show this more 'directly' I feel).
image
See second image for roughly what I mean:
image

@wookayin
Copy link
Owner

wookayin commented Nov 5, 2022

Something like this? (unicode characters and appearance can be better though)

[0] NVIDIA GeForce GTX TITAN X     | 23°C,   0 % | [||||||| ] 10000 / 12212 MB |
[1] NVIDIA GeForce GTX TITAN X     | 23°C,   0 % | [        ]     0 / 12212 MB |
[2] NVIDIA GeForce GTX TITAN X     | 23°C,   0 % | [||      ]  2000 / 12212 MB |
[3] NVIDIA GeForce GTX TITAN X     | 23°C,   0 % | [||||||||] 12200 / 12212 MB |

@Natithan
Copy link
Author

Natithan commented Nov 5, 2022

Yep exactly!
As an extra, I'm not sure if it could also be nice to have different total bar sizes for different total memories (eg a server with 2 12GB gpus and 2 24GB gpus) 🤔 Would look messier, but also give a direct view of absolute free space (instead of relative free space)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants