-
Notifications
You must be signed in to change notification settings - Fork 78
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
[VLM] Qwen 2.5 VL #1113
base: main
Are you sure you want to change the base?
[VLM] Qwen 2.5 VL #1113
Conversation
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review. Note: This is required to complete the testing suite, please only add the label once the PR is code complete and local testing has been performed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I must admit I don't understand a good amount of the qwen2.5-specific tracing code, and shared this with @kylesayrs , but as this is code that will only run specific to the Qwen 2/2.5 VL models, I am not being too meticulous in the review.
Thanks Kyle! 🚀
from llmcompressor.transformers.tracing import ( | ||
TraceableQwen2_5_VLForConditionalGeneration, | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a quick ELI5 would be nice to have at the top
# The following example shows how the Qwen2.5 Vision-Language model can be W4A16 quantized |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the readme in this folder provides enough context for a user to know how to use this example/what it's doing
Need to wait until 2.5 lands in transformers |
Purpose
Changes
examples/multimodal_vision/qwen_2_5_vl_example.py
TraceableQwen2_5_VLForConditionalGeneration
TraceableQwen2_VLForConditionalGeneration
Testing