-
Notifications
You must be signed in to change notification settings - Fork 165
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
zsh: illegal hardware instruction" error on Mac OS, M1 chip #575
Comments
Hi @MarcoEng77, thank you for using Orion! Unfortunately, I can't immediately see why the test you have done is not working. I tried it myself and everything runs as expected. I did alter the hyperparameters such that we can see the training epochs.
Can you share a google colab notebook showing the problem you are running into? You can also try running the following notebook. |
@sarahmish thank you very much for looking into this.
and I would get the error I have been spending quite some time tracking this down, I think it boils to the (sadly too well known!) difficulties in using Tensorflow on Mac Silicon chips (in my case M1 one). I am surprised your installation has been tested to work on MacOS M1, to the best of my knowledge the simple For now, the best (sort of) workaround I got is the following Will continue to try to figure it out. I take it you have tested the installation on MacOS M1, need to understand why it would not work in my case Thank you for your support and for this great library |
Definitely, I expect so. I opened another issue #578 to mark this as a request for future releases. For the time being, here are the versions that are installed on my machine where I have an M2 chip
|
Description
Trying to creare an
Orion
object, the Jupyter notebook hangs forever, without crashing or erroring.Running the same commands in a script, I get the error
zsh: illegal hardware instruction
What I Did
I installed
orion-ml
using pip as recommended in a freshly minted conda environment, with Python 3.11.I then tried a "smoke test":
from orion.data import load_signal from orion import Orion train_data = load_signal('S-1-train') orion = Orion()
and the jupyter notebook hung forever (>10 minutes).
I tried using a python script and I got the error
zsh: illegal hardware instruction
The text was updated successfully, but these errors were encountered: