-
Notifications
You must be signed in to change notification settings - Fork 143
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
Docker image is not working on Apple M1/M2 chips #160
Comments
We indeed don't handle docker with M1 / M2 chips currently but we'll try our best to patch it soon (I'm on M2 as well 😉). Thanks for the issue ! In the mean time, please use the native installation as Concrete-ML properly works with Apple Silicon ! |
Hello @mvacher. We're having a look, sorry for the delay. Were you able to use Concrete with native packages? |
Hello @berhankarabay . Did you try to install natively, ie with
ideally in a virtual env? |
Hello @berhankarabay , are you using a M1 system or intel based system? |
Yes, you might want to start with the very small example which is given in https://github.com/zama-ai/concrete-ml#a-simple-concrete-ml-example-with-scikit-learn to test your config |
(I don't see the screenshots) |
Sorry we don't see attachments, maybe it doesn't work by email? Maybe just copy-paste the text of the stdio, if you can't make it work |
Alright so 3.8 should work okay. |
Which version do you have installed on your system? |
Hello @berhankarabay , Also, we recommend you to use virtual environments (ex: https://docs.python.org/3/library/venv.html) if you haven't done so already, it will prevent you having further dependency conflicts in your projects ! |
Hello again, I solved the issue, it turns out that my python architecture was incorrect. I fixed it to executable arm64 and installed 1.3.0. The simple example given in your website works now, thank you. |
Summary
The version provided through the docker image is not working on Apple M1 and M2 chips
Description
minimal POC to trigger the bug
On a M1 or M2 machine:
Python code: ( example from the readme)
The text was updated successfully, but these errors were encountered: