-
Notifications
You must be signed in to change notification settings - Fork 8
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
Wheel does not work on Raspbian Bullseye #4
Comments
Do you have a 32 or 64 bit Bullseye? |
Try: |
Did you follow the instructions at https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html before using the wheel?
|
Can confirm. I followed those steps, but still get that error :( I also used |
One thing to point out, and maybe this is my issue now that I'm seeing it, is that I'm running Python 3.10.5, but trying to use the wheel for 3.9 as it was the most recent one. Could that be it? Would be cool to see a wheel for 3.10 if so. |
I think the best (and shortest) solution is to build PyTorch on your machine from scratch. This way you ensure that the installation matches your operating system. It takes a few hours. See https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html for instructions. |
@Qengineering Good suggestion, I'll do that and report my findings back. EDIT Though I see those instructions are only for arch64, not arm71 like my pi is. I found an article here, and repo here for installing torch on arm devices that I'll follow. |
Here's my latest update. The previous articles/repos were only for Fedora, which doesn't help in my Raspbian case. I instead found this repo and ran these commands in order. Not sure if the first command is needed, I had already run it from the previous article, but it was done anyway. These were done after researching different steps at different times, from different sources, which I won't source here to keep things simple, but if things seem out of place or "why did he do that?", don't mind, just documenting the steps as I go.
Ran into the error:
Which is likely because I was trying to use the
Same error as above. Found a potential solution here, so downloaded that
Then tried to re-run the
I also tried re-running the
Same error. So something is up with the compiler. And I have run out of patience lol so if anyone figures out how to get Torch installed on an RPi4 Bullseye 11 Arm64, post the instructions! |
I'm not sure if it helps, but the `vsdot.s8 q10,q12,d7[1]' error seems to be a GCC compiler issue. |
Hmm. I’ll give that a shot next time I’m at it and see what I can do. Thanks! |
How can I fix this?
The text was updated successfully, but these errors were encountered: