-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[Bugfix] Make dummy encoder prompt padding alternative and add missing warnings #16129
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 <[email protected]>
Signed-off-by: Isotr0py <[email protected]>
👋 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 🚀 |
Can we add a test to avoid similar regressions? Preferably using Whisper so it can run in CI without OOM |
cc @tjohnson31415 as well |
Hmmm, the original issue is Mllama specific, because the Mllama prefill/decode implementation is a bit hacky. Let me see if we can add a processor test to simulate this issue rather than loading the full model... |
Signed-off-by: Isotr0py <[email protected]>
@pytest.mark.parametrize("model_id", | ||
["meta-llama/Llama-3.2-11B-Vision-Instruct"]) | ||
@pytest.mark.parametrize("max_model_len", [4096, 8192, 25600, 131072]) | ||
@pytest.mark.parametrize("max_num_seqs", [1, 2, 8]) | ||
def test_profiling( |
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.
Has confirmed this test is failing on main branch.
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 fixing!
# Encoder-decoder multimodal models only support v0 | ||
if total_len > seq_len: | ||
# `max_num_batched_tokens` is defined by `SchedulerConfig` | ||
logger.warning( |
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 this warning should only get printed once. As it it, it is just too noisy
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.
Like #16193 probably
…g warnings (vllm-project#16129) Signed-off-by: Isotr0py <[email protected]>
…g warnings (vllm-project#16129) Signed-off-by: Isotr0py <[email protected]> Signed-off-by: Yang Wang <[email protected]>
…g warnings (vllm-project#16129) Signed-off-by: Isotr0py <[email protected]>
…g warnings (vllm-project#16129) Signed-off-by: Isotr0py <[email protected]> Signed-off-by: Mu Huai <[email protected]>
FIX #13929