Files
tinygrad/examples
kevvz e2873a3a41 [bounty] Muon optim (#11414)
* newton schulz

* add muon + move newton schulz to tensor

* compact newton schulz

* better tests

* cleanup

* add comments for muon

* cleanup

* add export with tests

* match muon optim with test optim

* cleanup

* unsed import

* correct comment

* whitespace

* move export

* muon test fix

* match reference impl + tests

* remove export by moving muon device

* add credit

* cleanup

* remove print

* spacing

* spacing

* comma

* cleanup

* removal

* fix tests + optim momentum

* consistent is not/ not

* more consistency

* fix test

* cleanup

* fix the nones

* remove comment

* cast

* comment

* comment

* muon teeny test

* muon flag beautiful mnist

* set steps

* steps as hyperparam

* match default test steps

* name

* large cleanup

* dont care about steps

* nesterov false default

* match each other impl

* steps

* switch nest

* swap defaults

* update docstring

* add no nesterov test

* ban fuse_optim

* prints

* classical momentum

* alternative condition

* recon

* pre + post wd

* false default

* detach

* signature changes

* context

* swap order

* big cleanup

* 0 step instead

* parity

* remove fuse

* remove fused

* better paper

* assert message

* correct shape check + eps

* multidim

* add eps

* cleanup

* correct assert message

* lint

* better tests

* naming

* ns_steps,ns_params

* update docstring

* docstring

* match sgd and muon together

* sandwich

* add back fused

* parity

---------

Co-authored-by: George Hotz <72895+geohot@users.noreply.github.com>
2025-08-13 14:27:55 -04:00
..
2025-06-08 08:42:22 -07:00
2025-06-08 08:42:22 -07:00
2023-03-11 16:28:10 -08:00
2025-02-20 18:03:09 -05:00
2024-09-24 10:08:04 +08:00
2024-11-12 22:11:40 -05:00
2025-06-07 11:32:03 -04:00
2025-06-08 08:42:22 -07:00
2024-07-03 09:06:01 -07:00
2025-02-26 13:22:08 -05:00
2025-08-10 20:33:22 -04:00
2024-07-02 21:39:01 -04:00
2025-06-08 08:42:22 -07:00
2025-06-05 17:17:42 -07:00
2024-05-22 20:43:21 -04:00
2023-11-28 17:36:55 -08:00
2025-07-11 12:34:00 -04:00