Skip to content

Conversation

@MengqingCao
Copy link
Collaborator

What this PR does / why we need it?

Add max_num_tokens_across_dp to AscendMetadata to fix dp

This pr fixes the bug introduced by #1229, which add an arg max_num_tokens_across_dp when dp_size > 1.

Does this PR introduce any user-facing change?

How was this patch tested?

@MengqingCao
Copy link
Collaborator Author

Not sure why CI time out now, try to increase timeout to fix

p.s. the same test sucessed in v0.9.1 already
https://github.com/vllm-project/vllm-ascend/actions/runs/15729294008/job/44327332939?pr=1277#step:10:370

@Yikun Yikun mentioned this pull request Jun 20, 2025
29 tasks
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jun 20, 2025
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added merge-conflicts and removed merge-conflicts documentation Improvements or additions to documentation labels Jun 23, 2025
@codecov
Copy link

codecov bot commented Jun 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 27.37%. Comparing base (c30ddb8) to head (25e3494).
⚠️ Report is 544 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1273      +/-   ##
==========================================
- Coverage   27.39%   27.37%   -0.03%     
==========================================
  Files          56       56              
  Lines        6191     6185       -6     
==========================================
- Hits         1696     1693       -3     
+ Misses       4495     4492       -3     
Flag Coverage Δ
unittests 27.37% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MengqingCao
Copy link
Collaborator Author

MengqingCao commented Jun 24, 2025

@wangxiyuan plz help merge this and then #1277 , thanks!

@wangxiyuan wangxiyuan merged commit 52317f9 into vllm-project:main Jun 25, 2025
25 checks passed
@Yikun Yikun added this to the v0.9.1 milestone Jun 26, 2025
@Yikun Yikun changed the title [DP] Tiny fix of dp and update example [DP] Add max_num_tokens_across_dp to AscendMetadata to fix dp and update example Jun 27, 2025
weijinqian0 pushed a commit to weijinqian0/vllm-ascend that referenced this pull request Jun 30, 2025
### What this PR does / why we need it?
Add `max_num_tokens_across_dp` to AscendMetadata to fix dp

This pr fixes the bug introduced by
vllm-project#1229, which add an arg
`max_num_tokens_across_dp` when dp_size > 1.

Signed-off-by: MengqingCao <[email protected]>
@MengqingCao MengqingCao deleted the dp branch July 8, 2025 02:11
chopper0126 pushed a commit to chopper0126/vllm-ascend that referenced this pull request Oct 16, 2025
### What this PR does / why we need it?
Add `max_num_tokens_across_dp` to AscendMetadata to fix dp

This pr fixes the bug introduced by
vllm-project#1229, which add an arg
`max_num_tokens_across_dp` when dp_size > 1.

Signed-off-by: MengqingCao <[email protected]>
Angazenn pushed a commit to Angazenn/vllm-ascend that referenced this pull request Oct 21, 2025
### What this PR does / why we need it?
Add `max_num_tokens_across_dp` to AscendMetadata to fix dp

This pr fixes the bug introduced by
vllm-project#1229, which add an arg
`max_num_tokens_across_dp` when dp_size > 1.

Signed-off-by: MengqingCao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants