Chiosa
AI & Agents

Small GPU runs can guide large training searches

Beyond the Trial-and-Error Loop: Hybrid Projection and Automated Tuning for Distributed Training · arXiv:2610.19423

3 min
Updated

In plain words

Training a large language model across many GPUs involves choices about how to divide work and memory. Trying each choice on the full cluster can take hours and still fail.

Primus Projection estimates how a setup will perform at scale using smaller GPU runs or a CPU simulation. Its Tuning Agent uses those estimates to search for promising settings. In the reported AMD GPU sweeps, projected throughput stayed within about 10% of measured throughput.

The research

When a large training run can take hours and still fail for lack of memory, how can teams choose settings without testing every configuration on the full cluster? The paper asks whether measurements from a smaller run can help identify memory-legal, high-throughput settings at the target scale.

Primus Projection estimates memory and target-scale throughput from smaller GPU runs, so a tuning agent can screen and rank training configurations.

To test whether smaller runs can guide choices at larger scales, the authors compared Primus projections with hardware measurements.

They benchmarked on 1, 2, 4 or 8 GPUs on one host, then restored the target analytically; across the tested AMD Llama and Mixtral sweeps, projected throughput differed from measurements by no more than about 10%.

Because the tuning agent selects configurations by projected scores, the authors also compared rankings with measured rankings. Rankings matched exactly for Mixtral and Qwen3 and closely for GPT-OSS-120B; the agent chose the measured-best candidate in each sweep. This supports using projections to guide search in the tested cases.

The evidence supports projection-guided search on the tested models and AMD systems. It does not establish accuracy on other hardware, model network contention, or show whether FP8 recipes converge.

What the evidence shows

  • Why configuration search is hard

    Distributed language model training requires choices about parallelism, batch size, recomputation, memory and communication. These choices interact, so trying configurations one by one on a large cluster can take hours, end in an out-of-memory failure or produce less throughput than another setup.

    Primus Projection addresses the question of whether smaller runs can help teams identify promising configurations for a larger target.

  • How Primus narrows the search

    Primus Projection is a hybrid method that estimates memory use and target-scale throughput. It measures layer computation and communication that fits within the benchmark GPUs, then models communication outside that scope and simulates the target pipeline schedule.

    Its companion Primus Tuning Agent uses the estimates to screen and rank candidate settings, rejecting those projected to exceed a memory cap before GPU benchmarking.

  • Does projection track measurements?

    The authors compared projected throughput with hardware measurements for dense Llama 3.1 and MoE Mixtral configurations. They benchmarked on 1, 2, 4 or 8 GPUs on one host and projected to larger targets.

    Across the reported AMD sweeps, projections differed by no more than about 10% from measurements. Since fewer benchmark GPUs require more communication to be modeled, the sweep also checks the method's restoration step.

  • Do rankings support selection?

    The agent chooses configurations using projected scores, so the ordering of candidates matters. In paired hardware sweeps, projected rankings exactly matched measured rankings for Mixtral and Qwen3 and were close for GPT-OSS-120B.

    The agent selected the measured-best configuration in each sweep. This supports the projection's use for selection in those tested sweeps, even though individual estimates need not be exact.

  • What happened at larger scales?

    At larger targets, the authors compared projections with hardware measurements for two agent-selected recipes: DeepSeek V3 at 1,024 GPUs and Qwen3 at 256 GPUs. The errors were 4.7% and 1.9%, respectively.

    In a separate Mixtral case study, an agent-selected recipe exceeded a published BF16 reference in measured throughput, though that comparison also changed precision and other settings.

Deep

Next paperHome automation can use different models for different calls