

- #UBUNTU 18.04 CUDA 10.0 TENSORFLOW INSTALL#
- #UBUNTU 18.04 CUDA 10.0 TENSORFLOW UPDATE#
- #UBUNTU 18.04 CUDA 10.0 TENSORFLOW PATCH#
- #UBUNTU 18.04 CUDA 10.0 TENSORFLOW DOWNLOAD#
Virtualenv -p python3.7 ~/tensorflow_1-15 Create a virtual environment and add the desired python as the default interpreter.This just installs python3.7 to the system it does not make it default. Sudo add-apt-repository ppa:deadsnakes/ppa
#UBUNTU 18.04 CUDA 10.0 TENSORFLOW INSTALL#
One can install python 3.7 for example using this repository which contains old (and new versions of python): This means obligatory a virtual environment (since messing with system python is never not a good idea). The supported versions of python for cuda 10.0 ends with 3.7 so an older version should be installed.Anyway, this way the system will search for the relevant so files in:Ī) /usr/local/cuda/lib64 (the default symbolic link) and it will failī) to the virtually same as the latter /usr/local/cuda-11.3/lib64 and also fail BUT it will search alsoĬ) /usr/local/cuda-10.0/lib64 which will be successful.

This requires a restart though to be evaluated I think.

This command would normally do the work: $ sudo sh -c ‘echo export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda-11.3/lib64:/usr/local/cuda-10.0/lib64:\$LD_LIBRARY_PATH > /etc/profile.d/cuda.sh’ It should contain something like:Įxport LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda-11.3/lib64:/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH
#UBUNTU 18.04 CUDA 10.0 TENSORFLOW UPDATE#
One way (there are others) system-wide is to create (in not existent) a /etc/profile.d/cuda.sh which will contain the update to the LD_LIBRARY_PATH variable. We should update the relevant system environment for cuda 10.0. So, all call to it will fail as if non existent.

#UBUNTU 18.04 CUDA 10.0 TENSORFLOW DOWNLOAD#
I had this one from a previous installation but its shouldn't be hard to download it also. The toolkit can be safely installed using the instructions provided with no risk since each version allocates a different folder in the system (typically this would be /usr/local/cuda-10.0/).
#UBUNTU 18.04 CUDA 10.0 TENSORFLOW PATCH#
I chose runfile as method which resulted into 1 main runfile and 1 patch runfile being available: cuda_10.0.130_410.48_n I resolved to the Ubuntu 18.04 version though which works fine.įinal toolkit for Ubuntu here (as it's obvious not 20.04 version is available). I have some trouble finding this version because it's not officially available for Ubuntu 20.04. To make a working solution for Ubuntu 20.04 and TensorFlow 1.15 one needs: The main idea is from here (not to claim credit from others). Given the situation is there a way to run tensorflow 1.15 with gpu support on Ubuntu 20.04.1?Īs this also bothered me I found a working solution that I think is more versatile than using docker containers.
