MaxView

‹ 04_int8Case: 05_fp806_grad_accum ›

Metrics: main (59e0f1759) vs feat/nnx-trainstate-and-training-loop (77202a8e9)

Metricmain  59e0f1759feat/nnx-trainstate-and-training-loop  77202a8e9Diff (feat/nnx-trainstate-and-training-loop − main)
Parameters1.105 billion1.105 billion
Final loss6.16706.16700
TFLOP/s85.76085.866+0.106
Tok/s12926.712942.7+16.012
Avg s/step1.5991.613+0.014
Memory %1.441.440
JAX0.9.20.9.2

Diff = branch value − main value. Green = branch improved. Red = branch regressed.

main  ·  59e0f1759  ·  main_20260425_071456  ·  full log
XPK Start: Sat Apr 25 07:24:28 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-25 07:24:53.519576: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0425 07:24:53.726617 136390415513408 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 07:25:02.768357 136390415513408 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 07:25:02.770697 136390415513408 distributed.py:172] Connecting to JAX distributed service on mt-05-fp8-peg96-slice-job-0-0.mt-05-fp8-peg96:8482
I0425 07:25:04.453753 136390415513408 max_utils.py:284] Jax distributed system initialized!
I0425 07:25:10.762574 136390415513408 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 07:25:10.762679 136390415513408 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 07:25:10.762721 136390415513408 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0425 07:25:10.762756 136390415513408 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 07:25:11.456088 136390415513408 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 07:25:11.456395 136390415513408 checkpointing.py:677] Setting up checkpoint logger...
I0425 07:25:11.456452 136390415513408 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 07:25:11.456497 136390415513408 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 07:25:11.456837 136390415513408 base_pytree_checkpoint_handler.py:441] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7c0b26b3f650>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 07:25:14.349413 136390415513408 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0425 07:25:14.349650 136390415513408 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7bf7087c08c0>}, handler_registry=None
I0425 07:25:14.349889 136390415513408 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7bf7087c08c0>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0425 07:25:14.349937 136390415513408 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bf7087be630>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0425 07:25:14.349973 136390415513408 composite_checkpoint_handler.py:505] Initialized registry DefaultCheckpointHandlerRegistry({('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7bf7087c08c0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7bf7087c08c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bf7087be630>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bf7087be630>}).
I0425 07:25:14.350314 136390415513408 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 07:25:14.350384 136390415513408 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7bf708195940> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 07:25:15.091848 136390415513408 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints
I0425 07:25:15.097051 136390415513408 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7bf7087c2780>
I0425 07:25:15.097178 136390415513408 checkpointing.py:301] Checkpoint manager created!
I0425 07:25:16.181551 136390415513408 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 07:25:16.181676 136390415513408 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 07:25:16.568191 136390415513408 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 07:25:16.568288 136390415513408 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 07:25:16.584976 136390415513408 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 07:25:16.585039 136390415513408 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 07:25:16.638058 136390415513408 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 07:25:16.638156 136390415513408 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:25:16.654814 136390415513408 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 07:25:16.654877 136390415513408 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:25:16.671667 136390415513408 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 07:25:16.671730 136390415513408 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:25:16.696830 136390415513408 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0425 07:25:16.696899 136390415513408 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:25:16.749223 136390415513408 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 07:25:16.749303 136390415513408 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 07:25:17.182524 136390415513408 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 07:25:17.182638 136390415513408 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 07:25:19.117067 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117223 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117297 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117358 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117416 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117473 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117527 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117578 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117627 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117674 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117722 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117769 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117818 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117864 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117910 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.117955 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118000 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118045 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118091 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118155 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118201 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118244 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118293 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118336 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118380 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118422 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118465 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118509 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118553 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118596 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118638 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118682 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118725 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118774 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118816 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118845 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118873 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118899 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118926 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118953 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.118980 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.119006 136390415513408 maxtext_utils.py:1707]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 07:25:19.119058 136390415513408 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 07:25:19.119144 136390415513408 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 07:25:19.119186 136390415513408 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 07:25:19.119235 136390415513408 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 07:25:19.119287 136390415513408 maxtext_utils.py:1707]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 07:25:19.119320 136390415513408 maxtext_utils.py:1707]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 07:25:19.119366 136390415513408 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 07:25:19.119413 136390415513408 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0425 07:25:19.119448 136390415513408 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0425 07:25:19.119481 136390415513408 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 07:25:19.119525 136390415513408 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0425 07:25:19.119568 136390415513408 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0425 07:25:20.752288 136390415513408 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 07:25:20.752384 136390415513408 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 07:25:20.768080 136390415513408 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 07:25:20.768154 136390415513408 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 07:25:34.605504 136390415513408 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0425 07:25:34.606443 136390415513408 metric_logger.py:301] number parameters: 1.105 billion
I0425 07:25:49.899983 136390415513408 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0425 07:25:50.069348 136390415513408 checkpointing.py:776] Waited 0.16933631896972656 seconds for step 0 to finish before starting checkpointing.
I0425 07:25:50.071800 136390415513408 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 07:25:50.073707 136390415513408 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0425 07:25:50.075090 136390415513408 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints/0.
I0425 07:25:50.723269 136390415513408 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 07:25:50.724310 136390415513408 jax_array_handlers.py:360] Scheduling D2H of 81 prioritized jax.Array.
I0425 07:25:50.724373 136390415513408 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 07:25:51.134683 136390415513408 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.411533s
I0425 07:25:51.134854 136390415513408 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 3.675 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.4198460578918457 s) (per-host)
I0425 07:25:51.134907 136390415513408 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.419909s (batch_requests_ready=0.003619s, total_serialization_initiated=0.416219s, others=0.000072s)
I0425 07:25:51.135011 136390415513408 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.424046s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.424029)
I0425 07:25:51.135826 136390415513408 event_tracking.py:125] [process=6] [async] Finished blocking save in 1.06 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints/0.
I0425 07:25:51.136180 136260723144448 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:45:51.136140
I0425 07:25:51.139879 136390415513408 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 07:25:51.140120 136260665087744 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 07:25:51.140239 136390415513408 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101950.0717812, 'wait_for_prev_duration_secs': 6.246566772460938e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101950.0737474, 'checkpointer_blocking_duration_secs': 1.0625362396240234, 'get_old_steps_start_time': 1777101951.1363106, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1777101950.0699418, 'checkpoint_manager_blocking_duration_secs': 1.0702595710754395}
I0425 07:25:51.140352 136390415513408 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0425 07:25:51.140402 136390415513408 max_utils.py:750] 
Memstats: After params initialized:
I0425 07:25:51.140450 136390415513408 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_24(process=6,(0,6,0,0))
I0425 07:25:51.140489 136390415513408 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_25(process=6,(1,6,0,0))
I0425 07:25:51.140517 136390415513408 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_28(process=6,(0,7,0,0))
I0425 07:25:51.140543 136390415513408 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_29(process=6,(1,7,0,0))
I0425 07:25:51.454913 136390415513408 metric_logger.py:196] completed step: 0, seconds: 15.293, TFLOP/s/device: 0.888, Tokens/s/device: 133.914, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52776.805
I0425 07:25:51.727996 136390415513408 metric_logger.py:196] completed step: 1, seconds: 1.553, TFLOP/s/device: 8.750, Tokens/s/device: 1318.864, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52761.840
I0425 07:25:52.137902 136390415513408 metric_logger.py:196] completed step: 2, seconds: 0.116, TFLOP/s/device: 117.438, Tokens/s/device: 17701.563, total_weights: 65536, loss: 10.816, lm_loss: 10.816, perplexity: 49832.398
I0425 07:25:52.296509 136390415513408 metric_logger.py:196] completed step: 3, seconds: 0.410, TFLOP/s/device: 33.176, Tokens/s/device: 5000.659, total_weights: 65536, loss: 10.431, lm_loss: 10.431, perplexity: 33901.820
I0425 07:25:52.614904 136390415513408 metric_logger.py:196] completed step: 4, seconds: 0.165, TFLOP/s/device: 82.529, Tokens/s/device: 12439.715, total_weights: 65536, loss: 9.992, lm_loss: 9.992, perplexity: 21847.639
I0425 07:25:52.621479 136390415513408 metric_logger.py:196] completed step: 5, seconds: 0.159, TFLOP/s/device: 85.700, Tokens/s/device: 12917.631, total_weights: 65536, loss: 9.549, lm_loss: 9.549, perplexity: 14035.006
I0425 07:25:54.182582    2815 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 07:25:56.225918 136260706359040 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints/0/items/array_metadatas/process_6
I0425 07:26:11.245802 136260723144448 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 76.946 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 20.530755281448364 s) (per-host)
I0425 07:26:11.245925 136260723144448 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 20.109086s.
I0425 07:26:16.625491 136390415513408 metric_logger.py:196] completed step: 6, seconds: 0.319, TFLOP/s/device: 42.599, Tokens/s/device: 6421.009, total_weights: 65536, loss: 9.111, lm_loss: 9.111, perplexity: 9058.688
I0425 07:26:16.783863 136390415513408 metric_logger.py:196] completed step: 7, seconds: 23.847, TFLOP/s/device: 0.570, Tokens/s/device: 85.882, total_weights: 65536, loss: 8.685, lm_loss: 8.685, perplexity: 5914.720
I0425 07:26:16.942298 136390415513408 metric_logger.py:196] completed step: 8, seconds: 0.163, TFLOP/s/device: 83.138, Tokens/s/device: 12531.512, total_weights: 65536, loss: 8.281, lm_loss: 8.281, perplexity: 3950.010
I0425 07:26:16.947610 136390415513408 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0425 07:26:17.259315 136390415513408 checkpointing.py:776] Waited 0.31166744232177734 seconds for step 10 to finish before starting checkpointing.
I0425 07:26:17.261840 136390415513408 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 07:26:18.270532 136260723144448 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 27.133677s.
I0425 07:26:18.270800 136260665087744 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 07:26:18.270868 136260665087744 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 07:26:18.270924 136260665087744 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 07:26:18.272624 136260665087744 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 07:26:18.272781 136390415513408 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0425 07:26:18.272913 136390415513408 checkpoint_manager.py:1452] Waiting for previous save to complete took 1.011072 seconds. If this number is high, consider checkpointing less frequently.
I0425 07:26:18.275038 136390415513408 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 10
I0425 07:26:18.277140 136390415513408 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints/10.
I0425 07:26:18.559673 136390415513408 jax_array_handlers.py:360] Scheduling D2H of 81 prioritized jax.Array.
I0425 07:26:18.559770 136390415513408 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 07:26:18.612209 136390415513408 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.053529s
I0425 07:26:18.612378 136390415513408 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 25.885 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.059600114822387695 s) (per-host)
I0425 07:26:18.612428 136390415513408 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.059660s (batch_requests_ready=0.003022s, total_serialization_initiated=0.056570s, others=0.000068s)
I0425 07:26:18.612531 136390415513408 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.064102s (all_items=0.000015s, per_item={'items': '0.00001454'}, temp_paths=0.064088)
I0425 07:26:18.613256 136390415513408 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints/10.
I0425 07:26:18.613604 136260665087744 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:46:18.613567
I0425 07:26:18.615598 136390415513408 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 07:26:18.615838 136259615831808 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 07:26:18.615995 136390415513408 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101977.2618113, 'wait_for_prev_duration_secs': 1.0110721588134766, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101978.275079, 'checkpointer_blocking_duration_secs': 0.3386685848236084, 'get_old_steps_start_time': 1777101978.613771, 'get_old_steps_duration_secs': 3.361701965332031e-05, 'checkpoint_manager_blocking_start_time': 1777101977.2600794, 'checkpoint_manager_blocking_duration_secs': 1.355881690979004}
I0425 07:26:18.616124 136390415513408 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0425 07:26:18.616721 136390415513408 metric_logger.py:196] completed step: 9, seconds: 0.158, TFLOP/s/device: 85.888, Tokens/s/device: 12946.048, total_weights: 65536, loss: 7.908, lm_loss: 7.908, perplexity: 2720.116
I0425 07:26:18.623249 136390415513408 metric_logger.py:196] completed step: 10, seconds: 0.159, TFLOP/s/device: 85.574, Tokens/s/device: 12898.675, total_weights: 65536, loss: 7.568, lm_loss: 7.568, perplexity: 1936.198
I0425 07:26:19.332669 136390415513408 metric_logger.py:196] completed step: 11, seconds: 1.674, TFLOP/s/device: 8.118, Tokens/s/device: 1223.619, total_weights: 65536, loss: 7.288, lm_loss: 7.288, perplexity: 1463.272
I0425 07:26:19.490967 136390415513408 metric_logger.py:196] completed step: 12, seconds: 0.553, TFLOP/s/device: 24.568, Tokens/s/device: 3703.195, total_weights: 65536, loss: 7.032, lm_loss: 7.032, perplexity: 1132.061
I0425 07:26:19.649172 136390415513408 metric_logger.py:196] completed step: 13, seconds: 0.163, TFLOP/s/device: 83.317, Tokens/s/device: 12558.408, total_weights: 65536, loss: 6.815, lm_loss: 6.815, perplexity: 911.031
I0425 07:26:19.807804 136390415513408 metric_logger.py:196] completed step: 14, seconds: 0.158, TFLOP/s/device: 85.892, Tokens/s/device: 12946.539, total_weights: 65536, loss: 6.635, lm_loss: 6.635, perplexity: 761.080
I0425 07:26:19.966045 136390415513408 metric_logger.py:196] completed step: 15, seconds: 0.158, TFLOP/s/device: 85.847, Tokens/s/device: 12939.749, total_weights: 65536, loss: 6.492, lm_loss: 6.492, perplexity: 659.915
I0425 07:26:20.124291 136390415513408 metric_logger.py:196] completed step: 16, seconds: 0.159, TFLOP/s/device: 85.651, Tokens/s/device: 12910.302, total_weights: 65536, loss: 6.380, lm_loss: 6.380, perplexity: 589.948
I0425 07:26:20.282649 136390415513408 metric_logger.py:196] completed step: 17, seconds: 0.158, TFLOP/s/device: 85.824, Tokens/s/device: 12936.316, total_weights: 65536, loss: 6.293, lm_loss: 6.293, perplexity: 540.941
I0425 07:26:20.440768 136390415513408 metric_logger.py:196] completed step: 18, seconds: 0.158, TFLOP/s/device: 85.931, Tokens/s/device: 12952.434, total_weights: 65536, loss: 6.223, lm_loss: 6.223, perplexity: 504.108
I0425 07:26:20.598376 136390415513408 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0425 07:26:20.599289 136390415513408 checkpointing.py:776] Waited 0.0009329319000244141 seconds for step 19 to finish before starting checkpointing.
I0425 07:26:20.601536 136390415513408 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 07:26:24.178619 136259641009920 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints/10/items/array_metadatas/process_6
I0425 07:27:01.180286 136260665087744 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.060 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.62746524810791 s) (per-host)
I0425 07:27:01.180416 136260665087744 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.566700s.
I0425 07:27:08.500976 136260665087744 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 49.887244s.
I0425 07:27:08.501283 136259615831808 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 07:27:08.501411 136259615831808 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 07:27:08.501469 136259615831808 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0425 07:27:08.503132 136259615831808 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0425 07:27:08.503320 136390415513408 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0425 07:27:08.503450 136390415513408 checkpoint_manager.py:1452] Waiting for previous save to complete took 47.901927 seconds. If this number is high, consider checkpointing less frequently.
I0425 07:27:08.505011 136390415513408 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 19
I0425 07:27:08.507140 136390415513408 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints/19.
I0425 07:27:09.214677 136390415513408 jax_array_handlers.py:360] Scheduling D2H of 81 prioritized jax.Array.
I0425 07:27:09.214774 136390415513408 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 07:27:09.268934 136390415513408 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.055197s
I0425 07:27:09.269122 136390415513408 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 25.192 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.06123828887939453 s) (per-host)
I0425 07:27:09.269171 136390415513408 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.061321s (batch_requests_ready=0.002976s, total_serialization_initiated=0.058257s, others=0.000088s)
I0425 07:27:09.269269 136390415513408 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.065483s (all_items=0.000010s, per_item={'items': '0.00000954'}, temp_paths=0.065474)
I0425 07:27:09.269985 136390415513408 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints/19.
I0425 07:27:09.270366 136259615831808 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:47:09.270332
I0425 07:27:09.272365 136390415513408 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 07:27:09.272573 136259065964288 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 07:27:09.272686 136390415513408 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101980.6014988, 'wait_for_prev_duration_secs': 47.90192747116089, 'time_between_consecutive_saves_sec': 2.3288350105285645, 'checkpointer_blocking_start_time': 1777102028.5050497, 'checkpointer_blocking_duration_secs': 0.7654757499694824, 'get_old_steps_start_time': 1777102029.2705438, 'get_old_steps_duration_secs': 2.5987625122070312e-05, 'checkpoint_manager_blocking_start_time': 1777101980.5995584, 'checkpoint_manager_blocking_duration_secs': 48.67309784889221}
I0425 07:27:09.272795 136390415513408 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0425 07:27:09.272836 136390415513408 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 07:27:15.403674 136256925325056 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_05_fp8/checkpoints/19/items/array_metadatas/process_6
I0425 07:27:52.232533 136259615831808 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.718 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.02461338043213 s) (per-host)
I0425 07:27:52.232652 136259615831808 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.962170s.
I0425 07:28:00.802175 136259615831808 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.531678s.
I0425 07:28:00.802396 136259065964288 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 07:28:00.802463 136259065964288 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 07:28:00.802509 136259065964288 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0425 07:28:00.804114 136259065964288 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0425 07:28:00.804279 136390415513408 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0425 07:28:00.804436 136390415513408 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 07:28:00.805332 136390415513408 metric_logger.py:196] completed step: 19, seconds: 0.158, TFLOP/s/device: 85.760, Tokens/s/device: 12926.681, total_weights: 65536, loss: 6.167, lm_loss: 6.167, perplexity: 476.947
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 07:28:13 UTC 2026
EXIT_CODE=0
XPK Start: Sat Apr 25 09:30:37 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-25 09:31:02.506291: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0425 09:31:02.718650 133066620835648 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 09:31:11.760326 133066620835648 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 09:31:11.762790 133066620835648 distributed.py:172] Connecting to JAX distributed service on mt-05-fp8-4f2w6-slice-job-0-0.mt-05-fp8-4f2w6:8482
I0425 09:31:13.134604 133066620835648 max_utils.py:284] Jax distributed system initialized!
I0425 09:31:19.156157 133066620835648 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 09:31:19.156262 133066620835648 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 09:31:19.156304 133066620835648 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0425 09:31:19.156340 133066620835648 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 09:31:19.847989 133066620835648 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 09:31:19.848593 133066620835648 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 09:31:19.848784 133066620835648 checkpointing.py:688] Setting up checkpoint logger...
I0425 09:31:19.848834 133066620835648 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 09:31:19.848877 133066620835648 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 09:31:19.849221 133066620835648 base_pytree_checkpoint_handler.py:441] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x79054504f740>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 09:31:22.679074 133066620835648 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 09:31:22.679308 133066620835648 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78f0443ae7e0>}, handler_registry=None
I0425 09:31:22.679556 133066620835648 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78f0443ae7e0>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0425 09:31:22.679608 133066620835648 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78f0443b23c0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0425 09:31:22.679644 133066620835648 composite_checkpoint_handler.py:505] Initialized registry DefaultCheckpointHandlerRegistry({('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78f0443ae7e0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78f0443ae7e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78f0443b23c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78f0443b23c0>}).
I0425 09:31:22.679977 133066620835648 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 09:31:22.680048 133066620835648 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x78f0246ddbc0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 09:31:23.734682 133066620835648 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints
I0425 09:31:23.899883 133066620835648 checkpoint_manager.py:929] [process=3][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x78f0443af230>
I0425 09:31:23.900054 133066620835648 checkpointing.py:302] Checkpoint manager created!
I0425 09:31:24.993728 133066620835648 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 09:31:24.993839 133066620835648 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 09:31:25.380084 133066620835648 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 09:31:25.380179 133066620835648 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 09:31:25.396550 133066620835648 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 09:31:25.396610 133066620835648 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 09:31:25.449362 133066620835648 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 09:31:25.449463 133066620835648 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:31:25.465892 133066620835648 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 09:31:25.465958 133066620835648 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:31:25.482246 133066620835648 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 09:31:25.482308 133066620835648 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:31:25.507693 133066620835648 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0425 09:31:25.507767 133066620835648 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:31:25.558403 133066620835648 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 09:31:25.558492 133066620835648 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 09:31:26.009889 133066620835648 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 09:31:26.010009 133066620835648 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 09:31:27.941812 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.941940 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.941990 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942029 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942066 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942098 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942131 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942162 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942191 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942221 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942249 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942280 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942309 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942338 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942366 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942393 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942442 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942479 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942510 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942538 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942566 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942593 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942622 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942651 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942678 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942706 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942734 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942760 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942787 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942813 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942840 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942867 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942899 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942929 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942959 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.942986 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.943013 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.943039 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.943066 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.943094 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.943122 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.943150 133066620835648 maxtext_utils.py:1835]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0425 09:31:27.943200 133066620835648 maxtext_utils.py:1835]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 09:31:27.943254 133066620835648 maxtext_utils.py:1835]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 09:31:27.943292 133066620835648 maxtext_utils.py:1835]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 09:31:27.943340 133066620835648 maxtext_utils.py:1835]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 09:31:27.943386 133066620835648 maxtext_utils.py:1835]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 09:31:27.943499 133066620835648 maxtext_utils.py:1835]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 09:31:27.943559 133066620835648 maxtext_utils.py:1835]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 09:31:27.943610 133066620835648 maxtext_utils.py:1835]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0425 09:31:27.943647 133066620835648 maxtext_utils.py:1835]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0425 09:31:27.943680 133066620835648 maxtext_utils.py:1835]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 09:31:27.943723 133066620835648 maxtext_utils.py:1835]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0425 09:31:27.943765 133066620835648 maxtext_utils.py:1835]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0425 09:31:29.578534 133066620835648 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 09:31:29.578629 133066620835648 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 09:31:29.594175 133066620835648 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 09:31:29.594237 133066620835648 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 09:31:43.395953 133066620835648 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0425 09:31:43.396803 133066620835648 metric_logger.py:301] number parameters: 1.105 billion
I0425 09:31:58.772197 133066620835648 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 09:31:58.939587 133066620835648 checkpointing.py:798] Waited 0.1673750877380371 seconds for step 0 to finish before starting checkpointing.
I0425 09:31:58.942053 133066620835648 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 09:31:58.943915 133066620835648 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0425 09:31:58.945516 133066620835648 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints/0.
I0425 09:31:59.264237 133066620835648 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 09:31:59.265321 133066620835648 jax_array_handlers.py:360] Scheduling D2H of 81 prioritized jax.Array.
I0425 09:31:59.265381 133066620835648 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 09:31:59.677167 133066620835648 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.413051s
I0425 09:31:59.677344 133066620835648 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 3.662 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.42124295234680176 s) (per-host)
I0425 09:31:59.677396 133066620835648 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.421305s (batch_requests_ready=0.003387s, total_serialization_initiated=0.417848s, others=0.000069s)
I0425 09:31:59.677512 133066620835648 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.425486s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.425468)
I0425 09:31:59.678333 133066620835648 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.73 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints/0.
I0425 09:31:59.678719 132936988866304 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:51:59.678681
I0425 09:31:59.695358 133066620835648 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 09:31:59.695655 132936456558336 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0425 09:31:59.695815 133066620835648 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109518.9420347, 'wait_for_prev_duration_secs': 6.341934204101562e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777109518.9439535, 'checkpointer_blocking_duration_secs': 0.7349326610565186, 'get_old_steps_start_time': 1777109519.678913, 'get_old_steps_duration_secs': 3.814697265625e-05, 'checkpoint_manager_blocking_start_time': 1777109518.9401839, 'checkpoint_manager_blocking_duration_secs': 0.7555923461914062}
I0425 09:31:59.695931 133066620835648 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 09:31:59.695984 133066620835648 max_utils.py:750] 
Memstats: After params initialized:
I0425 09:31:59.696041 133066620835648 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_10(process=3,(2,2,0,0))
I0425 09:31:59.696072 133066620835648 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_11(process=3,(3,2,0,0))
I0425 09:31:59.696101 133066620835648 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_14(process=3,(2,3,0,0))
I0425 09:31:59.696125 133066620835648 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_15(process=3,(3,3,0,0))
I0425 09:32:00.009050 133066620835648 metric_logger.py:196] completed step: 0, seconds: 15.375, TFLOP/s/device: 0.884, Tokens/s/device: 133.201, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52776.805
I0425 09:32:00.206792 133066620835648 metric_logger.py:196] completed step: 1, seconds: 1.235, TFLOP/s/device: 11.003, Tokens/s/device: 1658.540, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52761.840
I0425 09:32:00.611503 133066620835648 metric_logger.py:196] completed step: 2, seconds: 0.040, TFLOP/s/device: 338.738, Tokens/s/device: 51058.313, total_weights: 65536, loss: 10.816, lm_loss: 10.816, perplexity: 49832.398
I0425 09:32:00.769769 133066620835648 metric_logger.py:196] completed step: 3, seconds: 0.405, TFLOP/s/device: 33.547, Tokens/s/device: 5056.503, total_weights: 65536, loss: 10.431, lm_loss: 10.431, perplexity: 33901.820
I0425 09:32:01.087048 133066620835648 metric_logger.py:196] completed step: 4, seconds: 0.164, TFLOP/s/device: 82.841, Tokens/s/device: 12486.739, total_weights: 65536, loss: 9.992, lm_loss: 9.992, perplexity: 21847.639
I0425 09:32:01.093432 133066620835648 metric_logger.py:196] completed step: 5, seconds: 0.158, TFLOP/s/device: 85.903, Tokens/s/device: 12948.176, total_weights: 65536, loss: 9.549, lm_loss: 9.549, perplexity: 14035.006
I0425 09:32:02.555681    2859 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 09:32:05.020566 132936464951040 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints/0/items/array_metadatas/process_3
I0425 09:32:18.408836 132936988866304 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 82.482 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 19.152687072753906 s) (per-host)
I0425 09:32:18.408959 132936988866304 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 18.730119s.
I0425 09:32:25.890308 133066620835648 metric_logger.py:196] completed step: 6, seconds: 0.318, TFLOP/s/device: 42.753, Tokens/s/device: 6444.203, total_weights: 65536, loss: 9.111, lm_loss: 9.111, perplexity: 9058.688
I0425 09:32:26.048835 133066620835648 metric_logger.py:196] completed step: 7, seconds: 24.640, TFLOP/s/device: 0.551, Tokens/s/device: 83.118, total_weights: 65536, loss: 8.685, lm_loss: 8.685, perplexity: 5914.720
I0425 09:32:26.207315 133066620835648 metric_logger.py:196] completed step: 8, seconds: 0.163, TFLOP/s/device: 83.121, Tokens/s/device: 12528.829, total_weights: 65536, loss: 8.281, lm_loss: 8.281, perplexity: 3950.010
I0425 09:32:26.212299 133066620835648 checkpointing.py:794] Waiting for step 10 to finish before checkpoint...
I0425 09:32:26.523927 133066620835648 checkpointing.py:798] Waited 0.31159234046936035 seconds for step 10 to finish before starting checkpointing.
I0425 09:32:26.526629 133066620835648 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 09:32:27.540337 132936988866304 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 27.861480s.
I0425 09:32:27.540628 132936456558336 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 09:32:27.540754 132936456558336 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0425 09:32:27.540807 132936456558336 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 09:32:27.543214 132936456558336 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 09:32:27.543373 133066620835648 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0425 09:32:27.543513 133066620835648 checkpoint_manager.py:1452] Waiting for previous save to complete took 1.016884 seconds. If this number is high, consider checkpointing less frequently.
I0425 09:32:27.545324 133066620835648 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 10
I0425 09:32:27.547243 133066620835648 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints/10.
I0425 09:32:27.830691 133066620835648 jax_array_handlers.py:360] Scheduling D2H of 81 prioritized jax.Array.
I0425 09:32:27.830785 133066620835648 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 09:32:27.885389 133066620835648 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.055641s
I0425 09:32:27.885572 133066620835648 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 24.928 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.06188845634460449 s) (per-host)
I0425 09:32:27.885622 133066620835648 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.061948s (batch_requests_ready=0.003058s, total_serialization_initiated=0.058823s, others=0.000068s)
I0425 09:32:27.885728 133066620835648 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.066145s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.066128)
I0425 09:32:27.886482 133066620835648 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints/10.
I0425 09:32:27.886819 132936456558336 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:52:27.886782
I0425 09:32:27.888783 133066620835648 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 09:32:27.889007 132935378253568 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0425 09:32:27.889141 133066620835648 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109546.526598, 'wait_for_prev_duration_secs': 1.0168840885162354, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777109547.545362, 'checkpointer_blocking_duration_secs': 0.34156084060668945, 'get_old_steps_start_time': 1777109547.8869472, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1777109546.52477, 'checkpoint_manager_blocking_duration_secs': 1.3643379211425781}
I0425 09:32:27.889312 133066620835648 checkpointing.py:409] Started an asynchronous checkpoint save for step 10
I0425 09:32:27.889940 133066620835648 metric_logger.py:196] completed step: 9, seconds: 0.158, TFLOP/s/device: 85.785, Tokens/s/device: 12930.436, total_weights: 65536, loss: 7.908, lm_loss: 7.908, perplexity: 2720.116
I0425 09:32:27.897070 133066620835648 metric_logger.py:196] completed step: 10, seconds: 0.158, TFLOP/s/device: 85.754, Tokens/s/device: 12925.784, total_weights: 65536, loss: 7.568, lm_loss: 7.568, perplexity: 1936.198
I0425 09:32:28.055376 133066620835648 metric_logger.py:196] completed step: 11, seconds: 1.683, TFLOP/s/device: 8.075, Tokens/s/device: 1217.225, total_weights: 65536, loss: 7.288, lm_loss: 7.288, perplexity: 1463.272
I0425 09:32:28.622099 133066620835648 metric_logger.py:196] completed step: 12, seconds: 0.006, TFLOP/s/device: 2172.898, Tokens/s/device: 327522.789, total_weights: 65536, loss: 7.032, lm_loss: 7.032, perplexity: 1132.061
I0425 09:32:28.780502 133066620835648 metric_logger.py:196] completed step: 13, seconds: 0.563, TFLOP/s/device: 24.144, Tokens/s/device: 3639.239, total_weights: 65536, loss: 6.815, lm_loss: 6.815, perplexity: 911.031
I0425 09:32:28.938756 133066620835648 metric_logger.py:196] completed step: 14, seconds: 0.163, TFLOP/s/device: 83.229, Tokens/s/device: 12545.253, total_weights: 65536, loss: 6.635, lm_loss: 6.635, perplexity: 761.080
I0425 09:32:29.097120 133066620835648 metric_logger.py:196] completed step: 15, seconds: 0.158, TFLOP/s/device: 85.784, Tokens/s/device: 12930.354, total_weights: 65536, loss: 6.492, lm_loss: 6.492, perplexity: 659.915
I0425 09:32:29.255266 133066620835648 metric_logger.py:196] completed step: 16, seconds: 0.158, TFLOP/s/device: 85.903, Tokens/s/device: 12948.176, total_weights: 65536, loss: 6.380, lm_loss: 6.380, perplexity: 589.948
I0425 09:32:29.413417 133066620835648 metric_logger.py:196] completed step: 17, seconds: 0.158, TFLOP/s/device: 85.765, Tokens/s/device: 12927.416, total_weights: 65536, loss: 6.293, lm_loss: 6.293, perplexity: 540.941
I0425 09:32:29.571657 133066620835648 metric_logger.py:196] completed step: 18, seconds: 0.158, TFLOP/s/device: 85.968, Tokens/s/device: 12958.089, total_weights: 65536, loss: 6.223, lm_loss: 6.223, perplexity: 504.108
I0425 09:32:29.729284 133066620835648 checkpointing.py:794] Waiting for step 19 to finish before checkpoint...
I0425 09:32:29.730294 133066620835648 checkpointing.py:798] Waited 0.0010280609130859375 seconds for step 19 to finish before starting checkpointing.
I0425 09:32:29.732369 133066620835648 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 09:32:33.728752 132933750855424 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints/10/items/array_metadatas/process_3
I0425 09:33:09.825095 132936456558336 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.612 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.001359939575195 s) (per-host)
I0425 09:33:09.825223 132936456558336 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.937728s.
I0425 09:33:17.589012 132936456558336 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 49.701502s.
I0425 09:33:17.589313 132935378253568 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 09:33:17.589469 132935378253568 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0425 09:33:17.589521 132935378253568 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0425 09:33:17.591034 132935378253568 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0425 09:33:17.591226 133066620835648 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0425 09:33:17.591361 133066620835648 checkpoint_manager.py:1452] Waiting for previous save to complete took 47.858996 seconds. If this number is high, consider checkpointing less frequently.
I0425 09:33:17.592992 133066620835648 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 19
I0425 09:33:17.594955 133066620835648 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints/19.
I0425 09:33:17.879847 133066620835648 jax_array_handlers.py:360] Scheduling D2H of 81 prioritized jax.Array.
I0425 09:33:17.879939 133066620835648 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 09:33:17.937376 133066620835648 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.058467s
I0425 09:33:17.937555 133066620835648 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 23.879 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.0646059513092041 s) (per-host)
I0425 09:33:17.937607 133066620835648 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.064669s (batch_requests_ready=0.002995s, total_serialization_initiated=0.061606s, others=0.000068s)
I0425 09:33:17.937717 133066620835648 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.068924s (all_items=0.000013s, per_item={'items': '0.00001264'}, temp_paths=0.068912)
I0425 09:33:17.938458 133066620835648 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.35 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints/19.
I0425 09:33:17.938804 132935378253568 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:53:17.938768
I0425 09:33:17.940747 133066620835648 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 09:33:17.940958 132932157028096 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0425 09:33:17.941087 133066620835648 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109549.7323406, 'wait_for_prev_duration_secs': 47.85899567604065, 'time_between_consecutive_saves_sec': 2.189087390899658, 'checkpointer_blocking_start_time': 1777109597.5930321, 'checkpointer_blocking_duration_secs': 0.3459153175354004, 'get_old_steps_start_time': 1777109597.9389665, 'get_old_steps_duration_secs': 2.6226043701171875e-05, 'checkpoint_manager_blocking_start_time': 1777109549.7305815, 'checkpoint_manager_blocking_duration_secs': 48.2104754447937}
I0425 09:33:17.941247 133066620835648 checkpointing.py:409] Started an asynchronous checkpoint save for step 19
I0425 09:33:17.941290 133066620835648 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 09:33:23.316375 132933750855424 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_05_fp8/checkpoints/19/items/array_metadatas/process_3
I0425 09:33:59.349762 132935378253568 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 38.088 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.47676992416382 s) (per-host)
I0425 09:33:59.349887 132935378253568 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.410970s.
I0425 09:34:08.024710 132935378253568 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 50.085777s.
I0425 09:34:08.024971 132932157028096 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 09:34:08.025099 132932157028096 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0425 09:34:08.025141 132932157028096 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0425 09:34:08.026715 132932157028096 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0425 09:34:08.026898 133066620835648 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0425 09:34:08.027046 133066620835648 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 09:34:08.028032 133066620835648 metric_logger.py:196] completed step: 19, seconds: 0.158, TFLOP/s/device: 85.866, Tokens/s/device: 12942.693, total_weights: 65536, loss: 6.167, lm_loss: 6.167, perplexity: 476.947
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 09:34:17 UTC 2026
EXIT_CODE=0