mark llama4 as not supported with fa2 (#37416)

This commit is contained in:
Wing Lian 2025-04-10 05:48:46 -04:00 committed by GitHub
parent fbb2054ed5
commit 0ddad2d655
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -467,7 +467,7 @@ class Llama4PreTrainedModel(PreTrainedModel):
config_class = Llama4Config
supports_gradient_checkpointing = True
_skip_keys_device_placement = ["past_key_values"]
_supports_flash_attn_2 = True
_supports_flash_attn_2 = False
_supports_sdpa = True
_supports_flex_attn = True
_supports_cache_class = True