scripts : add -nfa option [no ci]

This commit is contained in:
Georgi Gerganov 2025-09-30 21:37:00 +03:00
parent 8a67c55c8a
commit 47fcd7da8b
No known key found for this signature in database
GPG Key ID: BF970631944C16B7
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ function gg_run_bench {
cd ${SRC} cd ${SRC}
# set flash attention flag if enabled # set flash attention flag if enabled
fattn="" fattn="-nfa"
if [ "$BENCH_FLASH_ATTN" -eq 1 ]; then if [ "$BENCH_FLASH_ATTN" -eq 1 ]; then
fattn="-fa" fattn="-fa"
fi fi

View File

@ -19,7 +19,7 @@ fi
fattn="" fattn=""
if [ -z "$3" ] || [ "$3" -eq 0 ]; then if [ -z "$3" ] || [ "$3" -eq 0 ]; then
fattn="" fattn="-nfa"
else else
fattn="-fa" fattn="-fa"
fi fi