-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Numba on the Apple M1 #6589
Comments
In general, the hashing algorithm of CPython leads to the
|
We have one test that fails due to a different hash:
|
All other 5 failures are due to wrongly compiled libraries. This is definitely something to look for in the
I did run the tests using |
@xhochy thanks for starting to look at this. The Numba build farm should get some suitable hardware soon and we'll be able to help! In the above, the hash tests are likely failing because of this:
Where did you get this Python from? It's been compiled without The tests failing where a DSO fails to load looks like an incorrect toolchain/invalid tooling problem, I think these tests will be using |
This is the Python build from conda-forge as defined in https://github.com/conda-forge/python-feedstock/blob/89902c593957440acefd3acd65dfb242bd2b8ace/recipe/build_base.sh. There seems to be some ignored issues when building in the log: conda-forge/python-feedstock#430 , we're going to investigate. |
With |
@xhochy great, thanks for confirming. |
With conda-forge/python-feedstock#434 and conda-forge/python-feedstock#433 all the above issues are now fixed. The test suite passes smoothly. Closing as this is working as expected, conda-forge packages for the 0.52 release on |
Nice! Thanks for all the work on this. |
Im still getting an error when using the Miniconda arm osx install. The same one as described here.. The link must be for an older version on the git. Can I update somehow or will I have to find another? |
Which error exactly of the many above? |
All of them, I think the miniforge distro for Mac arm is using an older build. The fail seems to be a result of llvm. I'll post the traceback tomorrow if its useful |
It seems to be that Numba is incompatible with python 3.9 |
Yes but that is a different issue unrelated to the M1. It works with Python 3.8 there. |
Hello. Importing njit kills the Notebook Kernel. Just installed Using ipython shell I get the following:
|
@stnatter it might be worthwhile to open a new issue to track the error you encoutered. |
done #6650 |
@stnatter thanks! |
Python 3.9.1 works natively on m1 |
On Android ARM64 using python3.9 on Termux
|
This PR ignores numba warnings that are showing up in arm runners: numba/numba#6589 (comment) Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Bradley Dice (https://github.com/bdice) URL: #16872
Starting this as a thread to track the support of this processor. It seems like most of the things work but I guess other people will come around and also look for "what's missing".
I got it to run using packages from conda-forge and LLVM 10. My personal code runs fine and most of the unit tests pass but not all.
This depends on the following PRs to be merged on some form:
I will post issues as I come along in separate comments below.
The text was updated successfully, but these errors were encountered: