Beyond the Trial-and-Error Loop: Hybrid Projection and Automated Tuning for Distributed Training
Anshu RainaPeyman RazaghiYuankai ChenCheng YaoYao FuVidushi GoyalDevang PatelWen XieZhenyu GuEmad Barsoum
Anshu Raina
Peyman Razaghi
Yuankai Chen
Cheng Yao
Yao Fu
Vidushi Goyal
Devang Patel
Wen Xie
Zhenyu Gu
Emad Barsoum
+10
Primus Projection replaces costly multi-node trial and error in distributed LLM training configuration with a hybrid projection engine coupled to an automated tuning agent. The engine microbenchmarks compute kernels and in-scope communication on as few as one GPU, then uses a sub-node downscale-measure-upscale workflow to analytically restore out-of-scope collectives, FSDP overlap, and the full pipeline schedule at the multi-node target; a pure simulation mode runs entirely on CPU. The Primus Tuning Agent treats this engine as a seconds-per-candidate scoring oracle, combining a deterministic seed planner that sweeps single axes with an LLM investigation loop proposing cross-axis combinations, pre-filtered analytically for memory feasibility. Projections stay within ~10% of measured multi-node throughput on Llama 3.1 and Mixtral 8x22B across two GPU generations, with 4.7% error on DeepSeek V3 671B at 1,024 GPUs, and the agent finds a Mixtral 8x22B configuration giving +27% throughput over the published 4-node BF16 reference in under 30 minutes of single-node exploration.

arXiv ·
· October 14, 2026