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