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

Processor

New Kunpeng 920 processor model

OS and Software Requirements

Table 2 Software requirements and Table 3 OS requirements list the software and dependencies required for porting TVM and the OS compatible with TVM.

Table 2 Software requirements

Item

Version

Description

Download URL

TVM

0.9.0

Official open source code of TVM 0.9.0.

https://www.apache.org/dyn/closer.lua/tvm/tvm-v0.9.0/apache-tvm-src-v0.9.0.tar.gz

softmax.patch

1.0.0

Kunpeng BoostKit TVM operator optimization patch file based on new Kunpeng 920 processor model.

https://gitee.com/openeuler/sra_tvm_adapter/tree/v1.0.0

BiSheng Compiler

3.2.0

The software that is integrated in the TVM backend to generate code adapted to the Kunpeng processor platform.

https://mirrors.huaweicloud.com/kunpeng/archive/compiler/bisheng_compiler/BiShengCompiler-3.2.0.1-aarch64-linux.tar.gz

Anaconda

2024.10-1

Python environment for managing the TVM dependencies.

https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-aarch64.sh

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