arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00937cs.DCcs.AI
收藏

ModServe:面向可扩展多模态模型服务的模态与阶段感知资源解耦

ModServe: Modality- and Stage-Aware Resource Disaggregation for Scalable Multimodal Model Serving

Microsoft Azure Research(微软Azure研究);Microsoft Research India(微软印度研究);University of Virginia(弗吉尼亚大学);Microsoft M365 Research(微软M365研究)

Haoran Qiu, Anish Biswas, Zihan Zhao, Jayashree Mohan, Alind Khare, Esha Choukse, Íñigo Goiri, Zeyu Zhang, Haiying Shen, Chetan Bansal, Ramachandran Ramjee, Rodrigo Fonseca

AI总结:

针对大型多模态模型生产部署的效率难题,提出模块化服务系统ModServe,通过阶段解耦、模态感知调度与自适应扩缩容,在128-GPU集群上实现3.3-5.5倍吞吐量提升与25-41.3%成本节约。

摘要:

大型多模态模型(LMMs)在文本之外的图像、视频和音频理解方面展现出卓越能力。然而,由于其架构复杂且多阶段推理流水线存在异构特性,在生产环境中高效部署LMMs面临重大挑战。我们针对两种主流LMM架构——仅解码器架构和交叉注意力架构,结合6个代表性开源模型开展了首次全面系统分析,揭示了关键的系统设计启示。我们还深入分析了生产环境中的LMM推理轨迹,发现了独特的工作负载特征,包括可变的重尾请求分布和突发流量模式。基于这些洞察,我们提出了模块化LMM服务系统ModServe,它将各阶段解耦以实现独立优化和自适应扩缩容。ModServe可动态重配置各阶段,通过模态感知调度和自动扩缩容应对突发流量,在满足尾延迟SLO(服务水平目标)的同时最小化成本。在搭载128块GPU的集群上使用生产轨迹测试时,ModServe在满足SLO的前提下实现了3.3-5.5倍的吞吐量提升,进而节省25-41.3%的成本。

英文摘要:

Large multimodal models (LMMs) demonstrate impressive capabilities in understanding images, videos, and audio beyond text. However, efficiently serving LMMs in production environments poses significant challenges due to their complex architectures and heterogeneous characteristics across their multi-stage inference pipelines. We present the first comprehensive systems analysis of two prominent LMM architectures, decoder-only and cross-attention, across six representative open-source models, revealing key systems design implications. We also present an in-depth analysis of production LMM inference traces, uncovering unique workload characteristics, including variable, heavy-tailed request distributions and bursty traffic patterns. Based on these insights, we propose ModServe, a modular LMM serving system that decouples stages for independent optimization and adaptive scaling. ModServe dynamically reconfigures stages and handles bursty traffic with modality-aware scheduling and autoscaling to meet tail latency SLOs while minimizing costs. ModServe achieves 3.3-5.5x higher throughput (leading to 25-41.3% cost saving) while meeting SLOs on a 128-GPU cluster with production traces.

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

↑