Skip to content

Instantly share code, notes, and snippets.

@coolnalu
Last active May 28, 2017 18:20
Show Gist options
  • Save coolnalu/51df4edbef38d29316d413554d351262 to your computer and use it in GitHub Desktop.
Save coolnalu/51df4edbef38d29316d413554d351262 to your computer and use it in GitHub Desktop.
Compiling TensorFlow on Ubuntu 16.04 LTS with Nvidia cuDNN and cuda
bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2 --config=cuda -k //tensorflow/tools/pip_package:build_pip_package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment