Chapter 074 / 5
Optimization and Training Dynamics
Implement the Muon step (momentum + Newton–Schulz orthogonalization) for 2D params, falli
Hard
Implement the Muon step (momentum + Newton–Schulz orthogonalization) for 2D params, falling back to AdamW for 1D params. [Nebius]
Target interface
newton_schulz(G, steps=5, eps=1e-07)Complete the starter code in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.