Skip to content
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

Torch wheels for bookworm version #6

Open
Leosang-lx opened this issue Dec 9, 2023 · 3 comments
Open

Torch wheels for bookworm version #6

Leosang-lx opened this issue Dec 9, 2023 · 3 comments

Comments

@Leosang-lx
Copy link

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.

@FranzEricSchneider
Copy link

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'

@Qengineering
Copy link
Owner

Thanks Eric !

@Leosang-lx
Copy link
Author

Thanks for your response, let me try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants