MaxView

‹ —Case: 01_base02_synthetic ›

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

Metricmain  574ad3fb9test/pipeline-scan-nnx  e27fc1e97Diff (test/pipeline-scan-nnx − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.14792.211+0.064
Tok/s13889.413899.0+9.615
Avg s/step3.0992.443-0.656
Memory %1.381.380
JAX0.9.20.8.1

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

main  ·  574ad3fb9  ·  main_20260420_060028  ·  full log
XPK Start: Mon Apr 20 06:02:53 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-20 06:03:17.552917: 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)
I0420 06:03:18.077798 140565735454528 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 06:03:27.120012 140565735454528 distributed.py:172] Connecting to JAX distributed service on mt-01-base-cz2z0-slice-job-0-0.mt-01-base-cz2z0:8482
I0420 06:03:30.892182 140565735454528 max_utils.py:284] Jax distributed system initialized!
I0420 06:03:37.153469 140565735454528 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 06:03:37.153578 140565735454528 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 06:03:37.153618 140565735454528 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
I0420 06:03:37.153653 140565735454528 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 06:03:37.857581 140565735454528 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 06:03:37.857854 140565735454528 checkpointing.py:677] Setting up checkpoint logger...
I0420 06:03:37.857904 140565735454528 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 06:03:37.857947 140565735454528 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 06:03:37.858276 140565735454528 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 0x7fd77331cf50>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 06:03:42.028361 140565735454528 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0420 06:03:42.028597 140565735454528 checkpoint_manager.py:708] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7fc4685a7830>}, handler_registry=None
I0420 06:03:42.028834 140565735454528 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7fc4685a7830>` 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`.
I0420 06:03:42.028882 140565735454528 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7fc4685a8290>` 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`.
I0420 06:03:42.028916 140565735454528 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 0x7fc4685a7830>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7fc4685a7830>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7fc4685a8290>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7fc4685a8290>}).
I0420 06:03:42.029226 140565735454528 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 06:03:42.029293 140565735454528 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7fc4681e37e0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 06:03:43.472067 140565735454528 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints
I0420 06:03:43.474267 140565735454528 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_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7fc4685a51c0>
I0420 06:03:43.474391 140565735454528 checkpointing.py:301] Checkpoint manager created!
I0420 06:03:44.404259 140565735454528 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 06:03:44.404382 140565735454528 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:03:44.785475 140565735454528 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:03:44.785563 140565735454528 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:03:44.801773 140565735454528 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:03:44.801842 140565735454528 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:03:44.825828 140565735454528 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:03:44.825896 140565735454528 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:03:44.842213 140565735454528 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:03:44.842273 140565735454528 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:03:44.858437 140565735454528 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:03:44.858491 140565735454528 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:03:44.883719 140565735454528 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 06:03:44.883793 140565735454528 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:03:44.904947 140565735454528 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 06:03:44.905012 140565735454528 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 06:03:45.119812 140565735454528 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 06:03:45.119921 140565735454528 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 06:03:46.534819 140565735454528 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 06:03:46.534942 140565735454528 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)
I0420 06:03:46.534994 140565735454528 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)
I0420 06:03:46.535050 140565735454528 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')
I0420 06:03:46.535108 140565735454528 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)
I0420 06:03:46.535148 140565735454528 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)
I0420 06:03:46.535199 140565735454528 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)
I0420 06:03:46.535250 140565735454528 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')
I0420 06:03:46.535290 140565735454528 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)
I0420 06:03:46.535326 140565735454528 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)
I0420 06:03:46.535413 140565735454528 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0420 06:03:46.535464 140565735454528 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0420 06:03:47.019758 140565735454528 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:03:47.019856 140565735454528 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:03:47.035173 140565735454528 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:03:47.035228 140565735454528 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:03:57.735125 140565735454528 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.
I0420 06:03:57.735875 140565735454528 metric_logger.py:301] number parameters: 1.104 billion
I0420 06:04:08.636200 140565735454528 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0420 06:04:09.817673 140565735454528 checkpointing.py:776] Waited 1.1814537048339844 seconds for step 0 to finish before starting checkpointing.
I0420 06:04:09.820287 140565735454528 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:04:09.822020 140565735454528 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0
I0420 06:04:09.823419 140565735454528 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints/0.
I0420 06:04:10.585949 140565735454528 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 06:04:10.587062 140565735454528 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:04:10.587120 140565735454528 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
I0420 06:04:10.856810 140565735454528 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.270935s
I0420 06:04:10.856988 140565735454528 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.583 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27631258964538574 s) (per-host)
I0420 06:04:10.857039 140565735454528 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.276374s (batch_requests_ready=0.002194s, total_serialization_initiated=0.274109s, others=0.000070s)
I0420 06:04:10.857130 140565735454528 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.280272s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.280253)
I0420 06:04:10.857871 140565735454528 event_tracking.py:125] [process=4] [async] Finished blocking save in 1.04 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints/0.
I0420 06:04:10.858203 140424282892032 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:24:10.858164
I0420 06:04:10.869393 140565735454528 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:04:10.869668 140427211237120 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:04:10.869817 140565735454528 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665049.820269, 'wait_for_prev_duration_secs': 6.008148193359375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665049.8220582, 'checkpointer_blocking_duration_secs': 1.0363073348999023, 'get_old_steps_start_time': 1776665050.858389, 'get_old_steps_duration_secs': 2.86102294921875e-05, 'checkpoint_manager_blocking_start_time': 1776665049.81816, 'checkpoint_manager_blocking_duration_secs': 1.0516114234924316}
I0420 06:04:10.869930 140565735454528 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0420 06:04:10.869979 140565735454528 max_utils.py:750] 
Memstats: After params initialized:
I0420 06:04:10.870029 140565735454528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0420 06:04:10.870061 140565735454528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0420 06:04:10.870088 140565735454528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0420 06:04:10.870114 140565735454528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0420 06:04:11.185344 140565735454528 metric_logger.py:196] completed step: 0, seconds: 10.900, TFLOP/s/device: 1.247, Tokens/s/device: 187.886, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:04:11.353417 140565735454528 metric_logger.py:196] completed step: 1, seconds: 2.548, TFLOP/s/device: 5.333, Tokens/s/device: 803.890, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:04:11.791573 140565735454528 metric_logger.py:196] completed step: 2, seconds: 0.021, TFLOP/s/device: 645.531, Tokens/s/device: 97301.406, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0420 06:04:11.938830 140565735454528 metric_logger.py:196] completed step: 3, seconds: 0.438, TFLOP/s/device: 31.014, Tokens/s/device: 4674.796, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0420 06:04:12.234112 140565735454528 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.811, Tokens/s/device: 13386.583, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0420 06:04:12.240108 140565735454528 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.277, Tokens/s/device: 13908.980, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0420 06:04:14.607463    2563 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 06:04:16.651885 140424291284736 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints/0/items/array_metadatas/process_4
I0420 06:04:36.373374 140565735454528 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.914, Tokens/s/device: 6920.672, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0420 06:04:36.520874 140565735454528 metric_logger.py:196] completed step: 7, seconds: 23.986, TFLOP/s/device: 0.566, Tokens/s/device: 85.383, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0420 06:04:36.668390 140565735454528 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.993, Tokens/s/device: 13413.939, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0420 06:04:36.815059 140565735454528 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0420 06:04:36.815741 140565735454528 checkpointing.py:776] Waited 0.0007014274597167969 seconds for step 9 to finish before starting checkpointing.
I0420 06:04:36.817916 140565735454528 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:04:46.847095 140424282892032 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 43.555 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.2663848400116 s) (per-host)
I0420 06:04:46.847203 140424282892032 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 35.988889s.
I0420 06:04:57.064536 140424282892032 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 46.206206s.
I0420 06:04:57.064745 140427211237120 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:04:57.064814 140427211237120 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:04:57.064878 140427211237120 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:04:57.067559 140427211237120 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 06:04:57.067731 140565735454528 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 06:04:57.067866 140565735454528 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.249950 seconds. If this number is high, consider checkpointing less frequently.
I0420 06:04:57.069668 140565735454528 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9
I0420 06:04:57.071694 140565735454528 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints/9.
I0420 06:04:57.779712 140565735454528 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:04:57.779809 140565735454528 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
I0420 06:04:57.813153 140565735454528 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034639s
I0420 06:04:57.813321 140565735454528 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 40.528 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03806161880493164 s) (per-host)
I0420 06:04:57.813388 140565735454528 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038138s (batch_requests_ready=0.001784s, total_serialization_initiated=0.036270s, others=0.000085s)
I0420 06:04:57.813475 140565735454528 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042305s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.042290)
I0420 06:04:57.814189 140565735454528 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.74 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints/9.
I0420 06:04:57.814549 140427211237120 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:24:57.814504
I0420 06:04:57.822854 140565735454528 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:04:57.823129 140424291284736 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:04:57.823292 140565735454528 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665076.8178873, 'wait_for_prev_duration_secs': 20.24994969367981, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665097.0697086, 'checkpointer_blocking_duration_secs': 0.7449915409088135, 'get_old_steps_start_time': 1776665097.8147223, 'get_old_steps_duration_secs': 2.8371810913085938e-05, 'checkpoint_manager_blocking_start_time': 1776665076.8159652, 'checkpoint_manager_blocking_duration_secs': 21.00729274749756}
I0420 06:04:57.823422 140565735454528 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0420 06:04:57.823468 140565735454528 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:05:04.857078 140412559800064 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_01_base/checkpoints/9/items/array_metadatas/process_4
I0420 06:05:39.559352 140427211237120 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.804 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.784045934677124 s) (per-host)
I0420 06:05:39.559463 140427211237120 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.744797s.
I0420 06:05:48.502025 140427211237120 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 50.687344s.
I0420 06:05:48.502302 140424291284736 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:05:48.502465 140424291284736 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:05:48.502517 140424291284736 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:05:48.505683 140424291284736 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 06:05:48.505867 140565735454528 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 06:05:48.506016 140565735454528 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:05:48.506895 140565735454528 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.147, Tokens/s/device: 13889.360, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Mon Apr 20 06:05:58 UTC 2026
EXIT_CODE=0
XPK Start: Tue Apr 21 00:54:12 UTC 2026
2026-04-21 00:54:16.235220: 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:1776732856.247600      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:1776732856.251267      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:1776732856.262347      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776732856.262363      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776732856.262366      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776732856.262368      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-21 00:54:36.027303: 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)
I0421 00:54:36.536579 136071008667456 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-21 00:54:45,575:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0421 00:54:45.575624 136071008667456 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-21 00:54:45,578:jax._src.distributed:157: Connecting to JAX distributed service on mt-01-base-tuorh-slice-job-0-0.mt-01-base-tuorh:8482
I0421 00:54:45.578010 136071008667456 distributed.py:157] Connecting to JAX distributed service on mt-01-base-tuorh-slice-job-0-0.mt-01-base-tuorh:8482
I0421 00:54:49.079182 136071008667456 max_utils.py:284] Jax distributed system initialized!
I0421 00:54:54.897638 136071008667456 max_utils.py:800] System Information: Jax Version: 0.8.1
I0421 00:54:54.897759 136071008667456 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0421 00:54:54.897804 136071008667456 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
I0421 00:54:54.897840 136071008667456 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 00:54:55.512278 136071008667456 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 00:54:55.512572 136071008667456 checkpointing.py:677] Setting up checkpoint logger...
I0421 00:54:55.512629 136071008667456 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0421 00:54:55.512674 136071008667456 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0421 00:54:55.513039 136071008667456 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 0x7bc103d751f0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 00:54:59.452906 136071008667456 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 00:54:59.453311 136071008667456 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 0x7baf0d4f3a70>}, handler_registry=None
I0421 00:54:59.453549 136071008667456 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7baf0d4f3a70>` 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`.
I0421 00:54:59.453599 136071008667456 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7baf0d4f7aa0>` 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`.
I0421 00:54:59.453634 136071008667456 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 0x7baf0d4f3a70>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7baf0d4f3a70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7baf0d4f7aa0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7baf0d4f7aa0>}).
I0421 00:54:59.456268 136071008667456 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0421 00:54:59.456353 136071008667456 async_checkpointer.py:177] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7bc0f19f72e0> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0421 00:55:01.109423 136071008667456 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints
I0421 00:55:01.934388 136071008667456 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_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7baf0eccce60>
I0421 00:55:01.934561 136071008667456 checkpointing.py:301] Checkpoint manager created!
I0421 00:55:02.838842 136071008667456 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 00:55:02.838944 136071008667456 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 00:55:03.208457 136071008667456 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 00:55:03.208547 136071008667456 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 00:55:03.224399 136071008667456 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 00:55:03.224460 136071008667456 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 00:55:03.248678 136071008667456 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 00:55:03.248761 136071008667456 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 00:55:03.265290 136071008667456 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 00:55:03.265358 136071008667456 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 00:55:03.281432 136071008667456 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 00:55:03.281494 136071008667456 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 00:55:03.305637 136071008667456 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 00:55:03.305717 136071008667456 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 00:55:03.325273 136071008667456 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 00:55:03.325341 136071008667456 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 00:55:03.514802 136071008667456 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 00:55:03.514911 136071008667456 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0421 00:55:04.928095 136071008667456 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0421 00:55:04.928233 136071008667456 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)
I0421 00:55:04.928294 136071008667456 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)
I0421 00:55:04.928388 136071008667456 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')
I0421 00:55:04.928483 136071008667456 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)
I0421 00:55:04.928557 136071008667456 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)
I0421 00:55:04.928645 136071008667456 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)
I0421 00:55:04.928734 136071008667456 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')
I0421 00:55:04.928789 136071008667456 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)
I0421 00:55:04.928831 136071008667456 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)
I0421 00:55:04.928882 136071008667456 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0421 00:55:04.928930 136071008667456 maxtext_utils.py:1501]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')

    Physical:  (None, 'fsdp')
I0421 00:55:05.429147 136071008667456 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 00:55:05.429240 136071008667456 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 00:55:05.444095 136071008667456 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 00:55:05.444155 136071008667456 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 00:55:16.077654 136071008667456 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.
I0421 00:55:16.078536 136071008667456 metric_logger.py:289] number parameters: 1.104 billion
I0421 00:55:27.110865 136071008667456 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0421 00:55:27.264046 136071008667456 checkpointing.py:776] Waited 0.1531660556793213 seconds for step 0 to finish before starting checkpointing.
I0421 00:55:27.266524 136071008667456 checkpoint_manager.py:2013] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 00:55:27.268188 136071008667456 checkpoint_manager.py:1518] [process=4] Saving checkpoint at step 0
I0421 00:55:27.270867 136071008667456 async_checkpointer.py:452] [process=4] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints/0.
I0421 00:55:28.255306 136071008667456 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 00:55:28.256230 136071008667456 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 00:55:28.256288 136071008667456 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
I0421 00:55:28.499231 136071008667456 base_pytree_checkpoint_handler.py:153] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.244004s
I0421 00:55:28.499405 136071008667456 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/blocking_gbytes_per_sec: 3.054 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5050902366638184 s) (per-host)
I0421 00:55:28.499456 136071008667456 base_pytree_checkpoint_handler.py:737] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.505151s (batch_requests_ready=0.257476s, total_serialization_initiated=0.247605s, others=0.000070s)
I0421 00:55:28.499546 136071008667456 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.509397s (all_items=0.000020s, per_item={'items': '0.00001979'}, temp_paths=0.509377)
I0421 00:55:28.501613 135945714136832 async_checkpointer.py:79] [process=4][thread=async_save] Background save thread started.
I0421 00:55:28.501743 136071008667456 async_checkpointer.py:561] Finished blocking save. Time taken: 1.233484s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints/0.
I0421 00:55:28.947490 136071008667456 checkpoint_manager.py:1566] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 00:55:28.947892 135951577753344 async_checkpointer.py:265] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0421 00:55:28.948060 136071008667456 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776732927.2665062, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776732927.2682264, 'checkpointer_blocking_duration_secs': 1.23362135887146, 'get_old_steps_start_time': 1776732928.501868, 'get_old_steps_duration_secs': 2.7179718017578125e-05, 'checkpoint_manager_blocking_start_time': 1776732927.2646341, 'checkpoint_manager_blocking_duration_secs': 1.6833832263946533}
I0421 00:55:28.948170 136071008667456 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0421 00:55:28.948226 136071008667456 max_utils.py:750] 
Memstats: After params initialized:
I0421 00:55:28.948282 136071008667456 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0421 00:55:28.948315 136071008667456 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0421 00:55:28.948343 136071008667456 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0421 00:55:28.948368 136071008667456 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0421 00:55:29.214927 136071008667456 metric_logger.py:185] completed step: 0, seconds: 11.032, TFLOP/s/device: 1.232, Tokens/s/device: 185.638, total_weights: 65536, loss: 10.874
I0421 00:55:29.381532 136071008667456 metric_logger.py:185] completed step: 1, seconds: 2.103, TFLOP/s/device: 6.462, Tokens/s/device: 973.956, total_weights: 65536, loss: 10.874
I0421 00:55:29.782727 136071008667456 metric_logger.py:185] completed step: 2, seconds: 0.020, TFLOP/s/device: 690.719, Tokens/s/device: 104112.653, total_weights: 65536, loss: 10.263
I0421 00:55:29.930041 136071008667456 metric_logger.py:185] completed step: 3, seconds: 0.402, TFLOP/s/device: 33.834, Tokens/s/device: 5099.817, total_weights: 65536, loss: 9.734
I0421 00:55:30.225239 136071008667456 metric_logger.py:185] completed step: 4, seconds: 0.152, TFLOP/s/device: 89.187, Tokens/s/device: 13443.172, total_weights: 65536, loss: 9.278
I0421 00:55:30.230833 136071008667456 metric_logger.py:185] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.268, Tokens/s/device: 13907.658, total_weights: 65536, loss: 8.892
I0421 00:55:48.946935 136071008667456 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.967, Tokens/s/device: 6928.680, total_weights: 65536, loss: 8.592
I0421 00:55:49.094353 136071008667456 metric_logger.py:185] completed step: 7, seconds: 18.569, TFLOP/s/device: 0.732, Tokens/s/device: 110.289, total_weights: 65536, loss: 8.384
I0421 00:55:49.241687 136071008667456 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.411, Tokens/s/device: 13477.053, total_weights: 65536, loss: 8.255
I0421 00:55:49.388853 136071008667456 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0421 00:55:49.389485 136071008667456 checkpointing.py:776] Waited 0.000644683837890625 seconds for step 9 to finish before starting checkpointing.
I0421 00:55:49.391579 136071008667456 checkpoint_manager.py:2024] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 00:55:50.036711    2627 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 00:55:51.860536 135951586146048 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints/0/items/array_metadatas/process_4
I0421 00:56:24.451708 135945714136832 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/gbytes_per_sec: 27.979 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 56.45733642578125 s) (per-host)
I0421 00:56:24.451826 135945714136832 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 55.950143s.
I0421 00:56:31.468271 135945714136832 async_checkpointer.py:144] [process=4][thread=async_save] Background save thread done. Time taken: 62.966572s.
I0421 00:56:31.468566 135951577753344 async_checkpointer.py:273] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 00:56:31.468685 135951577753344 async_checkpointer.py:283] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0421 00:56:31.468757 135951577753344 checkpoint_manager.py:2133] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0421 00:56:31.471571 135951577753344 checkpoint_manager.py:2142] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0421 00:56:31.471777 136071008667456 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.
W0421 00:56:31.471922 136071008667456 checkpoint_manager.py:1458] Waiting for previous save to complete took 42.080345 seconds. If this number is high, consider checkpointing less frequently.
I0421 00:56:31.473527 136071008667456 checkpoint_manager.py:1518] [process=4] Saving checkpoint at step 9
I0421 00:56:31.476919 136071008667456 async_checkpointer.py:452] [process=4] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints/9.
I0421 00:56:32.423167 136071008667456 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 00:56:32.423268 136071008667456 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
I0421 00:56:32.465626 136071008667456 base_pytree_checkpoint_handler.py:153] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044379s
I0421 00:56:32.465802 136071008667456 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.188 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2973189353942871 s) (per-host)
I0421 00:56:32.465852 136071008667456 base_pytree_checkpoint_handler.py:737] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.297378s (batch_requests_ready=0.251025s, total_serialization_initiated=0.046287s, others=0.000067s)
I0421 00:56:32.465940 136071008667456 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.301369s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.301354)
I0421 00:56:32.466804 135946234222336 async_checkpointer.py:79] [process=4][thread=async_save] Background save thread started.
I0421 00:56:32.466957 136071008667456 async_checkpointer.py:561] Finished blocking save. Time taken: 0.993362s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints/9.
I0421 00:56:32.897779 136071008667456 checkpoint_manager.py:1566] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 00:56:32.898150 135951577753344 async_checkpointer.py:265] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0421 00:56:32.898328 136071008667456 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776732949.3915486, 'wait_for_prev_duration_secs': 42.08034539222717, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776732991.473565, 'checkpointer_blocking_duration_secs': 0.9934957027435303, 'get_old_steps_start_time': 1776732992.4670827, 'get_old_steps_duration_secs': 2.4318695068359375e-05, 'checkpoint_manager_blocking_start_time': 1776732949.3897216, 'checkpoint_manager_blocking_duration_secs': 43.508570194244385}
I0421 00:56:32.898444 136071008667456 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0421 00:56:32.898491 136071008667456 checkpoint_manager.py:2024] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 00:56:37.115194 135951586146048 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_01_base/checkpoints/9/items/array_metadatas/process_4
I0421 00:57:14.519298 135946234222336 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/gbytes_per_sec: 37.298 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.350775957107544 s) (per-host)
I0421 00:57:14.519420 135946234222336 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.052509s.
I0421 00:57:22.527308 135946234222336 async_checkpointer.py:144] [process=4][thread=async_save] Background save thread done. Time taken: 50.060381s.
I0421 00:57:22.527588 135951577753344 async_checkpointer.py:273] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 00:57:22.527730 135951577753344 async_checkpointer.py:283] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0421 00:57:22.527781 135951577753344 checkpoint_manager.py:2133] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0421 00:57:22.529022 135951577753344 checkpoint_manager.py:2142] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0421 00:57:22.529206 136071008667456 checkpoint_manager.py:2036] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0421 00:57:22.529345 136071008667456 checkpoint_manager.py:2013] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 00:57:22.529948 136071008667456 metric_logger.py:185] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.211, Tokens/s/device: 13898.975, total_weights: 65536, loss: 8.179
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Tue Apr 21 00:57:32 UTC 2026
EXIT_CODE=0