VITA icon indicating copy to clipboard operation
VITA copied to clipboard

cache_position is missing for input of function prepare_inputs_for_generation in class VITAQwen2ForCausalLM

Open Glorainow opened this issue 9 months ago • 3 comments

as said in the title of this issue and showed in the picture below: Image

the envirnment is: V100, cuda 12.4, torch 2.3.1

Glorainow avatar Mar 13 '25 05:03 Glorainow

undate your transformers version, e.g transformer=4.43.4

zzksdu avatar Mar 13 '25 05:03 zzksdu

solved! thanks for dealing with this problem instantly!

Glorainow avatar Mar 13 '25 05:03 Glorainow

Same issue, same solution. Thanks a lot @zzksdu :)

PS: Prehaps an update of requirement.txt should be do ^^'

DevNullx64 avatar Apr 02 '25 17:04 DevNullx64