{"id":15020547,"url":"https://github.com/qengineering/pytorch-raspberry-pi-64-os","last_synced_at":"2025-10-26T04:30:30.368Z","repository":{"id":43024435,"uuid":"342576073","full_name":"Qengineering/PyTorch-Raspberry-Pi-64-OS","owner":"Qengineering","description":"PyTorch installation wheels for Raspberry Pi 64 OS","archived":false,"fork":false,"pushed_at":"2024-02-24T06:56:51.000Z","size":60,"stargazers_count":101,"open_issues_count":6,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-11T02:01:09.992Z","etag":null,"topics":["aarch64","armv8","libtorch","python-wheel","python3","pytorch","pytorch-installation","raspberry-pi","raspberry-pi-4","raspberry-pi-64-os","raspberry-pi-ubuntu1804","raspberry-pi-ubuntu2004","torchvision","wheel"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qengineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-02-26T12:57:25.000Z","updated_at":"2024-09-28T10:06:52.000Z","dependencies_parsed_at":"2024-02-24T07:30:51.972Z","dependency_job_id":null,"html_url":"https://github.com/Qengineering/PyTorch-Raspberry-Pi-64-OS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FPyTorch-Raspberry-Pi-64-OS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FPyTorch-Raspberry-Pi-64-OS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FPyTorch-Raspberry-Pi-64-OS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FPyTorch-Raspberry-Pi-64-OS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qengineering","download_url":"https://codeload.github.com/Qengineering/PyTorch-Raspberry-Pi-64-OS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219864036,"owners_count":16555943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aarch64","armv8","libtorch","python-wheel","python3","pytorch","pytorch-installation","raspberry-pi","raspberry-pi-4","raspberry-pi-64-os","raspberry-pi-ubuntu1804","raspberry-pi-ubuntu2004","torchvision","wheel"],"created_at":"2024-09-24T19:55:15.182Z","updated_at":"2025-10-26T04:30:25.066Z","avatar_url":"https://github.com/Qengineering.png","language":null,"funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CPZTM5BB3FCYL"],"categories":[],"sub_categories":[],"readme":"# PyTorch wheels for Raspberry Pi 4 \n![output image]( https://qengineering.eu/images/PyTorch_icon.webp )\u003cbr/\u003e\u003cbr/\u003e\n\nFind your operating system and Pytorch version in the table below. Follow the instructions in the provided guide.\u003cbr/\u003e\nThere is no Raspberry Pi 32-bit wheel available due to unsupported libraries.\u003cbr/\u003e\nThe Jetson Nano wheels support **CUDA 10.2**, **cuDNN 8.0** and **NEON**. They can also be used on the (AGX) Xavier.\u003cbr/\u003e\n\n-----------------\n\n### Bookworm.\nIf you have a Bookworm OS on your Rpi4 or Rpi5, you can use the wheel provided by PyTorch.\u003cbr\u003e\nThe wheels here do not support Bookworm with its Python version 3.11.\u003cbr\u003e\nPlease see our site: [install pytorch on raspberry pi 5](https://qengineering.eu/install%20pytorch%20on%20raspberry%20pi%205.html).\n\n-----------------\n\n**Wheel**: the installation wheel torch-_version_-cp**xx**-cp**xx**-linux_aarch64.whl (xx is the used python version)\u003cbr/\u003e\n**Vision**: the accompanying torchvision.\u003cbr/\u003e\n**LibTorch**: the C++ API for those who like to program. (The aarch64 version of libtorch-cxx11-abi-shared-with-deps-1.10.1+cpu.zip)\u003cbr/\u003e\n**Guide**: link to the installation tutorial.\u003cbr/\u003e\n## Roadmap.\n| Operating system  | PyTorch 2.0.0 | PyTorch 1.13.0 | PyTorch 1.12.0 | PyTorch 1.11.0 | PyTorch 1.10.0 |  PyTorch 1.9.0 |  PyTorch 1.8.0 |  PyTorch 1.7.0 |\n| ----------------- | :------: | :-----: | :------: | :------: | :------: | :------: | :------: | :------: |\n| Raspberry Pi **64-bit Bullseye**\u003cbr/\u003e(Python 3.9) | [Wheel](https://drive.google.com/file/d/1mPlhwM47Ub3SwQyufgFj3JJ9oB_wrU5D/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/14AJEjzi3upgguI2RdBDEGj0jzc7ItvUC/view?usp=drive_link)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1N67Pqb0I1e-k86BQIUr1gSKPqfnpaKu3/view?usp=drive_link)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) | [Wheel](https://drive.google.com/file/d/1uLkZzUdx3LiJC-Sy_ofTACfHgFprumSg/view?usp=share_link)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1AhbkLqKd8EZO2pZV_g9aFZGHZo2Ubc3O/view?usp=share_link)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/10HvaVNJ4fVBNuGeI3GNFz6e-xiGK9v5P/view?usp=share_link)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) | [Wheel](https://drive.google.com/file/d/1A2Lc-7y3-ATauRa4FntiYGH90b1GjAzx/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1VBegXwqS-A4MVNlHt8Y_0cu697NrAtf7/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/10VFc7XMi9Dx9beZoAoi2lFVZe6a8KMAs/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html)  | [Wheel](https://drive.google.com/file/d/1ilCdwQX7bq72OW2WF26Og90OpqFX5g_-/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1oDsJEHoVNEXe53S9f1zEzx9UZCFWbExh/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1-kTx72-6eePrXVjFtJN-3ntu1DCI8FuD/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) | [Wheel](https://drive.google.com/file/d/10zJmU1f7PoxN8ARZol4mtbwok4G23XKZ/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1nX4uSoubwq8NB9k-2DF6LbPyiqwocgEW/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1z58SN6Inh3ka_jFs97LefBuvfGq9o1to/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) | [Wheel](https://drive.google.com/file/d/1p9Sp5YmCJwIkmQIWkpuIkE4NgeYPOr-U/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/13fKq1V-zLbLBWPw3zP4EZxyMXyOiJWPi/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1My9PPoa9oYv7ZaPdsoXq4FyqRCHHA_4c/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) | [Wheel](https://drive.google.com/file/d/1E4bP9NAG5pDSXGWYPGsJ5uzFBq47VN14/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1mqNqUC1t0MekF5h1WCEqt3soKWhc6Py4/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1PrqFOPHxrbLGEMuxBTxYY-Ubjk-l88_Z/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) |  ||||||||\n| Raspberry Pi **64-bit Buster**\u003cbr/\u003e(Python 3.7) | | [Wheel](https://drive.google.com/file/d/1FQw6NgT9k3paiAhEbq0ibkVSIGNLAyro/view?usp=share_link)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1m6wEbl_jJGaQL-vg4zkNfc9TNwl2_J4o/view?usp=share_link)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1pt5LGdYDL5KJjcKcbjVjrCYZTJVOOlGT/view?usp=share_link)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html)  | [Wheel](https://drive.google.com/file/d/1q0NJABGqXIHnOPbFUNrMZvNvrzNAWklq/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1b6hfBZ4US9ukMhd5f0AKDxhHtKSofbNG/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1rJPFWkm3WWw1Vx8gZWf3hTCZ0v8yFn_S/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) |[Wheel](https://drive.google.com/file/d/1gAxP9q94pMeHQ1XOvLHqjEcmgyxjlY_R/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1btEPxKYfL6OP1Xaedly-ttfPTH-mu4fp/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1sj2V0RONtSLHHjmQ904U82YjdV0TM5bf/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html)|[Wheel](https://drive.google.com/file/d/1y-X1UGC43xUfnycJcuDp7tlyFi8QHxvs/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1uQgjrucNSfpliGBWeKUOuo4XGWiBaxQx/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1nC_gWNjFirZz74wV4z7t2un4ktCtlRpI/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html)| [Wheel](https://drive.google.com/file/d/18KztAf3W_kqFYP2f9uqLj3HBdhoMvVe4/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1XyYG6hHh7QYaLrvE-mByvhNK_0rLOd0G/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1yhFMxngRq_RY2DPWwqZ8wwNmzBBjzrHR/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) | [Wheel](https://drive.google.com/file/d/1JF3x556B1ZPe7rp3ogyZiCJPCDsu57RY/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1isEX4w4oegkYpv7WalvYPkTpPCcI4CUR/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1kpAb7qIGD0ICy8HYHDGMiY0Yj-K-eGAP/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) | [Wheel](https://drive.google.com/file/d/1o2PjvvKkHpYx7QMfMLUoNck7ZiE_TGgR/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1H3YLkOicAN78tBLAmzCx2lt_WBjjmFCz/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1XpdE-AG4QMz1HE8bDdpiKw1Fpl3Em0kK/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) ||||||||\n| Raspberry Pi **Ubuntu 18.04**\u003cbr/\u003e(Python 3.6) | | | |  |  |  | [Wheel](https://drive.google.com/file/d/18WNCbSLeQCZUJuXf-0yhzopDR6p4SkYn/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1QhUPbWvotJQyUfF8ZxYgFHDPHLQagC3U/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1ORi9-9q82CoxdL7TmnZ7-e3qFzqJ-DAD/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) | [Wheel](https://drive.google.com/file/d/1ciFrD5BekDd1ubVOCwK-oGfSUJwF8_WA/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1hpJ_5esV4VAHy8Bq8ZJ8SuD2w8M8Dw3m/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1wbJTRxrFHZ6UOAzZ8w8RU0rYdyWibDNS/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) |  \n| Raspberry Pi **Ubuntu 20.04**\u003cbr/\u003e(Python 3.8) | | | |  | [Wheel](https://drive.google.com/file/d/1W7hhNG_HJUyY0sk1dBikbSRyAJr_Nyc4/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1SmWRjEyizWT7iumXUZATZuBSfQt0gJ8o/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1iV2c7fENEG8L6-9l2CL_0o5Z1kJ53YB-/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) | [Wheel](https://drive.google.com/file/d/12GH3r-uaRxUIzcHHWcfXtisXk71OZbF0/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1VgEinJIu5e38h1aKaFSn8A1F1MaNeM5g/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1bC34mTPJbtHZX_c675dUdmFHo8d8X9jT/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-raspberry-pi-4.html) ||||\n| Jetson Nano JetPack 4.6\u003cbr/\u003e(Python 3.6) | | | | | [Wheel](https://drive.google.com/file/d/1TqC6_2cwqiYacjoLhLgrZoap6-sVL2sd/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1C7y6VSIBkmL2RQnVy8xF9cAnrrpJiJ-K/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1izv6kmcnqXk9i7-Ey-vldjC-CGfHOGCl/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-jetson-nano.html)| [Wheel](https://drive.google.com/file/d/1wzIDZEJ9oo62_H2oL7fYTp5_-NffCXzt/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1Q2NKBs2mqkk5puFmOX_pF40yp7t-eZ32/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1E4Hfz1cj6bwGz8a72OS5uH3SnlvRyrOi/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-jetson-nano.html) | [Wheel](https://drive.google.com/file/d/1-XmTOEN0z1_-VVCI3DPwmcdC-eLT_-n3/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1BdvXkwUGGTTamM17Io4kkjIT6zgvf4BJ/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-jetson-nano.html) | [Wheel](https://drive.google.com/file/d/1aWuKu8eqkZwVzFFvguVuwkj0zdCir9qX/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1aWuKu8eqkZwVzFFvguVuwkj0zdCir9qX/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-jetson-nano.html) |\n| Jetson Nano Ubuntu 20.04\u003cbr/\u003e(Python 3.8) | | [Wheel](https://drive.google.com/file/d/1e9FDGt2zGS5C5Pms7wzHYRb0HuupngK1/view?usp=share_link)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/19UbYsKHhKnyeJ12VPUwcSvoxJaX7jQZ2/view?usp=share_link)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1k8nDUFUI_5_07MKkZTJzK4o1TEtks9mQ/view?usp=share_link)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-jetson-nano.html) | [Wheel](https://drive.google.com/file/d/1MnVB7I4N8iVDAkogJO76CiQ2KRbyXH_e/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/11DPKcWzLjZa5kRXRodRJ3t9md0EMydhj/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1t0MM1Bec2XIIKK8PhQbEDOrM1Z2Xym5-/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-jetson-nano.html) | [Wheel](https://drive.google.com/file/d/1AQQuBS9skNk1mgZXMp0FmTIwjuxc81WY/view?usp=sharing)\u003cbr/\u003e[Vision](https://drive.google.com/file/d/1BaBhpAizP33SV_34-l3es9MOEFhhS1i2/view?usp=sharing)\u003cbr/\u003e[LibTorch](https://drive.google.com/file/d/1OSWB_Wv7rghpiBI3V9Rvj0ZR6bRcAZsY/view?usp=sharing)\u003cbr/\u003e[Guide](https://qengineering.eu/install-pytorch-on-jetson-nano.html)|||\n\nWe compiled the _**Pytorch 1.x versions**_ with the **clang** compiler to prevent issues with the ARM NEON registers and the GNU compiler. For instance [#61110](https://github.com/pytorch/pytorch/issues/61110) and [#65673](https://github.com/pytorch/pytorch/issues/65673).\u003cbr/\u003e\u003cbr/\u003e\n![output image]( https://qengineering.eu/images/ClangRPi.png )\u003cbr/\u003e\u003cbr/\u003e\n![output image]( https://qengineering.eu/images/Torch_1_10_0_Jetson_Succes_GitHub.webp )\u003cbr/\u003e\n**Pytorch 2.0 was build with the GNU compiler.**\u003cbr\u003e\u003cbr\u003e\n\n\n#### :heavy_exclamation_mark: C++ programmers please note\nYou should also use the clang compiler if you want to compile _**Pytorch 1.x versions**_ C++ code yourself.\u003cbr/\u003e\nThe GNU GCC compiler will give you 'no expression errors'.\u003cbr/\u003e\n```\n# set clang compiler at the command line\n$ export CC=clang\n$ export CXX=clang++\n\n```\nDon't worry if you plan to use Python. It only applies to C++ users.\u003cbr/\u003e\n\n-----------------\n\n![output image](https://qengineering.eu/images/SDcard16GB_tiny.jpg) Find PyTorch and TorchVision with other frameworks and deep-learning examples on our [SD-image](https://github.com/Qengineering/RPi-image)\n\n-----------------\n\n[![paypal](https://qengineering.eu/images/TipJarSmall4.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CPZTM5BB3FCYL)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Fpytorch-raspberry-pi-64-os","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqengineering%2Fpytorch-raspberry-pi-64-os","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Fpytorch-raspberry-pi-64-os/lists"}