-
Notifications
You must be signed in to change notification settings - Fork 74.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prebuilt binaries do not work with CPUs that do not have AVX instruction sets. #19584
Comments
We encourage the community to build and share binaries for older CPU models. |
Any chance for you to make the build for the community? |
FYI, here is a Docker image that can build TensorFlow https://github.com/hadim/docker-tensorflow-builder. It can help to compile TF on a wide range of configurations as long as you have Docker installed on it. |
We encourage community supported wheels because for the officially blessed binaries we would like to run rigorous tests. |
@gunan Will this change with tensorflow/community#2? |
In the short term that involves this immediate design, no. |
CMake version on the other side on windows does not have AVX at all. I needed to enable it explictly locally. |
I've gone ahead and compiled GPU only builds for Tensorflow Huge thanks to all of the contributors and the supporting open source community. Special thanks to @hadim for making his docker-tensorflow-builder available - it served as a great basis to generate these wheels. 🎉 |
Check this repo for more unofficial wheels: https://github.com/yaroslavvb/tensorflow-community-wheels/issues |
Something really strange happened to me regarding this issue: I have an i5-3230M CPU, and I was using tensorflow 2 without any problem until yesterday, that I decided to reinstall ubuntu in the machine. As a result, now pip-installed tensorflow cannot be imported. Same machine, same CPU. |
Does anyone know where we can track progress on the effort to support legacy CPUs mentioned earlier in this thread? |
This comment was marked as spam.
This comment was marked as spam.
There won't be support for these legacy CPUs. Instead, we recommend using Colab as that is guaranteed to be an environment where TF works. |
As announced in release notes, TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets. This means on any CPU that do not have these instruction sets either CPU or GPU version of TF will fail to load with any of the following errors:
ImportError: DLL load failed:
Our recommendation is to build TF from sources on these systems.
System information
The text was updated successfully, but these errors were encountered: