Skip to content

Commit f5f5df1

Browse files
committed
add div by 4
1 parent 8049367 commit f5f5df1

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
@@ -223,7 +223,8 @@ def get_lr_outer(optimizer, config: Config):
223223
lambda_lr = partial(
224224
_get_lr_outer,
225225
num_warmup_steps=config.warmup_steps,
226-
num_training_steps=config.total_steps,
226+
# num_training_steps=config.total_steps,
227+
num_training_steps=config.total_steps / 4,
227228
)
228229
return LambdaLR(optimizer, lambda_lr, -1)
229230

0 commit comments

Comments
 (0)