Skip to content

HyperInfraRSI: Evidence-Guided Optimization of Distributed Model Training

Weicheng Xue, Xiansong Huang, Renjie Lv, Xizheng Pang, Xiangyi Li, Luobin Liu, Xuetong Zhang, Gangqiang Han, Yanwei Liu, Chongming Liu, Li Yuan, Huihui Zhou, Teng Su, Yonghong Tian

cs.DC

Abstract

HyperInfraRSI is an agent-driven performance optimization system for distributed model training. A planning agent uses traces from the HyperParallel training framework to propose changes to code or configuration. A trial controller checks numerical behavior, verifies which implementation ran and times complete optimizer updates without profiling. At fixed work, each confirmed gain establishes the reference for the next trial. Across workloads, recursive self-improvement (RSI) revises the procedures and executable checks that guide subsequent trials. On Qwen3.5-9B, successive changes to gated delta-rule kernels, activation checkpointing and normalization raised model FLOPs utilization (MFU) from 6.41% to 36.44% at fixed work on eight dies, a 5.69-fold throughput gain. In an archived 256-die campaign, the full 763B DeepSeek V4.1 Flash model started at 3.50% MFU with all auxiliary prediction anchors. Sampling 1,024 anchors per sequence established a new workload. Its first screen measured 11.11% MFU (updates 4-8). On matched windows (updates 9-30), an independently developed configuration raised MFU from 22.62% to 26.36%, crossing the campaign's 25% target with 16.55% higher supervised throughput per die. On Qwen2.5-VL-3B, host timing exposed a stalled input pipeline, and repairing its prefetch path increased supervised throughput by 8.04% at fixed work. Comparing two repository versions also showed what transferred across tasks. A fixed suite of model bring-up checks went from 2 of 8 to 8 of 8 correct verdicts.

Create a lesson

Metadata

Categories
cs.DC, cs.PF
Comments
Technical report, 15 pages, 13 figures, 5 tables