-
Notifications
You must be signed in to change notification settings - Fork 37
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
Conversation
Signed-off-by: zouyida <zouyida@huawei.com>
Please add [CI][UT] label before your PR title. |
need a rebase to let CI happy |
Signed-off-by: zouyida <zouyida@huawei.com>
Signed-off-by: zouyida <zouyida@huawei.com>
vllm_ascend/model_runner.py
Outdated
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, |
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.
Why we directly pass None
as second_per_grid_ts
?
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.
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)
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.
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.
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.
If this change is uesless currently, just keep as it is. Otherwise, we'd better make it work as expect.
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.
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>
LGTM |
enable multimodal ut