PyTorch 1.0 Wheel for Raspberry Pi 3 B+

Has anyone built a PyTorch 1.0 wheel for Raspberry Pi 3 B+?

1 Like

I didn’t - mainly because I don’t have a Raspberry Pi - but it should be relatively straightforward if you do it on a raspberry itself. I think Soumith and others did work on compiling for ARM for NVidia Jetson.
If you need to cross-compile, maybe the cross-compilation of libtorch on android that I recently built can be of inspiration. That does not build the Python module.
One thing to keep in mind is that you absolutely want NNPack when running on an ARM CPU.

PyTorch on Raspberry Pi seems a very exciting project!

Best regards


This might be useful: PyTorch 1.3 wheels for Raspberry Pi (Python 3.7)