- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Updated 8/9/2018: Intel optimized TensorFlow 1.9 wheels and conda packages in Intel channel are made available now! Refer the Install guide for the installation instructions to get the latest Intel Optimized TensorFlow.
Starting from TensorFlow v1.9, Anaconda will continue to build TensorFlow with MKL-DNN optimizations and distribute in their main channel.to deliver a high performance TensorFlow.
Made currently available for Linux platform, if you are using conda package manager, Just follow the instruction below to get the latest and highly optimized TensorFlow.
conda install tensorflow
or
conda install tensorflow -c anaconda
If you are not using conda package manager, Intel will distribute the latest version(1.9) of optimized-TensorFlow wheels shortly. However, older version wheels are made available. For more details, Click Here
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Preethi,
I installed tensorflow in my Windows 10 through conda install -c anaconda tensorflow. Now how do I make sure that this tensorflow build is using Intel MKL-DNN primitives. In other words, is there a command inside tensorflow to check this similar to checking if tensorflow is using GPU.
Best
s0r2637
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In a freshly created anaconda installation, in an environment created with
conda create -n tensorflow_env tensorflow keras
I still get the warning "cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA"
conda list tensorflow shows
tensorflow: 1.12.0-mkl_py36h69b6ba0_0
which looks promising.
Other people seem to have the same issue, see discussion at https://www.anaconda.com/blog/developer-blog/tensorflow-in-anaconda/
Are there any issues with the packaging?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I guess the tensorflow packages from the main anaconda channel have some problem.
Today I installed them, using a freshly downloaded anaconda distribution on linux, in a fresh environment.
With these packages I get the warning:
I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
'conda list tensorflow' outputs
tensorflow 1.12.0 mkl_py36h69b6ba0_0
doing 'conda install tensorflow -c intel' kind of upgrades me to this warning message:
I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
here 'conda list tensorflow' shows:
tensorflow 1.11.0 py36_0 intel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can ignore the warning, since MKL-DNN will use the latest instruction sets. Please refer the install guide for additional details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please add build for TF 1.14 (or at least 1.13) / python 3.7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please add Tensorflow 1.14 (or at least 1.13) build for python 3.7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can do the sanity check using the below command as given in the intel developer website:
python -c "import tensorflow; print(tensorflow.pywrap_tensorflow.IsMklEnabled())" Just run this command if the result is true then intel optimized tensorflow is being used.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page