Skip to content

bugfix: add ILU process group ctor for explicit local rank. (#1240)#1271

Open
liutongxuan wants to merge 2 commits intojd-opensource:mainfrom
liutongxuan:features/refactor4
Open

bugfix: add ILU process group ctor for explicit local rank. (#1240)#1271
liutongxuan wants to merge 2 commits intojd-opensource:mainfrom
liutongxuan:features/refactor4

Conversation

@liutongxuan
Copy link
Copy Markdown
Collaborator

Add the ILU ProcessGroup constructor overload that accepts local_rank and explicit group_ranks, so the DiT process-group creation path matches the expected signature and builds successfully.

…ource#1240)

Add the ILU ProcessGroup constructor overload that accepts local_rank and
explicit group_ranks, so the DiT process-group creation path matches the
expected signature and builds successfully.
Copy link
Copy Markdown
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 introduces a new constructor for the ProcessGroupImpl class in ilu_process_group.h to support more granular configuration of NCCL process groups, including group naming for compatibility with newer PyTorch versions and custom rank mappings. The review feedback identifies style guide violations concerning the use of auto for primitive types and the preference for emplace_back over push_back when populating vectors.

Comment thread xllm/core/framework/parallel_state/ilu_process_group.h Outdated
RobbieLeung
RobbieLeung previously approved these changes Apr 13, 2026
Copy link
Copy Markdown
Collaborator

@RobbieLeung RobbieLeung left a comment

Choose a reason for hiding this comment

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

LGTM

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.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.

3 participants