-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[Bugfix] Fix embedding assignment for InternVL-based models #15086
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
[Bugfix] Fix embedding assignment for InternVL-based models #15086
Conversation
👋 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 🚀 |
This pull request has merge conflicts that must be resolved before it can be |
@gohar94 please try out this fix. |
Signed-off-by: DarkLight1337 <[email protected]>
550df12
to
893a2cf
Compare
Signed-off-by: DarkLight1337 <[email protected]>
Thanks, @DarkLight1337. Seems to work fine now. |
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.
Overall LGTM. Is it possible to add a test in processor tests for each model to validate the matching between PlaceholderRange
and the processed input_ids
?
I think we can address this inside V1 Engine, as mentioned in #15144. So if there is any mismatch, the model itself will fail fast, causing model correctness CI to fail. However we need to fix the existing models first before we can enable that. |
…ject#15086) Signed-off-by: DarkLight1337 <[email protected]>
…ject#15086) Signed-off-by: DarkLight1337 <[email protected]>
…ject#15086) Signed-off-by: DarkLight1337 <[email protected]> Signed-off-by: Louis Ulmer <[email protected]>
…ject#15086) Signed-off-by: DarkLight1337 <[email protected]>
…ject#15086) Signed-off-by: DarkLight1337 <[email protected]>
…ject#15086) Signed-off-by: DarkLight1337 <[email protected]> Signed-off-by: Mu Huai <[email protected]>
Similar to #14980, this PR fixes the mismatch between multimodal embeddings and
PlaceholderRange
indices for InternVL-based models.FIX #14897 (comment)