-
Notifications
You must be signed in to change notification settings - Fork 159
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
nvidia-ml-py version conflicts with other packages (e.g., gpustat) #23
Comments
Hi @wookayin, thanks for raising this. The reason for pinning the version of The maximum NVIDIA driver version in
I'm going to add an optional argument to pip3 install 'nvitop[pynvml-11.450.51]'
pip3 install 'nvitop[pynvml-11.450.129]' EDIT: The |
Thank you, I wasn't aware of the Ubuntu 16.04 LTS compatibility, but giving a thought to more modern systems it would make more sense to allow CUDA-11 compatible nvidia-450+ pynvml installations.
That sounds like nvitop may have support for different versions of pynvml, which will be great. Though features might be incomplete if the driver/library installation would not match.... We might need to add some fallback mechanisms --- I don't have an universal solution yet without bundling and copy-paste-ing the source code of the |
I haven't found a way to solve this either :(. The module |
@wookayin I have loosened the dependency constraints to In https://github.com/wookayin/gpustat/blob/cd65b1ef5fe115fd057691a2246263844dffed86/setup.py#L77-L82 For a fresh installation, both pip3 install gpustat
pip3 install nvitop |
Hi @XuehaiPan, I'm running into the same issue when trying to install micromamba create -n test -c conda-forge -c rapidsai -c conda-forge cuml cuda-version=11.8 nvitop This installs a really old version of I don't know much about how |
Context: wookayin/gpustat#107 trying to use nvidia-ml-py, Related issues: #4
Hello @XuehaiPan,
I just realized that
nvitop
requires nvidia-ml-py to be pinned at11.450.51
due to the incompatible API, as discussed in wookayin/gpustat#107. My solution (ingpustat
) to this bothersome library is to use pynvml greater than 11.450.129, but this would create some nuisance problems for normal users who may have bothnvitop
andgpustat>=1.0
installed.From nvitop's README:
Is having
pynvml
version NOT pinned at the specific version an option for you? More specifically,nvmlDeviceGetComputeRunningProcesses_v2
exists since 11.450.129+. In my opinion, pinning nvidia-ml-py at too old and too specific version isn't a great idea, although I also admit that the solution I accepted isn't ideal at all.We could discuss and coordinate together to avoid any package conflict issues, because in the current situation
gpustat
andnvitop
would be not compatible with each other due to the nvidia-ml-py version.The text was updated successfully, but these errors were encountered: