arXiv · 2610.18009
A Distributed View from a Single GPU: RankLens for Distributed Training
Abstract
Modern distributed training is costly to debug, tune, and analyze because faithful analysis often requires repeated target-scale executions. We observe that many analysis tasks depend on the original distributed execution path, but not on full all-rank execution. We present RankLens, a single-rank emulation system that runs one survivor rank on a single GPU while preserving the target job's distributed semantics. The survivor rank executes the original training program and performs real local computation. At communication boundaries, the system replaces real multi-rank communication with task-dependent semantics, selectively restoring recorded communication results and recorded or estimated completion timing while preserving the asynchronous dependencies required for analysis. This enables replay from real executions and supports analysis, debugging, and tuning with existing debuggers and performance analysis tools. We evaluate the system on DeepSpeed and Megatron-LM across 8-64-GPU target configurations. RankLens achieves 100% training-tensor communication-structure match, keeps emulation timing error below 5%, supports local anomaly reproduction and execution analysis, and reduces the resource requirement of these analyses from target-scale clusters to a single GPU.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Yufan Wang, Yihao Zhang, Yi Liu. 2026-10-13. A Distributed View from a Single GPU: RankLens for Distributed Training. https://arxiv.org/abs/2610.18009
Cite the original work for its findings. Save a collection to share your selection of sources.