maxtext icon indicating copy to clipboard operation
maxtext copied to clipboard

Fresh runs can save a checkpoint at step 0 and tensorboard writes unconditionally

Open janmarxen opened this issue 7 months ago • 1 comments

Bug report

MaxText appears to perform checkpoints even when setting flags to disable it. In my case, the run used load_parameters_path, enable_checkpointing=True (to enable initial parameter loading), checkpoint_period=1000000 save_checkpoint_on_completion=False, and still attempted checkpoint-related work in a 50 step training run.

The same issue applies to enable_tensorboard, which is ignored by write_setup_info_to_tensorboard.

@giusgal and @janmarxen

Logs/Output

No response

Environment Information

No response

Additional Context

No response

janmarxen avatar May 01 '26 14:05 janmarxen

If you would like to skip saving checkpoints entirely, you can specify enable_checkpointing=False. It doesn't affect using load_parameters_path to load a checkpoint. So that should address the first concern.

The tensorboard concern should have been addressed by https://github.com/AI-Hypercomputer/maxtext/pull/3806.

xuefgu avatar May 04 '26 23:05 xuefgu