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

[VLM] Report multi_modal_placeholders in output #10407

Merged
merged 24 commits into from
Nov 18, 2024

Conversation

lk-chen
Copy link
Contributor

@lk-chen lk-chen commented Nov 18, 2024

Report multi_modal_placeholders in output

This helps inspect VLM model performance, e.g. distinguish text tokens and multi-modal embeddings.

related: #8346

Copy link

👋 Hi! Thank you for contributing to the vLLM project.
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 do one of these:

  • Add ready label to the PR
  • Enable auto-merge.

🚀

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.

Thanks for improving the developer experience!

@DarkLight1337 DarkLight1337 added the ready ONLY add when PR is ready to merge/full CI is needed label Nov 18, 2024
@DarkLight1337
Copy link
Member

Do you get these test errors locally?

@lk-chen
Copy link
Contributor Author

lk-chen commented Nov 18, 2024

Do you get these test errors locally?

I cannot reproduce those errors due to lacking permission to llama models.
But by reading the errors, I made commit 8c5fdf8 and hope to pass the test

@DarkLight1337
Copy link
Member

Please fix the lint errors.

Linkun Chen and others added 20 commits November 18, 2024 05:52
* confirm that `offline_inference_vision_language.py` and `benchmark_throughput.py` runs
* FIXME: the placeholders in output, however, is empty
 - will fix in next commit

Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
* add test for pixtral
* fix a typo

Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: Woosuk Kwon <woosuk.kwon@berkeley.edu>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
…ect#10383)

Signed-off-by: youkaichao <youkaichao@gmail.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
…odels (vllm-project#10374)

Signed-off-by: Roger Wang <ywang@roblox.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: Chendi Xue <chendi.xue@intel.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
…ject#10394)

Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: youkaichao <youkaichao@gmail.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
…ject#10403)

Signed-off-by: imkero <kerorek@outlook.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
vllm-project#10392)

Signed-off-by: wchen61 <wchen61@foxmail.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: Cyrus Leung <tlleungac@connect.ust.hk>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
…m-project#10327)

Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
…vllm-project#10375)

Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
… optional argument

also require it to be passed as kwargs, to avoid breaking existing code.

Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
… optional argument

also require it to be passed as kwargs, to avoid breaking existing code.

Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
… optional argument

also require it to be passed as kwargs, to avoid breaking existing code.

Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
@mergify mergify bot added the ci/build label Nov 18, 2024
@lk-chen lk-chen marked this pull request as draft November 18, 2024 05:55
mypy is not smart enough to validate kwargs

Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
@lk-chen lk-chen marked this pull request as ready for review November 18, 2024 06:00
mypy is not smart enough to validate kwargs

Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
@lk-chen
Copy link
Contributor Author

lk-chen commented Nov 18, 2024

Please fix the lint errors.

Done. Could you help me remove the accidentally-added reviewers? Those were added when I tried to fix DCO

Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Copy link
Collaborator

@comaniac comaniac left a comment

Choose a reason for hiding this comment

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

LGTM. The reviewers were added automatically due to code owners so it's fine.

Also cc @ywang96 @mgoin

@DarkLight1337 DarkLight1337 merged commit c7dec92 into vllm-project:main Nov 18, 2024
50 checks passed
coolkp pushed a commit to coolkp/vllm that referenced this pull request Nov 20, 2024
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
KuntaiDu pushed a commit to KuntaiDu/vllm that referenced this pull request Nov 20, 2024
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
mfournioux pushed a commit to mfournioux/vllm that referenced this pull request Nov 20, 2024
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: Maxime Fournioux <55544262+mfournioux@users.noreply.github.com>
rickyyx pushed a commit to rickyyx/vllm that referenced this pull request Nov 20, 2024
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: rickyx <rickyx@anyscale.com>
tlrmchlsmth pushed a commit to neuralmagic/vllm that referenced this pull request Nov 23, 2024
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com>
prashantgupta24 pushed a commit to opendatahub-io/vllm that referenced this pull request Dec 3, 2024
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
sleepwalker2017 pushed a commit to sleepwalker2017/vllm that referenced this pull request Dec 13, 2024
Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
ci/build 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.