MaxView

‹ 10_shardy_falseCase: 10_shardy_true11_optimizer_offload_false ›

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.31692.297-0.019
Tok/s13914.813912.0-2.836
Avg s/step2.7452.614-0.131
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:33:21 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:33:45.840813: 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:33:46.023170 138669787989824 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 06:33:55.062855 138669787989824 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 06:33:55.065101 138669787989824 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-true-bj7e6-slice-job-0-0.mt-10-shardy-true-bj7e6:8482
I0420 06:33:56.348227 138669787989824 max_utils.py:284] Jax distributed system initialized!
I0420 06:34:02.595024 138669787989824 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 06:34:02.595125 138669787989824 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 06:34:02.595165 138669787989824 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:34:02.595198 138669787989824 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 06:34:03.286667 138669787989824 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 06:34:03.286953 138669787989824 checkpointing.py:677] Setting up checkpoint logger...
I0420 06:34:03.287011 138669787989824 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 06:34:03.287054 138669787989824 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 06:34:03.287373 138669787989824 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 0x7e1dfa1181d0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 06:34:06.542274 138669787989824 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0420 06:34:06.542507 138669787989824 checkpoint_manager.py:708] [process=1][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e0a1427ec30>}, handler_registry=None
I0420 06:34:06.542752 138669787989824 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e0a1427ec30>` 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:34:06.542800 138669787989824 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e0a14074320>` 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:34:06.542836 138669787989824 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 0x7e0a1427ec30>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e0a1427ec30>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e0a14074320>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e0a14074320>}).
I0420 06:34:06.543150 138669787989824 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 06:34:06.543220 138669787989824 async_checkpointer.py:192] [process=1][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e09d456fd80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 06:34:07.717277 138669787989824 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_10_shardy_true/checkpoints
I0420 06:34:07.719482 138669787989824 checkpoint_manager.py:929] [process=1][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_10_shardy_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7e0a1426e060>
I0420 06:34:07.719591 138669787989824 checkpointing.py:301] Checkpoint manager created!
I0420 06:34:08.652229 138669787989824 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 06:34:08.652341 138669787989824 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:34:09.031838 138669787989824 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:34:09.031923 138669787989824 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:34:09.048276 138669787989824 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:34:09.048333 138669787989824 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:34:09.071806 138669787989824 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:34:09.071875 138669787989824 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:34:09.088321 138669787989824 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:34:09.088380 138669787989824 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:34:09.104623 138669787989824 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:34:09.104679 138669787989824 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:34:09.129299 138669787989824 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 06:34:09.129366 138669787989824 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:34:09.151294 138669787989824 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 06:34:09.151360 138669787989824 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 06:34:09.367732 138669787989824 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 06:34:09.367836 138669787989824 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 06:34:10.792915 138669787989824 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 06:34:10.793041 138669787989824 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:34:10.793095 138669787989824 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:34:10.793152 138669787989824 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:34:10.793205 138669787989824 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:34:10.793245 138669787989824 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:34:10.793297 138669787989824 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:34:10.793348 138669787989824 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:34:10.793386 138669787989824 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:34:10.793421 138669787989824 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:34:10.793467 138669787989824 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0420 06:34:10.793513 138669787989824 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')

    Physical:  (None, 'fsdp')
I0420 06:34:11.281460 138669787989824 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:34:11.281554 138669787989824 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:34:11.296935 138669787989824 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:34:11.296997 138669787989824 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:34:22.100689 138669787989824 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:34:22.101429 138669787989824 metric_logger.py:301] number parameters: 1.104 billion
I0420 06:34:33.186339 138669787989824 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0420 06:34:33.673331 138669787989824 checkpointing.py:776] Waited 0.4869699478149414 seconds for step 0 to finish before starting checkpointing.
I0420 06:34:33.675612 138669787989824 checkpoint_manager.py:2009] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:34:33.677211 138669787989824 checkpoint_manager.py:1512] [process=1] Saving checkpoint at step 0
I0420 06:34:33.678628 138669787989824 event_tracking.py:70] [process=1] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_10_shardy_true/checkpoints/0.
I0420 06:34:33.965728 138669787989824 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 06:34:33.966835 138669787989824 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:34:33.966891 138669787989824 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:34:34.238063 138669787989824 base_pytree_checkpoint_handler.py:154] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.272422s
I0420 06:34:34.238229 138669787989824 base_pytree_checkpoint_handler.py:130] [process=1] /jax/orbax/write/blocking_gbytes_per_sec: 5.554 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27774739265441895 s) (per-host)
I0420 06:34:34.238282 138669787989824 base_pytree_checkpoint_handler.py:768] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.277809s (batch_requests_ready=0.002150s, total_serialization_initiated=0.275590s, others=0.000070s)
I0420 06:34:34.238375 138669787989824 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.281898s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.281882)
I0420 06:34:34.239235 138669787989824 event_tracking.py:125] [process=1] [async] Finished blocking save in 0.56 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_10_shardy_true/checkpoints/0.
I0420 06:34:34.239572 138542044251904 async_checkpointer.py:76] [process=1][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:54:34.239534
I0420 06:34:34.258806 138669787989824 checkpoint_manager.py:1560] [process=1][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:34:34.259097 138539886950144 async_checkpointer.py:280] [process=1][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:34:34.259256 138669787989824 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776666873.675594, 'wait_for_prev_duration_secs': 5.9604644775390625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776666873.677252, 'checkpointer_blocking_duration_secs': 0.5624878406524658, 'get_old_steps_start_time': 1776666874.239765, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1776666873.6737976, 'checkpoint_manager_blocking_duration_secs': 0.5854206085205078}
I0420 06:34:34.259360 138669787989824 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0420 06:34:34.259409 138669787989824 max_utils.py:750] 
Memstats: After params initialized:
I0420 06:34:34.259459 138669787989824 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_2(process=1,(2,0,0,0))
I0420 06:34:34.259490 138669787989824 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_3(process=1,(3,0,0,0))
I0420 06:34:34.259518 138669787989824 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_6(process=1,(2,1,0,0))
I0420 06:34:34.259543 138669787989824 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_7(process=1,(3,1,0,0))
I0420 06:34:34.570834 138669787989824 metric_logger.py:196] completed step: 0, seconds: 11.085, TFLOP/s/device: 1.226, Tokens/s/device: 184.757, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:34:34.739320 138669787989824 metric_logger.py:196] completed step: 1, seconds: 1.383, TFLOP/s/device: 9.825, Tokens/s/device: 1480.884, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:34:35.142534 138669787989824 metric_logger.py:196] completed step: 2, seconds: 0.021, TFLOP/s/device: 636.578, Tokens/s/device: 95952.024, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0420 06:34:35.289660 138669787989824 metric_logger.py:196] completed step: 3, seconds: 0.403, TFLOP/s/device: 33.710, Tokens/s/device: 5081.129, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0420 06:34:35.584665 138669787989824 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.732, Tokens/s/device: 13374.694, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0420 06:34:35.590653 138669787989824 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.285, Tokens/s/device: 13910.209, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0420 06:34:37.558171    2845 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 06:34:40.026361 138539895342848 array_metadata_store.py:203] [process=1][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_10_shardy_true/checkpoints/0/items/array_metadatas/process_1
I0420 06:34:57.741405 138669787989824 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.982, Tokens/s/device: 6930.884, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0420 06:34:57.888739 138669787989824 metric_logger.py:196] completed step: 7, seconds: 22.004, TFLOP/s/device: 0.617, Tokens/s/device: 93.074, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0420 06:34:58.035913 138669787989824 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.192, Tokens/s/device: 13443.966, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0420 06:34:58.182511 138669787989824 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0420 06:34:58.183194 138669787989824 checkpointing.py:776] Waited 0.0007042884826660156 seconds for step 9 to finish before starting checkpointing.
I0420 06:34:58.185218 138669787989824 checkpoint_manager.py:2020] [process=1][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:35:11.577597 138542044251904 base_pytree_checkpoint_handler.py:130] [process=1] /jax/orbax/write/gbytes_per_sec: 41.991 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.6170768737793 s) (per-host)
I0420 06:35:11.577752 138542044251904 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.338066s.
I0420 06:35:19.694545 138542044251904 async_checkpointer.py:160] [process=1][thread=async_save] Background save thread done. Time taken: 45.454843s.
I0420 06:35:19.694861 138539886950144 async_checkpointer.py:288] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:35:19.694984 138539886950144 async_checkpointer.py:298] [process=1][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:35:19.695047 138539886950144 checkpoint_manager.py:2137] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:35:19.696367 138539886950144 checkpoint_manager.py:2146] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 06:35:19.696532 138669787989824 checkpoint_manager.py:2032] [process=1][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 06:35:19.696671 138669787989824 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.511453 seconds. If this number is high, consider checkpointing less frequently.
I0420 06:35:19.698804 138669787989824 checkpoint_manager.py:1512] [process=1] Saving checkpoint at step 9
I0420 06:35:19.700759 138669787989824 event_tracking.py:70] [process=1] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_10_shardy_true/checkpoints/9.
I0420 06:35:19.986849 138669787989824 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:35:19.986942 138669787989824 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:35:20.022449 138669787989824 base_pytree_checkpoint_handler.py:154] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.036659s
I0420 06:35:20.022614 138669787989824 base_pytree_checkpoint_handler.py:130] [process=1] /jax/orbax/write/blocking_gbytes_per_sec: 38.509 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04005718231201172 s) (per-host)
I0420 06:35:20.022664 138669787989824 base_pytree_checkpoint_handler.py:768] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040117s (batch_requests_ready=0.001756s, total_serialization_initiated=0.038293s, others=0.000068s)
I0420 06:35:20.022775 138669787989824 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044333s (all_items=0.000016s, per_item={'items': '0.00001621'}, temp_paths=0.044316)
I0420 06:35:20.023467 138669787989824 event_tracking.py:125] [process=1] [async] Finished blocking save in 0.32 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_10_shardy_true/checkpoints/9.
I0420 06:35:20.023817 138539886950144 async_checkpointer.py:76] [process=1][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:55:20.023780
I0420 06:35:20.028637 138669787989824 checkpoint_manager.py:1560] [process=1][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:35:20.028901 138534794090240 async_checkpointer.py:280] [process=1][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:35:20.029072 138669787989824 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776666898.1851885, 'wait_for_prev_duration_secs': 21.511452674865723, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776666919.6988437, 'checkpointer_blocking_duration_secs': 0.32512760162353516, 'get_old_steps_start_time': 1776666920.0239944, 'get_old_steps_duration_secs': 3.4332275390625e-05, 'checkpoint_manager_blocking_start_time': 1776666898.1834276, 'checkpoint_manager_blocking_duration_secs': 21.8456072807312}
I0420 06:35:20.029187 138669787989824 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0420 06:35:20.029231 138669787989824 checkpoint_manager.py:2020] [process=1][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:35:25.394845 138539895342848 array_metadata_store.py:203] [process=1][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_10_shardy_true/checkpoints/9/items/array_metadatas/process_1
I0420 06:36:01.923124 138539886950144 base_pytree_checkpoint_handler.py:130] [process=1] /jax/orbax/write/gbytes_per_sec: 37.663 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.94051480293274 s) (per-host)
I0420 06:36:01.923249 138539886950144 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.899312s.
I0420 06:36:10.711187 138539886950144 async_checkpointer.py:160] [process=1][thread=async_save] Background save thread done. Time taken: 50.687236s.
I0420 06:36:10.711475 138534794090240 async_checkpointer.py:288] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:36:10.711595 138534794090240 async_checkpointer.py:298] [process=1][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:36:10.711644 138534794090240 checkpoint_manager.py:2137] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:36:10.713220 138534794090240 checkpoint_manager.py:2146] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 06:36:10.713379 138669787989824 checkpoint_manager.py:2032] [process=1][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 06:36:10.713523 138669787989824 checkpoint_manager.py:2009] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:36:10.714552 138669787989824 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.316, Tokens/s/device: 13914.840, 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:36:22 UTC 2026
EXIT_CODE=0
XPK Start: Tue Apr 21 01:25:20 UTC 2026
2026-04-21 01:25:25.002875: 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:1776734725.015705      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:1776734725.019399      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:1776734725.030524      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776734725.030542      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776734725.030544      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776734725.030546      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-21 01:25:44.114330: 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 01:25:44.622409 134648390174528 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-21 01:25:53,665:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0421 01:25:53.665437 134648390174528 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-21 01:25:53,667:jax._src.distributed:157: Connecting to JAX distributed service on mt-10-shardy-true-u6os0-slice-job-0-0.mt-10-shardy-true-u6os0:8482
I0421 01:25:53.667795 134648390174528 distributed.py:157] Connecting to JAX distributed service on mt-10-shardy-true-u6os0-slice-job-0-0.mt-10-shardy-true-u6os0:8482
I0421 01:25:54.897411 134648390174528 max_utils.py:284] Jax distributed system initialized!
I0421 01:26:01.831878 134648390174528 max_utils.py:800] System Information: Jax Version: 0.8.1
I0421 01:26:01.831985 134648390174528 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0421 01:26:01.832025 134648390174528 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 01:26:01.832060 134648390174528 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 01:26:02.451364 134648390174528 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 01:26:02.451647 134648390174528 checkpointing.py:677] Setting up checkpoint logger...
I0421 01:26:02.451715 134648390174528 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0421 01:26:02.451761 134648390174528 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0421 01:26:02.452114 134648390174528 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 0x7a75c114d880>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 01:26:05.329788 134648390174528 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 01:26:05.330133 134648390174528 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 0x7a6277ae4620>}, handler_registry=None
I0421 01:26:05.330364 134648390174528 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a6277ae4620>` 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 01:26:05.330417 134648390174528 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a6194276540>` 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 01:26:05.330453 134648390174528 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 0x7a6277ae4620>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a6277ae4620>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a6194276540>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a6194276540>}).
I0421 01:26:05.330958 134648390174528 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0421 01:26:05.331035 134648390174528 async_checkpointer.py:177] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a615c3ac040> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0421 01:26:07.355479 134648390174528 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_10_shardy_true/checkpoints
I0421 01:26:07.357795 134648390174528 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_10_shardy_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a6194276270>
I0421 01:26:07.357908 134648390174528 checkpointing.py:301] Checkpoint manager created!
I0421 01:26:08.252932 134648390174528 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 01:26:08.253047 134648390174528 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:26:08.622792 134648390174528 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 01:26:08.622885 134648390174528 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:26:08.638356 134648390174528 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 01:26:08.638416 134648390174528 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:26:08.661050 134648390174528 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 01:26:08.661118 134648390174528 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:26:08.676885 134648390174528 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 01:26:08.676944 134648390174528 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:26:08.698485 134648390174528 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 01:26:08.698588 134648390174528 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:26:08.723315 134648390174528 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 01:26:08.723385 134648390174528 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:26:08.742653 134648390174528 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 01:26:08.742729 134648390174528 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 01:26:08.933174 134648390174528 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 01:26:08.933286 134648390174528 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0421 01:26:10.354225 134648390174528 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0421 01:26:10.354356 134648390174528 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 01:26:10.354411 134648390174528 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 01:26:10.354474 134648390174528 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 01:26:10.354527 134648390174528 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 01:26:10.354564 134648390174528 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 01:26:10.354616 134648390174528 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 01:26:10.354667 134648390174528 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 01:26:10.354719 134648390174528 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 01:26:10.354757 134648390174528 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 01:26:10.354805 134648390174528 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0421 01:26:10.354853 134648390174528 maxtext_utils.py:1501]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')

I0421 01:26:10.848781 134648390174528 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 01:26:10.848881 134648390174528 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 01:26:10.863704 134648390174528 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 01:26:10.863764 134648390174528 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 01:26:21.640184 134648390174528 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 01:26:21.641024 134648390174528 metric_logger.py:289] number parameters: 1.104 billion
I0421 01:26:32.854945 134648390174528 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0421 01:26:33.010232 134648390174528 checkpointing.py:776] Waited 0.15527057647705078 seconds for step 0 to finish before starting checkpointing.
I0421 01:26:33.014753 134648390174528 checkpoint_manager.py:2013] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:26:33.016482 134648390174528 checkpoint_manager.py:1518] [process=4] Saving checkpoint at step 0
I0421 01:26:33.019420 134648390174528 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_10_shardy_true/checkpoints/0.
I0421 01:26:34.001203 134648390174528 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 01:26:34.002256 134648390174528 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 01:26:34.002314 134648390174528 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 01:26:34.251080 134648390174528 base_pytree_checkpoint_handler.py:153] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.249964s
I0421 01:26:34.251257 134648390174528 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/blocking_gbytes_per_sec: 3.098 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.4979736804962158 s) (per-host)
I0421 01:26:34.251327 134648390174528 base_pytree_checkpoint_handler.py:737] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.498049s (batch_requests_ready=0.244357s, total_serialization_initiated=0.253609s, others=0.000083s)
I0421 01:26:34.251450 134648390174528 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.502200s (all_items=0.000020s, per_item={'items': '0.00002003'}, temp_paths=0.502180)
I0421 01:26:34.252376 134526462310144 async_checkpointer.py:79] [process=4][thread=async_save] Background save thread started.
I0421 01:26:34.252545 134648390174528 async_checkpointer.py:561] Finished blocking save. Time taken: 1.235992s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_true/checkpoints/0.
I0421 01:26:34.333452 134648390174528 checkpoint_manager.py:1566] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 01:26:34.333840 134523794740992 async_checkpointer.py:265] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0421 01:26:34.334002 134648390174528 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_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776734793.0147345, 'wait_for_prev_duration_secs': 6.29425048828125e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776734793.01652, 'checkpointer_blocking_duration_secs': 1.2361319065093994, 'get_old_steps_start_time': 1776734794.252674, 'get_old_steps_duration_secs': 3.7670135498046875e-05, 'checkpoint_manager_blocking_start_time': 1776734793.0108645, 'checkpoint_manager_blocking_duration_secs': 1.3230948448181152}
I0421 01:26:34.334108 134648390174528 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0421 01:26:34.334166 134648390174528 max_utils.py:750] 
Memstats: After params initialized:
I0421 01:26:34.334223 134648390174528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0421 01:26:34.334257 134648390174528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0421 01:26:34.334286 134648390174528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0421 01:26:34.334312 134648390174528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0421 01:26:34.601239 134648390174528 metric_logger.py:185] completed step: 0, seconds: 11.214, TFLOP/s/device: 1.212, Tokens/s/device: 182.632, total_weights: 65536, loss: 10.874
I0421 01:26:34.770656 134648390174528 metric_logger.py:185] completed step: 1, seconds: 1.745, TFLOP/s/device: 7.787, Tokens/s/device: 1173.677, total_weights: 65536, loss: 10.874
I0421 01:26:35.154054 134648390174528 metric_logger.py:185] completed step: 2, seconds: 0.022, TFLOP/s/device: 607.490, Tokens/s/device: 91567.558, total_weights: 65536, loss: 10.263
I0421 01:26:35.301491 134648390174528 metric_logger.py:185] completed step: 3, seconds: 0.384, TFLOP/s/device: 35.397, Tokens/s/device: 5335.404, total_weights: 65536, loss: 9.734
I0421 01:26:35.596872 134648390174528 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 89.072, Tokens/s/device: 13425.899, total_weights: 65536, loss: 9.278
I0421 01:26:35.602545 134648390174528 metric_logger.py:185] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.223, Tokens/s/device: 13900.861, total_weights: 65536, loss: 8.892
I0421 01:26:56.225848 134648390174528 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.929, Tokens/s/device: 6922.895, total_weights: 65536, loss: 8.592
I0421 01:26:56.373229 134648390174528 metric_logger.py:185] completed step: 7, seconds: 20.477, TFLOP/s/device: 0.664, Tokens/s/device: 100.017, total_weights: 65536, loss: 8.384
I0421 01:26:56.520644 134648390174528 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.404, Tokens/s/device: 13475.989, total_weights: 65536, loss: 8.255
I0421 01:26:56.667690 134648390174528 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0421 01:26:56.668386 134648390174528 checkpointing.py:776] Waited 0.0007116794586181641 seconds for step 9 to finish before starting checkpointing.
I0421 01:26:56.670404 134648390174528 checkpoint_manager.py:2024] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 01:26:57.980299    2639 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 01:27:01.165166 134526470702848 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_10_shardy_true/checkpoints/0/items/array_metadatas/process_4
I0421 01:27:31.526123 134526462310144 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/gbytes_per_sec: 27.342 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 57.77279877662659 s) (per-host)
I0421 01:27:31.526255 134526462310144 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 57.273768s.
I0421 01:27:41.304120 134526462310144 async_checkpointer.py:144] [process=4][thread=async_save] Background save thread done. Time taken: 67.051618s.
I0421 01:27:41.304354 134523794740992 async_checkpointer.py:273] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 01:27:41.304415 134523794740992 async_checkpointer.py:283] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0421 01:27:41.304489 134523794740992 checkpoint_manager.py:2133] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0421 01:27:41.307259 134523794740992 checkpoint_manager.py:2142] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0421 01:27:41.307437 134648390174528 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 01:27:41.307591 134648390174528 checkpoint_manager.py:1458] Waiting for previous save to complete took 44.637193 seconds. If this number is high, consider checkpointing less frequently.
I0421 01:27:41.309401 134648390174528 checkpoint_manager.py:1518] [process=4] Saving checkpoint at step 9
I0421 01:27:41.312944 134648390174528 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_10_shardy_true/checkpoints/9.
I0421 01:27:42.270278 134648390174528 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 01:27:42.270386 134648390174528 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 01:27:42.315970 134648390174528 base_pytree_checkpoint_handler.py:153] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.046891s
I0421 01:27:42.316163 134648390174528 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.104 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.30220484733581543 s) (per-host)
I0421 01:27:42.316231 134648390174528 base_pytree_checkpoint_handler.py:737] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.302280s (batch_requests_ready=0.253432s, total_serialization_initiated=0.048761s, others=0.000087s)
I0421 01:27:42.316350 134648390174528 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.306489s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.306472)
I0421 01:27:42.317523 134523786348288 async_checkpointer.py:79] [process=4][thread=async_save] Background save thread started.
I0421 01:27:42.317677 134648390174528 async_checkpointer.py:561] Finished blocking save. Time taken: 1.008206s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_true/checkpoints/9.
I0421 01:27:42.743870 134648390174528 checkpoint_manager.py:1566] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 01:27:42.744237 134523794740992 async_checkpointer.py:265] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0421 01:27:42.744420 134648390174528 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_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776734816.6703746, 'wait_for_prev_duration_secs': 44.63719296455383, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776734861.3094409, 'checkpointer_blocking_duration_secs': 1.0083503723144531, 'get_old_steps_start_time': 1776734862.3178113, 'get_old_steps_duration_secs': 2.5987625122070312e-05, 'checkpoint_manager_blocking_start_time': 1776734816.6686308, 'checkpoint_manager_blocking_duration_secs': 46.07573986053467}
I0421 01:27:42.744530 134648390174528 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0421 01:27:42.744577 134648390174528 checkpoint_manager.py:2024] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 01:27:49.079220 134526470702848 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_10_shardy_true/checkpoints/9/items/array_metadatas/process_4
I0421 01:28:24.839675 134523786348288 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/gbytes_per_sec: 36.884 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.82567572593689 s) (per-host)
I0421 01:28:24.839812 134523786348288 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.522179s.
I0421 01:28:32.814785 134523786348288 async_checkpointer.py:144] [process=4][thread=async_save] Background save thread done. Time taken: 50.497138s.
I0421 01:28:32.815076 134523794740992 async_checkpointer.py:273] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 01:28:32.815195 134523794740992 async_checkpointer.py:283] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0421 01:28:32.815243 134523794740992 checkpoint_manager.py:2133] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0421 01:28:32.817802 134523794740992 checkpoint_manager.py:2142] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0421 01:28:32.817980 134648390174528 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 01:28:32.818120 134648390174528 checkpoint_manager.py:2013] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:28:32.818787 134648390174528 metric_logger.py:185] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.297, Tokens/s/device: 13912.004, 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 01:28:41 UTC 2026
EXIT_CODE=0