czczup commited on
Commit
4ebe12a
1 Parent(s): ad5ccb7

Update modeling_internvl_chat.py

Browse files
Files changed (1) hide show
  1. modeling_internvl_chat.py +1 -1
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 = ['InternAttention', 'LlamaDecoderLayer', 'LlamaForCausalLM']
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)