MaxView

‹ 16_zarr3_false_saveCase: 16_zarr3_true_resume16_zarr3_true_save ›

Metrics: main (586e69205) vs test/pipeline-scan-nnx (5b21b66fc)

Metricmain  586e69205test/pipeline-scan-nnx  5b21b66fcDiff (test/pipeline-scan-nnx − main)
Parameters1.104 billion1.104 billion
Final loss5.39105.39100
TFLOP/s92.16992.532+0.363
Tok/s13892.713947.4+54.78
Avg s/step8.4448.749+0.305
Memory %1.381.380
JAX0.9.20.9.2

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

main  ·  586e69205  ·  main_20260423_071538  ·  full log
XPK Start: Thu Apr 23 08:41:42 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-23 08:42:07.517640: 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)
I0423 08:42:07.728953 140378241681216 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 08:42:16.770580 140378241681216 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 08:42:16.772898 140378241681216 distributed.py:172] Connecting to JAX distributed service on mt-16-zarr3-true-rs-bc7xa-slice-job-0-0.mt-16-zarr3-true-rs-bc7xa:8482
I0423 08:42:17.542819 140378241681216 max_utils.py:284] Jax distributed system initialized!
I0423 08:42:23.543408 140378241681216 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 08:42:23.543515 140378241681216 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 08:42:23.543559 140378241681216 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
I0423 08:42:23.543595 140378241681216 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 08:42:24.235146 140378241681216 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 08:42:24.235429 140378241681216 checkpointing.py:677] Setting up checkpoint logger...
I0423 08:42:24.235483 140378241681216 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 08:42:24.235532 140378241681216 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 08:42:24.235879 140378241681216 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 0x7fabc6b18f20>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 08:42:25.498023 140378241681216 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0423 08:42:25.498288 140378241681216 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7faa97947c80>}, handler_registry=None
I0423 08:42:25.498526 140378241681216 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7faa97947c80>` 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`.
I0423 08:42:25.498574 140378241681216 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f972450a540>` 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`.
I0423 08:42:25.498609 140378241681216 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 0x7faa97947c80>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7faa97947c80>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f972450a540>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f972450a540>}).
I0423 08:42:25.498924 140378241681216 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 08:42:25.498991 140378241681216 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7f963c2e5800> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 08:42:27.414942 140255512491776 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776933531957309842, 'commit_timestamp_nsecs': 1776933578974848004, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/5/_CHECKPOINT_METADATA
I0423 08:42:27.658209 140255512491776 checkpoint_manager.py:1871] Missing metrics for step 5
I0423 08:42:28.538253 140378241681216 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints
I0423 08:42:28.938981 140378241681216 checkpoint_manager.py:929] [process=6][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_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7f9724507470>
I0423 08:42:28.939187 140378241681216 checkpointing.py:301] Checkpoint manager created!
I0423 08:42:29.868432 140378241681216 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 08:42:29.868555 140378241681216 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 08:42:30.246138 140378241681216 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0423 08:42:30.246240 140378241681216 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 08:42:30.262816 140378241681216 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0423 08:42:30.262880 140378241681216 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 08:42:30.286940 140378241681216 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 08:42:30.287013 140378241681216 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 08:42:30.303734 140378241681216 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 08:42:30.303807 140378241681216 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 08:42:30.320456 140378241681216 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 08:42:30.320520 140378241681216 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 08:42:30.345524 140378241681216 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0423 08:42:30.345601 140378241681216 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 08:42:30.366940 140378241681216 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 08:42:30.367011 140378241681216 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 08:42:30.581654 140378241681216 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 08:42:30.581777 140378241681216 checkpointing.py:581] restoring from this run's directory step 9
I0423 08:42:30.832695 140378241681216 event_tracking.py:70] [process=6] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/9.
I0423 08:42:31.078580 140378241681216 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/9.
I0423 08:42:31.079019 140378241681216 event_tracking.py:125] [process=6] [sync] Finished blocking load in 0.25 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/9.
I0423 08:42:33.351878    1469 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 08:42:39.637445 140378241681216 jax_array_handlers.py:843] [process=6] /jax/orbax/read/worker/io/requested throughput: 251.175 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.291522741317749 s) (per-host)
I0423 08:42:39.642892 140378241681216 base_pytree_checkpoint_handler.py:130] [process=6] /jax/checkpoint/read/gbytes_per_sec: 221.999 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 7.128828525543213 s) (per-host)
I0423 08:42:39.800992 140378241681216 event_tracking.py:138] [process=6] [sync] Finished load in 8.97 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/9
I0423 08:42:39.801186 140378241681216 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints', 'checkpointer_start_time': 1776933750.8325965, 'checkpointer_duration_secs': 8.968554735183716, 'checkpoint_manager_start_time': 1776933750.5820434, 'checkpoint_manager_duration_secs': 9.21911072731018}
fsdp: 32
I0423 08:42:40.222033 140378241681216 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 08:42:40.222186 140378241681216 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 08:42:40.222244 140378241681216 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 08:42:40.222305 140378241681216 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0423 08:42:40.222359 140378241681216 maxtext_utils.py:1707]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 08:42:40.222397 140378241681216 maxtext_utils.py:1707]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 08:42:40.222449 140378241681216 maxtext_utils.py:1707]  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)
I0423 08:42:40.222507 140378241681216 maxtext_utils.py:1707]  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')
I0423 08:42:40.222548 140378241681216 maxtext_utils.py:1707]  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)
I0423 08:42:40.222583 140378241681216 maxtext_utils.py:1707]  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)
I0423 08:42:40.222627 140378241681216 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 08:42:40.222671 140378241681216 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]

    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0423 08:42:40.709024 140378241681216 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 08:42:40.709136 140378241681216 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 08:42:40.724694 140378241681216 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 08:42:40.724755 140378241681216 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 08:42:51.610398 140378241681216 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.
I0423 08:42:51.612698 140378241681216 metric_logger.py:301] number parameters: 1.104 billion
I0423 08:43:02.848384 140378241681216 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0423 08:43:03.174909 140378241681216 checkpointing.py:776] Waited 0.32650208473205566 seconds for step 10 to finish before starting checkpointing.
I0423 08:43:03.177304 140378241681216 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 08:43:03.179173 140378241681216 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 10
I0423 08:43:03.180654 140378241681216 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/10.
I0423 08:43:03.936449 140378241681216 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 08:43:03.937448 140378241681216 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 08:43:03.937505 140378241681216 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
I0423 08:43:04.216307 140378241681216 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279929s
I0423 08:43:04.216478 140378241681216 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.435 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28380537033081055 s) (per-host)
I0423 08:43:04.216529 140378241681216 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283867s (batch_requests_ready=0.002160s, total_serialization_initiated=0.281637s, others=0.000070s)
I0423 08:43:04.216618 140378241681216 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.288105s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.288087)
I0423 08:43:04.217272 140378241681216 event_tracking.py:125] [process=6] [async] Finished blocking save in 1.04 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/10.
I0423 08:43:04.217637 140254321284864 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 09:03:04.217595
I0423 08:43:04.219607 140378241681216 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 08:43:04.219887 140255462135552 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 08:43:04.220018 140378241681216 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776933783.177285, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776933783.17921, 'checkpointer_blocking_duration_secs': 1.0385887622833252, 'get_old_steps_start_time': 1776933784.2178228, 'get_old_steps_duration_secs': 3.170967102050781e-05, 'checkpoint_manager_blocking_start_time': 1776933783.175459, 'checkpoint_manager_blocking_duration_secs': 1.0445261001586914}
I0423 08:43:04.220186 140378241681216 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0423 08:43:04.220234 140378241681216 max_utils.py:750] 
Memstats: After params initialized:
I0423 08:43:04.220282 140378241681216 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0423 08:43:04.220313 140378241681216 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0423 08:43:04.220338 140378241681216 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0423 08:43:04.220360 140378241681216 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0423 08:43:04.532129 140378241681216 metric_logger.py:196] completed step: 10, seconds: 11.236, TFLOP/s/device: 1.209, Tokens/s/device: 182.278, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0423 08:43:04.712384 140378241681216 metric_logger.py:196] completed step: 11, seconds: 1.682, TFLOP/s/device: 8.077, Tokens/s/device: 1217.476, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0423 08:43:04.859809 140378241681216 metric_logger.py:196] completed step: 12, seconds: 0.033, TFLOP/s/device: 410.524, Tokens/s/device: 61878.720, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0423 08:43:05.007048 140378241681216 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.647, Tokens/s/device: 13361.779, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0423 08:43:05.012259 140378241681216 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0423 08:43:05.301485 140378241681216 checkpointing.py:776] Waited 0.28918933868408203 seconds for step 15 to finish before starting checkpointing.
I0423 08:43:05.304533 140378241681216 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 08:43:09.529210 140254908512000 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/10/items/array_metadatas/process_6
I0423 08:43:46.161821 140254321284864 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.405 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.22911739349365 s) (per-host)
I0423 08:43:46.161931 140254321284864 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.944176s.
I0423 08:43:54.379284 140254321284864 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.161512s.
I0423 08:43:54.379564 140255462135552 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 08:43:54.379682 140255462135552 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 08:43:54.379730 140255462135552 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0423 08:43:54.381414 140255462135552 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0423 08:43:54.381574 140378241681216 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0423 08:43:54.381713 140378241681216 checkpoint_manager.py:1452] Waiting for previous save to complete took 49.077182 seconds. If this number is high, consider checkpointing less frequently.
I0423 08:43:54.383739 140378241681216 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 15
I0423 08:43:54.386198 140378241681216 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/15.
I0423 08:43:55.101116 140378241681216 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 08:43:55.101213 140378241681216 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
I0423 08:43:55.129231 140378241681216 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.029245s
I0423 08:43:55.129370 140378241681216 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 47.284 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.0326237678527832 s) (per-host)
I0423 08:43:55.129416 140378241681216 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.032679s (batch_requests_ready=0.001772s, total_serialization_initiated=0.030846s, others=0.000061s)
I0423 08:43:55.129496 140378241681216 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.037530s (all_items=0.000013s, per_item={'items': '0.00001287'}, temp_paths=0.037517)
I0423 08:43:55.130226 140378241681216 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/15.
I0423 08:43:55.130566 140255462135552 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 09:03:55.130527
I0423 08:43:55.140584 140378241681216 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=15] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 08:43:55.140825 140253297899264 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 08:43:55.140958 140378241681216 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776933785.3045015, 'wait_for_prev_duration_secs': 49.077181816101074, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776933834.3837783, 'checkpointer_blocking_duration_secs': 0.7469298839569092, 'get_old_steps_start_time': 1776933835.1307323, 'get_old_steps_duration_secs': 3.1948089599609375e-05, 'checkpoint_manager_blocking_start_time': 1776933785.3020546, 'checkpoint_manager_blocking_duration_secs': 49.83886647224426}
I0423 08:43:55.141077 140378241681216 checkpointing.py:408] Started an asynchronous checkpoint save for step 15
I0423 08:43:55.141931 140378241681216 metric_logger.py:196] completed step: 14, seconds: 0.147, TFLOP/s/device: 92.142, Tokens/s/device: 13888.606, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0423 08:43:55.148441 140378241681216 metric_logger.py:196] completed step: 15, seconds: 0.148, TFLOP/s/device: 91.953, Tokens/s/device: 13860.126, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0423 08:44:00.206448 140254908512000 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/15/items/array_metadatas/process_6
I0423 08:44:15.897934 140378241681216 metric_logger.py:196] completed step: 16, seconds: 50.135, TFLOP/s/device: 0.271, Tokens/s/device: 40.850, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0423 08:44:16.045328 140378241681216 metric_logger.py:196] completed step: 17, seconds: 20.603, TFLOP/s/device: 0.659, Tokens/s/device: 99.401, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0423 08:44:16.192697 140378241681216 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.136, Tokens/s/device: 13435.499, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0423 08:44:16.339261 140378241681216 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0423 08:44:16.340013 140378241681216 checkpointing.py:776] Waited 0.0007801055908203125 seconds for step 19 to finish before starting checkpointing.
I0423 08:44:16.342024 140378241681216 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=15][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 08:44:37.000404 140255462135552 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.696 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.903631925582886 s) (per-host)
I0423 08:44:37.000508 140255462135552 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.869829s.
I0423 08:44:45.226682 140255462135552 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.095988s.
I0423 08:44:45.227003 140253297899264 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 08:44:45.227170 140253297899264 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 08:44:45.227220 140253297899264 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0423 08:44:45.232422 140253297899264 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=15] CheckpointManager Save Finalize is done on all hosts.
I0423 08:44:45.232591 140378241681216 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=15][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=15.
W0423 08:44:45.232716 140378241681216 checkpoint_manager.py:1452] Waiting for previous save to complete took 28.890698 seconds. If this number is high, consider checkpointing less frequently.
I0423 08:44:45.234285 140378241681216 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 19
I0423 08:44:45.236294 140378241681216 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/19.
I0423 08:44:45.948458 140378241681216 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 08:44:45.948547 140378241681216 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
I0423 08:44:45.974276 140378241681216 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.026733s
I0423 08:44:45.974462 140378241681216 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 51.104 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.030185222625732422 s) (per-host)
I0423 08:44:45.974523 140378241681216 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.030262s (batch_requests_ready=0.001618s, total_serialization_initiated=0.028561s, others=0.000083s)
I0423 08:44:45.974628 140378241681216 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.034509s (all_items=0.000010s, per_item={'items': '0.00001049'}, temp_paths=0.034499)
I0423 08:44:45.975335 140378241681216 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.74 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/19.
I0423 08:44:45.975605 140253297899264 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 09:04:45.975582
I0423 08:44:45.978743 140378241681216 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 08:44:45.978963 140254908512000 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 08:44:45.979080 140378241681216 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776933856.3419929, 'wait_for_prev_duration_secs': 28.890697717666626, 'time_between_consecutive_saves_sec': 21.960540294647217, 'checkpointer_blocking_start_time': 1776933885.234324, 'checkpointer_blocking_duration_secs': 0.741379976272583, 'get_old_steps_start_time': 1776933885.9757233, 'get_old_steps_duration_secs': 2.574920654296875e-05, 'checkpoint_manager_blocking_start_time': 1776933856.340288, 'checkpoint_manager_blocking_duration_secs': 29.638758897781372}
I0423 08:44:45.979209 140378241681216 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0423 08:44:45.979252 140378241681216 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 08:44:52.823704 140254321284864 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_16_zarr3_true/checkpoints/19/items/array_metadatas/process_6
I0423 08:45:28.229225 140253297899264 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.356 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.28491544723511 s) (per-host)
I0423 08:45:28.229344 140253297899264 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.253665s.
I0423 08:45:36.648293 140253297899264 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.672598s.
I0423 08:45:36.648514 140254908512000 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 08:45:36.648571 140254908512000 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 08:45:36.648611 140254908512000 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0423 08:45:36.650444 140254908512000 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0423 08:45:36.650639 140378241681216 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0423 08:45:36.650799 140378241681216 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 08:45:36.651797 140378241681216 metric_logger.py:196] completed step: 19, seconds: 0.147, TFLOP/s/device: 92.169, Tokens/s/device: 13892.658, 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: Thu Apr 23 08:45:47 UTC 2026
EXIT_CODE=0
XPK Start: Thu Apr 23 22:33:21 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-23 22:33:46.823049: 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)
I0423 22:33:47.032440 138008444487488 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 22:33:56.072004 138008444487488 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 22:33:56.074376 138008444487488 distributed.py:172] Connecting to JAX distributed service on mt-16-zarr3-true-rs-lz41g-slice-job-0-0.mt-16-zarr3-true-rs-lz41g:8482
I0423 22:33:57.098682 138008444487488 max_utils.py:284] Jax distributed system initialized!
I0423 22:34:03.387938 138008444487488 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 22:34:03.388047 138008444487488 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 22:34:03.388087 138008444487488 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
I0423 22:34:03.388146 138008444487488 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 22:34:04.096839 138008444487488 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 22:34:04.097137 138008444487488 checkpointing.py:677] Setting up checkpoint logger...
I0423 22:34:04.097192 138008444487488 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 22:34:04.097238 138008444487488 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 22:34:04.097593 138008444487488 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 0x7d83fa518b60>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 22:34:05.440478 138008444487488 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0423 22:34:05.440747 138008444487488 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d6fe8297650>}, handler_registry=None
I0423 22:34:05.441009 138008444487488 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d6fe8297650>` 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`.
I0423 22:34:05.441072 138008444487488 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d6fe829cad0>` 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`.
I0423 22:34:05.441139 138008444487488 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 0x7d6fe8297650>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d6fe8297650>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d6fe829cad0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d6fe829cad0>}).
I0423 22:34:05.441481 138008444487488 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 22:34:05.441579 138008444487488 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7d6fc83772e0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 22:34:07.279561 137887836268288 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776983481449303052, 'commit_timestamp_nsecs': 1776983528318640948, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/9/_CHECKPOINT_METADATA
I0423 22:34:07.529431 137887836268288 checkpoint_manager.py:1871] Missing metrics for step 9
I0423 22:34:08.785567 138008444487488 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints
I0423 22:34:08.788090 138008444487488 checkpoint_manager.py:929] [process=6][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_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7d6fe8297710>
I0423 22:34:08.788229 138008444487488 checkpointing.py:301] Checkpoint manager created!
I0423 22:34:09.739743 138008444487488 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 22:34:09.739861 138008444487488 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 22:34:10.124734 138008444487488 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 22:34:10.124827 138008444487488 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 22:34:10.141326 138008444487488 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 22:34:10.141388 138008444487488 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 22:34:10.165181 138008444487488 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 22:34:10.165249 138008444487488 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 22:34:10.181896 138008444487488 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 22:34:10.181959 138008444487488 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 22:34:10.198484 138008444487488 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 22:34:10.198546 138008444487488 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 22:34:10.223393 138008444487488 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 22:34:10.223464 138008444487488 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 22:34:10.244904 138008444487488 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 22:34:10.244973 138008444487488 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 22:34:10.464484 138008444487488 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 22:34:10.464596 138008444487488 checkpointing.py:581] restoring from this run's directory step 9
I0423 22:34:10.715615 138008444487488 event_tracking.py:70] [process=6] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/9.
I0423 22:34:10.961522 138008444487488 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/9.
I0423 22:34:10.961955 138008444487488 event_tracking.py:125] [process=6] [sync] Finished blocking load in 0.25 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/9.
I0423 22:34:12.404446    1443 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 22:34:18.118449 138008444487488 jax_array_handlers.py:843] [process=6] /jax/orbax/read/worker/io/requested throughput: 276.279 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 5.71984338760376 s) (per-host)
I0423 22:34:18.123024 138008444487488 base_pytree_checkpoint_handler.py:130] [process=6] /jax/checkpoint/read/gbytes_per_sec: 256.761 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.163677453994751 s) (per-host)
I0423 22:34:21.267321 138008444487488 event_tracking.py:138] [process=6] [sync] Finished load in 10.55 seconds @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/9
I0423 22:34:21.267477 138008444487488 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints', 'checkpointer_start_time': 1776983650.7155178, 'checkpointer_duration_secs': 10.551926374435425, 'checkpoint_manager_start_time': 1776983650.464841, 'checkpoint_manager_duration_secs': 10.802605390548706}
fsdp: 32
I0423 22:34:21.690464 138008444487488 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 22:34:21.690601 138008444487488 maxtext_utils.py:1668]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 22:34:21.690655 138008444487488 maxtext_utils.py:1668]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 22:34:21.690716 138008444487488 maxtext_utils.py:1668]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0423 22:34:21.690769 138008444487488 maxtext_utils.py:1668]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 22:34:21.690805 138008444487488 maxtext_utils.py:1668]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 22:34:21.690855 138008444487488 maxtext_utils.py:1668]  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)
I0423 22:34:21.690905 138008444487488 maxtext_utils.py:1668]  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')
I0423 22:34:21.690942 138008444487488 maxtext_utils.py:1668]  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)
I0423 22:34:21.690975 138008444487488 maxtext_utils.py:1668]  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)
I0423 22:34:21.691020 138008444487488 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]

    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 22:34:21.691063 138008444487488 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0423 22:34:22.180078 138008444487488 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 22:34:22.180186 138008444487488 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 22:34:22.196008 138008444487488 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 22:34:22.196069 138008444487488 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 22:34:33.305649 138008444487488 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.
I0423 22:34:33.306425 138008444487488 metric_logger.py:301] number parameters: 1.104 billion
I0423 22:34:44.518948 138008444487488 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0423 22:34:44.672433 138008444487488 checkpointing.py:776] Waited 0.15346884727478027 seconds for step 10 to finish before starting checkpointing.
I0423 22:34:44.674869 138008444487488 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 22:34:44.676834 138008444487488 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 10
I0423 22:34:44.678447 138008444487488 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/10.
I0423 22:34:45.016804 138008444487488 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 22:34:45.017808 138008444487488 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 22:34:45.017862 138008444487488 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
I0423 22:34:45.296125 138008444487488 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279396s
I0423 22:34:45.296297 138008444487488 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.446 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28326940536499023 s) (per-host)
I0423 22:34:45.296349 138008444487488 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283332s (batch_requests_ready=0.002163s, total_serialization_initiated=0.281094s, others=0.000076s)
I0423 22:34:45.296438 138008444487488 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.287391s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.287374)
I0423 22:34:45.297168 138008444487488 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.62 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/10.
I0423 22:34:45.297452 137887039354624 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 22:54:45.297427
I0423 22:34:45.301348 138008444487488 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 22:34:45.301626 137883208038144 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 22:34:45.301777 138008444487488 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776983684.6748512, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776983684.676877, 'checkpointer_blocking_duration_secs': 0.6206891536712646, 'get_old_steps_start_time': 1776983685.2975876, 'get_old_steps_duration_secs': 3.6716461181640625e-05, 'checkpoint_manager_blocking_start_time': 1776983684.6729603, 'checkpoint_manager_blocking_duration_secs': 0.6287808418273926}
I0423 22:34:45.301891 138008444487488 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0423 22:34:45.301939 138008444487488 max_utils.py:750] 
Memstats: After params initialized:
I0423 22:34:45.301992 138008444487488 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0423 22:34:45.302026 138008444487488 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0423 22:34:45.302052 138008444487488 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0423 22:34:45.302076 138008444487488 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0423 22:34:45.615519 138008444487488 metric_logger.py:196] completed step: 10, seconds: 11.212, TFLOP/s/device: 1.212, Tokens/s/device: 182.655, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0423 22:34:45.792805 138008444487488 metric_logger.py:196] completed step: 11, seconds: 1.095, TFLOP/s/device: 12.408, Tokens/s/device: 1870.309, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0423 22:34:45.940158 138008444487488 metric_logger.py:196] completed step: 12, seconds: 0.030, TFLOP/s/device: 451.670, Tokens/s/device: 68080.580, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0423 22:34:46.087540 138008444487488 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.604, Tokens/s/device: 13355.331, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0423 22:34:46.092088 138008444487488 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0423 22:34:46.381535 138008444487488 checkpointing.py:776] Waited 0.2894172668457031 seconds for step 15 to finish before starting checkpointing.
I0423 22:34:46.385365 138008444487488 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 22:34:50.143511 137883717449472 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/10/items/array_metadatas/process_6
I0423 22:35:32.282924 137887039354624 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 33.417 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 47.269877910614014 s) (per-host)
I0423 22:35:32.283031 137887039354624 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 46.985502s.
I0423 22:35:38.194594 137887039354624 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 52.897048s.
I0423 22:35:38.194907 137883208038144 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 22:35:38.195021 137883208038144 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 22:35:38.195069 137883208038144 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0423 22:35:38.197633 137883208038144 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0423 22:35:38.197822 138008444487488 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0423 22:35:38.197962 138008444487488 checkpoint_manager.py:1452] Waiting for previous save to complete took 51.812596 seconds. If this number is high, consider checkpointing less frequently.
I0423 22:35:38.199954 138008444487488 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 15
I0423 22:35:38.202418 138008444487488 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/15.
I0423 22:35:38.897402 138008444487488 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 22:35:38.897496 138008444487488 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
I0423 22:35:38.923343 138008444487488 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.027205s
I0423 22:35:38.923475 138008444487488 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 50.425 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.030591487884521484 s) (per-host)
I0423 22:35:38.923522 138008444487488 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.030648s (batch_requests_ready=0.001761s, total_serialization_initiated=0.028825s, others=0.000063s)
I0423 22:35:38.923605 138008444487488 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.035378s (all_items=0.000012s, per_item={'items': '0.00001240'}, temp_paths=0.035366)
I0423 22:35:38.924304 138008444487488 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.72 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/15.
I0423 22:35:38.924636 137883208038144 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 22:55:38.924599
I0423 22:35:38.935052 138008444487488 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=15] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 22:35:38.935318 137883199645440 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 22:35:38.935450 138008444487488 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776983686.385336, 'wait_for_prev_duration_secs': 51.8125958442688, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776983738.1999922, 'checkpointer_blocking_duration_secs': 0.724783182144165, 'get_old_steps_start_time': 1776983738.9248009, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1776983686.3821735, 'checkpoint_manager_blocking_duration_secs': 52.55324363708496}
I0423 22:35:38.935573 138008444487488 checkpointing.py:408] Started an asynchronous checkpoint save for step 15
I0423 22:35:38.936384 138008444487488 metric_logger.py:196] completed step: 14, seconds: 0.147, TFLOP/s/device: 92.152, Tokens/s/device: 13890.113, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0423 22:35:38.943665 138008444487488 metric_logger.py:196] completed step: 15, seconds: 0.147, TFLOP/s/device: 92.336, Tokens/s/device: 13917.960, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0423 22:35:44.444528 137883717449472 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/15/items/array_metadatas/process_6
I0423 22:36:00.644766 138008444487488 metric_logger.py:196] completed step: 16, seconds: 52.850, TFLOP/s/device: 0.257, Tokens/s/device: 38.751, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0423 22:36:00.792153 138008444487488 metric_logger.py:196] completed step: 17, seconds: 21.555, TFLOP/s/device: 0.630, Tokens/s/device: 95.013, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0423 22:36:00.939289 138008444487488 metric_logger.py:196] completed step: 18, seconds: 0.153, TFLOP/s/device: 88.872, Tokens/s/device: 13395.777, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0423 22:36:01.085939 138008444487488 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0423 22:36:01.086601 138008444487488 checkpointing.py:776] Waited 0.0006794929504394531 seconds for step 19 to finish before starting checkpointing.
I0423 22:36:01.088732 138008444487488 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=15][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 22:36:19.968843 137883208038144 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 38.456 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.075921297073364 s) (per-host)
I0423 22:36:19.968973 137883208038144 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.044224s.
I0423 22:36:30.528463 137883208038144 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.603699s.
I0423 22:36:30.528740 137883199645440 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 22:36:30.528857 137883199645440 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 22:36:30.528907 137883199645440 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0423 22:36:30.530461 137883199645440 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=15] CheckpointManager Save Finalize is done on all hosts.
I0423 22:36:30.530650 138008444487488 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=15][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=15.
W0423 22:36:30.530778 138008444487488 checkpoint_manager.py:1452] Waiting for previous save to complete took 29.442050 seconds. If this number is high, consider checkpointing less frequently.
I0423 22:36:30.532320 138008444487488 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 19
I0423 22:36:30.534315 138008444487488 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/19.
I0423 22:36:31.117277 138008444487488 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 22:36:31.117371 138008444487488 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
I0423 22:36:31.142519 138008444487488 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.026126s
I0423 22:36:31.142655 138008444487488 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 52.155 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.029576778411865234 s) (per-host)
I0423 22:36:31.142700 138008444487488 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.029633s (batch_requests_ready=0.001636s, total_serialization_initiated=0.027936s, others=0.000061s)
I0423 22:36:31.142768 138008444487488 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.033723s (all_items=0.000011s, per_item={'items': '0.00001073'}, temp_paths=0.033713)
I0423 22:36:31.143474 138008444487488 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.61 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/19.
I0423 22:36:31.143795 137883199645440 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 22:56:31.143758
I0423 22:36:31.148574 138008444487488 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 22:36:31.148837 137882123622144 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 22:36:31.148995 138008444487488 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776983761.0887022, 'wait_for_prev_duration_secs': 29.442050218582153, 'time_between_consecutive_saves_sec': 22.89103078842163, 'checkpointer_blocking_start_time': 1776983790.5323598, 'checkpointer_blocking_duration_secs': 0.6115779876708984, 'get_old_steps_start_time': 1776983791.1439555, 'get_old_steps_duration_secs': 2.7179718017578125e-05, 'checkpoint_manager_blocking_start_time': 1776983761.0868576, 'checkpoint_manager_blocking_duration_secs': 30.062103986740112}
I0423 22:36:31.149142 138008444487488 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0423 22:36:31.149188 138008444487488 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 22:36:36.223418 137883717449472 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_16_zarr3_true/checkpoints/19/items/array_metadatas/process_6
I0423 22:37:11.575804 137883199645440 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 39.038 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 40.46268606185913 s) (per-host)
I0423 22:37:11.575929 137883199645440 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 40.432025s.
I0423 22:37:21.112851 137883199645440 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 49.968932s.
I0423 22:37:21.113144 137882123622144 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 22:37:21.113261 137882123622144 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 22:37:21.113305 137882123622144 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0423 22:37:21.115034 137882123622144 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0423 22:37:21.115211 138008444487488 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0423 22:37:21.115369 138008444487488 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 22:37:21.116367 138008444487488 metric_logger.py:196] completed step: 19, seconds: 0.147, TFLOP/s/device: 92.532, Tokens/s/device: 13947.438, 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: Thu Apr 23 22:37:32 UTC 2026
EXIT_CODE=0