AnacletoLAB / grape

🍇 GRAPE is a Rust/Python Graph Representation Learning library for Predictions and Evaluations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

O-mics opened this issue · comments

commented

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

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!

(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)