arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.19481cs.OS
收藏

C2CServe: 利用NVLink-C2C实现弹性无服务器LLM服务的MIG

C2CServe: Leveraging NVLink-C2C for Elastic Serverless LLM Serving on MIG

University of Virginia(弗吉尼亚大学);Northwestern University(西北大学);HKUST(香港科技大学)

Shutian Luo, Ali Zafar Sadiq, Rui Yang, Mingye Zhang, Haiying Shen, Wei Wang, Yue Cheng

AI总结:

本文提出C2CServe,一种基于MIG的无服务器LLM服务系统,利用NVLink-C2C实现模型在请求粒度上的切换,减少冷启动延迟并保持高响应质量。

摘要:

现代LLM服务正在变得更加无服务器化:大型模型目录、长尾调用和多租户需求。现有GPU服务系统面临权衡:专用GPU分配在稀疏流量下浪费稀缺HBM,而GPU时间共享将模型初始化和权重加载置于冷启动路径。空间GPU共享如多实例GPU(MIG)提供隔离和计费,但每个切片的HBM太少无法容纳现代LLM权重。我们发现高带宽CPU-GPU互连,如NVIDIA GH200和GB200超级芯片中的NVLink-C2C(C2C),改变了内存限制:模型权重可以驻留在CPU内存中,并在需要时流式传输到MIG实例,将模型驻留从稀缺的HBM转移到丰富的主机内存。利用这一能力,我们提出了C2CServe,一种请求粒度的无服务器LLM服务系统,允许MIG实例在请求之间切换模型而无需重新加载权重到HBM。C2CServe引入了HybridGEMM,一种异构内存感知的GEMM内核,通过一个调节旋钮平衡HBM和C2C带宽,以适应MIG分区的数据访问模式。为了缓解共享C2C的竞争,C2CServe进一步使用了分层调度器,通过在线反馈控制协调模型放置、输入分块和内核选择。在GH200上,C2CServe相比最先进的无服务器LLM服务系统,将密集模型的冷启动延迟减少了高达7.1倍,MoE模型减少了4.6倍,同时在C2C竞争下保持超过95%的TTFT和TPOT达成率。

英文摘要:

Modern LLM serving is increasingly serverless in shape: large model catalogs, long-tail invocations, and multi-tenant demand. Existing GPU serving systems face a tradeoff: dedicated-GPU allocation wastes scarce HBM under sparse traffic, while GPU time sharing places model initialization and weight loading on the cold-start path. Spatial GPU sharing such as multi-instance GPU (MIG) provides isolation and accounting, but each slice has too little HBM for modern LLM weights. We observe that high-bandwidth CPU--GPU interconnects, such as NVLink-C2C (C2C) in NVIDIA GH200 and GB200 Superchips, change the memory constraint: model weights can reside in CPU memory and be streamed on demand to MIG instances, shifting model residency from scarce HBM to abundant host memory. Leveraging this capability, we present C2CServe, a request-granularity serverless LLM serving system that allows MIG instances to switch models across requests without reloading weights into HBM. C2CServe introduces HybridGEMM, a heterogeneous-memory-aware GEMM kernel that adapts data access patterns to balance HBM and C2C bandwidth across MIG partitions using a single tuning knob. To mitigate shared-C2C contention, C2CServe further uses a hierarchical scheduler that coordinates model placement, input chunking, and kernel selection with online feedback control. On GH200, C2CServe reduces cold-start latency by up to 7.1x for dense models and 4.6x for MoE models compared with state-of-the-art serverless LLM serving systems, while maintaining over 95\% TTFT and TPOT attainment under C2C contention.

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

↑