Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run TensorFlow 2.0 on CPU without AVX

I would like to install and use TensorFlow 2.0. I have a PC with Windows 10, a Geforce GTX 1080 Ti GPU and an old Intel Xeon X5660 CPU, which doesn't support AVX.

Now, my problem is that there is a DLL Import error whenever I attempt to run any TensorFlow code on this machine. I know about this repository providing a solution for legacy CPUs but unfortunately I can't find any TensorFlow 2.0 packages there.

Any help would be highly appreciated. Thank you.

like image 888
Hagbard Avatar asked Oct 02 '19 08:10

Hagbard


People also ask

Can I run TensorFlow without AVX?

But at the end, I have Tensorflow for Ubuntu 20.04 for x86_64 without AVX support. I tried this out on a Celeron and a Core2 machine, and it works great. Tensorflow is perfect for the old machines where you can run model training for a few hours, turn the screen off, and leave it alone.

Does TensorFlow use AVX?

This is because, after TensorFlow 1.6, the binaries use AVX instructions that may not run on older CPUs. The older CPUs cannot run the AVX instructions, while on the newer CPUs, you need to build the TensorFlow from source to the CPU.

Can you run TensorFlow on CPU?

TensorFlow supports running computations on a variety of types of devices, including CPU and GPU.

Does Python 3.7 support TensorFlow?

TensorFlow is tested and supported on the following 64-bit systems: Python 3.7–3.10. Ubuntu 16.04 or later.


1 Answers

you can download and install NO AVX whl from source: https://github.com/yaroslavvb/tensorflow-community-wheels/issues/174

like image 129
Serg Avatar answered Oct 02 '22 13:10

Serg