我要评分
获取效率
正确性
完整性
易理解

Installing Environment Dependencies

Use Yum repositories to install the base software on which the system depends, including GCC/G++ and Python, and use pip to install NumPy.

  1. Install the system dependencies. (If the KAIL_DNN component is used on Kunpeng 920 7285Z, skip 3 and 4.)
    1
    yum install make python3-devel git gcc-c++ cmake python3-pip
    
  2. Install the Kunpeng Math Library (KML). (Skip this step if the KAIL_DNN_EXT component is used on the Kunpeng 920 processor that supports only NEON instructions.)

    You can use the HPCKit 25.0.0 to install KML. Download the software package from HPC Basic Suite and install it by referring to the HPCKit Installation Guide.

  3. Install NumPy. (Perform this step if the KAIL_DNN_EXT component is used on the Kunpeng 920 processor that supports only NEON instructions.)
    1
    pip install numpy==1.24.2
    
  4. Install GCC 12.3.1 or BiSheng Compiler 4.2.0. (These compiler versions are required if the KAIL_DNN component is used on the Kunpeng 920 processor that supports SME instructions.)

    GCC and BiSheng Compiler are integrated in HPCKit. For details about how to install them, see 2.