Skip to content

Instantly share code, notes, and snippets.

@supriya-gdptl
Last active May 3, 2019 11:01
Show Gist options
  • Save supriya-gdptl/6a6710d1e230963862c59208ddc8c41c to your computer and use it in GitHub Desktop.
Save supriya-gdptl/6a6710d1e230963862c59208ddc8c41c to your computer and use it in GitHub Desktop.
Install tensorflow-gpu with Anaconda
To install CUDA9.0 and cuDNN 7.0, follwo instruction given on following website:
https://medium.com/@zhanwenchen/install-cuda-and-cudnn-for-tensorflow-gpu-on-ubuntu-79306e4ac04e
-----
To install anaconda on new machine:
(To install perticular version of anaconda refer https://repo.continuum.io/archive/)
wget https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
bash Anaconda3-5.1.0-Linux-x86_64.sh
or create virtual env by running following command
conda create -n yourenvname python=3.6 anaconda
-----
to install tensorflow-gpu with Anaconda:
conda install -c conda-forge tensorflow-gpu=1.11 cudatoolkit=9.0
OR
for local user
pip install --user tensorflow-gpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment