Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache_position is missing for input of function prepare_inputs_for_generation in class VITAQwen2ForCausalLM #116

Open
Glorainow opened this issue Mar 13, 2025 · 2 comments

Comments

@Glorainow
Copy link

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

@zzksdu
Copy link

zzksdu commented Mar 13, 2025

undate your transformers version, e.g transformer=4.43.4

@Glorainow
Copy link
Author

solved!
thanks for dealing with this problem instantly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants