Skip to content

Conversation

@windsonsea
Copy link
Contributor

@windsonsea windsonsea commented Sep 19, 2025

Fix these warnings:

WARNING - griffe: vllm/multimodal/inputs.py:571: No type or annotation for parameter 'slices'
WARNING - griffe: vllm/multimodal/inputs.py:571: Parameter 'slices' does not appear in the function signature
WARNING - griffe: vllm/multimodal/utils.py:398: No type or annotation for parameter 'mm_inputs'
WARNING - griffe: vllm/multimodal/utils.py:398: Parameter 'mm_inputs' does not appear in the function signature

Related to issue #25020

Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses several griffe warnings by correcting docstrings in vllm/multimodal/inputs.py and vllm/multimodal/utils.py. The changes accurately align parameter names and add missing parameter documentation to match the function signatures. The fixes are correct and resolve the reported issues. The code looks good to merge.

@mergify mergify bot added the multi-modality Related to multi-modality (#4194) label Sep 19, 2025
@vllm-bot vllm-bot merged commit 6c8a3c0 into vllm-project:main Sep 19, 2025
17 checks passed
ywang96 pushed a commit to ywang96/vllm that referenced this pull request Sep 19, 2025
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
debroy-rh pushed a commit to debroy-rh/vllm that referenced this pull request Sep 19, 2025
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
FeiDaLI pushed a commit to FeiDaLI/vllm that referenced this pull request Sep 25, 2025
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
charlifu pushed a commit to ROCm/vllm that referenced this pull request Sep 25, 2025
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
Signed-off-by: charlifu <charlifu@amd.com>
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 10, 2025
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
Signed-off-by: xuebwang-amd <xuebwang@amd.com>
choprahetarth pushed a commit to Tandemn-Labs/vllm that referenced this pull request Oct 11, 2025
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
@windsonsea windsonsea deleted the fix571 branch October 15, 2025 01:01
lywa1998 pushed a commit to lywa1998/vllm that referenced this pull request Oct 20, 2025
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 24, 2025
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
Signed-off-by: xuebwang-amd <xuebwang@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

multi-modality Related to multi-modality (#4194)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants