Installing the Ascend Software (Using Prepared Software Packages)
If you have downloaded the commercial edition or community edition of Ascend software, you can install it by referring to this section.
Prerequisites
- You have downloaded MindCluster Ascend Deployer.
- You have prepared corresponding software packages.
- The software packages must be supported by MindCluster Ascend Deployer. For details, see Table 1.
- You need to prepare an account for logging in to the support website and apply for and confirm the permission to download software packages (driver and firmware packages, CANN package, and MindCluster performance test package) in advance. You can apply for the permission by clicking the URL in the ascend-deployer/ascend_deployer/downloader/software/CANN_*.json file.
Procedure
- Download the Docker and system dependencies. Double-click start_download_ui.bat in the ascend-deployer-{version}/ascend_deployer directory. Select the OS of the device to be installed on the page. Do not select PKG_LIST on the right of the page.
- (Optional) Click Enable Proxy and enter proxy information.
(On Windows 10 or later, you can use the configured proxy server to download software. Other OSs do not support this function.)
- Click Start Download.If information similar to the following is displayed, the download is complete. See Figure 1.
- Save the prepared software packages to the following path.
- Place the NPU driver and firmware, Toolkit, kernels, and MindCluster performance test packages in ascend-deployer-{version}/ascend_deployer/resources.The content of the resources folder is as follows (CentOS 7.6 is used as an example):
resources ├── CANN_8.2.RC1 ├── FaultDiag_7.1.RC1 ├── MindIE-image ├── mindxdl ├── nexus ├── npu ├── CentOS_7.6_aarch64 ├── pylibs ├── sources └── version.json
- (Optional) If you need to replace the MindCluster package with another version, replace the package in the ascend_deployer/resources/mindxdl/dlPackage/{arch} folder with the downloaded package.
The content of the ascend_deployer/resources/mindxdl/dlPackage/{arch} folder is as follows:
ascend_deployer/resources/mindxdl/dlPackage/{arch} ├─ Ascend-docker-runtime_{version}_linux-{arch}.run ├─ Ascend-mindxdl-ascend-operator_{version}_linux-{arch}.zip ├─ Ascend-mindxdl-device-plugin_{version}_linux-{arch}.zip ├─ Ascend-mindxdl-noded_{version}_linux-{arch}.zip ├─ Ascend-mindxdl-npu-exporter_{version}_linux-{arch}.zip ├─ Ascend-mindxdl-resilience-controller_{version}_linux-{arch}.zip └─ Ascend-mindxdl-volcano_{version}_linux-{arch}.zip └─ Ascend-mindxdl-clusterd_{version}_linux-{arch}.zip
- {version} indicates the package version.
- {arch} indicates the CPU architecture.
- Place the NPU driver and firmware, Toolkit, kernels, and MindCluster performance test packages in ascend-deployer-{version}/ascend_deployer/resources.
- Compress the ascend-deployer-{version} directory into a ZIP package and upload the package to any directory on the executor (server where MindCluster Ascend Deployer is deployed to perform batch installation).
- Run the unzip ascend-deployer-{version}.zip command to decompress the package to obtain the ascend-deployer-{version} directory.
Parent topic: Common Operations
