Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Model] Update Paligemma multimodal processing with PromptUpdate #14015

Merged
merged 15 commits into from
Mar 6, 2025

Conversation

kylehh
Copy link
Contributor

@kylehh kylehh commented Feb 28, 2025

Continue work from #13584

  1. Update MM processing with PromptUpdate
  2. Fixed the issue of can not identify language with "caption <lang>" prompt

Note

  1. Use PromptReplacement for paligemma and PromptInsertion for Paligemma 2
  2. The issue was due to HF encode prompt adding <bos> before <image> tokens (ref here) > . The fix was to remove <bos> for baseline result to pass text_common test

Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
Copy link

👋 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 fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

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 ready label to the PR or enable auto-merge.

🚀

Copy link

mergify bot commented Feb 28, 2025

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @kylehh.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify bot removed the needs-rebase label Feb 28, 2025
@DarkLight1337
Copy link
Member

Please also merge the latest changes from #14038

Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
@DarkLight1337 DarkLight1337 added the ready ONLY add when PR is ready to merge/full CI is needed label Mar 4, 2025
@DarkLight1337
Copy link
Member

It looks like multi-modal tests is still failing. To get around the accuracy issue, feel free to switch to PaliGemma 2.

Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
@DarkLight1337
Copy link
Member

It looks like multi-modal tests is still failing. To get around the accuracy issue, feel free to switch to PaliGemma 2.

We can still keep PaliGemma 1 in test_common.py, just not in the model correctness tests.

Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
kylehh and others added 4 commits March 5, 2025 08:22
Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) March 6, 2025 06:27
Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated the docs for you. Thanks for your hard work!

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
@DarkLight1337 DarkLight1337 merged commit 1769928 into vllm-project:main Mar 6, 2025
35 of 36 checks passed
johnnynunez pushed a commit to johnnynunez/vllm that referenced this pull request Mar 6, 2025
…m-project#14015)

Signed-off-by: Kyle Huang <kylhuang@nvidia.com>
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Co-authored-by: Cyrus Leung <tlleungac@connect.ust.hk>
Signed-off-by: Johnny <johnnynuca14@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Improvements or additions to documentation ready ONLY add when PR is ready to merge/full CI is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants