Skip to content

Commit 73a6c0e

Browse files
committed
Reduce MAX_JOBS for Flash Attention on Windows
1 parent 14dff75 commit 73a6c0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package_specific.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ if [[ $REPO == "Dao-AILab/flash-attention" ]]; then
4040
echo NVCC_THREADS=1 >> "$GITHUB_ENV"
4141
if [[ $OS == "Linux" ]]; then
4242
echo MAX_JOBS=2 >> "$GITHUB_ENV"
43+
elif [[ $OS == "Windows" ]]; then
44+
echo MAX_JOBS=3 >> "$GITHUB_ENV"
4345
fi
4446

4547
patch -p0 < "$SCRIPT_DIR"/package_specific/flash_attention.patch

0 commit comments

Comments
 (0)