Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2

I constantly get the following error in the Jupiter Notebook console window:

2018-05-31 16:39:04.994528: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2

How to use the ability to execute instructions in TF installed via the Anaconda distribution ?

Author: sanmai, 2018-06-01

1 answers

If you are using a GPU, then in general this warning does not concern you. You can turn it off like this:

import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

If you are working without a GPU, then you can try to build TensorFlow from the sources.

 0
Author: sanmai, 2018-06-01 07:51:48