AMCT (ONNX)
This section uses Ubuntu 20.04 as an example to describe the pre-installation actions. The version mapping is as follows:
Type |
Version Requirement |
How to Obtain |
Restriction |
|---|---|---|---|
OS and version |
EulerOS release 2.0 (SP10) aarch64 |
cat /etc/*release && uname -m |
Only quantization on CPU is supported. |
OS and version |
Ubuntu 20.04 x86_64 |
Download the required software release from the Ubuntu official website and install it. Run the following command to query the installation: cat /etc/*release && uname -m |
Quantization on CPU or GPU is supported. |
OS and version |
Ubuntu 20.04 aarch64 |
Download the required software release from the Ubuntu official website and install it. Run the following command to query the installation: cat /etc/*release && uname -m |
Quantization on CPU or GPU is supported. |
ONNX and opset |
ONNX 1.14.0, 1.10.0, 1.9.0, or 1.8.0. ONNX 1.14.0 is recommended.
|
For details, see Dependency Installation. |
|
ONNX Runtime |
1.16.0, 1.9.0, 1.8.0, 1.6.0 |
ONNX Runtime framework. For details, see Dependency Installation. |
|
CUDA and cuDNN |
Prepare related software packages and install them. Link for obtaining CUDA: https://developer.nvidia.com/cuda-toolkit-archive |
If quantization is performed in ONNX Runtime (GPU), CUDA and cuDNN must be installed. |
|
Python |
Python3.7.x, Python3.8.x, Python3.9.x, Python3.10.x, Python3.11.x Python 3.10.0 is recommended. |
For Ubuntu, see Python 3.9.2 Installation on Ubuntu. For EulerOS, see Python Python3.9.2 Installation on EulerOS. |
|
numpy |
|
For details, see Dependency Installation. |
|
protobuf |
|