For latest TensorFlow version 2.4 the Nvidia CUDA toolkit is required in version 11. However, the official Ubuntu repo does only include CUDA toolkit version 10:
$ sudo apt install nvidia-cuda-toolkit
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-cuda-toolkit is already the newest version (10.1.243-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I know one can install CUDA (toolkit) directly from Nvidia deb
packages, but I would rather stick to the official Ubuntu repo, if possible. Is there any estimation when the latest CUDA toolkit version 11 will be released in the official Ubuntu repo?
rmadison nvidia-cuda-toolkit
tells me 11.0.3-1ubuntu1 was available in Ubuntu groovy, and 11.1.1-3.... https://packages.ubuntu.com/search?keywords=nvidia-cuda-toolkit&searchon=names&suite=all§ion=all so it's already available if using Ubuntu groovy gorilla. – guiverc Dec 18 '20 at 12:30ubuntu-security-status
would confirm). You can run packages for other systems via containers (lxc) but I have no idea if that's possible with cuda as I don't know anything about cuda... Refer to the duplicate link I posted as to why. – guiverc Dec 18 '20 at 12:42deb
directly from Nvidia. – Matthias Dec 18 '20 at 12:49