AI & ML
DMuon: Scaling Matrix Optimizers in Data Parallelism with Topology-Aware Matrix Ownership and Communication
arXiv cs.DC0 views
arXiv:2611.07084v1 Announce Type: new Abstract: Matrix optimizers such as Muon update whole weight matrices, which conflicts with the element- or row-wise sharding of data-parallel runtimes. Once parameters are sharded as well, matrix optimizers incur extra communication or repeated computation. We present DMuon, a matrix-granular optimizer runtime for PyTorch FSDP (ZeRO-2/3) and HSDP. DMuon assigns each matrix a unique owner, which performs the Newton--Schulz (NS) iteration and optimizer update on the full matrix, and balances the load across owners by computational cost. On HSDP, ownership is global across replicas, so the cluster keeps a single copy of gradients and optimizer state, and updated parameters are published across nodes as soon as they are ready, overlapping subsequent computation. This layout makes every collective sparse and variable in length, so DMuon schedules these collectives as their data becomes ready and routes them along the cluster's two-level network. On up to 256 H100 GPUs, across three dense LLMs and two VLA models, DMuon matches or exceeds the training throughput of PyTorch FSDP2 with AdamW, reaching 1.05$\times$ that of FSDP2 with AdamW at the median on 256 GPUs. The optimized parameter gathering and gradient reduction absorb the extra communication and computation a matrix optimizer requires. Against a gather-then-replicate Muon baseline, DMuon's throughput is 2.1 times as high at the median.
Source:https://arxiv.org/abs/2611.07084PreviousHow Far Can Chord-Symbol Time-Series Adaptation Carry Genre Identity? Capabilities and Boundaries in Multi-Genre Chord-Symbol ModelingNextNUMA-Torch: Compiler-Driven NUMA-Aware LLM Prefill on Multi-Socket CPUs
Related posts
The G7 Couldn't Agree on How to Test the World's Most Powerful AI
0dev.to Machine Learning
Building Maintainable Industrial AI Systems: Why Knowledge Context Matters
0dev.to Machine Learning

Recrui8: One Platform for the Entire Job Search
0dev.to Career
Virtual Assistant Tasks: What Can a Virtual Assistant Do?
0dev.to Career
Resume vs CV: Which One Do Employers Actually Want?
0dev.to Career
Switching H-1B Employers: Is Day One the Filing Date or the Approval Date?
0dev.to Career