tt1225 commited on
Commit
a083eb6
1 Parent(s): 70f1502

Update modeling_internvl_chat.py

Browse files
Files changed (1) hide show
  1. modeling_internvl_chat.py +1 -1
modeling_internvl_chat.py CHANGED
@@ -320,7 +320,7 @@ class InternVLChatModel(PreTrainedModel):
320
  vit_embeds = visual_features
321
  else:
322
  vit_embeds = []
323
- num_chunks = 2
324
  pixel_values_splitted = pixel_values.chunk(num_chunks)
325
 
326
  for pixel_values_ in pixel_values_splitted:
 
320
  vit_embeds = visual_features
321
  else:
322
  vit_embeds = []
323
+ num_chunks = 1
324
  pixel_values_splitted = pixel_values.chunk(num_chunks)
325
 
326
  for pixel_values_ in pixel_values_splitted: