啥玩,这是装好没装好?
#wsl #cuda #symbolic-link
The /usr/lib/wsl/lib/libcuda.so* in WSL2 (Ubuntu) is generated by NVIDIA Windows GPU Driver, but the library fails to load, so please configure it with a symbolic link.
复现问题
在WSL Linux 终端中执行:
>>> from ctypes import cdll
>>> cdll.LoadLibrary('libcuda.so.1') # ok
>>