Created
November 1, 2017 00:39
-
-
Save damienpontifex/835e6f887d058a54d36eac8adb3158aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In local tensorflow repo | |
# git clone https://github.com/tensorflow/tensorflow.git | |
# cd tensorflow | |
TAG=v1.4.0-rc1 | |
git pull | |
git checkout "$TAG" | |
./configure # Enter for all defaults | |
bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-msse4.2 -k //tensorflow/tools/pip_package:build_pip_package | |
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg | |
pip3 install pip install /tmp/tensorflow_pkg/tensorflow-<blah>.whl # Tab complete <blah> with appropriate build number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment