-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Arm Support #19
Comments
I am not familiar with Raspberry Pi. However, I just searched and found that PyTorch supports aarch64, which is described in the official PyTorch article. I am sure that one of the pip modules uses instructions that are not supported by that CPU, but I don't know which one. I think you should check the following.
For 2, I configured the faulthandler to detect C-level errors but it doesn't seem to be working. Lines 456 to 460 in c4ef47f
Maybe it is crashing at module import time before main function. EDIT: |
Thanks! I’ll check it out, but I might not have time until this weekend. I’ll keep you posted |
This error is a bug in the pytorch aarch64 binary. $ python
Python 3.9.16 (main, Mar 30 2023, 13:22:28)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Illegal instruction pytorch developers seem to be working on this error. EDIT: |
It worked by downgrading pytorch to 1.13.1. downgrade torchvision (torchvision try to install pytorch 2.0, so downgrade it first)
downgrade torch
Then it should work as normal. Note that once the above pytorch issue is fixed, downgrading is no longer necessary. |
Thanks so much! |
Is there any way to get this to work on Arm devices (specifically a raspberry pi 4)? I have managed to install everything, but when I try to run any of the commands I receive this error.
I'm using 64 bit raspbian, and am inside a virtual environment. My python is version 3.9.2
The text was updated successfully, but these errors were encountered: