Skip to content

Instantly share code, notes, and snippets.

@dctanner
Created February 28, 2019 20:46
Show Gist options
  • Save dctanner/1644b046f94aee2c05aefecee3178af0 to your computer and use it in GitHub Desktop.
Save dctanner/1644b046f94aee2c05aefecee3178af0 to your computer and use it in GitHub Desktop.
# propietary nvidia drivers
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt upgrade
sudo ubuntu-drivers autoinstall
restart
# cudatoolkit and rest of env installed with Anaconda
https://www.anaconda.com/distribution/#linux run install sh
conda create --name tensorflowenv
conda activate tensorflowenv
https://docs.anaconda.com/anaconda/user-guide/tasks/gpu-packages/ follow instructions
conda install cudatoolkit=8.0
conda install tensorflow-gpu
# other envs
https://github.com/fastai/fastai/blob/master/README.md#installation
# other resources
https://medium.com/@naomi.fridman/install-conda-tensorflow-gpu-and-keras-on-ubuntu-18-04-1b403e740e25
https://hackernoon.com/deep-learning-software-setup-cuda-10-ubuntu-18-04-15548cefa30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment