-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Jax on MacOS ARM (M1) #13886
Comments
Could you please share the installation logs? I just checked the PyPI page for jaxlib and you can see macOS ARM packages in there. |
This suggests that you are using a python -c 'import subprocess; subprocess.run(["sysctl", "-n", "sysctl.proc_translated"])' A value of |
@mlsw very interesting. It does return @apaszke I looked at the pip installation logs
|
Fixed it by replacing x86 python with the arm version ( |
I'm encountering this issue when trying to build Jax from source. It's trying to build with cpu=x86_64 but should be arm64 version. @amir-f can you provide more details about how you replaced your x86 python with the arm version? |
@mjjohns1 I did not build from source. I first uninstalled the existing Python installation. See here for more info. Then installed the M1 version via If you are building jax from source I believe you need to set the target platform for |
Description
I'm new to Jax, have a MacOS ARM and the initial setup wasn't quite smooth.
And then I get
I thought the support was there. Is the recommendation to build from source? I want to run it locally on the laptop for initial prototyping.
What jax/jaxlib version are you using?
jax 0.4.1, jaxlib 0.4.1
Which accelerator(s) are you using?
CPU: Apple M1 Max
Additional system info
Python 3.8.2, Mac OS 13.1 (22C65)
NVIDIA GPU info
No response
The text was updated successfully, but these errors were encountered: