Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KellerJordan/Muon
/ functions
Functions
11 in github.com/KellerJordan/Muon
⨍
Functions
11
◇
Types & classes
4
↓ 4 callers
Function
muon_update
(grad, momentum, beta=0.95, ns_steps=5, nesterov=True)
muon.py:34
↓ 3 callers
Method
__init__
(self, params, lr=0.02, weight_decay=0, momentum=0.95)
muon.py:65
↓ 2 callers
Function
adam_update
(grad, buf1, buf2, step, betas, eps)
muon.py:130
↓ 1 callers
Function
zeropower_via_newtonschulz5
Newton-Schulz iteration to compute the zeroth power / orthogonalization of G. We opt to use a quintic iteration whose coefficients are select
muon.py:5
Method
__init__
(self, params, lr=0.02, weight_decay=0, momentum=0.95)
muon.py:103
Method
__init__
(self, param_groups)
muon.py:165
Method
__init__
(self, param_groups)
muon.py:232
Method
step
(self, closure=None)
muon.py:72
Method
step
(self, closure=None)
muon.py:108
Method
step
(self, closure=None)
muon.py:185
Method
step
(self, closure=None)
muon.py:251