Update modeling_internvl_chat.py
Browse files
modeling_internvl_chat.py
CHANGED
@@ -23,7 +23,7 @@ logger = logging.get_logger(__name__)
|
|
23 |
class InternVLChatModel(PreTrainedModel):
|
24 |
config_class = InternVLChatConfig
|
25 |
main_input_name = 'pixel_values'
|
26 |
-
_no_split_modules = ['
|
27 |
|
28 |
def __init__(self, config: InternVLChatConfig, vision_model=None, language_model=None):
|
29 |
super().__init__(config)
|
|
|
23 |
class InternVLChatModel(PreTrainedModel):
|
24 |
config_class = InternVLChatConfig
|
25 |
main_input_name = 'pixel_values'
|
26 |
+
_no_split_modules = ['InternVisionEncoderLayer', 'LlamaDecoderLayer', 'LlamaForCausalLM']
|
27 |
|
28 |
def __init__(self, config: InternVLChatConfig, vision_model=None, language_model=None):
|
29 |
super().__init__(config)
|