Repository navigation
[Bugfix][ROCm][Disagg] Fold MoRIIO WRITE notify port with local DP rank (follow-up to #51681) - #53579
Closed
avininjamay8 wants to merge 1 commit into
Closed
avininjamay8 wants to merge 1 commit into
avininjamay8 wants to merge 1 commit into
Conversation
avininjamay8
requested review from
ApostaC,
NickLucche,
ivanium,
orozery and
xuechendi
as code owners
August 24, 2026 13:22
…nk (follow-up to vllm-project#51681) Carry remote_dp_size_local on RemoteAllocInfo so write_done uses decode_dp_rank % dp_size_local after the worker stash is removed. Depends-on: vllm-project#51681 Signed-off-by: avininjamay8 <Avinash.Paul@amd.com>
avininjamay8
force-pushed
the
fix/wideep-dp16-mori-multipod-write-routing
branch
from
September 24, 2026 13:47
c814796 to
591fb8a
Compare
Contributor
Author
|
This is already accounted for Vincent in his new commit to the PR : #51681. |
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.
Purpose
Follow-up to #51681. That PR moves MoRIIO WRITE routing onto each
WriteTaskso concurrent requests do not race when picking the decode pod IP. After it lands, the worker no longer stashesremote_dp_size_local, but_finalize_if_completestill read it from the worker to fold thewrite_donenotify port withdecode_dp_rank % dp_size_local. With DP16 anddp_size_local=8, decode ranks 8–15 on the headless child pod need the per-pod local rank for the port offset (e.g. rank 10 → port for rank 2); otherwisewrite_donemisses the notify socket and decode hangs.This change carries
remote_dp_size_localonRemoteAllocInfoand uses it in_finalize_if_completeso the notify port stays correct after #51681 removes the worker stash.Changes
vllm/distributed/kv_transfer/kv_connector/v1/moriio/moriio_common.pyandmoriio_engine.pyonly:remote_dp_size_localtoRemoteAllocInfo._dp_localintorequest_infoin_execute_write_task.request_info.remote_dp_size_localin_finalize_if_completeinstead ofworker.remote_dp_size_local.No WriteTask routing, engine, scheduler, or harness changes (those are in #51681).
Test Plan
MoRIIO 2P2D wide-EP (DP16, WRITE) disaggregated serving,
ROUTER_TYPE=proxy,RUN_AFTER_HEALTH=accuracy, imagevllm/vllm-openai-rocm:nightly.MiniMax-M3-MXFP8 — 2P2D wide-EP DP16
GSM8K evaluation
lm_eval --model local-completions \ --tasks gsm8k \ --model_args "model=/data/models2/MiniMax-M3-MXFP8,base_url=http://127.0.0.1:10001/v1/completions,num_concurrent=64,max_retries=3,tokenized_requests=False,trust_remote_code=True,timeout=7200" \ --limit 250Test Result
MiniMax-M3-MXFP8, MoRIIO 2P2D wide-EP DP16 (proxy). GSM8K flexible-extract, threshold 0.80.
write_donenotify port wrong for headless ranks 8–15)