LazyTrain: Limited-resource Allocation toward Zero-waste Yield Optimization in Large Language Model Training

Xiaojun Wu, Cehao Yang, Honghao Liu, Xueyuan Lin, Xuhui Jiang +3 more
8/12/2026
2 citations
cs.CL

Official code: DataArcTech/LazyTrain (3 stars, Python, Apache-2.0, last commit 2026-07-21).

Abstract

Training large language models on limited hardware is increasingly a scheduling problem across GPU compute, host memory, PCIe transfer, and storage bandwidth. Existing offloading systems reduce GPU residency, and MegaTrain shows that a CPU-master layer-streaming executor can train large models on a single GPU, but fixed checkpointing and placement heuristics still leave communication exposed on the critical path.

Show full abstract

We propose LazyTrain, an optimization layer over a layer-streaming executor. LazyTrain formulates checkpoint selection, activation placement, recomputation, and CPU-GPU-NVMe communication overlap as a mixed-integer scheduling problem, then executes the solved policy during training. It further couples 8-bit optimizer states with fast gradient clipping as a single Hybrid 8-bit operator: state compression reduces optimizer-state memory, while fast clipping counteracts the additional CPU-side update overhead. Across H800 experiments from Qwen2.5-3B to Qwen3.6-27B, LazyTrain improves sustained TFLOPS over matched baselines runs by approximately 1.24$\times$; RTX 3090 experiments likewise increase the maximum feasible batch size by one at each model scale. In the primary Qwen3.6-27B H800 MetaMathQA run, LazyTrain reaches 219.95 TFLOPS and 1361 tokens/s at batch size 72, peaks at 68.84\,GB of GPU memory, and obtains 95.42\% exact-match accuracy on the full evaluation split. The source code is available at https://github.com/DataArcTech/LazyTrain.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
30Python, ShellJul 8, 20264 months agoApache-2.0

Similar Papers

Cite this paper

@article{wu2026lazytrain,
  title  = {LazyTrain: Limited-resource Allocation toward Zero-waste Yield Optimization in Large Language Model Training},
  author = {Xiaojun Wu and Cehao Yang and Honghao Liu and Xueyuan Lin and Xuhui Jiang and Chengjin Xu and Jia Li and Jian Guo},
  year   = {2026},
  eprint = {2608.11919},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.11919v1}
}

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/2608.11919.svg)](https://codeofpaper.com/paper/2608.11919)

Discussion