Environment Configuration
Before compiling and building the source code, you need to install the dependent components of the required version.
- Install system dependencies.
1 2 3 4 5 6
dnf install -y \ --setopt=install_weak_deps=False \ --setopt=tsflags=nodocs \ python3 python3-pip python3-devel gcc gcc-c++ make cmake git \ ninja-build openblas-devel libuv-devel numactl-devel patchelf \ tar gzip bzip2 xz unzip
- Install the Python build tools.
1 2
python3 -m pip install --upgrade pip setuptools wheel python3 -m pip install packaging ninja cmake PyYAML typing_extensions sympy filelock networkx jinja2 fsspec
- Ensure that the CUDA compiler is available.
1/usr/local/cuda-13.0/bin/nvcc --version
Parent topic: Preparations for Development