Compile Tensorflow: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Tensorflow packages often assume the processor supports avx2. Our Xeon process does not, and requires tensorflow to be compiled without this flag. | |||
Verify dependencies | Verify dependencies | ||
<pre>sudo apt install python3-dev python3-pip</pre> | <pre>sudo apt install python3-dev python3-pip</pre> |
Revision as of 03:18, 24 September 2020
Tensorflow packages often assume the processor supports avx2. Our Xeon process does not, and requires tensorflow to be compiled without this flag.
Verify dependencies
sudo apt install python3-dev python3-pip
Install Bazel using Bazelisk
sudo npm install -g @bazel/bazelisk
Checkout Tensorflow
git clone https://github.com/tensorflow/tensorflow.git cd tensorflow