MaxView

‹ 10_shardy_falseCase: 10_shardy_true11_optimizer_offload_false ›

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

Metricmain  574ad3fb9test/pipeline-scan-nnx  574ad3fb9Diff (test/pipeline-scan-nnx − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.17692.066-0.11
Tok/s13893.813877.2-16.569
Avg s/step2.8332.466-0.367
Memory %1.381.380
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:41:42 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:42:06.694631: 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:42:06.877488 133914708539200 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 18:42:15.918587 133914708539200 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 18:42:15.921077 133914708539200 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-true-y5zrb-slice-job-0-0.mt-10-shardy-true-y5zrb:8482
I0418 18:42:16.863288 133914708539200 max_utils.py:284] Jax distributed system initialized!
I0418 18:42:22.113700 133914708539200 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 18:42:22.113806 133914708539200 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 18:42:22.113844 133914708539200 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:42:22.113877 133914708539200 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 18:42:22.815111 133914708539200 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 18:42:22.815379 133914708539200 checkpointing.py:677] Setting up checkpoint logger...
I0418 18:42:22.815432 133914708539200 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 18:42:22.815492 133914708539200 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 18:42:22.815828 133914708539200 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 0x79cadc317dd0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 18:42:26.648787 133914708539200 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 18:42:26.649026 133914708539200 checkpoint_manager.py:708] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79b71447e030>}, handler_registry=None
I0418 18:42:26.649260 133914708539200 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79b71447e030>` 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:42:26.649307 133914708539200 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79b7144803e0>` 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:42:26.649342 133914708539200 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 0x79b71447e030>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79b71447e030>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79b7144803e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79b7144803e0>}).
I0418 18:42:26.649667 133914708539200 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 18:42:26.649804 133914708539200 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x79b6fc7f7d80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0418 18:42:27.767965 133914708539200 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_10_shardy_true/checkpoints
I0418 18:42:29.061217 133914708539200 checkpoint_manager.py:929] [process=5][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_10_shardy_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x79b7145dd400>
I0418 18:42:29.061382 133914708539200 checkpointing.py:301] Checkpoint manager created!
I0418 18:42:29.989322 133914708539200 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 18:42:29.989434 133914708539200 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:42:30.365541 133914708539200 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:42:30.365628 133914708539200 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:42:30.381757 133914708539200 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:42:30.381813 133914708539200 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:42:30.405273 133914708539200 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:42:30.405340 133914708539200 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:42:30.421690 133914708539200 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:42:30.421756 133914708539200 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:42:30.437949 133914708539200 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:42:30.438007 133914708539200 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:42:30.462394 133914708539200 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 18:42:30.462481 133914708539200 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:42:30.484215 133914708539200 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 18:42:30.484279 133914708539200 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 18:42:30.698811 133914708539200 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 18:42:30.698915 133914708539200 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0418 18:42:32.122489 133914708539200 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 18:42:32.122609 133914708539200 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:42:32.122660 133914708539200 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:42:32.122715 133914708539200 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:42:32.122766 133914708539200 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:42:32.122803 133914708539200 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:42:32.122852 133914708539200 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:42:32.122900 133914708539200 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:42:32.122940 133914708539200 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:42:32.122981 133914708539200 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:42:32.123026 133914708539200 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0418 18:42:32.123071 133914708539200 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0418 18:42:32.605906 133914708539200 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:42:32.606003 133914708539200 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:42:32.621312 133914708539200 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:42:32.621371 133914708539200 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:42:43.553602 133914708539200 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:42:43.554400 133914708539200 metric_logger.py:301] number parameters: 1.104 billion
I0418 18:42:54.752810 133914708539200 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0418 18:42:55.021728 133914708539200 checkpointing.py:776] Waited 0.26889610290527344 seconds for step 0 to finish before starting checkpointing.
I0418 18:42:55.024064 133914708539200 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:42:55.025806 133914708539200 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0418 18:42:55.027328 133914708539200 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_10_shardy_true/checkpoints/0.
I0418 18:42:55.751049 133914708539200 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 18:42:55.752059 133914708539200 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:42:55.752115 133914708539200 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:42:56.028216 133914708539200 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.277247s
I0418 18:42:56.028384 133914708539200 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.458 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2826268672943115 s) (per-host)
I0418 18:42:56.028434 133914708539200 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.282687s (batch_requests_ready=0.002196s, total_serialization_initiated=0.280424s, others=0.000068s)
I0418 18:42:56.028541 133914708539200 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.286869s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.286852)
I0418 18:42:56.029290 133914708539200 event_tracking.py:125] [process=5] [async] Finished blocking save in 1.00 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_10_shardy_true/checkpoints/0.
I0418 18:42:56.029646 133788558419712 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 19:02:56.029607
I0418 18:42:56.039738 133914708539200 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:42:56.040051 133787493070592 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:42:56.040205 133914708539200 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776537775.0240462, 'wait_for_prev_duration_secs': 5.817413330078125e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776537775.0258446, 'checkpointer_blocking_duration_secs': 1.0039622783660889, 'get_old_steps_start_time': 1776537776.0298314, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1776537775.02232, 'checkpoint_manager_blocking_duration_secs': 1.0178472995758057}
I0418 18:42:56.040307 133914708539200 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0418 18:42:56.040355 133914708539200 max_utils.py:750] 
Memstats: After params initialized:
I0418 18:42:56.040401 133914708539200 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0418 18:42:56.040432 133914708539200 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0418 18:42:56.040474 133914708539200 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0418 18:42:56.040502 133914708539200 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0418 18:42:56.350466 133914708539200 metric_logger.py:196] completed step: 0, seconds: 11.198, TFLOP/s/device: 1.213, Tokens/s/device: 182.885, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:42:56.540039 133914708539200 metric_logger.py:196] completed step: 1, seconds: 1.596, TFLOP/s/device: 8.512, Tokens/s/device: 1283.093, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:42:56.932957 133914708539200 metric_logger.py:196] completed step: 2, seconds: 0.040, TFLOP/s/device: 338.679, Tokens/s/device: 51049.404, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0418 18:42:57.080399 133914708539200 metric_logger.py:196] completed step: 3, seconds: 0.395, TFLOP/s/device: 34.367, Tokens/s/device: 5180.207, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0418 18:42:57.375797 133914708539200 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.825, Tokens/s/device: 13388.684, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0418 18:42:57.381598 133914708539200 metric_logger.py:196] completed step: 5, seconds: 0.148, TFLOP/s/device: 91.943, Tokens/s/device: 13858.626, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0418 18:42:59.352937    2741 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 18:43:03.161494 133788512270080 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_10_shardy_true/checkpoints/0/items/array_metadatas/process_5
I0418 18:43:20.102432 133914708539200 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.994, Tokens/s/device: 6932.714, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0418 18:43:20.249827 133914708539200 metric_logger.py:196] completed step: 7, seconds: 22.574, TFLOP/s/device: 0.602, Tokens/s/device: 90.723, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0418 18:43:20.397408 133914708539200 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.341, Tokens/s/device: 13466.508, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0418 18:43:20.543981 133914708539200 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0418 18:43:20.544615 133914708539200 checkpointing.py:776] Waited 0.0006537437438964844 seconds for step 9 to finish before starting checkpointing.
I0418 18:43:20.546694 133914708539200 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:43:32.704379 133788558419712 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.740 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.95858144760132 s) (per-host)
I0418 18:43:32.704526 133788558419712 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.674764s.
I0418 18:43:42.130041 133788558419712 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 46.100262s.
I0418 18:43:42.130335 133787493070592 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:43:42.130450 133787493070592 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:43:42.130512 133787493070592 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:43:42.132972 133787493070592 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0418 18:43:42.133153 133914708539200 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0418 18:43:42.133286 133914708539200 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.586590 seconds. If this number is high, consider checkpointing less frequently.
I0418 18:43:42.135097 133914708539200 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0418 18:43:42.137277 133914708539200 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_10_shardy_true/checkpoints/9.
I0418 18:43:42.849955 133914708539200 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:43:42.850045 133914708539200 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:43:42.884425 133914708539200 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035644s
I0418 18:43:42.884613 133914708539200 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 39.494 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03905797004699707 s) (per-host)
I0418 18:43:42.884691 133914708539200 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039120s (batch_requests_ready=0.001739s, total_serialization_initiated=0.037311s, others=0.000070s)
I0418 18:43:42.884789 133914708539200 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043571s (all_items=0.000031s, per_item={'items': '0.00003123'}, temp_paths=0.043540)
I0418 18:43:42.886593 133914708539200 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_10_shardy_true/checkpoints/9.
I0418 18:43:42.886918 133787493070592 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 19:03:42.886882
I0418 18:43:42.889205 133914708539200 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:43:42.889511 133788512270080 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:43:42.889675 133914708539200 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776537800.546664, 'wait_for_prev_duration_secs': 21.58659029006958, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776537822.1351357, 'checkpointer_blocking_duration_secs': 0.7519299983978271, 'get_old_steps_start_time': 1776537822.8870883, 'get_old_steps_duration_secs': 3.075599670410156e-05, 'checkpoint_manager_blocking_start_time': 1776537800.5448525, 'checkpoint_manager_blocking_duration_secs': 22.34478735923767}
I0418 18:43:42.889788 133914708539200 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0418 18:43:42.889832 133914708539200 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:43:48.769068 133766471210752 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_10_shardy_true/checkpoints/9/items/array_metadatas/process_5
I0418 18:44:26.383441 133787493070592 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 36.281 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.537856340408325 s) (per-host)
I0418 18:44:26.383557 133787493070592 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.496523s.
I0418 18:44:34.188766 133787493070592 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 51.301714s.
I0418 18:44:34.189069 133788512270080 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:44:34.189213 133788512270080 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:44:34.189274 133788512270080 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:44:34.190756 133788512270080 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0418 18:44:34.190939 133914708539200 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0418 18:44:34.191092 133914708539200 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:44:34.191994 133914708539200 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.176, Tokens/s/device: 13893.788, 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: Sat Apr 18 18:44:43 UTC 2026
EXIT_CODE=0
XPK Start: Sun Apr 19 09:29:02 UTC 2026
2026-04-19 09:29:06.569018: 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:1776590946.581435      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:1776590946.585251      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:1776590946.596436      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776590946.596457      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776590946.596460      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776590946.596462      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:29:25.694309: 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:29:26.218800 137432625563456 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-19 09:29:35,258:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0419 09:29:35.258826 137432625563456 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-19 09:29:35,261:jax._src.distributed:157: Connecting to JAX distributed service on mt-10-shardy-true-ipehj-slice-job-0-0.mt-10-shardy-true-ipehj:8482
I0419 09:29:35.261218 137432625563456 distributed.py:157] Connecting to JAX distributed service on mt-10-shardy-true-ipehj-slice-job-0-0.mt-10-shardy-true-ipehj:8482
I0419 09:29:37.037434 137432625563456 max_utils.py:284] Jax distributed system initialized!
I0419 09:29:43.882929 137432625563456 max_utils.py:800] System Information: Jax Version: 0.8.1
I0419 09:29:43.883036 137432625563456 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0419 09:29:43.883078 137432625563456 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:29:43.883118 137432625563456 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0419 09:29:44.502791 137432625563456 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 09:29:44.503091 137432625563456 checkpointing.py:677] Setting up checkpoint logger...
I0419 09:29:44.503148 137432625563456 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0419 09:29:44.503193 137432625563456 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0419 09:29:44.503578 137432625563456 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 0x7cfdfd7752e0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0419 09:29:47.365668 137432625563456 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0419 09:29:47.365903 137432625563456 checkpoint_manager.py:709] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ce98010fe30>}, handler_registry=None
I0419 09:29:47.366144 137432625563456 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ce98010fe30>` 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:29:47.366193 137432625563456 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ce980212570>` 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:29:47.366229 137432625563456 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 0x7ce98010fe30>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ce98010fe30>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ce980212570>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ce980212570>}).
I0419 09:29:47.368948 137432625563456 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0419 09:29:47.369031 137432625563456 async_checkpointer.py:177] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7cfdebbf72e0> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0419 09:29:49.302090 137432625563456 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_10_shardy_true/checkpoints
I0419 09:29:50.577794 137432625563456 checkpoint_manager.py:929] [process=3][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7ce980113680>
I0419 09:29:50.577976 137432625563456 checkpointing.py:301] Checkpoint manager created!
I0419 09:29:51.464588 137432625563456 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0419 09:29:51.464696 137432625563456 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 09:29:51.832386 137432625563456 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 09:29:51.832478 137432625563456 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 09:29:51.848633 137432625563456 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 09:29:51.848691 137432625563456 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 09:29:51.877665 137432625563456 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:29:51.877769 137432625563456 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:29:51.894170 137432625563456 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:29:51.894230 137432625563456 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:29:51.910367 137432625563456 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:29:51.910428 137432625563456 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:29:51.934741 137432625563456 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0419 09:29:51.934808 137432625563456 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:29:51.954604 137432625563456 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0419 09:29:51.954668 137432625563456 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0419 09:29:52.144080 137432625563456 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0419 09:29:52.144190 137432625563456 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0419 09:29:53.576730 137432625563456 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0419 09:29:53.576861 137432625563456 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:29:53.576917 137432625563456 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:29:53.576975 137432625563456 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:29:53.577027 137432625563456 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:29:53.577065 137432625563456 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:29:53.577117 137432625563456 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:29:53.577174 137432625563456 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:29:53.577222 137432625563456 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:29:53.577284 137432625563456 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:29:53.577340 137432625563456 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0419 09:29:53.577390 137432625563456 maxtext_utils.py:1501]  params/params/token_embedder/embedding

    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0419 09:29:54.084029 137432625563456 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 09:29:54.084132 137432625563456 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 09:29:54.101097 137432625563456 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 09:29:54.101201 137432625563456 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 09:30:05.020738 137432625563456 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:30:05.021650 137432625563456 metric_logger.py:289] number parameters: 1.104 billion
I0419 09:30:16.116748 137432625563456 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0419 09:30:16.269372 137432625563456 checkpointing.py:776] Waited 0.15261197090148926 seconds for step 0 to finish before starting checkpointing.
I0419 09:30:16.271730 137432625563456 checkpoint_manager.py:2013] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 09:30:16.273386 137432625563456 checkpoint_manager.py:1518] [process=3] Saving checkpoint at step 0
I0419 09:30:16.276426 137432625563456 async_checkpointer.py:452] [process=3] 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_10_shardy_true/checkpoints/0.
I0419 09:30:17.282103 137432625563456 signaling_client.py:364] Using JaxDistributedSignalingClient
I0419 09:30:17.282983 137432625563456 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 09:30:17.283043 137432625563456 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:30:17.537613 137432625563456 base_pytree_checkpoint_handler.py:153] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.255590s
I0419 09:30:17.537780 137432625563456 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.940 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5247254371643066 s) (per-host)
I0419 09:30:17.537830 137432625563456 base_pytree_checkpoint_handler.py:737] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.524785s (batch_requests_ready=0.265515s, total_serialization_initiated=0.259202s, others=0.000068s)
I0419 09:30:17.537922 137432625563456 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.528837s (all_items=0.000019s, per_item={'items': '0.00001907'}, temp_paths=0.528818)
I0419 09:30:17.538887 137310221883136 async_checkpointer.py:79] [process=3][thread=async_save] Background save thread started.
I0419 09:30:17.539061 137432625563456 async_checkpointer.py:561] Finished blocking save. Time taken: 1.265599s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_true/checkpoints/0.
I0419 09:30:17.564153 137432625563456 checkpoint_manager.py:1566] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 09:30:17.564467 137305834628864 async_checkpointer.py:265] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0419 09:30:17.564636 137432625563456 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_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776591016.2717118, 'wait_for_prev_duration_secs': 6.413459777832031e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776591016.2734253, 'checkpointer_blocking_duration_secs': 1.2657396793365479, 'get_old_steps_start_time': 1776591017.539187, 'get_old_steps_duration_secs': 2.5272369384765625e-05, 'checkpoint_manager_blocking_start_time': 1776591016.2699, 'checkpoint_manager_blocking_duration_secs': 1.2946984767913818}
I0419 09:30:17.564742 137432625563456 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0419 09:30:17.564793 137432625563456 max_utils.py:750] 
Memstats: After params initialized:
I0419 09:30:17.564843 137432625563456 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0419 09:30:17.564875 137432625563456 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0419 09:30:17.564903 137432625563456 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0419 09:30:17.564928 137432625563456 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0419 09:30:17.832868 137432625563456 metric_logger.py:185] completed step: 0, seconds: 11.095, TFLOP/s/device: 1.225, Tokens/s/device: 184.588, total_weights: 65536, loss: 10.874
I0419 09:30:17.999741 137432625563456 metric_logger.py:185] completed step: 1, seconds: 1.715, TFLOP/s/device: 7.923, Tokens/s/device: 1194.312, total_weights: 65536, loss: 10.874
I0419 09:30:18.400418 137432625563456 metric_logger.py:185] completed step: 2, seconds: 0.020, TFLOP/s/device: 695.563, Tokens/s/device: 104842.838, total_weights: 65536, loss: 10.263
I0419 09:30:18.548274 137432625563456 metric_logger.py:185] completed step: 3, seconds: 0.401, TFLOP/s/device: 33.864, Tokens/s/device: 5104.355, total_weights: 65536, loss: 9.734
I0419 09:30:18.843898 137432625563456 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.968, Tokens/s/device: 13410.250, total_weights: 65536, loss: 9.278
I0419 09:30:18.849581 137432625563456 metric_logger.py:185] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.021, Tokens/s/device: 13870.452, total_weights: 65536, loss: 8.892
I0419 09:30:38.152978 137432625563456 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.884, Tokens/s/device: 6916.092, total_weights: 65536, loss: 8.592
I0419 09:30:38.300863 137432625563456 metric_logger.py:185] completed step: 7, seconds: 19.157, TFLOP/s/device: 0.709, Tokens/s/device: 106.908, total_weights: 65536, loss: 8.384
I0419 09:30:38.448318 137432625563456 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.212, Tokens/s/device: 13446.967, total_weights: 65536, loss: 8.255
I0419 09:30:38.595568 137432625563456 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0419 09:30:38.596212 137432625563456 checkpointing.py:776] Waited 0.0006639957427978516 seconds for step 9 to finish before starting checkpointing.
I0419 09:30:38.598218 137432625563456 checkpoint_manager.py:2024] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 09:30:40.929583    2635 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0419 09:30:42.846457 137310230275840 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_true/checkpoints/0/items/array_metadatas/process_3
I0419 09:31:14.229306 137310221883136 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/gbytes_per_sec: 27.607 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 57.21622920036316 s) (per-host)
I0419 09:31:14.229408 137310221883136 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 56.690412s.
I0419 09:31:22.845219 137310221883136 async_checkpointer.py:144] [process=3][thread=async_save] Background save thread done. Time taken: 65.306206s.
I0419 09:31:22.845544 137305834628864 async_checkpointer.py:273] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 09:31:22.845669 137305834628864 async_checkpointer.py:283] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0419 09:31:22.845719 137305834628864 checkpoint_manager.py:2133] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0419 09:31:22.847440 137305834628864 checkpoint_manager.py:2142] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0419 09:31:22.847619 137432625563456 checkpoint_manager.py:2036] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0419 09:31:22.847745 137432625563456 checkpoint_manager.py:1458] Waiting for previous save to complete took 44.249533 seconds. If this number is high, consider checkpointing less frequently.
I0419 09:31:22.849613 137432625563456 checkpoint_manager.py:1518] [process=3] Saving checkpoint at step 9
I0419 09:31:22.853033 137432625563456 async_checkpointer.py:452] [process=3] 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_10_shardy_true/checkpoints/9.
I0419 09:31:23.390842 137432625563456 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 09:31:23.390946 137432625563456 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:31:23.438097 137432625563456 base_pytree_checkpoint_handler.py:153] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.049078s
I0419 09:31:23.438273 137432625563456 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.051 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.30542731285095215 s) (per-host)
I0419 09:31:23.438323 137432625563456 base_pytree_checkpoint_handler.py:737] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.305485s (batch_requests_ready=0.254497s, total_serialization_initiated=0.050908s, others=0.000081s)
I0419 09:31:23.438411 137432625563456 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.309453s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.309438)
I0419 09:31:23.439324 137306915641088 async_checkpointer.py:79] [process=3][thread=async_save] Background save thread started.
I0419 09:31:23.439484 137432625563456 async_checkpointer.py:561] Finished blocking save. Time taken: 0.589752s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_true/checkpoints/9.
I0419 09:31:23.867414 137432625563456 checkpoint_manager.py:1566] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 09:31:23.867777 137305834628864 async_checkpointer.py:265] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0419 09:31:23.867953 137432625563456 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776591038.5981884, 'wait_for_prev_duration_secs': 44.24953317642212, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776591082.8496988, 'checkpointer_blocking_duration_secs': 0.5898933410644531, 'get_old_steps_start_time': 1776591083.4396129, 'get_old_steps_duration_secs': 2.6226043701171875e-05, 'checkpoint_manager_blocking_start_time': 1776591038.5964582, 'checkpoint_manager_blocking_duration_secs': 45.27145552635193}
I0419 09:31:23.868077 137432625563456 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0419 09:31:23.868124 137432625563456 checkpoint_manager.py:2024] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 09:31:29.189576 137310230275840 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_true/checkpoints/9/items/array_metadatas/process_3
I0419 09:32:05.094382 137306915641088 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/gbytes_per_sec: 37.644 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.9614953994751 s) (per-host)
I0419 09:32:05.094505 137306915641088 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.655069s.
I0419 09:32:14.071029 137306915641088 async_checkpointer.py:144] [process=3][thread=async_save] Background save thread done. Time taken: 50.631579s.
I0419 09:32:14.071277 137305834628864 async_checkpointer.py:273] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 09:32:14.071340 137305834628864 async_checkpointer.py:283] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0419 09:32:14.071388 137305834628864 checkpoint_manager.py:2133] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0419 09:32:14.072940 137305834628864 checkpoint_manager.py:2142] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0419 09:32:14.073100 137432625563456 checkpoint_manager.py:2036] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0419 09:32:14.073252 137432625563456 checkpoint_manager.py:2013] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 09:32:14.073884 137432625563456 metric_logger.py:185] completed step: 9, seconds: 0.148, TFLOP/s/device: 92.066, Tokens/s/device: 13877.219, 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: Sun Apr 19 09:32:27 UTC 2026
EXIT_CODE=0