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

[CI][UT]enable multimodal ut #158

Merged
merged 4 commits into from
Feb 27, 2025
Merged

Conversation

zouyida2002
Copy link
Contributor

@zouyida2002 zouyida2002 commented Feb 25, 2025

enable multimodal ut

Signed-off-by: zouyida <zouyida@huawei.com>
@shen-shanshan
Copy link
Contributor

Please add [CI][UT] label before your PR title.

@zouyida2002 zouyida2002 changed the title enable multimodal ut [CI][UT]enable multimodal ut Feb 25, 2025
@wangxiyuan
Copy link
Collaborator

need a rebase to let CI happy

Signed-off-by: zouyida <zouyida@huawei.com>
Signed-off-by: zouyida <zouyida@huawei.com>
vision_end_token_id=hf_config.vision_end_token_id,
spatial_merge_size=hf_config.vision_config.
spatial_merge_size,
second_per_grid_ts=None,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we directly pass None as second_per_grid_ts?

Copy link
Contributor

Choose a reason for hiding this comment

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

We'd better get second_per_grid_ts from mm_kwargs at line 714, Outside the for loop. like this:

            second_per_grid_ts = mm_kwargs.get("second_per_grid_ts", None)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since this is a new interface changed by vllm, we will not use it for now. But we want to reserve it for future use to facilitate calling.

Copy link
Collaborator

Choose a reason for hiding this comment

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

If this change is uesless currently, just keep as it is. Otherwise, we'd better make it work as expect.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have changed my interface because I think it will be used soon. If there is something inappropriate, please let me know.

Signed-off-by: zouyida <zouyida@huawei.com>
@MengqingCao
Copy link
Contributor

LGTM

@wangxiyuan wangxiyuan merged commit 94cd66b into vllm-project:main Feb 27, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants