Bump Transformers version to 5.13.0 (#47867)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user