Rate This Document
Findability
Accuracy
Completeness
Readability

Environment Requirements

Before compilation and installation, ensure that the environment meets the hardware and software requirements. The hardware configuration includes CPUs. The software configuration includes the OS and applications.

Hardware Requirements

Table 1 lists the hardware requirements.

Table 1 Hardware requirements

Item

Description

CPU

Kunpeng 920

Software and OS Requirements

Table 2 and Table 3 describe the OSs compatible with ONNX Runtime and the software and dependencies required for porting ONNX Runtime.

Table 2 Software requirements

Item

Version

Description

Download URL

ONNX Runtime

1.19.2

Official open source code of ONNX Runtime 1.19.2.

https://github.com/microsoft/onnxruntime/archive/refs/heads/rel-1.19.2.zip

konnx.patch

1.0.0

Kunpeng BoostKit operator optimization patch file for ONNX Runtime based on Kunpeng 920.

https://gitee.com/openeuler/sra_onnxruntime_adapter

CMake

≥3.26.0

ONNX Runtime compilation requires CMake 3.26 or later. CMake 3.30.0 is recommended.

https://cmake.org/files/v3.30/cmake-3.30.0.tar.gz

GCC/G++

10.3.1

GNU Compiler Collection (GCC) is a programming language compiler developed by GNU.

Install it using a Yum repository.

Python

≥3.8

ONNX Runtime 1.19.2 requires Python 3.8 or later. Python 3.10.14 is recommended.

Install it using a Yum repository.

OpenSSL

1.1.1wa

Install an OpenSSL development package (such as openssl-devel) to support SSL/TLS during CMake building.

Install it using a Yum repository.

Table 3 OS requirements

Item

Version

Description

Download URL

OS

openEuler 22.03 LTS SP3

OS compatible with the software to be ported.

When installing an OS, choose Minimal Install and select Development Tools to minimize manual operations.

https://repo.openeuler.org/openEuler-22.03-LTS-SP3/ISO/aarch64