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
There are some errors when using cudarc in WSL2, and this is because the CUDA environment in WSL is quite special; its default CUDA files are stored in usr/lib/wsl/lib.
Currently, adding /usr/lib/wsl/lib to the LD_LIBRARY_PATH can fix this error.
However, this error shouldn't exist because WSL actually provides this path by default, located in /etc/ld.so.conf.d/ld.wsl.conf, and cudarc does not scan the paths in the files within this directory, which seems to be against convention.
Therefore, please add the paths from the files in this directory to the library search directories to avoid dependency on LD_LIBRARY_PATH.
The text was updated successfully, but these errors were encountered:
Now (after the last nvidia package updates from the beginning of November) I have the same on a "regular" Debian 12.
My libcuda is in /usr/lib/x86_64-linux-gnu, where there's a symlink from libcuda.so.1 to libcuda.so.565.57.01.
Adding a symlink from a libcuda.so to libcuda.so.1 fixes the error...
There are some errors when using cudarc in WSL2, and this is because the CUDA environment in WSL is quite special; its default CUDA files are stored in
usr/lib/wsl/lib
.Currently, adding
/usr/lib/wsl/lib
to theLD_LIBRARY_PATH
can fix this error.However, this error shouldn't exist because WSL actually provides this path by default, located in
/etc/ld.so.conf.d/ld.wsl.conf
, and cudarc does not scan the paths in the files within this directory, which seems to be against convention.Therefore, please add the paths from the files in this directory to the library search directories to avoid dependency on
LD_LIBRARY_PATH
.The text was updated successfully, but these errors were encountered: