Update modeling_intern_vit.py
Browse files- 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 = ['
|
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)
|