Skip to content
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

macOS arm64 import grape does not work // BMI2, AVX2 incompatibility #45

Open
O-mics opened this issue Jun 29, 2023 · 2 comments
Open

Comments

@O-mics
Copy link

O-mics commented Jun 29, 2023

Hello,

I am sorry to annoy you with that, a macOS was not my first choice to work on, but here I am. So, technically, pip install grape do download and compile.

But, anytime I want to import it, it begins this warning :
UserWarning: Ensmallen is compiled for the Intel Haswell architecture (2013).On the current machine, the flags '['avx2', 'bmi2', 'popcnt']' are required but '{'avx2', 'bmi2'}' are not available. The library will use a slower but more compatible version (Intel Core2 2006).

And then, the kernel always die instead of going on.

As you may know, apple M1 does not support AVX/2 installation and I know this is beyond reach.

But do you have any clue on how I could still install grape locally?

Thanks

@zommiommy
Copy link
Collaborator

Hi! Indeed the Mac M1 doesn't have AVX2 or BMI2, so I think you are using the virtualization environment (rosetta) instead of running the native one.

We do support native Mac M1, and also the use through docker on it.

If you can try to run it without rosetta, if it doesn't fix it, I'm happy to help!

@zommiommy
Copy link
Collaborator

(We don't have access to any M1 mac, so if you still need help we can do a quick call on our discord server https://discord.gg/Nda2cqYvTN)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants