0

I'm using a Dual-Boot machine with Windows and Ubuntu and try to run a code which works well while windows is used but errors when Ubuntu is used. The error says:

F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.

While running the same code using Windows it gives a similar warning but still runs.

Couldn't find any solution regarding to the problem on the net.

System specifications:

  • Ubuntu 18.10
  • Python 2.7.15+
  • TensorFlow 1.12.0
Sir l33tname
  • 4,026
  • 6
  • 38
  • 49
  • Are you running Linux inside a VM that doesn't enable AVX for the guest OS? That would be a problem. What exact warning does your Windows version give? Is it that AVX is available but your Windows TensorFlow was *not* compiled to use it? That's the opposite error. – Peter Cordes Dec 03 '18 at 10:12
  • What does `cat /proc/cpuinfo` say? – n. m. could be an AI Dec 11 '18 at 04:55

0 Answers0