-
Notifications
You must be signed in to change notification settings - Fork 17
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
importing functional fails with OSError on MacOS arm64 #438
Comments
If I recall correctly, |
Thanks for quick reply @bwohlberg. And regarding MacOS, is there also no GPU acceleration on macOS either? |
Not to the best of my knowledge. JAX requires CUDA, and therefore an NVIDIA GPU, while rules out all recent Apple hardware. In principle some older hardware should work, but I don't know how far back you'd have to go, or how difficult it would be to install JAX. |
Thanks @bwohlberg. So as a macOS user on M1 GPU, do you see any other advantage of using |
Btw, for posterity, I was able to import |
The JIT and autograd capability in SCICO is due to it being based on JAX, which is unique to SCICO within the set of packages you mention. The only other package I'm aware of that is based on JAX and that supports optimization problems is |
Closing as resolved. Feel free to re-open if you have further questions. |
@bwohlberg , I ran into this Do you agree that it would be a service to future users to either
Thanks! 🙂 P.S. I'm not getting the option to |
Sorry, I assumed you'd be able to reopen. I'll take care of it. I see your point. I'm not sure if pypi/pip allows for OS-specific dependencies, but I will investigate. Adding a note to the docs is not difficult, and should done. |
As I tried using
scico
and importedfunctional
, I get the error involvingbm4d
that itsmach-o
file refers to an incompatible architecturex86_64
whereasarm64
was needed. I tried uninstallingbm4d
and reinstalling with architecture specification as suggested here, but that didn't solve the problem either. Is this related tobm4d
not having updated their binaries for M1 chipset?P.S. I am on MacOS M1 running Ventura and on Python 3.10.1.
Below is the error stack upon running the code:
The text was updated successfully, but these errors were encountered: