Chapter 074 / 5
Optimization & 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)Implement the function/class skeleton in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.