PyTorch-Raspberry-Pi-64-OS
PyTorch-Raspberry-Pi-64-OS copied to clipboard
Torch wheels for bookworm version
It seems that the bullseye version wheels cannot fit the newest bookworm version, is there any wheels for bookworm version? Or how can I complie the bookworm version wheels on my own? For those who in urgent need, is switching the OS to older bullseye version a better choice? (sad)
ERROR: torch-2.0.0a0+gite9ebda2-cp39-cp39-linux_aarch64.whl is not a supported wheel on this platform.
Even though I'm running on a raspi 4 these instructions worked for raspi 5 / bookworm! Specifically the pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu call worked for both torch and torch vision.
cs@raspberrypi:~ $ hostnamectl
...
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.6.20+rpt-rpi-v8
Architecture: arm64
cs@raspberrypi:~ $ ipython3
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import torch
In [2]: torch.__version__
Out[2]: '2.2.1'
In [3]: import torchvision
In [4]: torchvision.__version__
Out[4]: '0.17.1'
Thanks Eric !
Thanks for your response, let me try