Unverified Commit b00a0c78 authored by jacky.cheng's avatar jacky.cheng Committed by GitHub
Browse files

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

parent a2faf894
...@@ -42,7 +42,7 @@ ENV BUILD_TRITON="0" ...@@ -42,7 +42,7 @@ ENV BUILD_TRITON="0"
ENV BUILD_LLVM="0" ENV BUILD_LLVM="0"
ENV BUILD_AITER_ALL="1" ENV BUILD_AITER_ALL="1"
ENV BUILD_MOONCAKE="1" ENV BUILD_MOONCAKE="1"
ENV AITER_COMMIT="v0.1.5.post3" ENV AITER_COMMIT="v0.1.5.post4"
ENV NO_DEPS_FLAG="--no-deps" ENV NO_DEPS_FLAG="--no-deps"
# =============================== # ===============================
......
...@@ -536,9 +536,7 @@ class ModelRunner: ...@@ -536,9 +536,7 @@ class ModelRunner:
elif _is_hip: elif _is_hip:
head_num = self.model_config.get_num_kv_heads(self.tp_size) head_num = self.model_config.get_num_kv_heads(self.tp_size)
# TODO current aiter only support head number 16 or 128 head number # TODO current aiter only support head number 16 or 128 head number
if ( if head_num == 128 or head_num == 16:
head_num == 128 or head_num == 16
) and self.spec_algorithm.is_none():
server_args.attention_backend = "aiter" server_args.attention_backend = "aiter"
else: else:
server_args.attention_backend = "triton" server_args.attention_backend = "triton"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment