Skip to content

Commit

Permalink
Update build_tensorflow.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arthw authored Feb 13, 2019
1 parent 2e78aa6 commit f98305e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build_tensorflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ export HTTPS_PROXY=http://xxx.com:913
```
sudo apt install python3-dev python3-pip
python3 -m pip install six numpy wheel mock
python3 -m pip install -U --user keras_applications==1.0.6 --no-deps
python3 -m pip install -U --user keras_preprocessing==1.0.5 --no-deps
```

#### Build with MKL
`bazel build --config=opt --config=mkl //tensorflow/tools/pip_package:build_pip_package`

#### Build PIP package
`./bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg`

#### Install TF by PIP
`python3 -m pip install /tmp/tensorflow_pkg/tensorflow-XXX.whl`

0 comments on commit f98305e

Please sign in to comment.