Supported OSs

Supported OSs

You can use the ascend-deployer tool to download and install dependencies of the following OSs.

Table 1 Supported OSs

OS

Version

CPU Architecture

BCLinux

7.6

AArch64

BCLinux

7.6

x86_64

BCLinux

7.7

AArch64

CentOS

7.6

AArch64

CentOS

7.6

x86_64

CentOS

8.2

AArch64

CentOS

8.2

x86_64

Debian

10.0

x86_64

Debian

9.9

AArch64

Debian

9.9

x86_64

EulerOS

2.8

AArch64

EulerOS

2.9

AArch64

EulerOS

2.9

x86_64

Kylin

V10 SP1

AArch64

Kylin

V10 SP1

x86_64

Kylin

v10juniper (Kylin Desktop V10)

AArch64

Linx

6.0

AArch64

openEuler

20.03 LTS

AArch64

openEuler

20.03 LTS

x86_64

SLES

12.4

x86_64

SLES

12.5

x86_64

Tlinux

2.4

AArch64

Tlinux

2.4

x86_64

UOS

20

AArch64

UOS

20

x86_64

UOS

20 SP1

AArch64

UOS

20 SP1

x86_64

UOS

20-1020e

AArch64

Ubuntu

18.04.1/5

AArch64

Ubuntu

18.04.1/5

x86_64

Ubuntu

20.04

AArch64

Ubuntu

20.04

x86_64

Precautions

  • 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 or Debian, select OpenSSH server or SSH server on the Software selection screen to ensure that the ssh command is available.
  • 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.
  • For an Atlas 300T training card running CentOS 7.6 x86_64 with an earlier kernel version than 4.5, upgrade CentOS to 8.0 or later or add a kernel patch. Otherwise, the firmware installation may fail. For details about how to add a kernel patch, see Building a Kernel Patch.
  • During SLES-based driver installation, the offline installation tool sets allow_unsupported_modules in /etc/modprobe.d/10-unsupported-modules.conf to 1, which indicates that non-built-in drivers can be loaded during system startup.
  • 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 and set it to no after the installation. The configuration method varies according to OSs. For details, see the official guide of the OS.
  • The cross-compilation-related components and the AArch64 Toolkit software can be installed on Ubuntu x86_64.
  • After system dependencies are installed in the Kylin V10 system, wait until system configurations are complete and then run commands such as docker.
  • Multiple versions of Docker/containerd may coexist on CentOS. Therefore, you are advised to check whether Docker has been installed before installing system dependencies on CentOS 7.6 and CentOS 8.2. If Docker has been installed, run the yum -y remove docker-ce, yum -y remove docker-ce-cli, and yum -y remove containerd.io commands to uninstall it and then install system dependencies.
  • After the TLinux system is installed, the root directory (/) has a total size of about 20 GB. To avoid decompression or installation failure, do not store a package whose size is greater than the available disk space in the resources directory.
  • The BCLinux 7.6 system source does not have the Python 3 component. If you need to install the Python 3 component on BCLinux 7.6, modify the source configuration file following the instructions on the BCLinux official website or change el7.6 in /etc/yum.repos.d/BCLinux-Base.repo to el7.7 by running the sed -i 's/el7.6/el7.7/g' /etc/yum.repos.d/BCLinux-Base.repo command. After the Python 3 component is installed, restore the original configuration.
  • Installing drivers on OSs such as EulerOS, SLES, and Debian may trigger driver source code compilation. You need to install the kernel header package that matches the kernel version of the system (which can be viewed through uname -r command). For details, see Table 2.
    Table 2 Kernel header packages

    OS

    Kernel Header Package

    How to Obtain

    EulerOS

    kernel-headers-{version}, kernel-devel-{version}

    Contact the OS vendor or search for the tool in the devel_tools.tar.gz file delivered with the OS.

    SLES

    kernel-default-{version}, kernel-default-devel-{version}

    Contact the OS vendor or search for the tool in the OS image.

    Debian

    linux-headers-{version}, linux-headers-{version}-common, linux-kbuild-{version}