You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rules_ll appends automatically /usr/lib/wsl/lib to LD_LIBRARY_PATH when rules_ll is running in WSL.
(Not sure If this belongs into the nix flake or into the bazel rules)
The text was updated successfully, but these errors were encountered:
@JannisFengler Hmm since #83 this seems to also occur on linux. I'm trying to find a more general solution. In the meantime, could you check whether the same issue still persists with the current main branch and whether the fix for WSL still works as before?
Would you mind trying again? If we're lucky it's no longer required to have a cuda driver on WSL at all. If this doesn't work for WSL2 because of passthrough mechanisms I can add the path to the runtime CUDA driver as a flag.
WSL GPU Detection Issue in CUDA Example
Problem
Running the default CUDA example in WSL fails to detect the GPU.
Workaround
Setting
LD_LIBRARY_PATH
resolves the issue:Suggestion
rules_ll appends automatically /usr/lib/wsl/lib to LD_LIBRARY_PATH when rules_ll is running in WSL.
(Not sure If this belongs into the nix flake or into the bazel rules)
The text was updated successfully, but these errors were encountered: