TL;DR
Modern GPUs are hitting physical silicon limits, leading chipmakers to stitch smaller "chiplets" together into a single logical GPU—creating steep speed penalties whenever one chiplet has to fetch data stored on another. CHoRD solves this traffic jam for AI inference by jointly coordinating where data lives and how tasks are scheduled across the entire neural network, rather than optimizing them separately. The result is an up to 3.1× speedup in simulation and up to 1.41× on real multi-GPU hardware, without touching a single line of user source code.
What Problem Does This Paper Address?
For years, making a faster GPU meant building a bigger piece of silicon. Today, we’ve hit the physical limits of monolithic chip manufacturing. The industry's solution (seen in architectures like AMD’s MI300) is chiplets: wiring multiple smaller GPU dies together inside one package so they act like a single giant GPU.
However, chiplets introduce a classic NUMA (Non-Uniform Memory Access) headache. When a compute unit reads memory located on its own chiplet, it’s fast. When it reaches across on-package links to another chiplet’s memory, latency spikes and interconnects congest.
Unlike CPUs, GPUs run thousands of threads in lockstep, making reactive runtime fixes like migrating threads or memory pages prohibitively expensive. Worse, Deep Neural Network (DNN) inference executes a predictable sequence of operations (kernels) over the exact same weights and buffers repeatedly—meaning bad placement causes NUMA penalties to snowball. Existing tools either schedule compute or place data in isolation, or only look at one kernel at a time, missing the big picture.
Methods
Enter CHoRD (Chiplet-Hierarchy-oriented Residency and Dispatch), a compiler-assisted framework that treats execution scheduling and memory placement as a single, whole-program puzzle. Because DNN inference graphs and tensor sizes are static and predictable, CHoRD can plan ahead in two stages:
- Program Reconstruction: Without requiring source-code changes, CHoRD analyzes compiled GPU kernels (via intermediate representation) to figure out directional memory access patterns, and parses the host CPU code (via its abstract syntax tree) to map out the exact kernel launch sequence and data dependencies (who reads/writes what, and when).
- CHoRD Planning: Armed with this whole-program view, CHoRD maps kernels to chiplets to maximize active hardware. It offers two modes:
- CHoRD-static: Uses static analysis and an Integer Linear Program (ILP) to map kernels, split up small underutilized kernels, and place data pages to minimize remote fetches—ideal when pre-execution profiling isn't allowed.
- CHoRD-profiled: Runs a single, lightweight "neutral" pass to measure actual hardware occupancy, kernel latency, and page-level memory traffic. Using this ground truth, it safely overlaps independent kernels on idle compute units, breaks up low-parallelism kernels (like LayerNorm) so they utilize more of the chiplet, and groups 4KB data pages onto the specific chiplets that need them most.
Datasets
Because CHoRD optimizes system-level execution rather than model accuracy, the authors evaluate it on DNN inference workloads rather than training datasets:
- Simulation Suite: Nine compact CNN and Transformer workloads (
lenet,resnet,gpt-mini,switch-tiny,t5-small,bert-tiny,mamba-tiny,performer, andtinyllama) run on cycle-accurate 4-chiplet and 8-chiplet MGPUSim substrates. - Real-System Pretrained Suite: In addition to the nine models above, they evaluate five larger, publicly released pretrained models (~15M–29M parameters)—
BERT-Small,Doge-20M-MoE,PicoLM-GPT2,T5-Efficient-Tiny, andTinyStories-LLaMA—on a 4×AMD Instinct MI210 multi-GPU prototype approximating a 4-chiplet GPU.
Specific input datasets (e.g., ImageNet or specific text corpora) are not discussed in the paper, as inference execution structure depends on tensor shapes rather than input values.
Key Insights and Ideas
- Data locality alone hits a ceiling: Even if data is placed intelligently (like the placement-only baseline, CLAP), naive round-robin task scheduling scatters workgroups across chiplets anyway, ruining locality and leaving compute units idle. Placement only works when aligned with the execution schedule.
- Sometimes more memory traffic is faster: Counterintuitively,
CHoRD-profiledoccasionally incurs slightly higher remote memory accesses thanCHoRD-static. Yet it finishes faster overall because profile-guided kernel overlapping and better compute unit (CU) utilization more than make up for a few extra cross-chiplet fetches. - Fixing "skinny" kernels matters as much as big matrix multiplies: A kernel-level breakdown of
gpt-minirevealed that decomposing low-parallelismLayerNormkernels boosted active compute units from 4 to 64, combining with massive remote-access drops in feed-forward layers (FF1/FF2) to account for 77% of total latency savings. - Scaling chiplets widens the gap: Moving from 4 to 8 chiplets increases CHoRD's advantage, proving that joint coordination becomes more critical as chiplet counts grow.
Key Results
- Cycle-Level Simulation (MGPUSim):
- On 4 chiplets,
CHoRD-staticandCHoRD-profiledachieve 2.57× and 2.94× geometric-mean speedups over Round-Robin (RR), and 1.46× and 1.66× over the placement-only CLAP baseline. - On 8 chiplets, speedups climb to 2.69× (static) and 3.10× (profiled) over RR.
CHoRD-profiledimproves average compute unit utilization by 68.3% (4-chiplet) and 64.7% (8-chiplet) over CLAP, while dropping instruction-weighted Cycles Per Instruction (CPI) from 1.00 (RR) down to 0.32.- Real-System Prototype (4×AMD MI210):
- Across the original nine workloads,
CHoRD-staticandCHoRD-profiledachieve 1.29× and 1.41× critical-path speedups over RR (and 1.17× / 1.27× over CLAP), also outperforming prior GPU locality frameworks LADM and MCM-GPU. - Across the five larger pretrained models, speedups hold steady at 1.17× (static) and 1.35× (profiled) over RR.
Limitations and Future Work
- Hardware & Simulation Constraints: Because commercial GPUs do not yet expose configurable low-level chiplet controls to researchers, the team relied on CPU-based cycle-level simulation (which restricted benchmark sizes to compact models) and a 4×MI210 multi-GPU server as a functional proxy rather than a true single-package multi-chip-module GPU.
- Static vs. Profiled Quirks: On a few small workloads,
CHoRD-static's mathematical ILP formulation actually beatCHoRD-profiled's heuristic page-group placement, though profiled mode wins on average. - Future research directions are not explicitly discussed in the main text.
Summary updated