Update starvector_arch.py
Browse files- starvector_arch.py +1 -0
starvector_arch.py
CHANGED
@@ -133,6 +133,7 @@ class StarVectorConfig(PretrainedConfig):
|
|
133 |
class StarVectorForCausalLM(PreTrainedModel):
|
134 |
config_class = StarVectorConfig
|
135 |
_no_split_modules = []
|
|
|
136 |
|
137 |
def __init__(self, config: StarVectorConfig, **kwargs):
|
138 |
super().__init__(config)
|
|
|
133 |
class StarVectorForCausalLM(PreTrainedModel):
|
134 |
config_class = StarVectorConfig
|
135 |
_no_split_modules = []
|
136 |
+
_supports_flash_attn_2 = True
|
137 |
|
138 |
def __init__(self, config: StarVectorConfig, **kwargs):
|
139 |
super().__init__(config)
|