arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.17574cs.DCcs.LG
收藏

通过GPU内部调度和资源共享实现解耦的多阶段MLLM推理

Enabling Disaggregated Multi-Stage MLLM Inference via GPU-Internal Scheduling and Resource Sharing

Wuhan University(武汉大学)

Lingxiao Zhao, Haoran Zhou, Yuezhi Che, Dazhao Cheng

AI总结:

通过GPU内部调度和资源共享实现解耦的多阶段MLLM推理,提升吞吐量和延迟性能

摘要:

多模态大语言模型(MLLMs)通过三阶段流程扩展大语言模型(LLM)的视觉理解能力:多模态预处理、视觉编码和LLM推理。尽管这些阶段增强了能力,但它们引入了显著的系统瓶颈。首先,多模态预处理——尤其是视频解码——往往主导时间到第一个令牌(TTFT)。大多数系统依赖于CPU基于的解码,这严重限制了吞吐量,而现有的基于GPU的方法优先考虑吞吐量导向的并行性,却无法满足MLLM推理的延迟敏感要求。其次,视觉编码器是一个独立的、计算密集型阶段,生成视觉嵌入,无法与LLM预填或解码进行联合批处理。这种异构性迫使阶段间阻塞并增加令牌生成延迟。即使部署在不同的GPU上,这些阶段也未能充分利用可用的计算和内存资源,降低了整体利用率并限制了系统吞吐量。为了解决这些挑战,我们提出了FlashCodec和UnifiedServe两种互补的设计,共同优化端到端的MLLM流水线。FlashCodec通过协作多GPU视频解码加速多模态预处理阶段,减少解码延迟同时保持高吞吐量。UnifiedServe通过逻辑解耦其执行来消除阶段间阻塞,但物理上共享GPU资源以最大化GPU系统利用率。通过精心协调各阶段的执行并最小化干扰,UnifiedServe共同构成一个端到端优化的堆栈,可以处理多达3.0倍的请求或执行1.5倍更严格的SLOs,同时相比最先进的系统实现高达4.4倍的吞吐量。

英文摘要:

Multimodal large language models (MLLMs) extend LLMs with visual understanding through a three-stage pipeline: multimodal preprocessing, vision encoding, and LLM inference. While these stages enhance capability, they introduce significant system bottlenecks. First, multimodal preprocessing-especially video decoding-often dominates Time-to-First-Token (TTFT). Most systems rely on CPU-based decoding, which severely limits throughput, while existing GPU-based approaches prioritize throughput-oriented parallelism and fail to meet the latency-sensitive requirements of MLLM inference. Second, the vision encoder is a standalone, compute-intensive stage that produces visual embeddings and cannot be co-batched with LLM prefill or decoding. This heterogeneity forces inter-stage blocking and increases token-generation latency. Even when deployed on separate GPUs, these stages underutilize available compute and memory resources, reducing overall utilization and constraining system throughput. To address these challenges, we present FlashCodec and UnifiedServe, two complementary designs that jointly optimize the end-to-end MLLM pipeline. FlashCodec accelerates the multimodal preprocessing stage through collaborative multi-GPU video decoding, reducing decoding latency while preserving high throughput. UnifiedServe optimizes the vision-to-text and inference stages using a logically decoupled their execution to eliminate inter-stage blocking, yet physically sharing GPU resources to maximize GPU system utilization. By carefully orchestrating execution across stages and minimizing interference, UnifiedServe Together, our proposed framework forms an end-to-end optimized stack that can serve up to 3.0$\times$ more requests or enforce 1.5$\times$ tighter SLOs, while achieving up to 4.4$\times$ higher throughput compared to state-of-the-art systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑