-
Notifications
You must be signed in to change notification settings - Fork 351
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
Compilation isue on Apple Silicon #412
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use the tch crate for a rust project on an M1 Mac. I've successfully compiled libtorch following this tutorial. However, when I try to run a simple example of a tensor operation, I get an error that I'll paste below. However, due to the compilation of libtorch being successful I suspect that it's simply some misconfiguration on my side, but I'm not sure what exactly is wrong. In the error I see that it tries to link with the x86 version of libtorch even though I've compiled an arm version.
Error:
The text was updated successfully, but these errors were encountered: