Text Generation
Transformers
Safetensors
English
Chinese
llava_qwen2
conversational

LlavaQwen2ForCausalLM.forward() got an unexpected keyword argument 'cache_position'

#9
by Wang4XD - opened

This problem occurs when I use HuatuoGPT-Vision-7B, for local deployment, my environment is transformers==4.47.1.
By the way, when I use transformers==4.40.0 I get Exception: data did not match any variant of untagged enum ModelWrapper at line 757443 column 3. so I had to update to 4.47.1

Sign up or log in to comment