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

Qwen2vl support for GGUF #35282

Open
cheald opened this issue Dec 15, 2024 · 5 comments
Open

Qwen2vl support for GGUF #35282

cheald opened this issue Dec 15, 2024 · 5 comments
Labels
Feature request Request for a new feature

Comments

@cheald
Copy link

cheald commented Dec 15, 2024

Feature request

llama.cpp recently added support for Qwen2VL, which means that we can now quantize Qwen2VL models (and I've done so, successfully!) I'd like to be able to load quantized Qwen2VL models with AutoModelForVision2Seq; currently, transformers doesn't recognize qwen2vl as a valid architecture.

Motivation

It would be wonderful to be able to use quantized GGUF Qwen2VL models!

Your contribution

I'm happy to work up the PR for this, if I can get some direction on where to start. I'm hacking through the code right now, but I don't know it well enough to be able to meaningfully dent the problem just yet.

@cheald cheald added the Feature request Request for a new feature label Dec 15, 2024
@VladOS95-cyber
Copy link
Contributor

VladOS95-cyber commented Dec 16, 2024

Hi @cheald! You could check previous GGUF implementations for other models following this task #33260. There is well described workflow and a lot of different PRs. If you will have any questions, feel free to ask.

@cheald
Copy link
Author

cheald commented Dec 16, 2024

Thank you for the pointer! I'll see if I can cobble together a PR.

@helloHKTK
Copy link

Does Transformers now support loading the Qwen2vl model in GGUF format?

@prd-tuong-nguyen
Copy link

any update on this?

@cheald
Copy link
Author

cheald commented Feb 6, 2025

I didn't end up completing this and had to move on to other tasks; if someone else wants to take it, please do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

4 participants