Supported OSs
You can use the ascend-deployer tool to download and install dependencies of OSs listed in Table 2. The precautions are as follows:
- To check the compatibility information, use the Compatibility Checker. The ascend-deployer tool can be used to install MindStudio, MindX DL, MEF Center, and MindIO on the following OSs:
- MindStudio: Ubuntu_18.04, Ubuntu_22.04, openEuler_22.03LTS, EulerOS_2.8
- MindX DL: Ubuntu_18.04, Ubuntu_20.04, Ubuntu_22.04, openEuler_20.03LTS, openEuler_22.03LTS, CentOS_7.6
- MEF Center: Ubuntu_20.04, openEuler_22.03LTS
- MindIO: Ubuntu_18.04, Ubuntu_20.04, Kylin V10 SP2, openEuler_20.03LTS, openEuler_22.03LTS, CentOS_7.6, UOS_20-1020e
- Basic commands such as tar, cd, ls, find, grep, chown, chmod, unzip, bzip2, and ssh must be preset in the OS. During the installation of Ubuntu, select OpenSSH server or SSH server on the Software selection screen to avoid the absence of the ssh command.
- ascend-deployer supports only the default environment after the OS image is successfully installed. Do not install or uninstall software after the OS is installed. If some system software has been uninstalled, causing inconsistency with the default system package, you need to manually configure the network and use tools such as apt, yum, and dnf to install and configure the missing software.
- ascend-deployer can install only basic libraries to ensure that TensorFlow and PyTorch can run properly. If you need to run complex inference services or model training, the model code may contain libraries related to specific services. You need to install the libraries by yourself.
- If the driver version installed using ascend-deployer does not match the system kernel version, you can refer to Installing Dependencies Required for Compiling Driver Source Code to manually install the desired driver.
- The automatic kernel upgrade function must be disabled for the OSs. Take Ubuntu as an example. After it is installed and restarted, you can run the sudo apt-mark hold linux-image-generic linux-headers-generic linux-image-extra command to disable automatic kernel upgrade (delete sudo when running this command as the root user). For users of other OSs or systems with custom upgrades, disable the function according to the corresponding OS guides.
- Installing drivers on OSs such as EulerOS may trigger driver source code compilation. You need to install a kernel header package that matches the kernel version of the system (which can be viewed through uname -r command). For details, see Table 1.
- By default, the root user is not allowed to remotely log in to OSs such as EulerOS. Therefore, you need to set PermitRootLogin in the /etc/ssh/sshd_config file to yes before the installation. The configuration method varies according to OSs. For details, see the official guide of the OS. After the installation is complete, disable the remote connection of the root user in a timely manner.
- When CentOS is used as the executor OS and ascend-deployer is used for batch deployment, devices running Ubuntu cannot be deployed.