-
Notifications
You must be signed in to change notification settings - Fork 329
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
Wheel support for Mac Arm (M1) #799
Comments
@PhilipVinc thank you for opening this issue. We hope to tackle this in Q1/Q2 2022 so that M1 wheels will be available for the 0.39.0 release. |
Because it is not possible at the moment to install numba with pip on macOS12 on ARM. numba/llvmlite#693 numba/llvmlite#799
Because it is not possible at the moment to install numba with pip on macOS12 on ARM. numba/llvmlite#693 numba/llvmlite#799
A quick update on this one. We are getting closer. M1 support for llvmlite is now (probably) complete: #813 We are still hoping to publish M1 wheels with the next Numba and llvmlite releases. |
Until #813 is merged and released, what's the best way to install llvmlite in a Python 3.8+ virtualenv on an M1 Mac? |
In my experience, annoying as it may be, conda-forge |
Good news, both llvmlite and numba have been extensively tested on an M1 now: So, we are now in a position to build wheels too. If everything goes according to plan (which it rarely does) I'll be uploading some initial builds somewhere for testing, come next week. |
An initial set of wheels that I built are now available via anaconda.org: https://anaconda.org/numba/llvmlite/files?channel=wheels_experimental_m1 While I have not tried this yet, the installation of the native wheels should simply be:
Anyone waiting on these wheels is invited to "give them a spin". Please report back any issues you encounter with m1 wheels on this issue, thank you! 🙏 |
Unfortunately, there seems to be an issue here, I just tried the instructions listed on: https://anaconda.org/numba/llvmlite However, I am unable to install the wheels.
I will continue to look into this and keep you posted about progress. |
It seems like something went wrong during the wheel build process:
|
OK, so for some reason the wheels end up having the wrong tag:
My assumption is that the suffix of the |
After some more fiddling with the CI system that builds the wheels, I managed to get some that work:
These are for Python 3.8, 3.9 and 3.10 only. The system we use depends on |
Python 3.7 was never officially adapted to work on M1. 3.8 is the oldest the M1 changes were backported to (and officially, only 3.9+ is fully supported, 3.8 is considered experimental by CPython, but Apple provides their patched version) |
Excellent, thank you for clarifying that @henryiii 🙏 looks like we may be "in the clear" regarding targeted Python versions for now. |
For reference, there are Numba wheels now too. See also: numba/numba#7951 |
An announcement for the wheels and a request to test them is here: https://numba.discourse.group/t/wheels-for-apple-silicon-m1/1282 |
I confirm that they work properly. Thank you! |
Thank you for checking and confirming! |
I can also confirm that the wheels are working as expected. Thank you for finally releasing them! |
With llvmlite 0.38.1 M1 wheels are now available: |
There's no issue on this, so I'll open one to track this.
Currently LLVMLite does not provide Wheels on PyPi for Mac Arm (M1) processors, but they are only provided on Conda.
This is annoying because users cannot install using
pip
packages depending on Numba when running native. Releasing PyPi wheels for LLVMLite would be the first step towards addressing this.The text was updated successfully, but these errors were encountered: