oa::Muon
GPU momentum + Newton-Schulz5 orthogonalization optimizer. https://github.com/KellerJordan/Muon + https://arxiv.org/abs/2502.16982 Rank-2 parameters use the orthogonalized Muon update. Other ranks use the optimizer's fused GPU momentum update. Muon owns exactly the parameter set supplied by the caller and never delegates to another optimizer.
Inheritance
public Optimizer
Public Methods
Constructor & Destructor Documentation
No public source comment is attached to this declaration.
Parameters
inParamPtrsoa::Span<Parameter *>—
inLroa::F32Default: 1e-3f
inBetaoa::F32Default: 0.95f
inWeightDecayoa::F32Default: 0.1f
inEpsoa::F32Default: 1e-7f
inNs5Iterationsoa::I32Default: 5
No public source comment is attached to this declaration.
Parameters
inParamPtrsoa::Vector<Parameter *> &—
inLroa::F32Default: 1e-3f
inBetaoa::F32Default: 0.95f
inWeightDecayoa::F32Default: 0.1f
inEpsoa::F32Default: 1e-7f
inNs5Iterationsoa::I32Default: 5
No public source comment is attached to this declaration.
Parameters
inParamsoa::Vector<Parameter> &—
inLroa::F32Default: 1e-3f
inBetaoa::F32Default: 0.95f
inWeightDecayoa::F32Default: 0.1f
inEpsoa::F32Default: 1e-7f
inNs5Iterationsoa::I32Default: 5
Public Method Documentation
No public source comment is attached to this declaration.
Parameters
inEngineEngine &—
inFileconst ModelFile &—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Parameters
inEngineEngine &—
outFileModelFile &—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
voidThe declared return value.
No public source comment is attached to this declaration.
Parameters
inFileconst ModelFile &—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
voidThe declared return value.