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

zsh: illegal hardware instruction - Mac M1 - OS Monterey 12.3.1 #582

Closed
LeGabriel opened this issue Jun 7, 2022 · 3 comments
Closed

zsh: illegal hardware instruction - Mac M1 - OS Monterey 12.3.1 #582

LeGabriel opened this issue Jun 7, 2022 · 3 comments

Comments

@LeGabriel
Copy link

Hi there !

I am using implicit to make reco (duh haha).

Here is something I am trying to do.

import numpy as np
from implicit.approximate_als import NMSLibAlternatingLeastSquares

model = NMSLibAlternatingLeastSquares(factors=128, dtype=np.float32)

But when I run it, I get "zsh: illegal hardware instruction".
Any idea on how to solve this ?

My computer :
MacBook Pro
Apple M1
OS Monterey 12.3.1
python : 3.8.0

Thanks in advance :) !

Gabriel

@LeGabriel
Copy link
Author

allenai/scispacy#372

Found my solution here ! :)

@benfred
Copy link
Owner

benfred commented Jun 9, 2022

Glad you sorted this out @LeGabriel - and thanks for linking out to the fix

@LeGabriel
Copy link
Author

You are welcome, but I feel kinda dumb that I found the fix a few hours later haha :)

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