czczup commited on
Commit
ad5ccb7
1 Parent(s): 2743f6b

Update modeling_intern_vit.py

Browse files
Files changed (1) hide show
  1. modeling_intern_vit.py +1 -1
modeling_intern_vit.py CHANGED
@@ -349,7 +349,7 @@ class InternVisionEncoder(nn.Module):
349
  class InternVisionModel(PreTrainedModel):
350
  main_input_name = 'pixel_values'
351
  config_class = InternVisionConfig
352
- _no_split_modules = ['InternAttention']
353
 
354
  def __init__(self, config: InternVisionConfig):
355
  super().__init__(config)
 
349
  class InternVisionModel(PreTrainedModel):
350
  main_input_name = 'pixel_values'
351
  config_class = InternVisionConfig
352
+ _no_split_modules = ['InternVisionEncoderLayer']
353
 
354
  def __init__(self, config: InternVisionConfig):
355
  super().__init__(config)