Bump Transformers version to 5.13.0 (#47867)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-07-11 00:56:14 -07:00
committed by GitHub
parent bec0a4ede6
commit 4a6440acef
12 changed files with 30 additions and 24 deletions
@@ -316,8 +316,12 @@ class GraniteMoeHybridAttention(nn.Module):
ALL_DECODER_LAYER_TYPES = {
# Transformers < 5.13.0
"attention": GraniteMoeHybridAttentionDecoderLayer,
"mamba": GraniteMoeHybridMambaDecoderLayer,
# Transformers >= 5.13.0
"full_attention": GraniteMoeHybridAttentionDecoderLayer,
"linear_attention": GraniteMoeHybridMambaDecoderLayer,
}