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

#18
by kingsley01 - opened

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
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment