File tree Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -22,33 +22,4 @@ You can install [tensorflow](https://www.tensorflow.org/install/) via pip or via
2222 ` pip install tensorflow-gpu `
2323
2424### Hardware-optimized tensorflow installation (compiling from source)
25- Please refer to https://www.tensorflow.org/install/ .
26-
27- #### Pre-requirements
28- First, you have to install bazel (a build tool).
29- - On MacBook:<br />
30- ` brew install bazel `
31- - On linux:
32- * Use Anaconda/Miniconda:<br />
33- ` conda install bazel `
34- * Official / Distribution-specific ways:
35- https://docs.bazel.build/versions/master/install.html
36-
37- #### Compilation
38- 1 . Get newest TensorFlow repo from github via git clone:<br />
39- ` git clone https://github.com/tensorflow/tensorflow.git `
40- 2 . ` cd tensorflow/ `
41- 3 . ` git checkout <release> `
42- 4 . ` ./configure `
43- 5 . ` bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package `
44- 6 . ` bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg `
45- 7 . ` pip install /tmp/tensorflow_pkg/tensorflow-<blah>.whl `
46-
47- ## Building the documentation
48- The documentation is maintained in the ` docs/ ` directory.
49-
50- The built documentation will be saved in ` build/docs ` .
51-
52- 1 . Make sure ` sphinx ` , ` sphinx-autodoc-typehints ` and ` sphinx_rtd_theme ` packages are installed (install via pip for example).
53- 2 . ` cd docs/ `
54- 3 . ` make html `
25+ Please refer to https://www.tensorflow.org/install/ .
You can’t perform that action at this time.
0 commit comments