I was able to find a workaround by doing the installation the "complicated nvidia way". Just in case anybody else needs a workaround and has no idea how to do so, here the steps I did (no warranty that it works for you and will not break up your system (for me this happened this happened 5 times but finally I found out that the following steps works very well for me.))
I was able to find a workaround by doing the installation the "complicated nvidia way". Just in case anybody else needs a workaround and has no idea how to do so, here the steps I did (no warranty that it works for you and will not break up your system (for me this happened this happened 5 times but finally I found out that the following steps works very well for me.))
#DOWNLOAD CUDNN tar.gz (yes, in order to do so, you have to create an nvidia developer account -.-'#). /developer. nvidia. com/rdp/ cudnn-download
https:/
# install compatible driver (somehow the cuda installation removes the previous installation)
sudo apt install nvidia-driver-515
sudo reboot
# INSTALL CUDA11 (CUDA 12 is not compatible currently) /developer. download. nvidia. com/compute/ cuda/repos/ ubuntu2004/ x86_64/ cuda-ubuntu2004 .pin developer. download. nvidia. com/compute/ cuda/11. 0.2/local_ installers/ cuda-repo- ubuntu2004- 11-0-local_ 11.0.2- 450.51. 05-1_amd64. deb ubuntu2004- 11-0-local_ 11.0.2- 450.51. 05-1_amd64. deb ubuntu2004- 11-0-local_ 11.0.2- 450.51. 05-1_amd64. deb ubuntu2004- 11-0-local_ 11.0.2- 450.51. 05-1_amd64. deb repo-ubuntu2004 -11-0-local/ 7fa2af80. pub
wget https:/
wget http://
sudo dpkg -i cuda-repo-
sudo dpkg -i cuda-repo-
sudo dpkg -i cuda-repo-
sudo apt-key add /var/cuda-
sudo apt-get update
sudo apt-get -y install cuda
# check if cuda 11 is installed successfully (if command could be found your fine :))
nvcc
# add cuda to PATH variable local/cuda- 11.0/bin$ {PATH:+ :${PATH} }" >> ~/.bashrc
echo "export PATH=/usr/
sudo reboot
# copy the cudnn libs (go to folder with cudnn.tar.gz download first) x86_64- 8.7.0.84_ cuda11- archive. tar.xz -archive/ include/ cudnn*. h /usr/local/ cuda/include. -archive/ lib/libcudnn* /usr/local/ cuda/lib64 cuda/include/ cudnn*. h /usr/local/ cuda/lib64/ libcudnn*
tar -xvf cudnn-linux-
sudo cp cudnn-*
sudo cp -P cudnn-*
sudo chmod a+r /usr/local/
# install pip (to) install tensorflow
sudo apt install python3-pip
# install tensorflow 2.9.1 since 2.11 did not work for me with cudnn
pip install tensorflow==2.9.1
# create a symlink to libcusolver.so.11 cuda/targets/ x86_64- linux/lib/ libcusolver. so.11 /home/horus/ .local/ lib/python3. 10/site- packages/ tensorflow/ python/ libcusolver. so.11
sudo ln -s /usr/local/
# check if gpus are available version. VERSION) ;print( tf.config. list_physical_ devices( ));'
python3 -c 'import tensorflow as tf; print(tf.