Skip to content

Conversation

ganyi1996ppo
Copy link
Collaborator

@ganyi1996ppo ganyi1996ppo commented Jun 10, 2025

What this PR does / why we need it?

The former PR #736 select the valid token inside the input_ids and position_ids breaks the necessary padding required by torchair. In this PR, we pending the pad logic after the multimodal part.

Does this PR introduce any user-facing change?

How was this patch tested?

Signed-off-by: ganyi <pleaplusone.gy@gmail.com>
@ganyi1996ppo
Copy link
Collaborator Author

This PR also add the padding support for mtp + torchair case

@ganyi1996ppo ganyi1996ppo marked this pull request as ready for review June 10, 2025 12:28
@wangxiyuan wangxiyuan merged commit 291c216 into vllm-project:main Jun 10, 2025
17 checks passed
@wangxiyuan
Copy link
Collaborator

Let's add the test later

wangxiyuan added a commit to wangxiyuan/vllm-ascend that referenced this pull request Jun 12, 2025
wangxiyuan added a commit to wangxiyuan/vllm-ascend that referenced this pull request Jun 12, 2025
wangxiyuan added a commit to wangxiyuan/vllm-ascend that referenced this pull request Jun 13, 2025
…ogic (vllm-project#1160)"

This reverts commit 291c216.

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
shiyuan680 pushed a commit to raindaywhu/vllm-ascend that referenced this pull request Jul 7, 2025
…lm-project#1160)

The former PR vllm-project#736
select the valid token inside the `input_ids` and `position_ids` breaks
the necessary padding required by torchair. In this PR, we pending the
pad logic after the multimodal part.

Signed-off-by: ganyi <pleaplusone.gy@gmail.com>
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.

2 participants