Open ztfmars opened 2 months ago
The size of tensor a (1377) must match the size of tensor b (1376) at non-singleton dimension 3 this is commonly caused by the transformer version difference, try transformers==4.33.2
it works! thx, the chinese readme may need fixed on the version.
https://github.com/InternLM/InternLM-XComposer/blob/main/docs/install_CN.md
The size of tensor a (1377) must match the size of tensor b (1376) at non-singleton dimension 3 this is commonly caused by the transformer version difference, try transformers==4.33.2
I tested with transformers==4.33.2 but it failed with the same error when the per_device_train_batch_size > 1. Any suggestions?
i have 4 3090 gpu and have install the enviroment as instructions.
i used modelscope to download the pretrained weight , but it‘s wrong to run the
example/example_chat.py
the code as following:
the error can be listed as following:
how to fixed this problem?? wait in anxious, help~~