Skip to content

fix(vllm_omni): default collective group communication backend - #505

Merged
gaow0007 merged 1 commit into
alibaba:mainfrom
lrq619:lrq/fix_comm_backend
Oct 13, 2026
Merged

gaow0007 merged 1 commit into
alibaba:mainfrom
lrq619:lrq/fix_comm_backend

Conversation

@lrq619

@lrq619 lrq619 commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

修复 actor_train(FSDP2)与 actor_infer(vllm_omni)的 device_mapping 不完全相同时,权重同步通信组初始化卡住的问题。该场景需要通过 broadcast 同步权重,但原先 VllmOmniStrategy.setup_collective_group 未补齐 backend 参数,导致推理 worker 无法加入通信组,训练端一直阻塞在 rendezvous。
本次将该方法改为显式签名,增加 backend=None 默认值;未指定 backend 时使用 current_platform.communication_backend,并以关键字参数向模型转发全部六个参数。保留原有 hasattr 判断,worker extension 和调用方无需修改。

@CLAassistant

CLAassistant commented Oct 4, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@lrq619
lrq619 force-pushed the lrq/fix_comm_backend branch from bf0a5ac to 6955ddc Compare October 12, 2026 07:12
VllmOmniStrategy.setup_collective_group forwarded *args/**kwargs to the
model unchanged, so callers that omitted `backend` got no backend and
the group could be created with the wrong communication backend on
non-CUDA platforms.

Make the signature explicit and fall back to
current_platform.communication_backend when `backend` is None,
matching the behavior of the other inference strategies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lrq619
lrq619 force-pushed the lrq/fix_comm_backend branch from 6955ddc to 77a5b9f Compare October 12, 2026 13:28
@gaow0007
gaow0007 merged commit d96d0cc into alibaba:main Oct 13, 2026
4 checks passed
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