-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add GPU usage? #12
Comments
Ah yes this would be great! I may be able to contribute some cycles here.. |
@lmeyerov If you know how to implement this, that would be great! It might have to be an opt-in feature for a couple versions to make sure backwards-compatibility is preserved, the way CPU usage is currently an opt-in feature. |
The core bit would be just https://pypi.org/project/nvgpu/ , so not hard -- any pointers on how to get started or what'd help push through rest of the way would be appreciated.. |
@lmeyerov I would love to be able to give you useful pointers. Unfortunately, when it comes to GPU's, I'm pretty sure I would have no idea what I'm talking about, since I haven't really ever used them. So what follows should probably be taken with a grain of salt. Maybe a good idea would be to model this on the CPU percentage tracking feature? See here: https://github.com/yuvipanda/nbresuse/blob/master/nbresuse/__init__.py#L72 Also, if you could make the (The last part is a little hypocritical of me though because I just realized that I myself never actually updated the As for how to make the
and then surround the code blocks with the GPU tracking with conditional statements like:
Finally, regarding the code structure, maybe follow the pattern that @tommassino established with the Prometheus PR? See e.g. https://github.com/yuvipanda/nbresuse/blob/master/nbresuse/metrics.py or here: https://github.com/yuvipanda/nbresuse/blob/master/nbresuse/prometheus.py |
Thanks, I'll look into this! And yes, I'm guessing we can do something like |
No worries, thank you so much for looking into this! :) |
Any progress on this? I've been forwarded from https://discourse.jupyter.org/t/detecting-cpu-and-ram-limits-on-mybinder-org/4640/2 . |
@esevan I'm interested in your awesome extension! Would you share it? |
Also interested. @esevan ? |
Tune the panel layout
I was just wondering if this is possible.
Also I wanted to say this extension is awesome thank you.
The text was updated successfully, but these errors were encountered: