Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory

Error from tensorflow. Following the installation documentation.

Windows ver: Microsoft Windows [Version 10.0.19042.685]
WSL2
Ubuntu 20.04
tensorflow: tf_nightly_gpu

Cannot find this file anywhere in my wsl distro, but it does exist in C:\Windows\System32\lxss\lib

Anyone run into this?

Hi @bburket,

How did you install CUDA and Tensorflow on your WSL? I suggest to have a look at the following guide:

There, you can find instructions to install the CUDA toolkit and a container with Tensorflow. For the case of using the Tensorflow library directly from WSL, I suggest to install it after installing the CUDA toolkit and, then, compile Tensorflow on WSL.

Regards,
Leon