Skip to content
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

[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 <[email protected]>
* add test for pixtral
* fix a typo

Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Woosuk Kwon <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: youkaichao <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Kunshang Ji <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Cyrus Leung <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
Signed-off-by: Linkun Chen <[email protected]>
… optional argument

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

Signed-off-by: Linkun Chen <[email protected]>
… optional argument

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

Signed-off-by: Linkun Chen <[email protected]>
… optional argument

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

Signed-off-by: Linkun Chen <[email protected]>
@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 <[email protected]>
@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 <[email protected]>
@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 <[email protected]>
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
KuntaiDu pushed a commit to KuntaiDu/vllm that referenced this pull request Nov 20, 2024
mfournioux pushed a commit to mfournioux/vllm that referenced this pull request Nov 20, 2024
rickyyx pushed a commit to rickyyx/vllm that referenced this pull request Nov 20, 2024
tlrmchlsmth pushed a commit to neuralmagic/vllm that referenced this pull request Nov 23, 2024
prashantgupta24 pushed a commit to opendatahub-io/vllm that referenced this pull request Dec 3, 2024
sleepwalker2017 pushed a commit to sleepwalker2017/vllm that referenced this pull request Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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.