## The problem

详细： python -m pip install git+https://github.com/Dao-AILab/flash-attention.git@v2.5.9.post1 Collecting git+https://github.com/Dao-AILab/flash-attention.git@v2.5.9.post1 Cloning https://github.com/Dao-AILab/flash-attention.git (to revision v2.5.9.post1) to /tmp/pip-req-build-0193ysvf Running command git clone --filter=blob:none --quiet https://github.com/Dao-AILab/flash-attention.git /tmp/pip-req-build-0193ysvf Running command git checkout -q e2e4333c955b829d0e6087d27ee435f55c80d3a5 Resolved https://github.com/Dao-AILab/flash-attention.git to commit e2e4333c955b829d0e6087d27ee435f55c80d

## The fix

flash-attention failing to build from git: skip the source build and install a prebuilt wheel matching your setup. Check your Python version, CUDA version (nvidia-smi), and CPython tag, then download the matching wheel from the flash-attention releases page and `pip install` it. Pick the abiFALSE build if abiTRUE fails on your system.