MaxView

‹ 04_int8Case: 05_fp806_grad_accum ›

Metrics: main (574ad3fb9) vs test/pipeline-scan-nnx (574ad3fb9)

Metricmain  574ad3fb9test/pipeline-scan-nnx  574ad3fb9Diff (test/pipeline-scan-nnx − main)
Parameters1.105 billion1.105 billion
Final loss6.16706.16700
TFLOP/s85.80885.772-0.036
Tok/s12933.912928.5-5.389
Avg s/step1.7122.690+0.978
Memory %1.441.440
JAX0.9.20.8.1

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

main  ·  574ad3fb9  ·  main_20260418_180002  ·  full log
XPK Start: Sat Apr 18 18:15:50 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-18 18:16:15.220328: 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)
I0418 18:16:15.401217 134511891793728 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 18:16:24.443118 134511891793728 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 18:16:24.445453 134511891793728 distributed.py:172] Connecting to JAX distributed service on mt-05-fp8-k1sow-slice-job-0-0.mt-05-fp8-k1sow:8482
I0418 18:16:25.863977 134511891793728 max_utils.py:284] Jax distributed system initialized!
I0418 18:16:31.954729 134511891793728 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 18:16:31.954830 134511891793728 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 18:16:31.954873 134511891793728 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
I0418 18:16:31.954908 134511891793728 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 18:16:32.656683 134511891793728 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 18:16:32.656968 134511891793728 checkpointing.py:677] Setting up checkpoint logger...
I0418 18:16:32.657022 134511891793728 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 18:16:32.657068 134511891793728 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 18:16:32.657423 134511891793728 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 0x7a55e21181a0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 18:16:36.039294 134511891793728 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 18:16:36.039529 134511891793728 checkpoint_manager.py:708] [process=7][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a41a011b3e0>}, handler_registry=None
I0418 18:16:36.039763 134511891793728 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a41a011b3e0>` 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`.
I0418 18:16:36.039810 134511891793728 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a41a011b500>` 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`.
I0418 18:16:36.039845 134511891793728 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 0x7a41a011b3e0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a41a011b3e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a41a011b500>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a41a011b500>}).
I0418 18:16:36.040189 134511891793728 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 18:16:36.040256 134511891793728 async_checkpointer.py:192] [process=7][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a40a840bc40> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0418 18:16:37.969893 134511891793728 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints
I0418 18:16:38.806761 134511891793728 checkpoint_manager.py:929] [process=7][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_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a41a011bda0>
I0418 18:16:38.806934 134511891793728 checkpointing.py:301] Checkpoint manager created!
I0418 18:16:39.896669 134511891793728 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 18:16:39.896785 134511891793728 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:16:40.282787 134511891793728 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:16:40.282877 134511891793728 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:16:40.299135 134511891793728 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:16:40.299195 134511891793728 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:16:40.350816 134511891793728 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:16:40.350898 134511891793728 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:16:40.367596 134511891793728 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:16:40.367654 134511891793728 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:16:40.384371 134511891793728 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:16:40.384431 134511891793728 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:16:40.409204 134511891793728 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 18:16:40.409275 134511891793728 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:16:40.460380 134511891793728 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 18:16:40.460458 134511891793728 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 18:16:40.911127 134511891793728 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 18:16:40.911241 134511891793728 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0418 18:16:42.823501 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823621 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823669 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823708 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823744 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823778 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823812 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823842 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823872 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823902 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823931 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823960 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.823989 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824016 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824044 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824088 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824123 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824171 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824203 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824231 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824260 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824287 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824315 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824342 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824370 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824397 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824424 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824450 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824476 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824503 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824529 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824557 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824584 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824610 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824636 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824662 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824688 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824714 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824741 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824767 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824793 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824820 134511891793728 maxtext_utils.py:1654]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   P()
    Physical:  ()
I0418 18:16:42.824869 134511891793728 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 18:16:42.824922 134511891793728 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 18:16:42.824959 134511891793728 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 18:16:42.825007 134511891793728 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0418 18:16:42.825054 134511891793728 maxtext_utils.py:1654]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 18:16:42.825105 134511891793728 maxtext_utils.py:1654]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 18:16:42.825155 134511891793728 maxtext_utils.py:1654]  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)
I0418 18:16:42.825203 134511891793728 maxtext_utils.py:1654]  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')
I0418 18:16:42.825237 134511891793728 maxtext_utils.py:1654]  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)
I0418 18:16:42.825268 134511891793728 maxtext_utils.py:1654]  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)
I0418 18:16:42.825311 134511891793728 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0418 18:16:42.825352 134511891793728 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0418 18:16:44.433262 134511891793728 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:16:44.433358 134511891793728 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:16:44.448648 134511891793728 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:16:44.448712 134511891793728 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:16:58.130581 134511891793728 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.
I0418 18:16:58.131484 134511891793728 metric_logger.py:301] number parameters: 1.105 billion
I0418 18:17:13.271946 134511891793728 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0418 18:17:13.442163 134511891793728 checkpointing.py:776] Waited 0.1701948642730713 seconds for step 0 to finish before starting checkpointing.
I0418 18:17:13.445579 134511891793728 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:17:13.447524 134511891793728 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 0
I0418 18:17:13.448919 134511891793728 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints/0.
I0418 18:17:14.206906 134511891793728 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 18:17:14.207857 134511891793728 jax_array_handlers.py:360] Scheduling D2H of 81 prioritized jax.Array.
I0418 18:17:14.207912 134511891793728 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
I0418 18:17:14.626933 134511891793728 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.420151s
I0418 18:17:14.627134 134511891793728 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 3.600 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.4285409450531006 s) (per-host)
I0418 18:17:14.627191 134511891793728 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.428609s (batch_requests_ready=0.003613s, total_serialization_initiated=0.424919s, others=0.000077s)
I0418 18:17:14.627296 134511891793728 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.432819s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.432801)
I0418 18:17:14.628108 134511891793728 event_tracking.py:125] [process=7] [async] Finished blocking save in 1.18 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints/0.
I0418 18:17:14.628461 134382346041088 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:37:14.628423
I0418 18:17:14.631799 134511891793728 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:17:14.632155 134382288758528 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:17:14.632332 134511891793728 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776536233.445561, 'wait_for_prev_duration_secs': 6.222724914550781e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776536233.4475625, 'checkpointer_blocking_duration_secs': 1.181058645248413, 'get_old_steps_start_time': 1776536234.6286476, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1776536233.4426782, 'checkpoint_manager_blocking_duration_secs': 1.1896164417266846}
I0418 18:17:14.632442 134511891793728 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0418 18:17:14.632491 134511891793728 max_utils.py:750] 
Memstats: After params initialized:
I0418 18:17:14.632543 134511891793728 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_26(process=7,(2,6,0,0))
I0418 18:17:14.632578 134511891793728 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_27(process=7,(3,6,0,0))
I0418 18:17:14.632605 134511891793728 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_30(process=7,(2,7,0,0))
I0418 18:17:14.632628 134511891793728 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_31(process=7,(3,7,0,0))
I0418 18:17:14.947874 134511891793728 metric_logger.py:196] completed step: 0, seconds: 15.140, TFLOP/s/device: 0.897, Tokens/s/device: 135.268, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52776.805
I0418 18:17:15.143847 134511891793728 metric_logger.py:196] completed step: 1, seconds: 1.674, TFLOP/s/device: 8.117, Tokens/s/device: 1223.508, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52761.840
I0418 18:17:15.564787 134511891793728 metric_logger.py:196] completed step: 2, seconds: 0.038, TFLOP/s/device: 353.914, Tokens/s/device: 53345.836, total_weights: 65536, loss: 10.816, lm_loss: 10.816, perplexity: 49832.398
I0418 18:17:15.723206 134511891793728 metric_logger.py:196] completed step: 3, seconds: 0.421, TFLOP/s/device: 32.266, Tokens/s/device: 4863.464, total_weights: 65536, loss: 10.431, lm_loss: 10.431, perplexity: 33901.820
I0418 18:17:16.040598 134511891793728 metric_logger.py:196] completed step: 4, seconds: 0.164, TFLOP/s/device: 82.688, Tokens/s/device: 12463.562, total_weights: 65536, loss: 9.992, lm_loss: 9.992, perplexity: 21847.639
I0418 18:17:16.047224 134511891793728 metric_logger.py:196] completed step: 5, seconds: 0.158, TFLOP/s/device: 85.844, Tokens/s/device: 12939.341, total_weights: 65536, loss: 9.549, lm_loss: 9.549, perplexity: 14035.006
I0418 18:17:18.280435    2847 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 18:17:20.675175 134382297151232 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints/0/items/array_metadatas/process_7
I0418 18:17:34.787708 134382346041088 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 76.728 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 20.589051246643066 s) (per-host)
I0418 18:17:34.787839 134382346041088 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 20.159262s.
I0418 18:17:41.159799 134511891793728 metric_logger.py:196] completed step: 6, seconds: 0.318, TFLOP/s/device: 42.723, Tokens/s/device: 6439.705, total_weights: 65536, loss: 9.111, lm_loss: 9.111, perplexity: 9058.688
I0418 18:17:41.318297 134511891793728 metric_logger.py:196] completed step: 7, seconds: 24.955, TFLOP/s/device: 0.544, Tokens/s/device: 82.067, total_weights: 65536, loss: 8.685, lm_loss: 8.685, perplexity: 5914.720
I0418 18:17:41.476956 134511891793728 metric_logger.py:196] completed step: 8, seconds: 0.163, TFLOP/s/device: 83.205, Tokens/s/device: 12541.565, total_weights: 65536, loss: 8.281, lm_loss: 8.281, perplexity: 3950.010
I0418 18:17:41.482017 134511891793728 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0418 18:17:41.793649 134511891793728 checkpointing.py:776] Waited 0.3115971088409424 seconds for step 10 to finish before starting checkpointing.
I0418 18:17:41.796318 134511891793728 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:17:43.478874 134382346041088 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 28.850281s.
I0418 18:17:43.479170 134382288758528 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:17:43.479291 134382288758528 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:17:43.479341 134382288758528 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:17:43.480841 134382288758528 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0418 18:17:43.481029 134511891793728 checkpoint_manager.py:2032] [process=7][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0418 18:17:43.481188 134511891793728 checkpoint_manager.py:1452] Waiting for previous save to complete took 1.684863 seconds. If this number is high, consider checkpointing less frequently.
I0418 18:17:43.483016 134511891793728 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 10
I0418 18:17:43.485008 134511891793728 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints/10.
I0418 18:17:44.229100 134511891793728 jax_array_handlers.py:360] Scheduling D2H of 81 prioritized jax.Array.
I0418 18:17:44.229199 134511891793728 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
I0418 18:17:44.266477 134511891793728 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.038349s
I0418 18:17:44.266637 134511891793728 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 34.620 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04456162452697754 s) (per-host)
I0418 18:17:44.266689 134511891793728 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.044622s (batch_requests_ready=0.003103s, total_serialization_initiated=0.041452s, others=0.000068s)
I0418 18:17:44.266795 134511891793728 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.049040s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.049025)
I0418 18:17:44.267495 134511891793728 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.78 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints/10.
I0418 18:17:44.267876 134379091244800 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:37:44.267838
I0418 18:17:44.273256 134511891793728 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:17:44.273501 134382288758528 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:17:44.273635 134511891793728 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776536261.7962868, 'wait_for_prev_duration_secs': 1.6848626136779785, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776536263.4830546, 'checkpointer_blocking_duration_secs': 0.7849705219268799, 'get_old_steps_start_time': 1776536264.2680476, 'get_old_steps_duration_secs': 4.482269287109375e-05, 'checkpoint_manager_blocking_start_time': 1776536261.7944648, 'checkpoint_manager_blocking_duration_secs': 2.479135751724243}
I0418 18:17:44.273767 134511891793728 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0418 18:17:44.274417 134511891793728 metric_logger.py:196] completed step: 9, seconds: 0.159, TFLOP/s/device: 85.670, Tokens/s/device: 12913.151, total_weights: 65536, loss: 7.908, lm_loss: 7.908, perplexity: 2720.116
I0418 18:17:44.281920 134511891793728 metric_logger.py:196] completed step: 10, seconds: 0.159, TFLOP/s/device: 85.677, Tokens/s/device: 12914.129, total_weights: 65536, loss: 7.568, lm_loss: 7.568, perplexity: 1936.198
I0418 18:17:44.439687 134511891793728 metric_logger.py:196] completed step: 11, seconds: 2.798, TFLOP/s/device: 4.857, Tokens/s/device: 732.043, total_weights: 65536, loss: 7.288, lm_loss: 7.288, perplexity: 1463.272
I0418 18:17:44.597949 134511891793728 metric_logger.py:196] completed step: 12, seconds: 0.006, TFLOP/s/device: 2103.922, Tokens/s/device: 317126.045, total_weights: 65536, loss: 7.032, lm_loss: 7.032, perplexity: 1132.061
I0418 18:17:45.155454 134511891793728 metric_logger.py:196] completed step: 13, seconds: 0.159, TFLOP/s/device: 85.361, Tokens/s/device: 12866.504, total_weights: 65536, loss: 6.815, lm_loss: 6.815, perplexity: 911.031
I0418 18:17:45.314314 134511891793728 metric_logger.py:196] completed step: 14, seconds: 0.552, TFLOP/s/device: 24.612, Tokens/s/device: 3709.748, total_weights: 65536, loss: 6.635, lm_loss: 6.635, perplexity: 761.080
I0418 18:17:45.472795 134511891793728 metric_logger.py:196] completed step: 15, seconds: 0.163, TFLOP/s/device: 83.261, Tokens/s/device: 12550.019, total_weights: 65536, loss: 6.492, lm_loss: 6.492, perplexity: 659.915
I0418 18:17:45.631316 134511891793728 metric_logger.py:196] completed step: 16, seconds: 0.159, TFLOP/s/device: 85.572, Tokens/s/device: 12898.350, total_weights: 65536, loss: 6.380, lm_loss: 6.380, perplexity: 589.948
I0418 18:17:45.789793 134511891793728 metric_logger.py:196] completed step: 17, seconds: 0.158, TFLOP/s/device: 85.789, Tokens/s/device: 12931.007, total_weights: 65536, loss: 6.293, lm_loss: 6.293, perplexity: 540.941
I0418 18:17:45.948246 134511891793728 metric_logger.py:196] completed step: 18, seconds: 0.159, TFLOP/s/device: 85.649, Tokens/s/device: 12909.895, total_weights: 65536, loss: 6.223, lm_loss: 6.223, perplexity: 504.108
I0418 18:17:46.106167 134511891793728 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0418 18:17:46.107165 134511891793728 checkpointing.py:776] Waited 0.001016855239868164 seconds for step 19 to finish before starting checkpointing.
I0418 18:17:46.109327 134511891793728 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:17:52.134623 134379116422912 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints/10/items/array_metadatas/process_7
I0418 18:18:27.760964 134379091244800 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 36.284 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.53883337974548 s) (per-host)
I0418 18:18:27.761122 134379091244800 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.493122s.
I0418 18:18:35.815789 134379091244800 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 51.547785s.
I0418 18:18:35.816120 134382288758528 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:18:35.816241 134382288758528 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:18:35.816288 134382288758528 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:18:35.817670 134382288758528 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0418 18:18:35.817838 134511891793728 checkpoint_manager.py:2032] [process=7][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0418 18:18:35.817974 134511891793728 checkpoint_manager.py:1452] Waiting for previous save to complete took 49.708653 seconds. If this number is high, consider checkpointing less frequently.
I0418 18:18:35.819561 134511891793728 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 19
I0418 18:18:35.821613 134511891793728 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints/19.
I0418 18:18:36.537542 134511891793728 jax_array_handlers.py:360] Scheduling D2H of 81 prioritized jax.Array.
I0418 18:18:36.537636 134511891793728 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
I0418 18:18:36.574451 134511891793728 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037921s
I0418 18:18:36.574618 134511891793728 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 35.066 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04399561882019043 s) (per-host)
I0418 18:18:36.574666 134511891793728 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.044055s (batch_requests_ready=0.003006s, total_serialization_initiated=0.040984s, others=0.000065s)
I0418 18:18:36.574798 134511891793728 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.048144s (all_items=0.000011s, per_item={'items': '0.00001097'}, temp_paths=0.048133)
I0418 18:18:36.575600 134511891793728 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints/19.
I0418 18:18:36.575882 134379116422912 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:38:36.575847
I0418 18:18:36.579324 134511891793728 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:18:36.579679 134382288758528 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:18:36.579843 134511891793728 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776536266.1092987, 'wait_for_prev_duration_secs': 49.70865297317505, 'time_between_consecutive_saves_sec': 2.62841796875, 'checkpointer_blocking_start_time': 1776536315.8195994, 'checkpointer_blocking_duration_secs': 0.7564229965209961, 'get_old_steps_start_time': 1776536316.576041, 'get_old_steps_duration_secs': 2.4318695068359375e-05, 'checkpoint_manager_blocking_start_time': 1776536266.1074467, 'checkpoint_manager_blocking_duration_secs': 50.47236251831055}
I0418 18:18:36.579961 134511891793728 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0418 18:18:36.580003 134511891793728 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:18:43.387330 134379653293824 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_05_fp8/checkpoints/19/items/array_metadatas/process_7
I0418 18:19:20.097202 134379116422912 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 36.261 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.56653714179993 s) (per-host)
I0418 18:19:20.097328 134379116422912 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.521339s.
I0418 18:19:27.734118 134379116422912 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 51.158081s.
I0418 18:19:27.734410 134382288758528 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:19:27.734549 134382288758528 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:19:27.734597 134382288758528 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:19:27.736280 134382288758528 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0418 18:19:27.736471 134511891793728 checkpoint_manager.py:2032] [process=7][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0418 18:19:27.736625 134511891793728 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:19:27.737592 134511891793728 metric_logger.py:196] completed step: 19, seconds: 0.158, TFLOP/s/device: 85.808, Tokens/s/device: 12933.866, 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 18 18:19:40 UTC 2026
EXIT_CODE=0
XPK Start: Sun Apr 19 09:08:12 UTC 2026
2026-04-19 09:08:16.980963: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776589696.993530      10 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776589696.997283      10 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776589697.008587      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776589697.008605      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776589697.008607      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776589697.008609      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-19 09:08:36.058232: 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)
I0419 09:08:36.568255 138570881185600 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-19 09:08:45,607:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0419 09:08:45.607895 138570881185600 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-19 09:08:45,610:jax._src.distributed:157: Connecting to JAX distributed service on mt-05-fp8-o9lys-slice-job-0-0.mt-05-fp8-o9lys:8482
I0419 09:08:45.610202 138570881185600 distributed.py:157] Connecting to JAX distributed service on mt-05-fp8-o9lys-slice-job-0-0.mt-05-fp8-o9lys:8482
I0419 09:08:47.262533 138570881185600 max_utils.py:284] Jax distributed system initialized!
I0419 09:08:54.125870 138570881185600 max_utils.py:800] System Information: Jax Version: 0.8.1
I0419 09:08:54.125997 138570881185600 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0419 09:08:54.126044 138570881185600 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0419 09:08:54.126080 138570881185600 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0419 09:08:54.802915 138570881185600 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 09:08:54.803229 138570881185600 checkpointing.py:677] Setting up checkpoint logger...
I0419 09:08:54.803286 138570881185600 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0419 09:08:54.803330 138570881185600 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0419 09:08:54.803681 138570881185600 base_pytree_checkpoint_handler.py:415] 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 0x7e0710563c20>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0419 09:08:57.514712 138570881185600 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0419 09:08:57.515091 138570881185600 checkpoint_manager.py:709] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7df3fda9be00>}, handler_registry=None
I0419 09:08:57.515331 138570881185600 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7df3fda9be00>` 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`.
I0419 09:08:57.515380 138570881185600 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7df3fda02ba0>` 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`.
I0419 09:08:57.515417 138570881185600 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 0x7df3fda9be00>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7df3fda9be00>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7df3fda02ba0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7df3fda02ba0>}).
I0419 09:08:57.518047 138570881185600 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0419 09:08:57.518131 138570881185600 async_checkpointer.py:177] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e06ec1d72e0> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0419 09:08:59.226549 138570881185600 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints
I0419 09:08:59.738237 138570881185600 checkpoint_manager.py:929] [process=4][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_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7df3fda00f20>
I0419 09:08:59.738412 138570881185600 checkpointing.py:301] Checkpoint manager created!
I0419 09:09:00.840302 138570881185600 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0419 09:09:00.840409 138570881185600 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 09:09:01.216519 138570881185600 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 09:09:01.216615 138570881185600 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 09:09:01.232243 138570881185600 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 09:09:01.232306 138570881185600 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 09:09:01.290857 138570881185600 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 09:09:01.290951 138570881185600 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:09:01.306638 138570881185600 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 09:09:01.306699 138570881185600 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:09:01.322251 138570881185600 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 09:09:01.322315 138570881185600 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:09:01.346158 138570881185600 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0419 09:09:01.346230 138570881185600 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:09:01.405398 138570881185600 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0419 09:09:01.405483 138570881185600 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0419 09:09:01.867565 138570881185600 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0419 09:09:01.867682 138570881185600 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0419 09:09:03.907149 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907277 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907325 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907364 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907399 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907435 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907467 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907496 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907526 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907554 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907582 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907612 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907641 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907671 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907700 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907729 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907760 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907790 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907818 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907846 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907873 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907899 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907927 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.907982 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908022 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908051 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908079 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908108 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908136 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908163 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908189 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908216 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908243 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908269 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908296 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908322 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908349 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908390 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908423 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908451 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908484 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_amax_history
    Shape:     float32[16,1024]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908512 138570881185600 maxtext_utils.py:1501]  params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_scale
    Shape:     float32[16,1]
    Logical:   PartitionSpec()
    Physical:  ()
I0419 09:09:03.908563 138570881185600 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0419 09:09:03.908619 138570881185600 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0419 09:09:03.908657 138570881185600 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0419 09:09:03.908705 138570881185600 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0419 09:09:03.908751 138570881185600 maxtext_utils.py:1501]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0419 09:09:03.908785 138570881185600 maxtext_utils.py:1501]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0419 09:09:03.908832 138570881185600 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0419 09:09:03.908877 138570881185600 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0419 09:09:03.908913 138570881185600 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0419 09:09:03.909002 138570881185600 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0419 09:09:03.909089 138570881185600 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)

I0419 09:09:03.909148 138570881185600 maxtext_utils.py:1501]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0419 09:09:05.681148 138570881185600 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 09:09:05.681243 138570881185600 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 09:09:05.696092 138570881185600 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 09:09:05.696153 138570881185600 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 09:09:18.773150 138570881185600 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.
I0419 09:09:18.774204 138570881185600 metric_logger.py:289] number parameters: 1.105 billion
I0419 09:09:33.215782 138570881185600 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0419 09:09:33.460000 138570881185600 checkpointing.py:776] Waited 0.24419736862182617 seconds for step 0 to finish before starting checkpointing.
I0419 09:09:33.462663 138570881185600 checkpoint_manager.py:2013] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 09:09:33.464574 138570881185600 checkpoint_manager.py:1518] [process=4] Saving checkpoint at step 0
I0419 09:09:33.467405 138570881185600 async_checkpointer.py:452] [process=4] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints/0.
I0419 09:09:34.459261 138570881185600 signaling_client.py:364] Using JaxDistributedSignalingClient
I0419 09:09:34.460499 138570881185600 jax_array_handlers.py:358] Scheduling D2H of 81 prioritized jax.Array.
I0419 09:09:34.460559 138570881185600 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
I0419 09:09:34.823082 138570881185600 base_pytree_checkpoint_handler.py:153] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.363945s
I0419 09:09:34.823246 138570881185600 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.501 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.6167466640472412 s) (per-host)
I0419 09:09:34.823293 138570881185600 base_pytree_checkpoint_handler.py:737] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.616803s (batch_requests_ready=0.247687s, total_serialization_initiated=0.369051s, others=0.000065s)
I0419 09:09:34.823392 138570881185600 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.620937s (all_items=0.000020s, per_item={'items': '0.00002003'}, temp_paths=0.620917)
I0419 09:09:34.824294 138448027494144 async_checkpointer.py:79] [process=4][thread=async_save] Background save thread started.
I0419 09:09:34.824464 138570881185600 async_checkpointer.py:561] Finished blocking save. Time taken: 1.359823s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints/0.
I0419 09:09:35.279509 138570881185600 checkpoint_manager.py:1566] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 09:09:35.279884 138441190782720 async_checkpointer.py:265] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0419 09:09:35.280086 138570881185600 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776589773.4626458, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776589773.4646132, 'checkpointer_blocking_duration_secs': 1.359954595565796, 'get_old_steps_start_time': 1776589774.8245876, 'get_old_steps_duration_secs': 2.5510787963867188e-05, 'checkpoint_manager_blocking_start_time': 1776589773.4607778, 'checkpoint_manager_blocking_duration_secs': 1.8192667961120605}
I0419 09:09:35.280200 138570881185600 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0419 09:09:35.280254 138570881185600 max_utils.py:750] 
Memstats: After params initialized:
I0419 09:09:35.280312 138570881185600 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_16(process=4,(0,4,0,0))
I0419 09:09:35.280347 138570881185600 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_17(process=4,(1,4,0,0))
I0419 09:09:35.280376 138570881185600 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_20(process=4,(0,5,0,0))
I0419 09:09:35.280401 138570881185600 max_utils.py:756] 	Using (GB) 0.45 / 31.25 (1.440000%) on TPU_21(process=4,(1,5,0,0))
I0419 09:09:35.545837 138570881185600 metric_logger.py:185] completed step: 0, seconds: 14.441, TFLOP/s/device: 0.941, Tokens/s/device: 141.814, total_weights: 65536, loss: 10.874
I0419 09:09:35.723007 138570881185600 metric_logger.py:185] completed step: 1, seconds: 2.328, TFLOP/s/device: 5.836, Tokens/s/device: 879.667, total_weights: 65536, loss: 10.874
I0419 09:09:36.130380 138570881185600 metric_logger.py:185] completed step: 2, seconds: 0.020, TFLOP/s/device: 671.268, Tokens/s/device: 101180.772, total_weights: 65536, loss: 10.816
I0419 09:09:36.288550 138570881185600 metric_logger.py:185] completed step: 3, seconds: 0.408, TFLOP/s/device: 33.324, Tokens/s/device: 5022.956, total_weights: 65536, loss: 10.431
I0419 09:09:36.605765 138570881185600 metric_logger.py:185] completed step: 4, seconds: 0.163, TFLOP/s/device: 83.180, Tokens/s/device: 12537.803, total_weights: 65536, loss: 9.992
I0419 09:09:36.611871 138570881185600 metric_logger.py:185] completed step: 5, seconds: 0.158, TFLOP/s/device: 85.975, Tokens/s/device: 12959.073, total_weights: 65536, loss: 9.549
I0419 09:09:56.665903    2726 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0419 09:09:56.853344 138570881185600 metric_logger.py:185] completed step: 6, seconds: 0.318, TFLOP/s/device: 42.787, Tokens/s/device: 6449.297, total_weights: 65536, loss: 9.111
I0419 09:09:57.011599 138570881185600 metric_logger.py:185] completed step: 7, seconds: 20.079, TFLOP/s/device: 0.677, Tokens/s/device: 101.998, total_weights: 65536, loss: 8.685
I0419 09:09:57.169702 138570881185600 metric_logger.py:185] completed step: 8, seconds: 0.169, TFLOP/s/device: 80.631, Tokens/s/device: 12153.654, total_weights: 65536, loss: 8.281
I0419 09:09:57.174690 138570881185600 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0419 09:09:57.486382 138570881185600 checkpointing.py:776] Waited 0.3116581439971924 seconds for step 10 to finish before starting checkpointing.
I0419 09:09:57.489093 138570881185600 checkpoint_manager.py:2024] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 09:09:58.514986 138448035886848 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints/0/items/array_metadatas/process_4
I0419 09:10:13.908863 138448027494144 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/gbytes_per_sec: 39.790 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.70232677459717 s) (per-host)
I0419 09:10:13.908988 138448027494144 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 39.084581s.
I0419 09:10:22.149784 138448027494144 async_checkpointer.py:144] [process=4][thread=async_save] Background save thread done. Time taken: 47.325360s.
I0419 09:10:22.150073 138441190782720 async_checkpointer.py:273] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 09:10:22.150202 138441190782720 async_checkpointer.py:283] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0419 09:10:22.150254 138441190782720 checkpoint_manager.py:2133] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0419 09:10:22.151897 138441190782720 checkpoint_manager.py:2142] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0419 09:10:22.152091 138570881185600 checkpoint_manager.py:2036] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0419 09:10:22.152219 138570881185600 checkpoint_manager.py:1458] Waiting for previous save to complete took 24.663133 seconds. If this number is high, consider checkpointing less frequently.
I0419 09:10:22.154110 138570881185600 checkpoint_manager.py:1518] [process=4] Saving checkpoint at step 10
I0419 09:10:22.157469 138570881185600 async_checkpointer.py:452] [process=4] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints/10.
I0419 09:10:23.126567 138570881185600 jax_array_handlers.py:358] Scheduling D2H of 81 prioritized jax.Array.
I0419 09:10:23.126666 138570881185600 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
I0419 09:10:23.186091 138570881185600 base_pytree_checkpoint_handler.py:153] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.060643s
I0419 09:10:23.186256 138570881185600 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/blocking_gbytes_per_sec: 4.903 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.3146815299987793 s) (per-host)
I0419 09:10:23.186307 138570881185600 base_pytree_checkpoint_handler.py:737] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.314742s (batch_requests_ready=0.250629s, total_serialization_initiated=0.064045s, others=0.000068s)
I0419 09:10:23.186405 138570881185600 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.318842s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.318827)
I0419 09:10:23.187240 138439605348096 async_checkpointer.py:79] [process=4][thread=async_save] Background save thread started.
I0419 09:10:23.187408 138570881185600 async_checkpointer.py:561] Finished blocking save. Time taken: 1.033222s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints/10.
I0419 09:10:23.201360 138570881185600 checkpoint_manager.py:1566] [process=4][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 09:10:23.201662 138441190782720 async_checkpointer.py:265] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0419 09:10:23.201831 138570881185600 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776589797.4890637, 'wait_for_prev_duration_secs': 24.663132905960083, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776589822.1541483, 'checkpointer_blocking_duration_secs': 1.0333852767944336, 'get_old_steps_start_time': 1776589823.1875515, 'get_old_steps_duration_secs': 2.574920654296875e-05, 'checkpoint_manager_blocking_start_time': 1776589797.4873035, 'checkpoint_manager_blocking_duration_secs': 25.714492082595825}
I0419 09:10:23.201974 138570881185600 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0419 09:10:23.202387 138570881185600 metric_logger.py:185] completed step: 9, seconds: 0.158, TFLOP/s/device: 85.927, Tokens/s/device: 12951.861, total_weights: 65536, loss: 7.908
I0419 09:10:23.209375 138570881185600 metric_logger.py:185] completed step: 10, seconds: 0.158, TFLOP/s/device: 85.953, Tokens/s/device: 12955.711, total_weights: 65536, loss: 7.568
I0419 09:10:23.366935 138570881185600 metric_logger.py:185] completed step: 11, seconds: 26.033, TFLOP/s/device: 0.522, Tokens/s/device: 78.670, total_weights: 65536, loss: 7.288
I0419 09:10:23.525027 138570881185600 metric_logger.py:185] completed step: 12, seconds: 0.006, TFLOP/s/device: 2228.129, Tokens/s/device: 335847.819, total_weights: 65536, loss: 7.032
I0419 09:10:23.683244 138570881185600 metric_logger.py:185] completed step: 13, seconds: 0.158, TFLOP/s/device: 85.731, Tokens/s/device: 12922.277, total_weights: 65536, loss: 6.815
I0419 09:10:23.841460 138570881185600 metric_logger.py:185] completed step: 14, seconds: 0.158, TFLOP/s/device: 85.850, Tokens/s/device: 12940.240, total_weights: 65536, loss: 6.635
I0419 09:10:23.999649 138570881185600 metric_logger.py:185] completed step: 15, seconds: 0.158, TFLOP/s/device: 85.961, Tokens/s/device: 12956.941, total_weights: 65536, loss: 6.492
I0419 09:10:24.157835 138570881185600 metric_logger.py:185] completed step: 16, seconds: 0.158, TFLOP/s/device: 85.854, Tokens/s/device: 12940.812, total_weights: 65536, loss: 6.380
I0419 09:10:24.316287 138570881185600 metric_logger.py:185] completed step: 17, seconds: 0.158, TFLOP/s/device: 85.946, Tokens/s/device: 12954.728, total_weights: 65536, loss: 6.293
I0419 09:10:24.474337 138570881185600 metric_logger.py:185] completed step: 18, seconds: 0.158, TFLOP/s/device: 85.859, Tokens/s/device: 12941.630, total_weights: 65536, loss: 6.223
I0419 09:10:24.632222 138570881185600 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0419 09:10:24.633304 138570881185600 checkpointing.py:776] Waited 0.0010993480682373047 seconds for step 19 to finish before starting checkpointing.
I0419 09:10:24.635248 138570881185600 checkpoint_manager.py:2024] [process=4][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 09:10:28.384821 138441719260928 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints/10/items/array_metadatas/process_4
I0419 09:11:04.603105 138439605348096 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/gbytes_per_sec: 37.855 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.731486797332764 s) (per-host)
I0419 09:11:04.603228 138439605348096 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.415873s.
I0419 09:11:13.211492 138439605348096 async_checkpointer.py:144] [process=4][thread=async_save] Background save thread done. Time taken: 50.024120s.
I0419 09:11:13.211804 138441190782720 async_checkpointer.py:273] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 09:11:13.211925 138441190782720 async_checkpointer.py:283] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0419 09:11:13.211994 138441190782720 checkpoint_manager.py:2133] [process=4][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0419 09:11:13.213320 138441190782720 checkpoint_manager.py:2142] [process=4][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0419 09:11:13.213518 138570881185600 checkpoint_manager.py:2036] [process=4][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0419 09:11:13.213636 138570881185600 checkpoint_manager.py:1458] Waiting for previous save to complete took 48.578398 seconds. If this number is high, consider checkpointing less frequently.
I0419 09:11:13.215109 138570881185600 checkpoint_manager.py:1518] [process=4] Saving checkpoint at step 19
I0419 09:11:13.218575 138570881185600 async_checkpointer.py:452] [process=4] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints/19.
I0419 09:11:14.164991 138570881185600 jax_array_handlers.py:358] Scheduling D2H of 81 prioritized jax.Array.
I0419 09:11:14.165091 138570881185600 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
I0419 09:11:14.224373 138570881185600 base_pytree_checkpoint_handler.py:153] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.060645s
I0419 09:11:14.224534 138570881185600 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/blocking_gbytes_per_sec: 4.922 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.313457727432251 s) (per-host)
I0419 09:11:14.224585 138570881185600 base_pytree_checkpoint_handler.py:737] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.313519s (batch_requests_ready=0.249477s, total_serialization_initiated=0.063976s, others=0.000065s)
I0419 09:11:14.224707 138570881185600 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.317649s (all_items=0.000011s, per_item={'items': '0.00001144'}, temp_paths=0.317638)
I0419 09:11:14.225650 138441719260928 async_checkpointer.py:79] [process=4][thread=async_save] Background save thread started.
I0419 09:11:14.225809 138570881185600 async_checkpointer.py:561] Finished blocking save. Time taken: 1.010630s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints/19.
I0419 09:11:14.663342 138570881185600 checkpoint_manager.py:1566] [process=4][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 09:11:14.663701 138441190782720 async_checkpointer.py:265] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0419 09:11:14.663867 138570881185600 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776589824.6352217, 'wait_for_prev_duration_secs': 48.57839798927307, 'time_between_consecutive_saves_sec': 2.483268976211548, 'checkpointer_blocking_start_time': 1776589873.2151492, 'checkpointer_blocking_duration_secs': 1.0107667446136475, 'get_old_steps_start_time': 1776589874.2259312, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1776589824.6336234, 'checkpoint_manager_blocking_duration_secs': 50.03021168708801}
I0419 09:11:14.663995 138570881185600 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0419 09:11:14.664038 138570881185600 checkpoint_manager.py:2024] [process=4][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 09:11:19.810820 138441207568128 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 81 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_05_fp8/checkpoints/19/items/array_metadatas/process_4
I0419 09:11:55.150171 138441719260928 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/gbytes_per_sec: 38.307 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.2390513420105 s) (per-host)
I0419 09:11:55.150294 138441719260928 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 40.924533s.
I0419 09:12:04.491114 138441719260928 async_checkpointer.py:144] [process=4][thread=async_save] Background save thread done. Time taken: 50.265337s.
I0419 09:12:04.491397 138441190782720 async_checkpointer.py:273] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 09:12:04.491523 138441190782720 async_checkpointer.py:283] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0419 09:12:04.491566 138441190782720 checkpoint_manager.py:2133] [process=4][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0419 09:12:04.493035 138441190782720 checkpoint_manager.py:2142] [process=4][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0419 09:12:04.493195 138570881185600 checkpoint_manager.py:2036] [process=4][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0419 09:12:04.493338 138570881185600 checkpoint_manager.py:2013] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 09:12:04.494000 138570881185600 metric_logger.py:185] completed step: 19, seconds: 0.158, TFLOP/s/device: 85.772, Tokens/s/device: 12928.477, total_weights: 65536, loss: 6.167
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sun Apr 19 09:12:13 UTC 2026
EXIT_CODE=0