-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[2/N] Proper handling of placeholders in merged multi-modal processor #10485
[2/N] Proper handling of placeholders in merged multi-modal processor #10485
Conversation
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
👋 Hi! Thank you for contributing to the vLLM project. 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:
🚀 |
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
1d13132
to
8c493d1
Compare
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
8c493d1
to
a85c542
Compare
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
9a47b6e
to
f910463
Compare
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
f910463
to
4861d54
Compare
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.
Left two comments - PTAL!
9eb2ba6
to
dc619cc
Compare
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
3481896
to
4b7d00a
Compare
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
1122c3f
to
bdb38fb
Compare
bdb38fb
to
a29daa4
Compare
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 and I left a few final comments!
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
…ject#10485) Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk> Signed-off-by: Maxime Fournioux <55544262+mfournioux@users.noreply.github.com>
…ject#10485) Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Part of #10114
This PR updates #10044 to handle transformers v4.47 processors (huggingface/transformers#30962), which directly contain placeholder tokens in the processed
input_ids
.I have also updated our code to properly replace targets with placeholders inside the processed prompt, and added unit tests for it.