MaxView

‹ 15_ocdbt_true_saveCase: 16_zarr3_false_resume16_zarr3_false_save ›

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 loss5.39105.39100
TFLOP/s92.17792.113-0.064
Tok/s13893.913884.3-9.608
Avg s/step8.5258.630+0.105
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 07:31:07 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 07:31:31.755599: 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 07:31:32.291649 135088473790272 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 07:31:41.333622 135088473790272 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 07:31:41.335987 135088473790272 distributed.py:172] Connecting to JAX distributed service on mt-16-zarr3-false-rs-cszoz-slice-job-0-0.mt-16-zarr3-false-rs-cszoz:8482
I0420 07:31:42.668657 135088473790272 max_utils.py:284] Jax distributed system initialized!
I0420 07:31:47.999677 135088473790272 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 07:31:47.999779 135088473790272 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 07:31:47.999823 135088473790272 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 07:31:47.999857 135088473790272 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 07:31:48.707550 135088473790272 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 07:31:48.707822 135088473790272 checkpointing.py:677] Setting up checkpoint logger...
I0420 07:31:48.707875 135088473790272 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=False
I0420 07:31:48.707924 135088473790272 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 07:31:48.708254 135088473790272 base_pytree_checkpoint_handler.py:441] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7adc04e4f1d0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 07:31:49.930782 135088473790272 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0420 07:31:49.931012 135088473790272 checkpoint_manager.py:708] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ac8784fe930>}, handler_registry=None
I0420 07:31:49.931242 135088473790272 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ac8784fe930>` 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 07:31:49.931290 135088473790272 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ac87839f200>` 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 07:31:49.931324 135088473790272 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 0x7ac8784fe930>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ac8784fe930>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ac87839f200>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ac87839f200>}).
I0420 07:31:49.931657 135088473790272 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 07:31:49.931727 135088473790272 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7ac8601c3880> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 07:31:51.477575 134969716356864 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776670094799312577, 'commit_timestamp_nsecs': 1776670142680280075, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/5/_CHECKPOINT_METADATA
I0420 07:31:51.726522 134969716356864 checkpoint_manager.py:1871] Missing metrics for step 5
I0420 07:31:52.153673 135088473790272 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints
I0420 07:31:52.600018 135088473790272 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=5), 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_16_zarr3_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7ac87871db50>
I0420 07:31:52.600193 135088473790272 checkpointing.py:301] Checkpoint manager created!
I0420 07:31:53.539827 135088473790272 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 07:31:53.539937 135088473790272 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 07:31:53.921438 135088473790272 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 07:31:53.921530 135088473790272 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 07:31:53.937797 135088473790272 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 07:31:53.937856 135088473790272 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 07:31:53.962330 135088473790272 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 07:31:53.962407 135088473790272 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 07:31:53.978829 135088473790272 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 07:31:53.978888 135088473790272 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 07:31:53.995278 135088473790272 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 07:31:53.995350 135088473790272 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 07:31:54.020385 135088473790272 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 07:31:54.020460 135088473790272 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 07:31:54.041770 135088473790272 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 07:31:54.041832 135088473790272 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 07:31:54.260373 135088473790272 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 07:31:54.260480 135088473790272 checkpointing.py:581] restoring from this run's directory step 9
I0420 07:31:54.518152 135088473790272 event_tracking.py:70] [process=4] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/9.
I0420 07:31:54.765818 135088473790272 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/9.
I0420 07:31:54.766241 135088473790272 event_tracking.py:125] [process=4] [sync] Finished blocking load in 0.25 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/9.
I0420 07:31:56.157637    1414 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 07:32:03.464491 135088473790272 jax_array_handlers.py:843] [process=4] /jax/orbax/read/worker/io/requested throughput: 216.100 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 7.312694072723389 s) (per-host)
I0420 07:32:03.469974 135088473790272 base_pytree_checkpoint_handler.py:130] [process=4] /jax/checkpoint/read/gbytes_per_sec: 205.033 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 7.718711853027344 s) (per-host)
I0420 07:32:04.311449 135088473790272 event_tracking.py:138] [process=4] [sync] Finished load in 9.79 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/9
I0420 07:32:04.311599 135088473790272 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints', 'checkpointer_start_time': 1776670314.5180545, 'checkpointer_duration_secs': 9.793514013290405, 'checkpoint_manager_start_time': 1776670314.2607217, 'checkpoint_manager_duration_secs': 10.050849199295044}
fsdp: 32
I0420 07:32:04.725955 135088473790272 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 07:32:04.726076 135088473790272 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 07:32:04.726130 135088473790272 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 07:32:04.726187 135088473790272 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 07:32:04.726238 135088473790272 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 07:32:04.726276 135088473790272 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 07:32:04.726325 135088473790272 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 07:32:04.726491 135088473790272 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 07:32:04.726534 135088473790272 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 07:32:04.726571 135088473790272 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 07:32:04.726618 135088473790272 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0420 07:32:04.726664 135088473790272 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')

    Physical:  (None, 'fsdp')
I0420 07:32:05.206961 135088473790272 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 07:32:05.207057 135088473790272 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 07:32:05.222791 135088473790272 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 07:32:05.222849 135088473790272 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 07:32:16.392876 135088473790272 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 07:32:16.393684 135088473790272 metric_logger.py:301] number parameters: 1.104 billion
I0420 07:32:27.775606 135088473790272 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0420 07:32:27.927739 135088473790272 checkpointing.py:776] Waited 0.15210986137390137 seconds for step 10 to finish before starting checkpointing.
I0420 07:32:27.930422 135088473790272 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 07:32:27.932369 135088473790272 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 10
I0420 07:32:27.934048 135088473790272 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/10.
I0420 07:32:28.710674 135088473790272 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 07:32:28.711577 135088473790272 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 07:32:28.711634 135088473790272 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 07:32:28.989174 135088473790272 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.278582s
I0420 07:32:28.989355 135088473790272 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.458 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28261613845825195 s) (per-host)
I0420 07:32:28.989412 135088473790272 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.282696s (batch_requests_ready=0.002156s, total_serialization_initiated=0.280452s, others=0.000088s)
I0420 07:32:28.989500 135088473790272 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.286880s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.286864)
I0420 07:32:28.990259 135088473790272 event_tracking.py:125] [process=4] [async] Finished blocking save in 1.06 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/10.
I0420 07:32:28.990622 134967497578240 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 07:52:28.990583
I0420 07:32:29.000119 135088473790272 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 07:32:29.000432 134969103984384 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0420 07:32:29.000610 135088473790272 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776670347.9304047, 'wait_for_prev_duration_secs': 6.031990051269531e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776670347.9324074, 'checkpointer_blocking_duration_secs': 1.0583722591400146, 'get_old_steps_start_time': 1776670348.9908028, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776670347.928261, 'checkpoint_manager_blocking_duration_secs': 1.0723142623901367}
I0420 07:32:29.000714 135088473790272 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0420 07:32:29.000766 135088473790272 max_utils.py:750] 
Memstats: After params initialized:
I0420 07:32:29.000817 135088473790272 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0420 07:32:29.000851 135088473790272 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0420 07:32:29.000885 135088473790272 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0420 07:32:29.000910 135088473790272 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0420 07:32:29.312306 135088473790272 metric_logger.py:196] completed step: 10, seconds: 11.382, TFLOP/s/device: 1.194, Tokens/s/device: 179.936, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0420 07:32:29.481695 135088473790272 metric_logger.py:196] completed step: 11, seconds: 1.535, TFLOP/s/device: 8.851, Tokens/s/device: 1334.053, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0420 07:32:29.629592 135088473790272 metric_logger.py:196] completed step: 12, seconds: 0.022, TFLOP/s/device: 611.317, Tokens/s/device: 92144.335, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0420 07:32:29.777244 135088473790272 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.643, Tokens/s/device: 13361.169, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0420 07:32:29.782140 135088473790272 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0420 07:32:30.071595 135088473790272 checkpointing.py:776] Waited 0.2894294261932373 seconds for step 15 to finish before starting checkpointing.
I0420 07:32:30.074511 135088473790272 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 07:32:34.717621 134968017663744 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/10/items/array_metadatas/process_4
I0420 07:33:11.767464 134967497578240 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 36.683 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.06070280075073 s) (per-host)
I0420 07:33:11.767604 134967497578240 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.776868s.
I0420 07:33:20.058192 134967497578240 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 51.067439s.
I0420 07:33:20.058499 134969103984384 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 07:33:20.058614 134969103984384 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0420 07:33:20.058661 134969103984384 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0420 07:33:20.060370 134969103984384 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0420 07:33:20.060560 135088473790272 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0420 07:33:20.060694 135088473790272 checkpoint_manager.py:1452] Waiting for previous save to complete took 49.986185 seconds. If this number is high, consider checkpointing less frequently.
I0420 07:33:20.062741 135088473790272 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 15
I0420 07:33:20.065031 135088473790272 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/15.
I0420 07:33:20.372605 135088473790272 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 07:33:20.372697 135088473790272 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 07:33:20.398423 135088473790272 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.026819s
I0420 07:33:20.398606 135088473790272 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 49.806 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.030971527099609375 s) (per-host)
I0420 07:33:20.398667 135088473790272 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.031047s (batch_requests_ready=0.002489s, total_serialization_initiated=0.028475s, others=0.000084s)
I0420 07:33:20.398765 135088473790272 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.036235s (all_items=0.000012s, per_item={'items': '0.00001216'}, temp_paths=0.036223)
I0420 07:33:20.399487 135088473790272 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/15.
I0420 07:33:20.399811 134969103984384 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 07:53:20.399777
I0420 07:33:20.411523 135088473790272 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=15] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 07:33:20.411789 134968017663744 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0420 07:33:20.411924 135088473790272 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776670350.0744796, 'wait_for_prev_duration_secs': 49.98618531227112, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776670400.0627797, 'checkpointer_blocking_duration_secs': 0.3371775150299072, 'get_old_steps_start_time': 1776670400.3999803, 'get_old_steps_duration_secs': 3.2901763916015625e-05, 'checkpoint_manager_blocking_start_time': 1776670350.0721602, 'checkpoint_manager_blocking_duration_secs': 50.339730978012085}
I0420 07:33:20.412042 135088473790272 checkpointing.py:408] Started an asynchronous checkpoint save for step 15
I0420 07:33:20.412878 135088473790272 metric_logger.py:196] completed step: 14, seconds: 0.148, TFLOP/s/device: 91.959, Tokens/s/device: 13861.064, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0420 07:33:20.419152 135088473790272 metric_logger.py:196] completed step: 15, seconds: 0.148, TFLOP/s/device: 91.819, Tokens/s/device: 13839.989, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0420 07:33:26.412936 134964828083968 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/15/items/array_metadatas/process_4
I0420 07:33:41.491839 135088473790272 metric_logger.py:196] completed step: 16, seconds: 50.635, TFLOP/s/device: 0.268, Tokens/s/device: 40.446, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0420 07:33:41.639386 135088473790272 metric_logger.py:196] completed step: 17, seconds: 20.927, TFLOP/s/device: 0.649, Tokens/s/device: 97.864, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0420 07:33:41.786816 135088473790272 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.316, Tokens/s/device: 13462.701, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0420 07:33:41.933727 135088473790272 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0420 07:33:41.934455 135088473790272 checkpointing.py:776] Waited 0.0007483959197998047 seconds for step 19 to finish before starting checkpointing.
I0420 07:33:41.936549 135088473790272 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=15][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 07:34:02.617207 134969103984384 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.387 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.24954271316528 s) (per-host)
I0420 07:34:02.617322 134969103984384 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.217398s.
I0420 07:34:11.275758 134969103984384 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 50.875818s.
I0420 07:34:11.276052 134968017663744 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 07:34:11.276168 134968017663744 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0420 07:34:11.276215 134968017663744 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0420 07:34:11.279026 134968017663744 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=15] CheckpointManager Save Finalize is done on all hosts.
I0420 07:34:11.279207 135088473790272 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=15][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=15.
W0420 07:34:11.279356 135088473790272 checkpoint_manager.py:1452] Waiting for previous save to complete took 29.342798 seconds. If this number is high, consider checkpointing less frequently.
I0420 07:34:11.280902 135088473790272 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 19
I0420 07:34:11.283029 135088473790272 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/19.
I0420 07:34:11.593026 135088473790272 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 07:34:11.593116 135088473790272 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 07:34:11.619109 135088473790272 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.027024s
I0420 07:34:11.619251 135088473790272 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 50.638 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03046250343322754 s) (per-host)
I0420 07:34:11.619298 135088473790272 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.030519s (batch_requests_ready=0.001645s, total_serialization_initiated=0.028813s, others=0.000061s)
I0420 07:34:11.619388 135088473790272 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.034687s (all_items=0.000011s, per_item={'items': '0.00001073'}, temp_paths=0.034676)
I0420 07:34:11.620068 135088473790272 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/19.
I0420 07:34:11.620414 134968017663744 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 07:54:11.620378
I0420 07:34:11.625538 135088473790272 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 07:34:11.625861 134964828083968 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0420 07:34:11.626024 135088473790272 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776670421.936519, 'wait_for_prev_duration_secs': 29.34279775619507, 'time_between_consecutive_saves_sec': 21.876110076904297, 'checkpointer_blocking_start_time': 1776670451.28094, 'checkpointer_blocking_duration_secs': 0.3396131992340088, 'get_old_steps_start_time': 1776670451.6205702, 'get_old_steps_duration_secs': 2.5987625122070312e-05, 'checkpoint_manager_blocking_start_time': 1776670421.934702, 'checkpoint_manager_blocking_duration_secs': 29.69128966331482}
I0420 07:34:11.626140 135088473790272 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0420 07:34:11.626181 135088473790272 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 07:34:17.577699 134962133055232 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_16_zarr3_false/checkpoints/19/items/array_metadatas/process_4
I0420 07:34:54.119187 134968017663744 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.140 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.5303795337677 s) (per-host)
I0420 07:34:54.119289 134968017663744 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.498767s.
I0420 07:35:01.566816 134968017663744 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 49.946277s.
I0420 07:35:01.567121 134964828083968 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 07:35:01.567246 134964828083968 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0420 07:35:01.567288 134964828083968 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0420 07:35:01.569294 134964828083968 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0420 07:35:01.569466 135088473790272 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0420 07:35:01.569614 135088473790272 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 07:35:01.570604 135088473790272 metric_logger.py:196] completed step: 19, seconds: 0.147, TFLOP/s/device: 92.177, Tokens/s/device: 13893.883, total_weights: 65536, loss: 5.391, lm_loss: 5.391, perplexity: 219.349
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Mon Apr 20 07:35:13 UTC 2026
EXIT_CODE=0
XPK Start: Tue Apr 21 02:28:13 UTC 2026
2026-04-21 02:28:17.021475: 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:1776738497.034102      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:1776738497.037908      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:1776738497.049324      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776738497.049343      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776738497.049345      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776738497.049347      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-21 02:28:36.139961: 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 02:28:36.660689 135579757217600 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-21 02:28:45,702:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0421 02:28:45.702976 135579757217600 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-21 02:28:45,705:jax._src.distributed:157: Connecting to JAX distributed service on mt-16-zarr3-false-rs-g693x-slice-job-0-0.mt-16-zarr3-false-rs-g693x:8482
I0421 02:28:45.705425 135579757217600 distributed.py:157] Connecting to JAX distributed service on mt-16-zarr3-false-rs-g693x-slice-job-0-0.mt-16-zarr3-false-rs-g693x:8482
I0421 02:28:46.886940 135579757217600 max_utils.py:284] Jax distributed system initialized!
I0421 02:28:53.787149 135579757217600 max_utils.py:800] System Information: Jax Version: 0.8.1
I0421 02:28:53.787254 135579757217600 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0421 02:28:53.787295 135579757217600 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 02:28:53.787330 135579757217600 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 02:28:54.408530 135579757217600 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 02:28:54.408819 135579757217600 checkpointing.py:677] Setting up checkpoint logger...
I0421 02:28:54.408875 135579757217600 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=False
I0421 02:28:54.408923 135579757217600 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0421 02:28:54.409276 135579757217600 base_pytree_checkpoint_handler.py:415] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7b4e93775010>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 02:28:56.114646 135579757217600 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 02:28:56.114998 135579757217600 checkpoint_manager.py:709] [process=1][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b3a3c78dbb0>}, handler_registry=None
I0421 02:28:56.115239 135579757217600 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b3a3c78dbb0>` 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 02:28:56.115290 135579757217600 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b3a3c628110>` 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 02:28:56.115327 135579757217600 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 0x7b3a3c78dbb0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b3a3c78dbb0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b3a3c628110>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b3a3c628110>}).
I0421 02:28:56.117993 135579757217600 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0421 02:28:56.118076 135579757217600 async_checkpointer.py:177] [process=1][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b4e7ebfb2e0> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0421 02:28:59.483465 135459300697856 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776738246374237537, 'commit_timestamp_nsecs': 1776738293323333840, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints/0/_CHECKPOINT_METADATA
I0421 02:28:59.732707 135459300697856 checkpoint_manager.py:1877] Missing metrics for step 0
I0421 02:29:00.171525 135579757217600 checkpoint_manager.py:1818] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints
I0421 02:29:00.802161 135579757217600 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=5), 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_16_zarr3_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b3a3c624fe0>
I0421 02:29:00.802340 135579757217600 checkpointing.py:301] Checkpoint manager created!
I0421 02:29:01.692929 135579757217600 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 02:29:01.693035 135579757217600 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 02:29:02.063357 135579757217600 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 02:29:02.063460 135579757217600 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 02:29:02.079419 135579757217600 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 02:29:02.079478 135579757217600 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 02:29:02.102749 135579757217600 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 02:29:02.102817 135579757217600 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 02:29:02.118650 135579757217600 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 02:29:02.118710 135579757217600 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 02:29:02.134540 135579757217600 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 02:29:02.134599 135579757217600 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 02:29:02.158592 135579757217600 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 02:29:02.158663 135579757217600 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 02:29:02.178042 135579757217600 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 02:29:02.178108 135579757217600 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 02:29:02.367088 135579757217600 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 02:29:02.367201 135579757217600 checkpointing.py:581] restoring from this run's directory step 9
I0421 02:29:02.861636 135579757217600 checkpointer.py:304] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints/9.
I0421 02:29:04.667481    1422 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 02:29:10.681197 135579757217600 jax_array_handlers.py:837] [process=1] /jax/orbax/read/worker/io/requested throughput: 262.554 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.018845558166504 s) (per-host)
I0421 02:29:10.694212 135579757217600 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/read/gbytes_per_sec: 246.423 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.422261476516724 s) (per-host)
I0421 02:29:12.267239 135579757217600 checkpointer.py:318] Finished restoring checkpoint in 9.65 seconds from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints/9.
I0421 02:29:12.267424 135579757217600 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints', 'checkpointer_start_time': 1776738542.618128, 'checkpointer_duration_secs': 9.649237394332886, 'checkpoint_manager_start_time': 1776738542.367451, 'checkpoint_manager_duration_secs': 9.899916410446167}
fsdp: 32
I0421 02:29:12.670607 135579757217600 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0421 02:29:12.670732 135579757217600 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 02:29:12.670784 135579757217600 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 02:29:12.670839 135579757217600 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 02:29:12.670902 135579757217600 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 02:29:12.670968 135579757217600 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 02:29:12.671068 135579757217600 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 02:29:12.671170 135579757217600 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 02:29:12.671243 135579757217600 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 02:29:12.671306 135579757217600 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 02:29:12.671364 135579757217600 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0421 02:29:12.671439 135579757217600 maxtext_utils.py:1501]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]

    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0421 02:29:13.170448 135579757217600 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 02:29:13.170545 135579757217600 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 02:29:13.185429 135579757217600 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 02:29:13.185487 135579757217600 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 02:29:23.952187 135579757217600 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 02:29:23.953042 135579757217600 metric_logger.py:289] number parameters: 1.104 billion
I0421 02:29:34.859477 135579757217600 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0421 02:29:35.090143 135579757217600 checkpointing.py:776] Waited 0.23064541816711426 seconds for step 10 to finish before starting checkpointing.
I0421 02:29:35.092555 135579757217600 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 02:29:35.094619 135579757217600 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 10
I0421 02:29:35.097159 135579757217600 async_checkpointer.py:452] [process=1] 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_16_zarr3_false/checkpoints/10.
I0421 02:29:36.540791 135579757217600 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 02:29:36.541789 135579757217600 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 02:29:36.541846 135579757217600 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 02:29:36.790369 135579757217600 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.249671s
I0421 02:29:36.790548 135579757217600 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.894 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5330405235290527 s) (per-host)
I0421 02:29:36.790601 135579757217600 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.533104s (batch_requests_ready=0.281389s, total_serialization_initiated=0.251643s, others=0.000071s)
I0421 02:29:36.790691 135579757217600 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.537245s (all_items=0.000036s, per_item={'items': '0.00003600'}, temp_paths=0.537209)
I0421 02:29:36.791594 135458143061760 async_checkpointer.py:79] [process=1][thread=async_save] Background save thread started.
I0421 02:29:36.791769 135579757217600 async_checkpointer.py:561] Finished blocking save. Time taken: 1.697077s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints/10.
I0421 02:29:37.209895 135579757217600 checkpoint_manager.py:1566] [process=1][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 02:29:37.210273 135459258734336 async_checkpointer.py:265] [process=1][thread=save_finalize] Waiting for background save thread=async_save.
I0421 02:29:37.210452 135579757217600 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776738575.0925379, 'wait_for_prev_duration_secs': 6.079673767089844e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776738575.094658, 'checkpointer_blocking_duration_secs': 1.6972200870513916, 'get_old_steps_start_time': 1776738576.7918983, 'get_old_steps_duration_secs': 2.5272369384765625e-05, 'checkpoint_manager_blocking_start_time': 1776738575.09075, 'checkpoint_manager_blocking_duration_secs': 2.119659423828125}
I0421 02:29:37.210570 135579757217600 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0421 02:29:37.210627 135579757217600 max_utils.py:750] 
Memstats: After params initialized:
I0421 02:29:37.210686 135579757217600 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_2(process=1,(2,0,0,0))
I0421 02:29:37.210720 135579757217600 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_3(process=1,(3,0,0,0))
I0421 02:29:37.210749 135579757217600 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_6(process=1,(2,1,0,0))
I0421 02:29:37.210776 135579757217600 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_7(process=1,(3,1,0,0))
I0421 02:29:37.475387 135579757217600 metric_logger.py:185] completed step: 10, seconds: 10.906, TFLOP/s/device: 1.246, Tokens/s/device: 187.781, total_weights: 65536, loss: 6.833
I0421 02:29:37.640769 135579757217600 metric_logger.py:185] completed step: 11, seconds: 2.615, TFLOP/s/device: 5.197, Tokens/s/device: 783.298, total_weights: 65536, loss: 6.528
I0421 02:29:37.788253 135579757217600 metric_logger.py:185] completed step: 12, seconds: 0.018, TFLOP/s/device: 745.194, Tokens/s/device: 112323.808, total_weights: 65536, loss: 6.265
I0421 02:29:37.935789 135579757217600 metric_logger.py:185] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.891, Tokens/s/device: 13398.669, total_weights: 65536, loss: 6.045
I0421 02:29:37.940203 135579757217600 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0421 02:29:38.230594 135579757217600 checkpointing.py:776] Waited 0.2903616428375244 seconds for step 15 to finish before starting checkpointing.
I0421 02:29:38.233572 135579757217600 checkpoint_manager.py:2024] [process=1][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 02:29:43.329522 135458151454464 array_metadata_store.py:203] [process=1][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_16_zarr3_false/checkpoints/10/items/array_metadatas/process_1
I0421 02:30:19.166507 135458143061760 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 36.813 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.90896391868591 s) (per-host)
I0421 02:30:19.166613 135458143061760 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.374904s.
I0421 02:30:29.600971 135458143061760 async_checkpointer.py:144] [process=1][thread=async_save] Background save thread done. Time taken: 52.809247s.
I0421 02:30:29.601270 135459258734336 async_checkpointer.py:273] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 02:30:29.601386 135459258734336 async_checkpointer.py:283] [process=1][thread=save_finalize] No errors found in background save thread=async_save.
I0421 02:30:29.601447 135459258734336 checkpoint_manager.py:2133] [process=1][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0421 02:30:29.603037 135459258734336 checkpoint_manager.py:2142] [process=1][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0421 02:30:29.603227 135579757217600 checkpoint_manager.py:2036] [process=1][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0421 02:30:29.603353 135579757217600 checkpoint_manager.py:1458] Waiting for previous save to complete took 51.369786 seconds. If this number is high, consider checkpointing less frequently.
I0421 02:30:29.605420 135579757217600 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 15
I0421 02:30:29.609669 135579757217600 async_checkpointer.py:452] [process=1] 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_16_zarr3_false/checkpoints/15.
I0421 02:30:31.000864 135579757217600 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 02:30:31.000963 135579757217600 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 02:30:31.043122 135579757217600 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044225s
I0421 02:30:31.043286 135579757217600 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.106 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.7324104309082031 s) (per-host)
I0421 02:30:31.043348 135579757217600 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.732481s (batch_requests_ready=0.686323s, total_serialization_initiated=0.046080s, others=0.000078s)
I0421 02:30:31.043467 135579757217600 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.737407s (all_items=0.000012s, per_item={'items': '0.00001216'}, temp_paths=0.737395)
I0421 02:30:31.045863 135458151454464 async_checkpointer.py:79] [process=1][thread=async_save] Background save thread started.
I0421 02:30:31.045984 135579757217600 async_checkpointer.py:561] Finished blocking save. Time taken: 1.440503s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints/15.
I0421 02:30:31.048141 135579757217600 checkpoint_manager.py:1566] [process=1][thread=MainThread][step=15] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 02:30:31.048432 135459258734336 async_checkpointer.py:265] [process=1][thread=save_finalize] Waiting for background save thread=async_save.
I0421 02:30:31.048585 135579757217600 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776738578.2335439, 'wait_for_prev_duration_secs': 51.36978554725647, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776738629.6054602, 'checkpointer_blocking_duration_secs': 1.440657615661621, 'get_old_steps_start_time': 1776738631.046136, 'get_old_steps_duration_secs': 2.1696090698242188e-05, 'checkpoint_manager_blocking_start_time': 1776738578.2312422, 'checkpoint_manager_blocking_duration_secs': 52.81731390953064}
I0421 02:30:31.048687 135579757217600 checkpointing.py:408] Started an asynchronous checkpoint save for step 15
I0421 02:30:31.049180 135579757217600 metric_logger.py:185] completed step: 14, seconds: 0.148, TFLOP/s/device: 92.092, Tokens/s/device: 13881.170, total_weights: 65536, loss: 5.864
I0421 02:30:31.054477 135579757217600 metric_logger.py:185] completed step: 15, seconds: 0.147, TFLOP/s/device: 92.167, Tokens/s/device: 13892.375, total_weights: 65536, loss: 5.719
I0421 02:30:50.099089 135579757217600 metric_logger.py:185] completed step: 16, seconds: 53.113, TFLOP/s/device: 0.256, Tokens/s/device: 38.559, total_weights: 65536, loss: 5.605
I0421 02:30:50.246726 135579757217600 metric_logger.py:185] completed step: 17, seconds: 18.898, TFLOP/s/device: 0.719, Tokens/s/device: 108.370, total_weights: 65536, loss: 5.517
I0421 02:30:50.394034 135579757217600 metric_logger.py:185] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.319, Tokens/s/device: 13463.144, total_weights: 65536, loss: 5.448
I0421 02:30:50.541229 135579757217600 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0421 02:30:50.541908 135579757217600 checkpointing.py:776] Waited 0.0006997585296630859 seconds for step 19 to finish before starting checkpointing.
I0421 02:30:50.544002 135579757217600 checkpoint_manager.py:2024] [process=1][thread=MainThread][step=15][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 02:30:58.518511 135455441921792 array_metadata_store.py:203] [process=1][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_16_zarr3_false/checkpoints/15/items/array_metadatas/process_1
I0421 02:31:31.899752 135458151454464 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 25.647 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 61.58884334564209 s) (per-host)
I0421 02:31:31.899858 135458151454464 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 60.853808s.
I0421 02:31:38.536986 135458151454464 async_checkpointer.py:144] [process=1][thread=async_save] Background save thread done. Time taken: 67.490921s.
I0421 02:31:38.537287 135459258734336 async_checkpointer.py:273] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 02:31:38.537428 135459258734336 async_checkpointer.py:283] [process=1][thread=save_finalize] No errors found in background save thread=async_save.
I0421 02:31:38.537478 135459258734336 checkpoint_manager.py:2133] [process=1][thread=save_finalize][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0421 02:31:38.538981 135459258734336 checkpoint_manager.py:2142] [process=1][thread=save_finalize][step=15] CheckpointManager Save Finalize is done on all hosts.
I0421 02:31:38.539164 135579757217600 checkpoint_manager.py:2036] [process=1][thread=MainThread][step=15][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=15.
W0421 02:31:38.539296 135579757217600 checkpoint_manager.py:1458] Waiting for previous save to complete took 47.995301 seconds. If this number is high, consider checkpointing less frequently.
I0421 02:31:38.540989 135579757217600 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 19
I0421 02:31:38.544685 135579757217600 async_checkpointer.py:452] [process=1] 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_16_zarr3_false/checkpoints/19.
I0421 02:31:39.506732 135579757217600 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 02:31:39.506825 135579757217600 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 02:31:39.548600 135579757217600 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.042819s
I0421 02:31:39.548762 135579757217600 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.216 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.29573607444763184 s) (per-host)
I0421 02:31:39.548811 135579757217600 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.295794s (batch_requests_ready=0.250890s, total_serialization_initiated=0.044841s, others=0.000063s)
I0421 02:31:39.548895 135579757217600 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.300163s (all_items=0.000010s, per_item={'items': '0.00001049'}, temp_paths=0.300152)
I0421 02:31:39.549768 135458143061760 async_checkpointer.py:79] [process=1][thread=async_save] Background save thread started.
I0421 02:31:39.549924 135579757217600 async_checkpointer.py:561] Finished blocking save. Time taken: 1.008868s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints/19.
I0421 02:31:39.993758 135579757217600 checkpoint_manager.py:1566] [process=1][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 02:31:39.994124 135459258734336 async_checkpointer.py:265] [process=1][thread=save_finalize] Waiting for background save thread=async_save.
I0421 02:31:39.994311 135579757217600 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_16_zarr3_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776738650.5439758, 'wait_for_prev_duration_secs': 47.995301485061646, 'time_between_consecutive_saves_sec': 20.940900564193726, 'checkpointer_blocking_start_time': 1776738698.5410295, 'checkpointer_blocking_duration_secs': 1.0089969635009766, 'get_old_steps_start_time': 1776738699.5500395, 'get_old_steps_duration_secs': 2.09808349609375e-05, 'checkpoint_manager_blocking_start_time': 1776738650.5421336, 'checkpoint_manager_blocking_duration_secs': 49.45213556289673}
I0421 02:31:39.994481 135579757217600 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0421 02:31:39.994537 135579757217600 checkpoint_manager.py:2024] [process=1][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 02:31:46.063980 135459267127040 array_metadata_store.py:203] [process=1][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_16_zarr3_false/checkpoints/19/items/array_metadatas/process_1
I0421 02:32:21.493110 135458143061760 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 37.396 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.24006175994873 s) (per-host)
I0421 02:32:21.493209 135458143061760 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.943328s.
I0421 02:32:30.266763 135458143061760 async_checkpointer.py:144] [process=1][thread=async_save] Background save thread done. Time taken: 50.716867s.
I0421 02:32:30.267065 135459258734336 async_checkpointer.py:273] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 02:32:30.267185 135459258734336 async_checkpointer.py:283] [process=1][thread=save_finalize] No errors found in background save thread=async_save.
I0421 02:32:30.267226 135459258734336 checkpoint_manager.py:2133] [process=1][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0421 02:32:30.268850 135459258734336 checkpoint_manager.py:2142] [process=1][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0421 02:32:30.269018 135579757217600 checkpoint_manager.py:2036] [process=1][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0421 02:32:30.269161 135579757217600 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 02:32:30.269823 135579757217600 metric_logger.py:185] completed step: 19, seconds: 0.148, TFLOP/s/device: 92.113, Tokens/s/device: 13884.275, total_weights: 65536, loss: 5.391
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Tue Apr 21 02:32:43 UTC 2026
EXIT_CODE=0