-
Notifications
You must be signed in to change notification settings - Fork 284
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
Support anaconda's legacy pynvml package #149
Comments
In my opinion the legacy pynvml package should not be used and all other packages that depends on this non-official pynvml3 should be updated. But I understand there are many outdated, unmaintained softwares in the wild that we do not have much control. As a workaround you can use gpustat < 1.0. I do not mantain conda packages for gpustat, so gpustat should be ideally installed with pip via PyPI. |
Unfortunately, I'm on Windows, and gpustat < 1.0 uses blessings, rather than blessed, which doesn't work on Windows (erikrose/blessings#21), so I can't use those versions. Also, I didn't realize that you don't maintain the conda packages for gpustat. I also now see that pynvml hasn't been updated since Dec. 2021, so I'll see if I can nudge the other packages to use the official bindings. |
Also, do you have any plans to support the nvidia-ml-py 11.5xx versions? |
Yes, the master version already supports But what happens if both the official bindings and unofficial legacy are installed as conda deps? I don't think there is no conflicting dependency between these two. |
Both pynvml and nvidia-ml-py have constraints on their conda packages that prevent both of them from being installed at the same time (they each constrain the other package to version 999999999, which does not exist). |
@DManowitz do you still need this? what's the status of the anaconda's legacy pynvml package? (any links or information would be appreciated) |
The official pynvml bindings nvidia-ml-py should be used. If anaconda ships with a legacy package, that's their problem. Don't use the old software. gpustat can still be used with installing If you disagree or have another corner case that needs to be resolved, please let me know. |
At the moment, gpustat is the only package on conda-forge that relies on the official NVIDIA management library, rather than on the pynvml package. That means it cannot be installed into an environment which is using any other package that depends on the pynvml package.
If gpustat were compatible with both packages and could be released in two versions, one with either package as a dependency, that would probably be ideal.
The text was updated successfully, but these errors were encountered: