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

Can't load model from huggingface transformers #147

Open
lezhang7 opened this issue Jan 10, 2025 · 0 comments
Open

Can't load model from huggingface transformers #147

lezhang7 opened this issue Jan 10, 2025 · 0 comments

Comments

@lezhang7
Copy link

i try to load the model using

# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("DAMO-NLP-SG/VideoLLaMA2.1-7B-16F")

but got error

ValueError: The checkpoint you are trying to load has model type `videollama2_qwen2` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.

I tried various transformer version, including suggested 4.40.0 and latest 4.48.0, but all face the same issue

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

1 participant