-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Model] Support quantization of Qwen2VisionTransformer for Qwen2-VL #9817
[Model] Support quantization of Qwen2VisionTransformer for Qwen2-VL #9817
Conversation
Signed-off-by: mgoin <[email protected]>
Signed-off-by: mgoin <[email protected]>
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
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.
Thanks for adding support for quantization for this model!
…9817) Signed-off-by: mgoin <[email protected]>
…9817) Signed-off-by: mgoin <[email protected]> Signed-off-by: Linkun Chen <[email protected]>
…9817) Signed-off-by: mgoin <[email protected]>
…9817) Signed-off-by: mgoin <[email protected]> Signed-off-by: Loc Huynh <[email protected]>
…9817) Signed-off-by: mgoin <[email protected]> Signed-off-by: Sumit Dubey <[email protected]>
Relies on #9812
Allows us to support quantization of the vision encoder for Qwen2-VL, where before we could only quantize the language model
Tested with
nm-testing/Qwen2-VL-7B-Instruct-FP8-dynamic
(onlyQwen2Model
quantized)nm-testing/Qwen2-VL-7B-Instruct-FP8-dynamic-all
(Qwen2Model
andQwen2VisionTransformer
quantized, just notlm_head
)