[RL] Add rank-local IPC weight updates - #52497
Open
aoshen02 wants to merge 3 commits into
Open
Conversation
Co-authored-by: OpenAI Codex <noreply@openai.com> Signed-off-by: aoshen02 <aoshen@inferact.ai>
Contributor
|
Documentation preview: https://vllm--52497.org.readthedocs.build/en/52497/ |
Collaborator
Author
|
/ci run |
|
✅ Triggered Buildkite CI #84070 for commit |
Contributor
|
Hi @aoshen02, the pre-commit checks have failed. Please run: uv pip install pre-commit>=4.5.1
pre-commit install
pre-commit run --all-filesThen, commit the changes and push to your branch. For future commits, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
MoE training ranks may own different expert parameters from rollout workers. A weight-update request therefore needs different IPC metadata for each rollout worker rank without broadcasting every expert to every worker.
Design
update_info: a dictionary is shared; a list is indexed by worker rank;Noneskips that worker.GPUWorker, then call the existing transfer engine unchanged.This matches SGLang's rank-indexed payload model. It adds no backend capability flag, request type, transport engine branch, or new endpoint.
Validation
6 passed.Performance
With the same image, model, BF16 rollout, DeepEP topology, and two training
steps, baseline IPC updates averaged
8.753 sand rank-local updates averaged3.889 s:2.25xfaster and55.6%lower latency. Swapping baseline andcandidate between
h200-0andh200-1reproduced the result on both hosts.AI assistance
Developed with OpenAI Codex assistance; human review is required before merge.