-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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 <michael@neuralmagic.com>
Signed-off-by: mgoin <michael@neuralmagic.com>
👋 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 <michael@neuralmagic.com>
…9817) Signed-off-by: mgoin <michael@neuralmagic.com> Signed-off-by: Linkun Chen <github+anyscale@lkchen.net>
…9817) Signed-off-by: mgoin <michael@neuralmagic.com>
…9817) Signed-off-by: mgoin <michael@neuralmagic.com> Signed-off-by: Loc Huynh <jc1da.3011@gmail.com>
…9817) Signed-off-by: mgoin <michael@neuralmagic.com> Signed-off-by: Sumit Dubey <sumit.dubey2@ibm.com>
…9817) Signed-off-by: mgoin <michael@neuralmagic.com>
…9817) Signed-off-by: mgoin <michael@neuralmagic.com> Signed-off-by: Maxime Fournioux <55544262+mfournioux@users.noreply.github.com>
…9817) Signed-off-by: mgoin <michael@neuralmagic.com> Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com>
…9817) Signed-off-by: mgoin <michael@neuralmagic.com>
…9817) Signed-off-by: mgoin <michael@neuralmagic.com> Signed-off-by: s.kochetkov <s.m.kochetkov@tcsbank.ru>
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
)