michalk8 commited on
Commit
0bfab3c
·
1 Parent(s): 0f343ca
Files changed (1) hide show
  1. modeling_aimv2.py +1 -0
modeling_aimv2.py CHANGED
@@ -178,6 +178,7 @@ class AIMv2PretrainedModel(PreTrainedModel):
178
  config_class = AIMv2Config
179
  base_model_prefix = "aimv2"
180
  main_input_name = "pixel_values"
 
181
  _supports_sdpa = True
182
 
183
 
 
178
  config_class = AIMv2Config
179
  base_model_prefix = "aimv2"
180
  main_input_name = "pixel_values"
181
+ _no_split_modules = ["AIMv2ViTPreprocessor", "AIMv2Block"]
182
  _supports_sdpa = True
183
 
184