Skip to content

Commit d0dc44c

Browse files
committed
add div by 4
1 parent e91cbda commit d0dc44c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

open_diloco/train_fsdp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ def get_lr_outer(optimizer, config: Config):
224224
lambda_lr = partial(
225225
_get_lr_outer,
226226
num_warmup_steps=config.warmup_steps,
227-
num_training_steps=config.total_steps,
227+
# num_training_steps=config.total_steps,
228+
num_training_steps=config.total_steps / 4,
228229
)
229230
return LambdaLR(optimizer, lambda_lr, -1)
230231

0 commit comments

Comments
 (0)