Rate This Document
Findability
Accuracy
Completeness
Readability

Environment Requirements

This document uses openEuler 24.03 LTS SP3 + PyTorch 2.11.0 + CUDA 13.0 as an example to describe how to build the source code. In addition, this section describes other environments supported by source code build verification.

Supported Versions

Table 1 Supported versions

OS

Python

PyTorch

openEuler 24.03 LTS SP3

Python 3.11.6

PyTorch 2.11.x (PyTorch 2.11.0 is recommended.)

openEuler 22.03 LTS SP4

Python 3.9.9

PyTorch <= 2.8.x (PyTorch 2.8.0 is recommended.)

PyTorch 2.11.0 requires Python 3.10 or later. The default Python version of openEuler 22.03 LTS SP4 is 3.9.9, which does not meet the version requirements. You are advised to use PyTorch 2.8.0 that supports Python 3.9 on openEuler 22.03 LTS SP4.

Dependent Component Requirements

Table 2 Version requirements for dependent components

Component

Version

python3

3.11.6-20.oe2403sp3

python3-pip

23.3.1-7.oe2403sp3

python3-devel

3.11.6-20.oe2403sp3

GCC

12.3.1-105.oe2403sp3

GCC-C++

12.3.1-105.oe2403sp3

make

4.4.1-2.oe2403sp3

CMake

3.27.9-8.oe2403sp3

Git

2.43.0-10.oe2403sp3

ninja-build

1.11.1-1.oe2403sp3

openblas-devel

0.3.25-7.oe2403sp3

libuv-devel

1.47.0-3.oe2403sp3

numactl-devel

2.0.16-14.oe2403sp3

patchelf

0.16.0-1.oe2403sp3

tar

1.35-2.oe2403sp3

Gzip

1.12-6.oe2403sp3

bzip2

1.0.8-8.oe2403sp3

xz

5.4.7-6.oe2403sp3

unzip

6.0-54.oe2403sp3

CUDA Toolkit

13.0

nvcc

13.0.48

pip

26.1.1

setuptools

82.0.1

wheel

0.47.0

PyYAML

6.0.3

typing_extensions

4.15.0

sympy

1.14.0

filelock

3.29.0

networkx

3.6.1

jinja2

3.1.6

fsspec

2026.5.0