计算机科学 > 分布式、并行与集群计算
[提交于 2026年11月1日]
标题:Layer-wise CPU-GPU Scheduling for LLM Inference on Memory-Limited Consumer GPUs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:As large language model inference environments expand toward consumer devices, it remains challenging to efficiently run models that exceed GPU memory capacity in single-GPU settings. The latency of transferring weights that do not fit in GPU memory accounts for about 98\% of inference time and remains a major obstacle. In this paper, we focus on the fact that during the decode phase, layer computation time on the CPU can be shorter than weight transfer time, presenting an opportunity to hide weight transfers by utilizing this computation time. Therefore, we propose a method to hide transfer latency by executing certain layers on the CPU during the decode phase while asynchronously transferring the next layer's weights to the GPU in the background of that computation. To realize this scheduling, we formulate the placement of CPU/GPU computation and weight transfers as a latency minimization problem and perform optimization using an approximation model with relaxed temporal constraints. Evaluation results confirm that in a consumer desktop environment, our approach accelerates OPT-30B inference by 3.5x compared to HuggingFace Accelerate and 6.3x compared to DeepSpeed Zero-Inference.
提交历史
来自:Naoto Sugiura[v1] 2026年11月1日 星期日 00:56:45 UTC (194 KB)