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

Environment Requirements

This document uses FlashAttention 2.8.3 as an example to describe how to compile and build FlashAttention on openEuler 24.03 LTS SP3. In addition, this section describes other environments supported by source code build verification.

Supported Versions

Table 1 Supported versions

OS

Python

FlashAttention

openEuler 24.03 LTS SP3

Python 3.11.6

FlashAttention 2.8.x

openEuler 22.03 LTS SP4

Python 3.9.9

FlashAttention 2.8.3 requires Python 3.9 or later, and must meet the PyTorch CUDA wheel, CUDA Toolkit, and NVIDIA GPU environment requirements.

Dependent Component Requirements

Table 2 Dependent components and versions

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

1.13.0

CUDA Toolkit

13.0

PyTorch

2.11.0+cu130