MaxView

‹ 13_scan_layers_trueCase: 14_async_ckpt_false_resume14_async_ckpt_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.00892.055+0.047
Tok/s13868.413875.5+7.141
Avg s/step13.86914.389+0.52
Memory %1.381.380
JAX0.9.20.8.1

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

main  ·  574ad3fb9  ·  main_20260420_060028  ·  full log
XPK Start: Mon Apr 20 06:53:48 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-20 06:54:12.671660: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0420 06:54:13.203326 135552615978816 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 06:54:22.245480 135552615978816 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 06:54:22.247722 135552615978816 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--qqkcr-slice-job-0-0.mt-14-async-ckpt-false--qqkcr:8482
I0420 06:54:23.719622 135552615978816 max_utils.py:284] Jax distributed system initialized!
I0420 06:54:29.726289 135552615978816 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 06:54:29.726412 135552615978816 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 06:54:29.726453 135552615978816 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0420 06:54:29.726489 135552615978816 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 06:54:30.416601 135552615978816 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 06:54:30.416872 135552615978816 checkpointing.py:677] Setting up checkpoint logger...
I0420 06:54:30.416927 135552615978816 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 06:54:30.416973 135552615978816 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 06:54:30.417309 135552615978816 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 0x7b4815d4c470>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 06:54:31.681576 135552615978816 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0420 06:54:31.681808 135552615978816 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 0x7b33e427e510>}, handler_registry=None
I0420 06:54:31.682047 135552615978816 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b33e427e510>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0420 06:54:31.682094 135552615978816 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b33e4280860>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0420 06:54:31.682129 135552615978816 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 0x7b33e427e510>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b33e427e510>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b33e4280860>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b33e4280860>}).
I0420 06:54:31.682456 135552615978816 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 06:54:33.602296 135431039473408 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776667907194749251, 'commit_timestamp_nsecs': 1776667954525417754, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/9/_CHECKPOINT_METADATA
I0420 06:54:33.851270 135431047866112 checkpoint_manager.py:1871] Missing metrics for step 5
I0420 06:54:34.158851 135552615978816 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints
I0420 06:54:34.319438 135552615978816 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=False, 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_14_async_ckpt_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b33c4399cd0>
I0420 06:54:34.319617 135552615978816 checkpointing.py:301] Checkpoint manager created!
I0420 06:54:35.233434 135552615978816 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 06:54:35.233549 135552615978816 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:54:35.611807 135552615978816 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:54:35.611894 135552615978816 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:54:35.628196 135552615978816 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:54:35.628251 135552615978816 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:54:35.652311 135552615978816 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:54:35.652386 135552615978816 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:54:35.668660 135552615978816 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:54:35.668722 135552615978816 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:54:35.684933 135552615978816 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:54:35.684990 135552615978816 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:54:35.709413 135552615978816 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 06:54:35.709475 135552615978816 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:54:35.730165 135552615978816 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 06:54:35.730224 135552615978816 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 06:54:35.942144 135552615978816 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 06:54:35.942247 135552615978816 checkpointing.py:581] restoring from this run's directory step 9
I0420 06:54:36.188739 135552615978816 event_tracking.py:70] [process=4] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/9.
I0420 06:54:36.779167 135552615978816 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/9.
I0420 06:54:36.779635 135552615978816 event_tracking.py:125] [process=4] [sync] Finished blocking load in 0.59 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/9.
I0420 06:54:38.171264    1458 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 06:54:45.885191 135552615978816 jax_array_handlers.py:843] [process=4] /jax/orbax/read/worker/io/requested throughput: 204.701 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 7.719911813735962 s) (per-host)
I0420 06:54:45.889783 135552615978816 base_pytree_checkpoint_handler.py:130] [process=4] /jax/checkpoint/read/gbytes_per_sec: 195.031 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 8.114582538604736 s) (per-host)
I0420 06:54:45.892852 135552615978816 event_tracking.py:138] [process=4] [sync] Finished load in 9.70 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/9
I0420 06:54:45.892945 135552615978816 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints', 'checkpointer_start_time': 1776668076.1886563, 'checkpointer_duration_secs': 9.704260349273682, 'checkpoint_manager_start_time': 1776668075.9424953, 'checkpoint_manager_duration_secs': 9.950423240661621}
fsdp: 32
I0420 06:54:46.301824 135552615978816 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 06:54:46.301947 135552615978816 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 06:54:46.302001 135552615978816 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 06:54:46.302058 135552615978816 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0420 06:54:46.302111 135552615978816 maxtext_utils.py:1654]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 06:54:46.302148 135552615978816 maxtext_utils.py:1654]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 06:54:46.302200 135552615978816 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0420 06:54:46.302249 135552615978816 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0420 06:54:46.302289 135552615978816 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0420 06:54:46.302325 135552615978816 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0420 06:54:46.302414 135552615978816 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0420 06:54:46.302463 135552615978816 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0420 06:54:46.780201 135552615978816 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:54:46.780292 135552615978816 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:54:46.795392 135552615978816 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:54:46.795444 135552615978816 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:54:57.810504 135552615978816 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0420 06:54:57.811296 135552615978816 metric_logger.py:301] number parameters: 1.104 billion
I0420 06:55:09.328331 135552615978816 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0420 06:55:09.485268 135552615978816 checkpointing.py:776] Waited 0.15691542625427246 seconds for step 10 to finish before starting checkpointing.
I0420 06:55:09.488005 135552615978816 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:55:09.489896 135552615978816 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 10
I0420 06:55:09.492092 135552615978816 event_tracking.py:70] [process=4] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/10.
I0420 06:55:11.956943 135552615978816 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 06:55:11.958275 135552615978816 future.py:372] [process=4][thread=MainThread][operation_id=1] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0420 06:55:13.349673 135552615978816 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:55:13.349768 135552615978816 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0420 06:55:13.635091 135552615978816 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.286493s
I0420 06:55:13.635276 135552615978816 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.302 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.29094529151916504 s) (per-host)
I0420 06:55:13.635350 135552615978816 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.291015s (batch_requests_ready=0.002474s, total_serialization_initiated=0.288463s, others=0.000078s)
I0420 06:55:13.635447 135552615978816 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.678593s (all_items=0.000034s, per_item={'items': '0.00003386'}, temp_paths=1.678559)
I0420 06:55:13.635493 135552615978816 future.py:372] [process=4][thread=MainThread][operation_id=1] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0420 06:55:13.635533 135552615978816 future.py:372] [process=4][thread=MainThread][operation_id=1] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0420 06:55:15.681586 135431005902592 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_14_async_ckpt_false/checkpoints/10/items/array_metadatas/process_4
I0420 06:55:51.926988 135552615978816 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 40.941 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.58262228965759 s) (per-host)
I0420 06:55:57.831395 135552615978816 event_tracking.py:125] [process=4] [sync] Finished blocking save in 48.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/10.
I0420 06:56:01.764773 135552615978816 event_tracking.py:138] [process=4] [sync] Finished save in 52.27 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/10
I0420 06:56:01.767060 135552615978816 checkpoint_manager.py:2137] [process=4][thread=MainThread][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:56:01.768633 135552615978816 checkpoint_manager.py:2146] [process=4][thread=MainThread][step=10] CheckpointManager Save Finalize is done on all hosts.
I0420 06:56:01.768684 135552615978816 checkpoint_manager.py:1581] [process=4][thread=MainThread][step=10] Finished synchronous save.
I0420 06:56:01.768735 135552615978816 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776668109.487986, 'wait_for_prev_duration_secs': 6.031990051269531e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776668109.4899354, 'checkpointer_blocking_duration_secs': 52.27497053146362, 'get_old_steps_start_time': 1776668161.7649255, 'get_old_steps_duration_secs': 2.47955322265625e-05, 'checkpoint_manager_blocking_start_time': 1776668109.4858093, 'checkpoint_manager_blocking_duration_secs': 52.28290057182312}
I0420 06:56:01.768822 135552615978816 checkpointing.py:410] Saved a checkpoint at step 10.
I0420 06:56:01.768871 135552615978816 max_utils.py:750] 
Memstats: After params initialized:
I0420 06:56:01.768919 135552615978816 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0420 06:56:01.768949 135552615978816 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0420 06:56:01.768974 135552615978816 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0420 06:56:01.768997 135552615978816 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0420 06:56:02.084731 135552615978816 metric_logger.py:196] completed step: 10, seconds: 11.517, TFLOP/s/device: 1.180, Tokens/s/device: 177.826, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0420 06:56:02.271955 135552615978816 metric_logger.py:196] completed step: 11, seconds: 52.755, TFLOP/s/device: 0.258, Tokens/s/device: 38.821, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0420 06:56:02.419364 135552615978816 metric_logger.py:196] completed step: 12, seconds: 0.040, TFLOP/s/device: 342.927, Tokens/s/device: 51689.760, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0420 06:56:02.567220 135552615978816 metric_logger.py:196] completed step: 13, seconds: 0.154, TFLOP/s/device: 88.425, Tokens/s/device: 13328.387, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0420 06:56:02.571924 135552615978816 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0420 06:56:02.861929 135552615978816 checkpointing.py:776] Waited 0.28996849060058594 seconds for step 15 to finish before starting checkpointing.
I0420 06:56:02.864907 135552615978816 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:56:02.866491 135552615978816 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 15
I0420 06:56:02.868206 135552615978816 event_tracking.py:70] [process=4] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/15.
I0420 06:56:05.745531 135552615978816 future.py:372] [process=4][thread=MainThread][operation_id=2] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0420 06:56:07.456200 135552615978816 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:56:07.456300 135552615978816 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0420 06:56:07.483498 135552615978816 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.028448s
I0420 06:56:07.483642 135552615978816 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 47.711 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03233170509338379 s) (per-host)
I0420 06:56:07.483697 135552615978816 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.032397s (batch_requests_ready=0.001914s, total_serialization_initiated=0.030412s, others=0.000071s)
I0420 06:56:07.488385 135552615978816 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.743839s (all_items=0.000024s, per_item={'items': '0.00002432'}, temp_paths=1.743815)
I0420 06:56:07.488460 135552615978816 future.py:372] [process=4][thread=MainThread][operation_id=2] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0420 06:56:07.488507 135552615978816 future.py:372] [process=4][thread=MainThread][operation_id=2] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0420 06:56:09.514608 135425343612672 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_14_async_ckpt_false/checkpoints/15/items/array_metadatas/process_4
I0420 06:56:45.817873 135552615978816 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 41.171 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.36652326583862 s) (per-host)
I0420 06:56:51.539042 135552615978816 event_tracking.py:125] [process=4] [sync] Finished blocking save in 48.67 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/15.
I0420 06:56:55.714890 135552615978816 event_tracking.py:138] [process=4] [sync] Finished save in 52.85 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/15
I0420 06:56:55.716939 135552615978816 checkpoint_manager.py:2137] [process=4][thread=MainThread][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:56:55.718392 135552615978816 checkpoint_manager.py:2146] [process=4][thread=MainThread][step=15] CheckpointManager Save Finalize is done on all hosts.
I0420 06:56:55.718443 135552615978816 checkpoint_manager.py:1581] [process=4][thread=MainThread][step=15] Finished synchronous save.
I0420 06:56:55.718493 135552615978816 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776668162.8648856, 'wait_for_prev_duration_secs': 6.0558319091796875e-05, 'time_between_consecutive_saves_sec': 1.0962131023406982, 'checkpointer_blocking_start_time': 1776668162.8665297, 'checkpointer_blocking_duration_secs': 52.84847903251648, 'get_old_steps_start_time': 1776668215.7150297, 'get_old_steps_duration_secs': 2.6226043701171875e-05, 'checkpoint_manager_blocking_start_time': 1776668162.8625736, 'checkpoint_manager_blocking_duration_secs': 52.85589575767517}
I0420 06:56:55.718580 135552615978816 checkpointing.py:410] Saved a checkpoint at step 15.
I0420 06:56:55.719402 135552615978816 metric_logger.py:196] completed step: 14, seconds: 0.148, TFLOP/s/device: 92.030, Tokens/s/device: 13871.767, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0420 06:56:55.725411 135552615978816 metric_logger.py:196] completed step: 15, seconds: 0.148, TFLOP/s/device: 91.922, Tokens/s/device: 13855.438, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0420 06:57:16.352214 135552615978816 metric_logger.py:196] completed step: 16, seconds: 53.152, TFLOP/s/device: 0.256, Tokens/s/device: 38.531, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0420 06:57:16.500136 135552615978816 metric_logger.py:196] completed step: 17, seconds: 20.481, TFLOP/s/device: 0.663, Tokens/s/device: 99.996, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0420 06:57:16.647493 135552615978816 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.174, Tokens/s/device: 13441.319, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0420 06:57:16.794603 135552615978816 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0420 06:57:16.795298 135552615978816 checkpointing.py:776] Waited 0.0007171630859375 seconds for step 19 to finish before starting checkpointing.
I0420 06:57:16.797384 135552615978816 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:57:16.799303 135552615978816 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 19
I0420 06:57:16.800759 135552615978816 event_tracking.py:70] [process=4] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/19.
I0420 06:57:19.641565 135552615978816 future.py:372] [process=4][thread=MainThread][operation_id=3] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0420 06:57:21.135645 135552615978816 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:57:21.135744 135552615978816 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0420 06:57:21.164130 135552615978816 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.029515s
I0420 06:57:21.164306 135552615978816 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 46.343 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03328585624694824 s) (per-host)
I0420 06:57:21.164372 135552615978816 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.033362s (batch_requests_ready=0.001883s, total_serialization_initiated=0.031398s, others=0.000081s)
I0420 06:57:21.164473 135552615978816 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.524247s (all_items=0.000025s, per_item={'items': '0.00002527'}, temp_paths=1.524222)
I0420 06:57:21.164514 135552615978816 future.py:372] [process=4][thread=MainThread][operation_id=3] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0420 06:57:21.164556 135552615978816 future.py:372] [process=4][thread=MainThread][operation_id=3] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0420 06:57:23.243372 135431005902592 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_14_async_ckpt_false/checkpoints/19/items/array_metadatas/process_4
I0420 06:57:59.291628 135552615978816 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 41.393 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.16056156158447 s) (per-host)
I0420 06:58:03.907706 135552615978816 event_tracking.py:125] [process=4] [sync] Finished blocking save in 47.11 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/19.
I0420 06:58:07.321611 135552615978816 event_tracking.py:138] [process=4] [sync] Finished save in 50.52 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints/19
I0420 06:58:07.323462 135552615978816 checkpoint_manager.py:2137] [process=4][thread=MainThread][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:58:07.325159 135552615978816 checkpoint_manager.py:2146] [process=4][thread=MainThread][step=19] CheckpointManager Save Finalize is done on all hosts.
I0420 06:58:07.325266 135552615978816 checkpoint_manager.py:1581] [process=4][thread=MainThread][step=19] Finished synchronous save.
I0420 06:58:07.325325 135552615978816 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776668236.7973645, 'wait_for_prev_duration_secs': 5.602836608886719e-05, 'time_between_consecutive_saves_sec': 21.078932523727417, 'checkpointer_blocking_start_time': 1776668236.7993557, 'checkpointer_blocking_duration_secs': 50.52236771583557, 'get_old_steps_start_time': 1776668287.3217373, 'get_old_steps_duration_secs': 2.1219253540039062e-05, 'checkpoint_manager_blocking_start_time': 1776668236.795544, 'checkpoint_manager_blocking_duration_secs': 50.52975392341614}
I0420 06:58:07.325435 135552615978816 checkpointing.py:410] Saved a checkpoint at step 19.
I0420 06:58:07.325470 135552615978816 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:58:07.325507 135552615978816 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:58:07.326231 135552615978816 metric_logger.py:196] completed step: 19, seconds: 0.148, TFLOP/s/device: 92.008, Tokens/s/device: 13868.386, 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 06:58:19 UTC 2026
EXIT_CODE=0
XPK Start: Tue Apr 21 01:47:43 UTC 2026
2026-04-21 01:47:47.309984: 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:1776736067.322488      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:1776736067.326119      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:1776736067.337356      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776736067.337374      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776736067.337376      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776736067.337378      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-21 01:48:06.514224: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0421 01:48:07.032287 132472936269632 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-21 01:48:16,073:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0421 01:48:16.073303 132472936269632 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-21 01:48:16,075:jax._src.distributed:157: Connecting to JAX distributed service on mt-14-async-ckpt-false--1ttbu-slice-job-0-0.mt-14-async-ckpt-false--1ttbu:8482
I0421 01:48:16.075649 132472936269632 distributed.py:157] Connecting to JAX distributed service on mt-14-async-ckpt-false--1ttbu-slice-job-0-0.mt-14-async-ckpt-false--1ttbu:8482
I0421 01:48:17.152534 132472936269632 max_utils.py:284] Jax distributed system initialized!
I0421 01:48:24.035713 132472936269632 max_utils.py:800] System Information: Jax Version: 0.8.1
I0421 01:48:24.035815 132472936269632 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0421 01:48:24.035856 132472936269632 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0421 01:48:24.035894 132472936269632 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 01:48:24.650058 132472936269632 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 01:48:24.650343 132472936269632 checkpointing.py:677] Setting up checkpoint logger...
I0421 01:48:24.650409 132472936269632 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0421 01:48:24.650455 132472936269632 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0421 01:48:24.650799 132472936269632 base_pytree_checkpoint_handler.py:415] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x787b437750d0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 01:48:26.351233 132472936269632 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 01:48:26.351569 132472936269632 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 0x7868914f3bf0>}, handler_registry=None
I0421 01:48:26.351799 132472936269632 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7868914f3bf0>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0421 01:48:26.351848 132472936269632 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7879fd00f470>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0421 01:48:26.351888 132472936269632 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 0x7868914f3bf0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7868914f3bf0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7879fd00f470>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7879fd00f470>}).
I0421 01:48:26.354539 132472936269632 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0421 01:48:28.440873 132353284359936 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776735940454192330, 'commit_timestamp_nsecs': 1776735990411819873, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_14_async_ckpt_false/checkpoints/9/_CHECKPOINT_METADATA
I0421 01:48:28.685823 132353284359936 checkpoint_manager.py:1877] Missing metrics for step 9
I0421 01:48:28.905978 132472936269632 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_14_async_ckpt_false/checkpoints
I0421 01:48:29.517635 132472936269632 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=False, 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_14_async_ckpt_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7879fd02d3a0>
I0421 01:48:29.517804 132472936269632 checkpointing.py:301] Checkpoint manager created!
I0421 01:48:30.409682 132472936269632 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 01:48:30.409787 132472936269632 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:48:30.779736 132472936269632 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 01:48:30.779828 132472936269632 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:48:30.796620 132472936269632 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 01:48:30.796684 132472936269632 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:48:30.820586 132472936269632 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 01:48:30.820656 132472936269632 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:48:30.836694 132472936269632 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 01:48:30.836756 132472936269632 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:48:30.852935 132472936269632 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 01:48:30.852998 132472936269632 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:48:30.877304 132472936269632 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 01:48:30.877375 132472936269632 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:48:30.897264 132472936269632 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 01:48:30.897327 132472936269632 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 01:48:31.086911 132472936269632 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 01:48:31.087022 132472936269632 checkpointing.py:581] restoring from this run's directory step 9
I0421 01:48:31.586733 132472936269632 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_14_async_ckpt_false/checkpoints/9.
I0421 01:48:33.464805    1405 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 01:48:39.363541 132472936269632 jax_array_handlers.py:837] [process=1] /jax/orbax/read/worker/io/requested throughput: 267.669 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 5.903838634490967 s) (per-host)
I0421 01:48:39.375725 132472936269632 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/read/gbytes_per_sec: 250.974 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.305815935134888 s) (per-host)
I0421 01:48:41.440728 132472936269632 checkpointer.py:318] Finished restoring checkpoint in 10.10 seconds from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_14_async_ckpt_false/checkpoints/9.
I0421 01:48:41.440883 132472936269632 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_14_async_ckpt_false/checkpoints', 'checkpointer_start_time': 1776736111.3411858, 'checkpointer_duration_secs': 10.099666357040405, 'checkpoint_manager_start_time': 1776736111.0872662, 'checkpoint_manager_duration_secs': 10.353588342666626}
fsdp: 32
I0421 01:48:41.843795 132472936269632 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0421 01:48:41.843934 132472936269632 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0421 01:48:41.843991 132472936269632 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0421 01:48:41.844048 132472936269632 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0421 01:48:41.844099 132472936269632 maxtext_utils.py:1501]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0421 01:48:41.844140 132472936269632 maxtext_utils.py:1501]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0421 01:48:41.844193 132472936269632 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0421 01:48:41.844246 132472936269632 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0421 01:48:41.844285 132472936269632 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0421 01:48:41.844322 132472936269632 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0421 01:48:41.844369 132472936269632 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0421 01:48:41.844435 132472936269632 maxtext_utils.py:1501]  params/params/token_embedder/embedding

    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0421 01:48:42.343726 132472936269632 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 01:48:42.343824 132472936269632 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 01:48:42.359093 132472936269632 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 01:48:42.359151 132472936269632 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 01:48:53.205691 132472936269632 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0421 01:48:53.206634 132472936269632 metric_logger.py:289] number parameters: 1.104 billion
I0421 01:49:04.302556 132472936269632 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0421 01:49:04.456160 132472936269632 checkpointing.py:776] Waited 0.15358662605285645 seconds for step 10 to finish before starting checkpointing.
I0421 01:49:04.458684 132472936269632 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:49:04.460726 132472936269632 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 10
I0421 01:49:04.462589 132472936269632 checkpointer.py:241] [process=1] Started saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_14_async_ckpt_false/checkpoints/10.
I0421 01:49:08.648155 132472936269632 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 01:49:08.649524 132472936269632 future.py:363] [process=1][thread=MainThread][operation_id=1] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0421 01:49:10.738274 132472936269632 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 01:49:10.738379 132472936269632 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0421 01:49:10.987189 132472936269632 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.250072s
I0421 01:49:10.987369 132472936269632 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.886 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5344760417938232 s) (per-host)
I0421 01:49:10.987437 132472936269632 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.534553s (batch_requests_ready=0.282395s, total_serialization_initiated=0.252073s, others=0.000085s)
I0421 01:49:10.987542 132472936269632 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 2.339473s (all_items=0.000034s, per_item={'items': '0.00003362'}, temp_paths=2.339439)
I0421 01:49:10.987589 132472936269632 future.py:363] [process=1][thread=MainThread][operation_id=1] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0421 01:49:10.987630 132472936269632 future.py:363] [process=1][thread=MainThread][operation_id=1] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0421 01:49:13.333061 132348393805568 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_14_async_ckpt_false/checkpoints/10/items/array_metadatas/process_1
I0421 01:49:49.661784 132472936269632 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 40.287 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.20885181427002 s) (per-host)
I0421 01:50:01.066367 132472936269632 checkpointer.py:290] Finished synchronous save in 56.61 seconds to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_14_async_ckpt_false/checkpoints/10
I0421 01:50:01.068420 132472936269632 checkpoint_manager.py:2133] [process=1][thread=MainThread][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0421 01:50:01.070015 132472936269632 checkpoint_manager.py:2142] [process=1][thread=MainThread][step=10] CheckpointManager Save Finalize is done on all hosts.
I0421 01:50:01.070066 132472936269632 checkpoint_manager.py:1587] [process=1][thread=MainThread][step=10] Finished synchronous save.
I0421 01:50:01.070117 132472936269632 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_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776736144.4586673, 'wait_for_prev_duration_secs': 6.222724914550781e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776736144.460764, 'checkpointer_blocking_duration_secs': 56.60575532913208, 'get_old_steps_start_time': 1776736201.066539, 'get_old_steps_duration_secs': 2.7418136596679688e-05, 'checkpoint_manager_blocking_start_time': 1776736144.4567306, 'checkpoint_manager_blocking_duration_secs': 56.613361835479736}
I0421 01:50:01.070203 132472936269632 checkpointing.py:410] Saved a checkpoint at step 10.
I0421 01:50:01.070245 132472936269632 max_utils.py:750] 
Memstats: After params initialized:
I0421 01:50:01.070290 132472936269632 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_2(process=1,(2,0,0,0))
I0421 01:50:01.070319 132472936269632 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_3(process=1,(3,0,0,0))
I0421 01:50:01.070345 132472936269632 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_6(process=1,(2,1,0,0))
I0421 01:50:01.070368 132472936269632 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_7(process=1,(3,1,0,0))
I0421 01:50:01.352000 132472936269632 metric_logger.py:185] completed step: 10, seconds: 11.096, TFLOP/s/device: 1.225, Tokens/s/device: 184.574, total_weights: 65536, loss: 6.833
I0421 01:50:01.501893 132472936269632 metric_logger.py:185] completed step: 11, seconds: 57.031, TFLOP/s/device: 0.238, Tokens/s/device: 35.911, total_weights: 65536, loss: 6.528
I0421 01:50:01.649728 132472936269632 metric_logger.py:185] completed step: 12, seconds: 0.023, TFLOP/s/device: 599.529, Tokens/s/device: 90367.559, total_weights: 65536, loss: 6.265
I0421 01:50:01.797523 132472936269632 metric_logger.py:185] completed step: 13, seconds: 0.151, TFLOP/s/device: 90.104, Tokens/s/device: 13581.442, total_weights: 65536, loss: 6.045
I0421 01:50:01.801939 132472936269632 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0421 01:50:02.091999 132472936269632 checkpointing.py:776] Waited 0.2900254726409912 seconds for step 15 to finish before starting checkpointing.
I0421 01:50:02.094920 132472936269632 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:50:02.096728 132472936269632 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 15
I0421 01:50:02.098431 132472936269632 checkpointer.py:241] [process=1] Started saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_14_async_ckpt_false/checkpoints/15.
I0421 01:50:07.543583 132472936269632 future.py:363] [process=1][thread=MainThread][operation_id=2] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0421 01:50:10.453351 132472936269632 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 01:50:10.453468 132472936269632 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0421 01:50:10.496376 132472936269632 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044044s
I0421 01:50:10.496570 132472936269632 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 4.917 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.3137056827545166 s) (per-host)
I0421 01:50:10.496625 132472936269632 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.313769s (batch_requests_ready=0.267713s, total_serialization_initiated=0.045985s, others=0.000071s)
I0421 01:50:10.502169 132472936269632 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 2.959869s (all_items=0.000026s, per_item={'items': '0.00002599'}, temp_paths=2.959843)
I0421 01:50:10.502241 132472936269632 future.py:363] [process=1][thread=MainThread][operation_id=2] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0421 01:50:10.502286 132472936269632 future.py:363] [process=1][thread=MainThread][operation_id=2] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0421 01:50:13.807445 132348410590976 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_14_async_ckpt_false/checkpoints/15/items/array_metadatas/process_1
I0421 01:50:49.810061 132472936269632 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 39.861 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.62715125083923 s) (per-host)
I0421 01:50:59.051747 132472936269632 checkpointer.py:290] Finished synchronous save in 56.95 seconds to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_14_async_ckpt_false/checkpoints/15
I0421 01:50:59.053733 132472936269632 checkpoint_manager.py:2133] [process=1][thread=MainThread][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0421 01:50:59.055748 132472936269632 checkpoint_manager.py:2142] [process=1][thread=MainThread][step=15] CheckpointManager Save Finalize is done on all hosts.
I0421 01:50:59.055798 132472936269632 checkpoint_manager.py:1587] [process=1][thread=MainThread][step=15] Finished synchronous save.
I0421 01:50:59.055849 132472936269632 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_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776736202.0948997, 'wait_for_prev_duration_secs': 6.628036499023438e-05, 'time_between_consecutive_saves_sec': 1.0248448848724365, 'checkpointer_blocking_start_time': 1776736202.0967658, 'checkpointer_blocking_duration_secs': 56.95509600639343, 'get_old_steps_start_time': 1776736259.05188, 'get_old_steps_duration_secs': 2.5033950805664062e-05, 'checkpoint_manager_blocking_start_time': 1776736202.0926313, 'checkpoint_manager_blocking_duration_secs': 56.96319222450256}
I0421 01:50:59.055933 132472936269632 checkpointing.py:410] Saved a checkpoint at step 15.
I0421 01:50:59.056453 132472936269632 metric_logger.py:185] completed step: 14, seconds: 0.148, TFLOP/s/device: 91.975, Tokens/s/device: 13863.410, total_weights: 65536, loss: 5.864
I0421 01:50:59.079292 132472936269632 metric_logger.py:185] completed step: 15, seconds: 0.148, TFLOP/s/device: 92.077, Tokens/s/device: 13878.818, total_weights: 65536, loss: 5.719
I0421 01:51:16.938410 132472936269632 metric_logger.py:185] completed step: 16, seconds: 57.259, TFLOP/s/device: 0.237, Tokens/s/device: 35.767, total_weights: 65536, loss: 5.605
I0421 01:51:17.086010 132472936269632 metric_logger.py:185] completed step: 17, seconds: 17.730, TFLOP/s/device: 0.766, Tokens/s/device: 115.513, total_weights: 65536, loss: 5.517
I0421 01:51:17.233551 132472936269632 metric_logger.py:185] completed step: 18, seconds: 0.153, TFLOP/s/device: 88.979, Tokens/s/device: 13411.919, total_weights: 65536, loss: 5.448
I0421 01:51:17.380745 132472936269632 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0421 01:51:17.381422 132472936269632 checkpointing.py:776] Waited 0.0006804466247558594 seconds for step 19 to finish before starting checkpointing.
I0421 01:51:17.383394 132472936269632 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:51:17.385254 132472936269632 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 19
I0421 01:51:17.386592 132472936269632 checkpointer.py:241] [process=1] Started saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_14_async_ckpt_false/checkpoints/19.
I0421 01:51:20.640460 132472936269632 future.py:363] [process=1][thread=MainThread][operation_id=3] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0421 01:51:23.243253 132472936269632 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 01:51:23.243361 132472936269632 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0421 01:51:23.285842 132472936269632 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.043766s
I0421 01:51:23.286022 132472936269632 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.122 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.7270147800445557 s) (per-host)
I0421 01:51:23.286074 132472936269632 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.727076s (batch_requests_ready=0.681181s, total_serialization_initiated=0.045829s, others=0.000066s)
I0421 01:51:23.286169 132472936269632 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 2.646876s (all_items=0.000023s, per_item={'items': '0.00002313'}, temp_paths=2.646853)
I0421 01:51:23.286209 132472936269632 future.py:363] [process=1][thread=MainThread][operation_id=3] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0421 01:51:23.286247 132472936269632 future.py:363] [process=1][thread=MainThread][operation_id=3] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0421 01:51:26.068976 132352126723840 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_14_async_ckpt_false/checkpoints/19/items/array_metadatas/process_1
I0421 01:52:01.914093 132472936269632 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 40.137 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.35504221916199 s) (per-host)
I0421 01:52:12.939025 132472936269632 checkpointer.py:290] Finished synchronous save in 55.55 seconds to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_14_async_ckpt_false/checkpoints/19
I0421 01:52:12.940954 132472936269632 checkpoint_manager.py:2133] [process=1][thread=MainThread][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0421 01:52:12.942755 132472936269632 checkpoint_manager.py:2142] [process=1][thread=MainThread][step=19] CheckpointManager Save Finalize is done on all hosts.
I0421 01:52:12.942805 132472936269632 checkpoint_manager.py:1587] [process=1][thread=MainThread][step=19] Finished synchronous save.
I0421 01:52:12.942854 132472936269632 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_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776736277.3833773, 'wait_for_prev_duration_secs': 7.2479248046875e-05, 'time_between_consecutive_saves_sec': 18.327590227127075, 'checkpointer_blocking_start_time': 1776736277.3852923, 'checkpointer_blocking_duration_secs': 55.55384969711304, 'get_old_steps_start_time': 1776736332.9391546, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1776736277.381645, 'checkpoint_manager_blocking_duration_secs': 55.56118559837341}
I0421 01:52:12.942939 132472936269632 checkpointing.py:410] Saved a checkpoint at step 19.
I0421 01:52:12.942971 132472936269632 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:52:12.943000 132472936269632 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:52:12.943415 132472936269632 metric_logger.py:185] completed step: 19, seconds: 0.148, TFLOP/s/device: 92.055, Tokens/s/device: 13875.527, 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 01:52:23 UTC 2026
EXIT_CODE=0