You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
Note: To get the latest version of nGraph, use the tip of `master` branch of TensorFlow. The exact version of `bazel` changes for a specific version of TensorFlow. Please consult the build instructions from TensorFlow web site for specific bazel requirements.
135
-
136
-
4. Now run `./configure` and choose `no` for the following when prompted to build TensorFlow.
137
-
138
-
XLA support:
139
-
140
-
Do you wish to build TensorFlow with XLA JIT support? [Y/n]: n
141
-
No XLA JIT support will be enabled for TensorFlow.
142
-
143
-
CUDA support:
144
-
145
-
Do you wish to build TensorFlow with CUDA support? [y/N]: N
146
-
No CUDA support will be enabled for TensorFlow.
147
-
148
-
:warning: Note that if you are running TensorFlow on a Skylake family processor then select
149
-
`-march=broadwell` when prompted to specify the optimization flags:
150
-
151
-
Please specify optimization flags to use during compilation
152
-
when bazel option "--config=opt" is specified
153
-
[Default is -march=native]: -march=broadwell
154
-
155
-
This is due to an issue in TensorFlow tracked here:
Note: The specific questions for the `configure` step and the build command mentioned above changes for different versions of TensorFlow.
164
-
165
-
6. Once the pip package is built, install using
166
-
167
-
pip install -U ./tensorflow-1.*whl
168
-
169
-
For this final option, there is **no need to separately build `ngraph-tf` or to
170
-
use `pip` to install the nGraph module**. With this configuration, your TensorFlow model scripts will work without any changes, ie, you do not need to add `import ngraph_bridge`, like option 1 and 2.
171
-
172
-
Note: The version that is available in the upstreamed version of TensorFlow usually
173
-
lags the features and bug fixes available in the `master` branch of this repository.
174
-
175
-
You can run a few of your own DL models to validate the end-to-end
176
-
functionality. Also, you can use the `ngraph-tf/examples` directory and try to
177
-
run the following model:
178
-
179
-
cd examples
180
-
python3 keras_sample.py
181
-
182
118
## Using OS X
183
119
184
-
The build and installation instructions are idential for Ubuntu 16.04 and OS X. However, please
120
+
The build and installation instructions are identical for Ubuntu 16.04 and OS X. However, please
185
121
note that the Python setup is not always the same across various Mac OS versions. TensorFlow build
186
122
instructions recommend using Homebrew and often people use Pyenv. There is also Anaconda/Miniconda
187
123
which some users prefer. Ensure that you can build TenorFlow successfully on OS X with a suitable
@@ -223,7 +159,7 @@ See the full documentation here: <http://ngraph.nervanasys.com/docs/latest>
0 commit comments