-
Notifications
You must be signed in to change notification settings - Fork 34
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
Set LIB_PATH to libnvidia-ml.so.1 instead of libnvidia-ml.so on Linux #63
base: main
Are you sure you want to change the base?
Conversation
In the official Go bindings for NVML, they use libnvidia-ml.so.1: https://github.com/NVIDIA/go-nvml/blob/0e815c71ca6e8184387d8b502b2ef2d2722165b9/pkg/nvml/lib.go#L30
Yes please, in driver 560 and above, as shipped in the CUDA repository, we've also removed the symlink to the unversioned library. The approach of loading In the previous driver versions, there was in fact an The few remaining unversioned libraries that are required in the driver have been moved to the main library packages. Regarding NVML, the NVML stub and the headers are in the Sample output for the RPM (deb is similar):
Again, please stick to loading |
@Cldfire can I please get a stamp? |
This is actually again #47 |
Hi folks. My apologies for the delay here, and thank you for the PR and the information :) I've recently started a job at Apple which makes it difficult for me to continue maintaining this library. I am in the process of finding new ownership for this repository, and I've also reached out to a contact at NVIDIA to see if there's any interest on their side in making this crate more official. I'll provide an update in the coming weeks. In the meantime please continue to use |
Recently, NVIDIA CUDA repository packages started shipping only `libnvidia-ml.so.1` file, without `libnvidia-ml.so`. The upstream `nvml-wrapper` package has a fix proposed (Cldfire/nvml-wrapper#63), yet the package is in search of a maintainer at the moment. To allow `bottom` to correctly detect NVIDIA GPUs on Ubuntu with official NVIDIA packages, add a wrapper around `Nvml::init` to be more persistent in its search for the NVML library.
Recently, NVIDIA CUDA repository packages started shipping only `libnvidia-ml.so.1` file, without `libnvidia-ml.so`. The upstream `nvml-wrapper` package has a fix proposed (Cldfire/nvml-wrapper#63), yet the package is in search of a maintainer at the moment. To allow `bottom` to correctly detect NVIDIA GPUs on Ubuntu with official NVIDIA packages, add a wrapper around `Nvml::init` to be more persistent in its search for the NVML library.
Recently, NVIDIA CUDA repository packages started shipping only `libnvidia-ml.so.1` file, without `libnvidia-ml.so`. The upstream `nvml-wrapper` package has a fix proposed (Cldfire/nvml-wrapper#63), yet the package is in search of a maintainer at the moment. To allow `bottom` to correctly detect NVIDIA GPUs on Ubuntu with official NVIDIA packages, add a wrapper around `Nvml::init` to be more persistent in its search for the NVML library.
In the official Go bindings for NVML, they use libnvidia-ml.so.1: https://github.com/NVIDIA/go-nvml/blob/0e815c71ca6e8184387d8b502b2ef2d2722165b9/pkg/nvml/lib.go#L30, and I believe the same is true for pynvml.