Next, I created an Ubuntu vm. In this vm, all I do is install python + tensorflow, and then do
>> import tensorflow
2021-01-22 14:15:40.193407: F tensorflow/core/platform/cpu_feature_guard.cc:38] The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
If I look at /proc/cpu_info, I do see that I have avx anf avx2, so why is tensorflow complaining?
Here is my start.sh file:
-m 4G \
-net nic -net user,hostfwd=tcp::2223-:22,hostfwd=tcp::8001-:8000 \
-vga virtio \
-display default,show-cursor=on \
-device usb-tablet \
-smp 2 \
-drive file=ubuntu-16.04.7-desktop-amd64.qcow2,if=virtio \