mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-05 02:51:59 +00:00
[Feature] auto-cast optimizers to distributed version (#5746)
* auto-cast optimizers to distributed * fix galore casting * logger --------- Co-authored-by: Edenzzzz <wtan45@wisc.edu>
This commit is contained in:
@@ -34,9 +34,6 @@ class DistributedCAME(DistributedOptim):
|
||||
betas=(0.9, 0.999, 0.9999),
|
||||
weight_decay=0.0,
|
||||
):
|
||||
assert lr > 0.0
|
||||
assert all([0.0 <= beta <= 1.0 for beta in betas])
|
||||
|
||||
defaults = dict(
|
||||
lr=lr,
|
||||
eps=eps,
|
||||
|
Reference in New Issue
Block a user