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

Environment Configuration

Before compiling and building the source code, you need to install the dependent components of the required version.

  1. Install system dependencies.
    1
    2
    3
    4
    dnf install -y \
      --setopt=install_weak_deps=False \
      --setopt=tsflags=nodocs \
      python3-pip python3-devel gcc gcc-c++ make git rust cargo
    
  2. Install the Python build tools.
    1
    python3 -m pip install --upgrade pip setuptools wheel maturin
    
  3. Install NumPy.
    1
    python3 -m pip install numpy==2.4.4
    

    NumPy is required in the following verification example to construct tensor data. Therefore, you need to install NumPy in advance.