Skip to content

Commit abb6e2b

Browse files
fix(qwen-tts): serialize CUDA 13 flash-attn build
Limit the CUDA 13 FlashAttention source build to one ninja worker by default so it stays within CI runner memory. Preserve explicit MAX_JOBS overrides and leave other build profiles unchanged. Assisted-by: Codex:gpt-5 [web]
1 parent 41d4251 commit abb6e2b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

backend/python/qwen-tts/install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ else
1010
source $backend_dir/../common/libbackend.sh
1111
fi
1212

13+
# CUDA 13 has no prebuilt FlashAttention wheel, so the fallback source build
14+
# exceeds the CI runner's memory when ninja compiles multiple units at once.
15+
if [ "x${BUILD_PROFILE}" = "xcublas13" ]; then
16+
export MAX_JOBS="${MAX_JOBS:-1}"
17+
fi
18+
1319
installRequirements

0 commit comments

Comments
 (0)