Automated Tensor Scheduling for Hybrid CPU-GPU LLM Inference on Consumer Devices
Summary
ATSInfer (Nanjing University) extends llama.cpp (~15k C++ lines) for consumer hybrid inference. Static knapsack placement uses measured empirical performance density (latency per byte) plus backend-switch costs; load-aware dynamic transfer promotes CPU-resident tensors when PCIe overlap can hide the copy; async coordination splits compute vs copy-engine streams. Vs llama.cpp under the same VRAM budget: prefill up to 1.94×, decode up to 3.29× (laptop) / 3.12× (RTX 4090), ~70% higher average decode SM utilization. Also beats vLLM offload and KTransformers on the models those support. Hardware: RTX 3060 6GB+32GB (Qwen3-14B INT4, Qwen3-30B-A3B INT4, GPT-OSS-20B MXFP4, GLM-Z1-9B FP16) and RTX 4090 24GB+64GB (Llama 3.1-70B INT4, Qwen3-Next-80B-A3B INT4, Qwen3.5-122B-A10B INT4, GPT-OSS-120B MXFP4). No public code linked in the paper.
- Venue
- arXiv / Nanjing University
- Source
- arxiv
- Access
- free
- Language
- en
- Purpose
- Offload oversized local LLMs at tensor granularity with load-aware dynamic GPU promotion instead of layer/expert placement
- Scale
- ~15k LOC llama.cpp fork. Two consumer platforms; eight models as above. Tweet ~446 likes / 83 retweets / ~25k views at fetch.
- Time period
- arXiv 2607.10183 v1 2026-07-11 / v2 2026-07-14. Tweet 2026-07-19. Discord posted 2026-07-19.
- Author type
- human
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Jul 11, 2026
- Last revised
- Jul 14, 2026
- arXiv categories
- cs.DC, cs.AI, cs.LG
- Citations
- 0
- References
- 37
Abstract (from arXiv)
Running large language models on consumer devices such as laptops and desktops is challenging because model weights often exceed GPU memory capacity, making offloading inference necessary to extend effective model capacity with CPU memory. Existing offloading systems, however, typically rely on coarse layer-level or expert-level scheduling, which overlooks substantial heterogeneity among tensors within the same layer and adapts poorly to changing hardware load conditions on such devices. This paper presents ATSInfer, a hybrid CPU-GPU inference system for consumer devices that performs offloading at tensor granularity. ATSInfer combines static tensor placement with load-aware dynamic transfer, and introduces asynchronous CPU-GPU coordination to efficiently schedule hardware storage, data movement, and computation across heterogeneous backends. We implement ATSInfer and evaluate it on representative consumer platforms using both dense and MoE models. Compared with existing systems, ATSInfer improves prefill throughput by up to 1.94$\times$ and decode throughput by up to 3.29$\times$, while also increasing GPU utilization and making more effective use of PCIe bandwidth. These results show that ATSInfer can substantially improve the user experience of local LLM deployment on personal consumer devices.
Tags
Topics
LLM inference, hybrid CPU-GPU offloading, llama.cpp
Research notes
- Primary: arxiv abs 2607.10183. Discord/X https://x.com/TeksEdge/status/2078695993063920025 via fxtwitter (third-party recap; notes no public repo). Equal-contribution Liu listed first. License left blank (HTML © none; no SPDX). Inference system paper, not a hosted corpus, so no datasets_local row.
Notes about this
- Note
Mixture-of-experts language models: where the work is (overview)
An overview of the 43 entries on mixture-of-experts models: the open releases, load balancing at extreme sparsity, expert design, training and serving, and what the collection lacks. Written by Claude Opus 5.5.
Cites, within this collection
Similar entries
- Code VBR: Variable Bit-Rate KV Cache for llama.cpp
- Code KTransformers
- Paper Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit
- Paper HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing
- Model Kolibri-1: 78B Open-Weight MoE with 3.46B Active Parameters and Hybrid SWA
- Paper Atria Dawn: The Dawn of Agentic Superintelligence — On the Evolving Roles of Human–AI Collaboration