RAPID-Serve: 一种资源高效且加速的GPU内 disaggregation技术
RAPID-Serve: Resource-efficient and Accelerated P/D Intra-GPU Disaggregation
AI总结:
RAPID-Serve通过在GPU上同时执行prefill和decode,实现资源高效和低延迟的LLM推理服务,提升吞吐量和资源利用率。
摘要:
目前,LLM推理服务系统中广泛采用的两种技术是混合批处理和 disaggregated服务。混合批处理将不同请求的prefill和decode令牌合并到同一个批次中,以提高资源利用率和吞吐量,但会增加每个令牌的延迟。相比之下,disaggregated服务将计算密集型的prefill阶段和带宽密集型的decode阶段解耦,以优化服务等级目标(SLOs),但会导致资源利用率低下和KV-cache传输开销。为了解决这些技术的局限性,我们提出了RAPID-Serve:一种在同一GPU上同时执行prefill和decode的技术,以满足延迟SLOs的同时保持高吞吐量和高效的资源利用率。此外,我们还提出了自适应资源管理,用于运行时计算资源分配,可选地利用CU遮罩(AMD Instinct™GPU上的细粒度计算单元分区功能)。RAPID-Serve在无约束条件下提供了高达4.1倍(平均1.7倍)的吞吐量提升,在SLO约束下提供了高达32倍(平均4.9倍)的吞吐量提升,显示出其作为一种有效的策略,尤其在资源受限的环境中。
英文摘要:
Two widely adopted techniques for LLM inference serving systems today are hybrid batching and disaggregated serving. A hybrid batch combines prefill and decode tokens of different requests in the same batch to improve resource utilization and throughput at the cost of increased latency per token. In contrast, disaggregated serving decouples compute-bound prefill and bandwidth-bound decode phases to optimize for service level objectives (SLOs) at the cost of resource under-utilization and KV-cache transfer overheads. To address the limitations of these techniques, we propose RAPID-Serve: a technique to concurrently execute prefill and decode on the same GPU(s) to meet latency SLOs while maintaining high throughput and efficient resource utilization. Furthermore, we propose Adaptive Resource Management for runtime compute resource allocation, optionally leveraging CU masking (a fine-grained Compute Unit partitioning feature on AMD Instinct\textsuperscript{TM} GPUs). RAPID-Serve provides up to 4.1x (average 1.7x) unconstrained throughput improvement and 32x and higher (average 4.9x) throughput improvement under SLO constraints, showing it as an effective strategy compared to the state-of-the-art approaches, particularly in resource-constrained environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。