Skip to content

Commit 05862a0

Browse files
dusenberrymwcopybara-github
authored andcommitted
Internal
PiperOrigin-RevId: 483746508
1 parent 8768fb9 commit 05862a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

baselines/jft/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get_config(
114114

115115
config.lr = ml_collections.ConfigDict()
116116
config.lr.base = 0.1
117-
config.lr.warmup_steps = 1
117+
config.lr.warmup_steps = 1 if total_steps > 1 else 0
118118
config.lr.decay_type = 'linear'
119119
config.lr.linear_end = 1e-3
120120

0 commit comments

Comments
 (0)