Skip to content

Conversation

@zzhx1
Copy link
Contributor

@zzhx1 zzhx1 commented Nov 26, 2025

What this PR does / why we need it?

The previous implementation of the flashcomm2 communication domain did not consider pp(pipeline parallel), which caused problems when enabling pp and flashcomm2. This PR fixes this issue.

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 correctly fixes a bug in the flashcomm2 communication domain setup by incorporating pipeline parallelism (pp). The logic for calculating global ranks and forming communication groups has been updated to account for the pipeline parallel size. My review includes one suggestion to improve the readability and maintainability of the complex rank calculation logic, which I consider important for this critical part of the code.

@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:‌‌

  • A PR should do only one thing, smaller PRs enable faster reviews.
  • Every PR should include unit tests and end-to-end tests ‌to ensure it works and is not broken by other future PRs.
  • Write the commit message by fulfilling the PR description to help reviewer and future developers understand.

If CI fails, you can run linting and testing checks locally according Contributing and Testing.

@zzhx1
Copy link
Contributor Author

zzhx1 commented Nov 27, 2025

@ApsarasX Please check this PR and help to merge.

@zzhx1
Copy link
Contributor Author

zzhx1 commented Nov 27, 2025

@wangxiyuan Please help merge this pr, this is a bugfix for the flashcomm2 communication domain.

@ApsarasX ApsarasX merged commit 2b82320 into vllm-project:main Dec 1, 2025
22 checks passed
ChenCangtao pushed a commit to ChenCangtao/vllm-ascend that referenced this pull request Dec 3, 2025
…n domains. (vllm-project#4458)

### What this PR does / why we need it?
The previous implementation of the flashcomm2 communication domain did
not consider pp(pipeline parallel), which caused problems when enabling
pp and flashcomm2. This PR fixes this issue.


- vLLM version: v0.11.2
- vLLM main: https://github.com/vllm-project/vllm/commit/v0.11.2

---------

Signed-off-by: zzhx1 <[email protected]>
Co-authored-by: Levi-JQ <[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.

2 participants