Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"The TensorFlow library was compiled to use FMA instructions, but these aren't available on your machine." in VirtualBox

My tensorflow has been able to run normally in the WIN10 system, and with cuda and cudnn installed, the GPU can be used normally. I have a whim, I want to open a tf on my own virtual machine Ubuntu, maybe I can try distributed? The result is that after finally installing tensorflow, it cannot run. When import tensorflow, it will prompt directly F tensorflow/core/platform/cpu_feature_guard.cc:38] The TensorFlow library was compiled to use FMA instructions, but these aren't available on your machine. I don't know where the problem is...

like image 996
SeniorNovice Avatar asked Dec 04 '25 10:12

SeniorNovice


1 Answers

I am experiencing the same problem and just peeped this from another question:

How to install tensorflow GPU version on VirtualBox Ubuntu OS. And host OS is windows 10

In short, you can't access you GPU through VirtualBox. You must do this directly from Windows/whatever machine you have.

Apologies if I didn't quote correctly.

like image 129
GonzaloGo Avatar answered Dec 07 '25 04:12

GonzaloGo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!