Reproduce “AsyncHZP: Hierarchical ZeRO Parallelism with Asynchronous Scheduling for Scalable LLM Training” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Huawei Bai, Yifan Huang, Wenqi Shi, Ansheng You, Feifan Shao, Tengfei Han, Minghui Yu

AsyncHZP introduces a hierarchical ZeRO parallelism combined with asynchronous scheduling for training large language models, achieving up to 25% higher Model FLOPs Utilization and 91.12% cluster linearity. This framework optimizes memory and communication while simplifying the distributed training process compared to complex multi-dimensional parallelism strategies.

Key insights

  • Adaptive hierarchical sharding significantly reduces communication overhead by allowing different model states to be sharded across optimally sized groups, leveraging high-speed intra-node interconnects.
  • Asynchronous scheduling effectively overlaps computation and communication, preventing pipeline stalls and accelerating memory release by managing all-gather and reduce-scatter operations in background threads.
  • The system's communication volume is invariant to context length, making it particularly efficient for training models with very long sequences.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.