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

DevFeed: [Scheduling Data to Compute: Hierarchical Data Pipelining for LLM Training on AMD GPUs](<https://devfeed.tech/articles/scheduling-data-to-compute-hierarchical-data-pipelining-for-llm-training-on-amd-gpus-118373.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05751>)

Author: Gengyu Rao, Ghadeer Ahmed H Alabandi, Su Ann Chong, Thomas Huber, Kailash Gogineni, Subhajit Dutta Chowdhury, Saleel Kudchadker, Suchita Pati, Zirui Zhang, Zhen Huang, Yanyuan Qin, Xiaoming Peng, Lihu

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [distributed-training](<https://devfeed.tech/topics/distributed-training.md>), [rdma](<https://devfeed.tech/topics/rdma.md>), [dma](<https://devfeed.tech/topics/dma.md>)

Tags: [amd](<https://devfeed.tech/tags/amd.md>), [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [communication](<https://devfeed.tech/tags/communication.md>), [compute](<https://devfeed.tech/tags/compute.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ar](<https://devfeed.tech/tags/cs-ar.md>), [data](<https://devfeed.tech/tags/data.md>), [data-movement](<https://devfeed.tech/tags/data-movement.md>), [dma](<https://devfeed.tech/tags/dma.md>), [features](<https://devfeed.tech/tags/features.md>), [first](<https://devfeed.tech/tags/first.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [hbm](<https://devfeed.tech/tags/hbm.md>), [high-bandwidth-memory](<https://devfeed.tech/tags/high-bandwidth-memory.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-training](<https://devfeed.tech/tags/llm-training.md>), [pipelining](<https://devfeed.tech/tags/pipelining.md>), [scheduling](<https://devfeed.tech/tags/scheduling.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

The paper targets GPU compute stalls caused by tensors arriving late from memory or other GPUs. It pipelines explicit data movement to keep compute units supplied: Tensor Data Mover (TDM) transfers tensors from HBM to on-chip memory, transpose-load instructions arrange data in the needed layout during loading, and SDMA/RDMA move data between GPUs over scale-up/scale-out networks. The abstract reports average kernel speedups of 1.88x for TDM and 1.19x for transpose-load, plus 1.16x and 1.33x for SDMA and RDMA when computation overlaps communication. The implementations are integrated into open-source AMD GPU training software.

## Source excerpt

arXiv:2611.05751v1 Announce Type: cross 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. 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