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

Moving from pynvml to nvidia-ml-py #334

Open
Tracked by #17
jakirkham opened this issue Feb 14, 2023 · 0 comments
Open
Tracked by #17

Moving from pynvml to nvidia-ml-py #334

jakirkham opened this issue Feb 14, 2023 · 0 comments

Comments

@jakirkham
Copy link
Member

Currently this is making use of pynvml in a few places:

import pynvml
pynvml.nvmlInit()
return pynvml.nvmlDeviceGetName(pynvml.nvmlDeviceGetHandleByIndex(0))

Alternatively, MIG instance names can be obtained programatically using [NVML](https://developer.nvidia.com/nvidia-management-library-nvml) or [PyNVML](https://github.com/gpuopenanalytics/pynvml). Please refer to the [NVML API](https://docs.nvidia.com/deploy/nvml-api/) to write appropriate utilities for that purpose.

However we would like to move to nvidia-ml-py in the future. Raising this issue to track this work

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

No branches or pull requests

1 participant