[CI Failure] Fix backend selection for encoder-only models (#28534)

Signed-off-by: Huamin Li <3ericli@gmail.com>
This commit is contained in:
Huamin Li
2025-11-13 10:11:27 -05:00
committed by GitHub
parent a7791eac9d
commit 07a606aa7e
14 changed files with 75 additions and 6 deletions
@@ -74,7 +74,11 @@ class EncoderOnlyAttention(Attention):
block_size = 16
underlying_attn_backend = get_attn_backend(
head_size, dtype, kv_cache_dtype, block_size
head_size,
dtype,
kv_cache_dtype,
block_size,
attn_type=AttentionType.ENCODER_ONLY,
)
attn_backend = create_encoder_only_attention_backend(underlying_attn_backend)