Skip to content

Commit cd21e80

Browse files
committed
Fiddling with Kron (PSGD)
1 parent d81da93 commit cd21e80

File tree

2 files changed

+415
-0
lines changed

2 files changed

+415
-0
lines changed

timm/optim/_optim_factory.py

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from .adamw import AdamWLegacy
2424
from .adan import Adan
2525
from .adopt import Adopt
26+
from .kron import Kron
2627
from .lamb import Lamb
2728
from .laprop import LaProp
2829
from .lars import Lars
@@ -693,6 +694,12 @@ def _register_other_optimizers(registry: OptimizerRegistry) -> None:
693694
has_betas=True,
694695
second_order=True,
695696
),
697+
OptimInfo(
698+
name='kron',
699+
opt_class=Kron,
700+
description='',
701+
has_momentum=True,
702+
),
696703
OptimInfo(
697704
name='laprop',
698705
opt_class=LaProp,

0 commit comments

Comments
 (0)