-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[Bugfix] Fix deepseek-vl2 inference with more than 2 images #13818
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
Conversation
Signed-off-by: Isotr0py <2037008807@qq.com>
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run 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 either: Add 🚀 |
Since the processing is different depending on number of images, we have to disable the processing cache when max number of images is greater than one (similar to the case for H2O-VL) |
Signed-off-by: Isotr0py <2037008807@qq.com>
Can you also update H2O-VL to only disable the cache when multi-image is enabled? |
Signed-off-by: Isotr0py <2037008807@qq.com>
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, LGTM now
I faced some problems when start deepseek-ai/deepseek-vl. Here is the command line: vllm serve --hf-overrides '{"architectures": ["DeepseekVLV2ForCausalLM"]}' deepseek-ai/deepseek-vl2 Here is the traceback, it seems that this issue is related to this RP.
|
Thanks for reporting! It should be fixed by #14417 |
…ject#13818) Signed-off-by: Louis Ulmer <ulmerlouis@gmail.com>
FIX #13396 (link existing issues this PR will resolve)
(image_size, image_size)
instead ofselect_best_resolution
whennum_images>2