Scheduling Data to Compute: Hierarchical Data Pipelining for LLM Training on AMD GPUs

Gengyu Rao, Ghadeer Ahmed H Alabandi, Su Ann Chong, Thomas Huber, Kailash Gogineni +26 more
11/3/2026
cs.ARcs.AI

Official code: AMD-AGI/Primus (139 stars, Python, last commit 2026-11-05). 1 more implementation below.

Abstract

Large language models (LLM) have been the key focus of recent machine learning breakthroughs. As the model size grows exponentially, the computation needed for training is astronomical.

Show full abstract

A GPU can do a huge amount of arithmetic. However, the data its compute units need is not always available when they are ready. This data may still be in slow memory or on another GPU. While the chip waits, expensive compute sits idle, and at scale even a small drop in utilization translates into substantial cost. In this paper, we treat this waiting time as the primary bottleneck. We focus on hardware features designed for explicit data movement. These features load data from off-chip memory onto the chip, rearrange it into the layout the computation requires as it is loaded, and transfer it between GPUs. By orchestrating them, we keep a steady pipeline of data flowing to the compute units so that they remain busy. We present kernel and framework implementations that address this bottleneck using three key data-movement instructions and hardware features. The Tensor Data Mover (TDM) moves tensor data from high-bandwidth memory (HBM) into on-chip memory. Transpose-load instructions transpose tensor data into the layout that LLM computations require as it is loaded on-chip. Finally, System DMA (SDMA) and Remote DMA (RDMA) move data between GPUs over the scale-up and scale-out networks, respectively. Our results show that TDM and transpose-load provide on average 1.88x and 1.19x speedup at the kernel level, respectively. The SDMA and RDMA lead to on average 1.16x and 1.33x speedup for computation overlapped with communication. This is the first AMD LLM training system to utilize all the GPU data pipelining features. Our implementation has been integrated into open source framework and library for AMD GPUs. https://github.com/AMD-AGI/Primus-Turbo https://github.com/AMD-AGI/Primus

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
AMD-AGI/PrimusOfficial139Python–2026-11-05
AMD-AGI/Primus-TurboOfficial71Python–2026-11-05
AMD-AGI/PrimusOfficial100%

A flexible and high-performance training framework designed for large-scale foundation model training on AMD GPUs

13964Python, ShellFeb 24, 20253 weeks agoNOASSERTION
amd-gpudistributed-trainingtrainingtraining-at-scale

A high-performance acceleration library dedicated to large-scale model training on AMD GPUs

7132Python, CudaJun 3, 20253 weeks agoNOASSERTION
amd-gpudistributed-trainingtrainingtraining-at-scale

Similar Papers

Cite this paper

@article{rao2026scheduling,
  title  = {Scheduling Data to Compute: Hierarchical Data Pipelining for LLM Training on AMD GPUs},
  author = {Gengyu Rao and Ghadeer Ahmed H Alabandi and Su Ann Chong and Thomas Huber and Kailash Gogineni and Subhajit Dutta Chowdhury and Saleel Kudchadker and Suchita Pati and Zirui Zhang and Zhen Huang and Yanyuan Qin and Xiaoming Peng and Lihuan Zhang and Botao Hu and Wei Huang and Yang Bo and Wen Xie and Xiangyu Zhao and Ruibin Zhang and Xiaobo Chen and Vidushi Goyal and Anshu Raina and Claire Songhyun Lee and Jiakun Yan and Yao Fu and Nusrat Islam and Ravi Dwivedula and Jie Zhang and Maria Garzaran and Zhenyu Gu and Emad Barsoum},
  year   = {2026},
  eprint = {2611.05751},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.05751v1}
}

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

Discussion