InternVL icon indicating copy to clipboard operation
InternVL copied to clipboard

[Docs]

Open liluoqaq opened this issue 10 months ago • 1 comments

📚 The doc issue

如何解决

Suggest a potential alternative/fix

使用internvl2-4b进行coco字幕测评时,发生如下警告。You are using a model of type internvl_chat to instantiate a model of type internvl. This is not supported for all configurations of models and can yield errors. Loading checkpoint shards: 100%2/2 [00:00<00:00, 12.46it/s] Some weights of InternVLModel were not initialized from the model checkpoint。然后报输出维度不匹配的,怎么解决RuntimeError: The size of tensor a (3200) must match the size of tensor b (1024) at non-singleton dimension 2 [rank0]:[W222 20:19:26.574909459 ProcessGroupNCCL.cpp:1250] Warning: WARNING: process group has NOT been destroyed before we destruct ProcessGroupNCCL. On normal program exit, the application should call destroy_process_group to ensure that any pending NCCL operations have finished in this process. In rare cases this process can exit before this point and block the progress of another member of the process group. This constraint has always been present, but this warning has only been added since PyTorch 2.4 (function operator())

liluoqaq avatar Feb 22 '25 12:02 liluoqaq

Hi, 可以看一下你的测评代码吗

lll2343 avatar Feb 24 '25 12:02 lll2343