Update modeling_neollm.py
Browse files- modeling_neollm.py +2 -0
modeling_neollm.py
CHANGED
|
@@ -2634,6 +2634,8 @@ class NeoLLMPreTrainedModel(PreTrainedModel):
|
|
| 2634 |
base_model_prefix = "model"
|
| 2635 |
supports_gradient_checkpointing = True
|
| 2636 |
_no_split_modules = ["NeoLLMDecoderLayer"]
|
|
|
|
|
|
|
| 2637 |
_supports_flash_attn_2 = True
|
| 2638 |
_supports_sdpa = True
|
| 2639 |
_is_stateful = True
|
|
|
|
| 2634 |
base_model_prefix = "model"
|
| 2635 |
supports_gradient_checkpointing = True
|
| 2636 |
_no_split_modules = ["NeoLLMDecoderLayer"]
|
| 2637 |
+
_supports_attention_backend = True
|
| 2638 |
+
_supports_flash_attn = True
|
| 2639 |
_supports_flash_attn_2 = True
|
| 2640 |
_supports_sdpa = True
|
| 2641 |
_is_stateful = True
|