SpecOffload: Unlocking Latent GPU Capacity for LLM Inference on Resource-Constrained Devices

Xiangwen Zhuge, Xu Shen, Zeyu Wang, Fan Dang, Xuan Ding +4 more
5/15/2025
cs.LG

Official code: MobiSense/SpecOffload-public (30 stars, MIT, last commit 2026-02-03).

Abstract

Efficient LLM inference on resource-constrained devices presents significant challenges in compute and memory utilization. Due to limited GPU memory, existing systems offload model weights to CPU memory, incurring substantial I/O overhead between the CPU and GPU. This leads to two major inefficiencies: (1) GPU cores are underutilized, often remaining idle while waiting for data to be loaded; and (2) GPU memory has low impact on performance, as reducing its capacity has minimal effect on overall throughput.In this paper, we propose SpecOffload, a high-throughput inference engine that embeds speculative decoding into offloading. Our key idea is to unlock latent GPU resources for storing and executing a draft model used for speculative decoding, thus accelerating inference at near-zero additional cost. To support this, we carefully orchestrate the interleaved execution of target and draft models in speculative decoding within the offloading pipeline, and propose a planner to manage tensor placement and select optimal parameters. Compared to the best baseline, SpecOffload improves GPU core utilization by 4.49x and boosts inference throughput by 2.54x. Our code is available at https://github.com/MobiSense/SpecOffload-public .

View on arXivView PDF

Code Implementations(1)

MIT
302C, C++May 15, 20258 months agoMIT

Similar Papers

Cite this paper

@article{zhuge2025specoffload,
  title  = {SpecOffload: Unlocking Latent GPU Capacity for LLM Inference on Resource-Constrained Devices},
  author = {Xiangwen Zhuge and Xu Shen and Zeyu Wang and Fan Dang and Xuan Ding and Danyang Li and Yahui Han and Tianxiang Hao and Zheng Yang},
  year   = {2025},
  eprint = {2505.10259},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.10259v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.10259.svg)](https://codeofpaper.com/paper/2505.10259)

Discussion