Skip to content

onnxruntime fails to load on Raspberry Pi 4 #24112

@sunilsomarajan

Description

@sunilsomarajan

Describe the issue

On an RPI4 running the latest RPI4 image, onnxruntime pip package fails to load

To reproduce

uname -a
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
onnx version is 1.17.0
pip install onnxruntime==1.21.0
Successfully installed onnxruntime-1.21.0

python3
Python 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import onnxruntime
[1] 9408 illegal hardware instruction python3

Urgency

No response

Platform

Windows

OS Version

Linux sspi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.21.0

ONNX Runtime API

Python

Architecture

ARM64

Execution Provider

Default CPU

Execution Provider Library Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions