Skip to content

Commit d12e2a6

Browse files
Enable to autotune maxtext extra_flags and maxtext_flags.
PiperOrigin-RevId: 837627814
1 parent 60028c4 commit d12e2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MaxText/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def train_loop(config, recorder, state=None):
412412
max_utils.print_compiled_memory_stats(compiled_stats)
413413

414414
start_step = get_first_step(state) # this is the start_step for training
415-
prof = profiler.Profiler(config, offset_step=start_step)
415+
prof = profiler.Profiler(config, offset_step=start_step, )
416416
metric_logger = MetricLogger(config=config, learning_rate_schedule=learning_rate_schedule)
417417

418418
# Write train config params, num model params, and XLA flags to tensorboard

0 commit comments

Comments
 (0)