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

Use the nvidia-supplied nvidia-ml-py instead of pynvml #20

Open
cvm-a opened this issue Jul 24, 2023 · 1 comment
Open

Use the nvidia-supplied nvidia-ml-py instead of pynvml #20

cvm-a opened this issue Jul 24, 2023 · 1 comment

Comments

@cvm-a
Copy link

cvm-a commented Jul 24, 2023

This project depends on pynvml, but the official nvidia-blessed bindings to nvml are in the nvidia-ml-py package instead. This is causing problems for the wookayin/gpustat#153 (comment), which needs some internals from nvidia-ml-py to properly support older nvml version. Would it be possible to switch?

@cvm-a cvm-a changed the title Use the nvidia-supplied nvidia-ml-py instead of pynvm Use the nvidia-supplied nvidia-ml-py instead of pynvml Jul 24, 2023
@cvm-a
Copy link
Author

cvm-a commented Jul 24, 2023

In addition, I think it would also be good to make that an optional dependency, since you already have the code to make the library work if pynvml is not installed.

ancestor-mithril added a commit to ancestor-mithril/fast_pytorch_kmeans that referenced this issue Jul 24, 2023
Using torch.cuda.mem_get_info to get available free memory
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