[Fix] Update to v0.1.5.post4 and refine HIP attention backend selection (#11161)

This commit is contained in:
jacky.cheng
2025-10-03 12:19:30 +08:00
committed by GitHub
parent a2faf8940c
commit b00a0c786f
2 changed files with 2 additions and 4 deletions

View File

@@ -536,9 +536,7 @@ class ModelRunner:
elif _is_hip:
head_num = self.model_config.get_num_kv_heads(self.tp_size)
# TODO current aiter only support head number 16 or 128 head number
if (
head_num == 128 or head_num == 16
) and self.spec_algorithm.is_none():
if head_num == 128 or head_num == 16:
server_args.attention_backend = "aiter"
else:
server_args.attention_backend = "triton"