跳到正文
AI NEWS JOURNAL
arXiv cs.DCAI NEWS / JOURNAL

INC-MoE:用于专家并行混合专家推理的网络内集合体与专家计算的重叠机制

arXiv:2610.36339v1 发布类型:新 提要:在专家并行的混合专家模型(MoE)推理中,分发操作会将标记路由至承载其选定专家的加速器,而汇聚操作则将各专家的输出返回给对应标记的所有者。这两项操作均位于关键路径上,在多节点部署场景下可能主导整个MoE层的延迟。我们提出了INC-MoE,这是一种专家并行的MoE层,它将分发与汇聚任务卸载至网络交换机,并使这两种通信模式彼此以及与专家计算相互重叠。分发通过交换机侧的组播实现网内AllGather,而汇聚则通过交换机侧的归约实现网内ReduceScatter。两种通信模式均采用终端主机与交换机之间的消息语义。由于网内通信模式分别沿相反方向加载……

翻译暂未成功,当前显示原文。

Abstract:In expert-parallel mixture-of-experts (MoE) serving, dispatch moves tokens to the accelerators hosting their selected experts, and combine returns expert outputs to each token's owner. Both operations lie on the critical path and can dominate MoE layer latency in multi-node deployments. We present INC-MoE, an expert-parallel MoE layer that offloads dispatch and combine to the network switch and overlaps both collectives with each other and with expert computation. Dispatch uses in-network AllGather through switch-side multicast, while combine uses in-network ReduceScatter through switch-side reduction. Both collectives use message semantics between the end hosts and the switch. Because the in-network collectives load opposite directions of each link, executing them concurrently reduces bandwidth-bound communication time by $(N-2)/(2(N-1))$ relative to concurrent ring-based collectives: 33% for four ranks and 43% for eight.

INC-MoE partitions tokens into bands and processes them through a three-stage AllGather-feed-forward network (FFN)-ReduceScatter pipeline inside a single persistent kernel. At steady state, role-specialized thread blocks gather the next band, compute the current band, and reduce the previous band concurrently, overlapping both collectives with each other and with computation using device-side synchronization. INC-MoE integrates as a drop-in replacement for the MoE layer of vLLM. We evaluate it in an emulated four-node scale-out deployment with a dedicated accelerator emulating an in-network computing (INC) switch. On OLMoE prefill with four-way expert parallelism, INC-MoE reduces time to first token (TTFT) by up to 33% and increases throughput by up to 50% relative to vLLM's default collective path, while matching its outputs.

Submission history

Access Paper:

View PDF

HTML (experimental)

TeX Source

Additional Features

Audio Summary

Current browse context:

References & Citations

Google Scholar

Semantic Scholar

Bookmark

Institution

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

资料来源

arXiv cs.DC
← 继续阅读全部动态