Uploading Software Packages

Upload the Ascend-cann-amct_{software version}_linux-{arch}.tar.gz package to any directory on the Linux server as the AMCT installation user. In this example, the package is uploaded to $HOME/amct/.

Run the following command to decompress the AMCT package:

tar -zxvf Ascend-cann-amct-{software version}_linux-{arch}.tar.gz

Find the following extracted packages.

Table 1 Extracted parts of the AMCT package

Level-1 Directory

Level-2 Directory

Description

Use and Precaution

amct_acl

Software package to be installed when the compression function of AMCT is used for ATC, AOE, and graph development.

amct_caffe/

Caffe AMCT directory

  • Atlas A2 products do not support the Caffe framework.
  • Atlas A3 products do not support the Caffe framework.
  • The Ascend 950PR&950DT products does not support the Caffe framework.
  • For details, see AMCT (Caffe).
  • A Caffe environment must be set up. To perform inference on a quantized model, you need to use an inference environment with AI processor installed.

amct_caffe-{version}-py3-none-linux_{arch}.whl

Caffe AMCT package

caffe_patch.tar.gz

Caffe patch package

amct_tensorflow/

TensorFlow AMCT directory

amct_tensorflow-{version}-py3-none-linux_{arch}.tar.gz

TensorFlow AMCT package, which is installed from source code

  • amct_tensorflow and amct_tensorflow_ascend are mutually exclusive.
  • For details, see AMCT (TensorFlow).
  • A TensorFlow environment must be set up. To perform inference on a quantized model, you need to use an inference environment with AI processor installed.

amct_tensorflow_ascend-{version}-py3-none-linux_{arch}.tar.gz

TF Adapter AMCT package, which is installed from source code

  • amct_tensorflow and amct_tensorflow_ascend are mutually exclusive.
  • Only the Atlas training products support the features in this directory.
  • For details, see AMCT (TensorFlow, Ascend).
  • A TensorFlow environment must be set up. With an online inference environment that has an NPU device, a quantized model can be used to complete online inference services based on the AI processor.

amct_pytorch/

PyTorch AMCT directory

  • For details, see AMCT (PyTorch).
  • A PyTorch environment must be set up. To perform inference on a quantized model, you need to use an inference environment with AI processor installed.

amct_pytorch-{version}-py3-none-linux_{arch}.tar.gz

PyTorch AMCT source package

amct_onnx/

ONNX AMCT directory

  • For details, see AMCT (ONNX).
  • An ONNX Runtime environment must be set up. To perform inference on a quantized model, you need to use an inference environment with AI processor installed.

amct_onnx-{version}-py3-none-linux_{arch}.whl

ONNX AMCT package

amct_onnx_op.tar.gz

AMCT custom operator package based on ONNX Runtime

third_party/

Ascend-nca-{software version}-ubuntu{version}.{arch}.run

NCA runfile

Applicable to performance-based automatic quantization.

This product does not support performance-based automatic quantization.

conf/

-

-

Package installation information. You do not need to pay attention to it.

latest_manager/

-

-

Public script used for installation and upgrade. You do not need to pay attention to it.

{version} indicates the AMCT version. {software version} indicates the software version. {arch} indicates the OS architecture.