AMCT (PyTorch)
Use the AMCT installation user to install the dependent software. If the installation user is a non-root user, ensure that the user has the sudo permission. Run the su - username command to switch to the non-root user and run the following commands. If the installation user is root, delete --user from the command for installing the dependent software. .
Dependency |
Version |
Installation Command |
|---|---|---|
CPU or GPU version of PyTorch |
2.1.0, 1.10.0, 1.8.0, 1.5.0, 1.4.0 |
When installing PyTorch, ensure that the pip version is earlier than 23.0.1. Otherwise, you may get the error "ModuleNotFoundError:No module named 'torch'". If the pip version is later than 23.0.1 and you do not want to downgrade the version, install the wheel package first by using the pip3 install wheel --user command and then perform subsequent operations.
|
ONNX |
1.14.0, 1.10.0, 1.9.0, 1.8.0 |
|
ONNX Runtime |
1.16.0, 1.9.0, 1.8.0, 1.6.0 |
|
python |
Version 3.9.2 is used as an example. |
For Ubuntu, see Python 3.9.2 Installation on Ubuntu. For EulerOS, see Python Python3.9.2 Installation on EulerOS. |
numpy |
|
|
protobuf |
|
|