maxall4 commited on
Commit
b87e4df
1 Parent(s): 1d23434

Update modeling_hyena.py

Browse files
Files changed (1) hide show
  1. modeling_hyena.py +1 -1
modeling_hyena.py CHANGED
@@ -27,7 +27,7 @@ class StripedHyenaPreTrainedModel(PreTrainedModel):
27
  _skip_keys_device_placement = "past_key_values"
28
  _keys_to_ignore_on_load_missing = [r"freq"]
29
  _keys_to_ignore_on_load_unexpected = [r"fftconv", r"twiddle_factors"]
30
- _supports_flash_attn_2 = False
31
 
32
 
33
  class StripedHyenaModelForCausalLM(StripedHyenaPreTrainedModel):
 
27
  _skip_keys_device_placement = "past_key_values"
28
  _keys_to_ignore_on_load_missing = [r"freq"]
29
  _keys_to_ignore_on_load_unexpected = [r"fftconv", r"twiddle_factors"]
30
+ _supports_flash_attn_2 = True
31
 
32
 
33
  class StripedHyenaModelForCausalLM(StripedHyenaPreTrainedModel):