Skip to content

Commit 9e1f235

Browse files
Update README.md
1 parent f129965 commit 9e1f235

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ After that you have to get/build the TensorFlow library `libtensorflow.so`. The
1717
1. Clone the TensorFlow repo `git clone --recurse-submodules -b r0.9 https://github.com/tensorflow/tensorflow`
1818
1. In `tensorflow` run `./configure` then `bazel build -c opt tensorflow:libtensorflow.so`
1919
- In order to build with GPU support, CUDA needs to be installed and specified during `./configure`, and use `bazel build -c opt --config=cuda tensorflow:libtensorflow.so` to build.
20+
* You can download a prebuilt [x86-64 linux binary](https://github.com/LaurentMazare/tensorflow-ocaml/releases/download/0.0.4/libtensorflow.so).
2021
* An alternative is to [install TensorFlow using pip](https://www.tensorflow.org/versions/r0.9/get_started/os_setup.html#pip-installation) then copy the `.so` file in `libtensorflow.so`. You may have to tweak the following command depending on where TensorFlow was installed by pip.
2122
```bash
2223
cp ~/.local/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so libtensorflow.so

0 commit comments

Comments
 (0)