fix the runtimeError of in-place operation when use transformers for training

#18

align the input_embeds with internvl2 original code Line 152, which may lead in a runtime error in Line 119 in hf version when using hf version code for training.

czczup changed pull request status to merged

Sign up or log in to comment