• Stars
    star
    116
  • Rank 303,894 (Top 6 %)
  • Language
    Shell
  • Created almost 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Built python wheel files of https://github.com/microsoft/onnxruntime for raspberry pi 32bit linux.

About this repository

ONNX Runtime is a cross-platform, high performance scoring engine for ML models. You can get Python bindings for Linux, Windows, Mac on x64 and arm64 platform from pypi. The project does not provide pre-built packages for Raspbery Pi Linux 32bit (ARM32v7) as of today. Instead it has an instruction on how to build ONNX Runtime from the source code.

Building package takes a lot of time. This repository provides pre-built Python ONNX Runtime Python wheel packages for Raspberry pi for convenience.

There is NO WARRANTY of any kind at all.

Files

wheels/

This directory has built packages.

  • wheels/bullseye/
    • Built python wheel packages for Raspberry Pi OS based on Debian Bullseye (Relase date: 2021-10-30~).
  • wheels/buster/
    • Built python wheel packages for Raspbian Buster and Raspberry Pi OS based on Debian Buster.
  • wheels/stretch/
    • Built python wheel packages for Raspbian Stretch.

See your raspberry pi's /etc/debian_version file to find your OS version.

value of /etc/debian_version Debian codename
11.x Bullseye
10.x Buster
9.x Stretch

Wheels are built on Raspberry Pi with this procedure since v1.6.0.
Building ONNX Runtime wheel for Raspberry Pi 32bit on Docker with Qemu stopped working since 2020 summer.

build.sh

A script to build ONNX Runtime wheels for armv7-linux on Docker with Qemu.
It builds wheels for Python 3.8, 3.9, 3.10 and 3.11.
You need docker to run it.

Usage:

$ sudo ./build.sh

Dockerfile-arm32v7.template

A Dockerfile template used in build.sh.