-
Notifications
You must be signed in to change notification settings - Fork 32
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
failing to load driver nvml from wsl2 #51
Comments
Hello! I do apologize for the delay in replying here 😅 but I hope your time with Rust has been fun so far! I'm not entirely sure why you're getting the
and, if we
By default let nvml = Nvml::builder()
.lib_path("libnvidia-ml.so.1".as_ref())
.init()?; Then I got a bit farther, but I hit another error:
I was able to work around that by removing: let cuda_cores = device.num_cores()?; from the
Let me know if that helps! |
Hi! In the official Go bindings for NVML, they use |
Put up a PR: #63 |
I am just getting started in rust development so I may just need some guidance. I have developed a simple program which just dumps the details of the driver that it loads, on my ubuntu 22.04 lts notebook i run my app and the output is (and as expected)
and nvidia-smi reports
no when i go and comile and run my app on my windows 11 wsl2 ubuntu 22.04 lts instance I get
however when i run nvidia-smi i am presented with a driver. I was guessing since smi worked that the driver was accessible.
My question is there any additional path or environment variables that I need to setup in order to get this to work or is it simply an issue with wsl2?
just for fun i'm including the code becuase its very basic
The text was updated successfully, but these errors were encountered: