Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Moving from pynvml to nvidia-ml-py #242

Closed
Tracked by #17
jakirkham opened this issue Feb 14, 2023 · 2 comments
Closed
Tracked by #17

Moving from pynvml to nvidia-ml-py #242

jakirkham opened this issue Feb 14, 2023 · 2 comments

Comments

@jakirkham
Copy link
Member

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

pynvml.nvmlInit()
for iGPU in range(self.n_workers):
handle = pynvml.nvmlDeviceGetHandleByIndex(iGPU)
print_device_memory(pynvml.nvmlDeviceGetMemoryInfo(handle))

https://github.com/rapidsai/cloud-ml-examples/blame/5692c1655cd2581d696fdba0fb503d18097cddff/gcp/notebooks/custom_hpo.ipynb#L81

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

@jacobtomlinson
Copy link
Member

Thanks John! This repo is in the process of being archived and content being migrated to rapidsai/deployment so I'm going to close this in favour of rapidsai/deployment#151

@jakirkham
Copy link
Member Author

Ah ok. Sorry for the noise then

There was a bit of gray area when looking through these repos to ascertain, which still needed attention

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

No branches or pull requests

2 participants