Skip to content

Instantly share code, notes, and snippets.

@Tamal
Last active July 19, 2018 14:02
Show Gist options
  • Save Tamal/4f5d9cd0820d0fffa1c5d1c091c4aa85 to your computer and use it in GitHub Desktop.
Save Tamal/4f5d9cd0820d0fffa1c5d1c091c4aa85 to your computer and use it in GitHub Desktop.
Install TensorFlow on Fedora

Install cuda and nvdia driver

sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-nvidia.repo
sudo dnf install cuda-devel cuda-cudnn-devel
sudo dnf install nvidia-settings kernel-devel dkms-nvidia vulkan nvidia-driver-libs nvidia-driver-cuda

Install tensorflow gpu

pip install tensorflow-gpu

test

python -c "import tensorflow as tf; print(tf.__version__)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment