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
Apple M1 chip - illegal hardware instruction #46178
Comments
|
We don't support the M1 chip. This comes from an Apple fork. |
|
Hello Mihai, thanks for your quick response.
It seems somehow odd to use a fork just because it is another chip. |
|
The new chip is on ARM, afaik. We only release x86_64 official pips and leave everything else to the community. there is #45404 to make this repo build on the ARM chips but will take a while until it lands and we still don't have this supported during release time. We have less than 1 engineer left for releasing. |
Can you provide us an ETA for that? Great to see the community is working on that #45404. But it usually takes a lot of time till builds are implemented and integrated. That means I have to rely on Apple and their support. This is a big issue in my opinion. |
|
Afaik Apple has not communicated at all with the team that does the releases. Given that there is only 1 person (actually less since releases are not prioritized), there cannot be an ETA. |
|
#46044 (comment) |
|
Shouldn't it work when using Rosetta 2 though? Unfortunately it doesn't when running Edit: Looks like this goes over how to fix it: Compile TensorFlow from source using Bazel on Rosetta 2 #46044 (comment) |
|
For Rosetta2: see #46044 (master branch should be able to compile, 2.4 branch waiting for a patch release) We are currently looking at how we can provide ongoing support. I think we can close this now and leave #46044 open. |
|
The blog post specifically links to a separate tensorflow repo that needs to be built, not the version that comes from PyPi https://blog.tensorflow.org/2020/11/accelerating-tensorflow-performance-on-mac.html |
|
Closing this issue in the light of #45404. Thanks! |
|
Is there any update on this issue? Now it is June 12th and I'm still getting this error. |
|
I wanted to add that I get this not just with tensorflow, but with gcc/g++ (more often if I have some optimization/target pragmas), and with lots of things that use gcc/g++, like a rust crate I just tried to run. |
|
Hey, It's July I am still facing the issue, Is there a solution yet? |
|
You guys must see this post this post describes how to import TensorFlow with there plugins |
|
I am M1 Pro user. I met this problem after activating the virtual environment Anaconda and installing tensorflow. When I run my program and it failed. I'm perplexed about it and hope that Tim Cook can help me. |
System information
Describe the problem
After running the verification steps
The following error appear
Any other info / logs
This issue only appear on the Mac with the Apple M1 chip. The same setup procedure https://www.tensorflow.org/install/pip works fine on my other Mac`s.
The text was updated successfully, but these errors were encountered: