HyperParallel-Mpipe:用于在超级节点集群上优化多模态大语言模型训练的可组合代数系统
HyperParallel-Mpipe: A Composable Algebra System for Optimizing MLLM Training over Supernode Clusters
AI总结:
分析多模态大语言模型(MLLM)训练痛点,引入Mpipe,用调度代数从紧凑调度规范推导运行时行为,得出多模态感知异构并行调度transpose,在Ascend 910C NPU集群上加速显著。
摘要:
现代人工智能应用已扩展到多模态场景,多模态大语言模型(MLLM)对研究和行业至关重要。但与传统仅解码器的LLM训练相比,大规模MLLM训练的MFU较低。我们分析了MLLM训练中的关键痛点,并引入了Mpipe,它使用调度代数从紧凑的调度规范中得出具体的运行时行为。从这个代数中,Mpipe得出了transpose,这是一种多模态感知的异构并行调度,它将模态编码器计算重新映射到其他空闲的流水线区域。在Ascend 910C NPU集群上,Mpipe在小规模设置中实现了2.70倍的加速,在512卡大规模设置中实现了1.21倍的加速。
英文摘要:
Modern AI applications have expanded beyond text-only interaction into a wide range of multimodal scenarios, making multimodal large language models (MLLMs) crucial for both research and industry. However, compared with traditional decoder-only LLM training, large-scale MLLM training often shows much lower MFU. We analyze the key pain points in MLLM training and introduce Mpipe, which uses a schedule algebra to derive concrete runtime behavior from a compact schedule specification. From this algebra, Mpipe derives transpose, a multimodal-aware heterogeneous parallel schedule that remaps modality-encoder computation into otherwise idle pipeline regions. On Ascend 910C NPU clusters, Mpipe achieves 2.70x speedup in a small-scale setting and 1.21x speedup in a 512-card large-scale setting.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。