Renaming the test_hstu_attention_seqlen_kv.sh to test_hstu_cross_attention.sh

This commit is contained in:
Qianfeng Zhang
2026-04-24 07:36:41 +00:00
parent 0b6bbe45d6
commit d099819657

View File

@@ -1,7 +1,17 @@
#!/bin/bash
BUILD=build
EXE="$BUILD/bin/tile_example_hstu_attention"
USE_SOFTMAX=0
if [ $# -ge 1 ]; then
USE_SOFTMAX=$1
fi
if [ $USE_SOFTMAX -eq 1 ]; then
EXE="$BUILD/bin/tile_example_hstu_attention -softmax=1"
else
EXE="$BUILD/bin/tile_example_hstu_attention"
fi
for T in "fp16" "bf16"; do
set -x