main (574ad3fb9) vs test/pipeline-scan-nnx (e27fc1e97)| Metric | main 574ad3fb9 | test/pipeline-scan-nnx e27fc1e97 | Diff (test/pipeline-scan-nnx − main) |
|---|---|---|---|
| Parameters | 1.104 billion | 1.104 billion | — |
| Final loss | 8.1790 | 8.1790 | 0 |
| TFLOP/s | 92.034 | 92.159 | +0.125 |
| Tok/s | 13872.4 | 13891.1 | +18.725 |
| Avg s/step | 2.678 | 2.864 | +0.186 |
| Memory % | 1.38 | 1.38 | 0 |
| JAX | 0.9.2 | 0.8.1 | — |
Diff = branch value − main value. Green = branch improved. Red = branch regressed.
XPK Start: Mon Apr 20 06:44:32 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:44:56.604711: 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:44:56.783913 132559014876992 max_utils.py:273] Attempting to initialize the jax distributed system... I0420 06:45:05.825188 132559014876992 distributed.py:149] Starting JAX distributed service on [::]:8482 I0420 06:45:05.827557 132559014876992 distributed.py:172] Connecting to JAX distributed service on mt-13-scan-layers-true-c8ewh-slice-job-0-0.mt-13-scan-layers-true-c8ewh:8482 I0420 06:45:07.072643 132559014876992 max_utils.py:284] Jax distributed system initialized! I0420 06:45:12.173720 132559014876992 max_utils.py:800] System Information: Jax Version: 0.9.2 I0420 06:45:12.173822 132559014876992 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0420 06:45:12.173862 132559014876992 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:45:12.173897 132559014876992 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0420 06:45:12.867314 132559014876992 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0420 06:45:12.867597 132559014876992 checkpointing.py:677] Setting up checkpoint logger... I0420 06:45:12.867657 132559014876992 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0420 06:45:12.867703 132559014876992 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0420 06:45:12.868046 132559014876992 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 0x788f4591c350>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0420 06:45:15.707861 132559014876992 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0420 06:45:15.708099 132559014876992 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 0x788e096e6630>}, handler_registry=None I0420 06:45:15.708353 132559014876992 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x788e096e6630>` 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:45:15.708402 132559014876992 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x787b702ecaa0>` 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:45:15.708437 132559014876992 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 0x788e096e6630>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x788e096e6630>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x787b702ecaa0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x787b702ecaa0>}). I0420 06:45:15.708814 132559014876992 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0420 06:45:15.708888 132559014876992 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x787a806d7d80> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0420 06:45:16.457064 132559014876992 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints I0420 06:45:16.601490 132559014876992 checkpoint_manager.py:929] [process=4][thread=MainThread] CheckpointManager created, primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x787b702eddf0> I0420 06:45:16.601671 132559014876992 checkpointing.py:301] Checkpoint manager created! I0420 06:45:17.545019 132559014876992 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0420 06:45:17.545130 132559014876992 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 06:45:17.924985 132559014876992 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0420 06:45:17.925076 132559014876992 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 06:45:17.941872 132559014876992 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0420 06:45:17.941937 132559014876992 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 06:45:17.965631 132559014876992 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:45:17.965692 132559014876992 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:45:17.982176 132559014876992 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:45:17.982236 132559014876992 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:45:17.999102 132559014876992 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:45:17.999169 132559014876992 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:45:18.024164 132559014876992 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0420 06:45:18.024230 132559014876992 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:45:18.046307 132559014876992 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0420 06:45:18.046378 132559014876992 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0420 06:45:18.262600 132559014876992 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0420 06:45:18.262708 132559014876992 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0420 06:45:19.688031 132559014876992 maxtext_utils.py:1654] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0420 06:45:19.688159 132559014876992 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:45:19.688213 132559014876992 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:45:19.688272 132559014876992 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:45:19.688326 132559014876992 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:45:19.688380 132559014876992 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:45:19.688436 132559014876992 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:45:19.688491 132559014876992 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:45:19.688532 132559014876992 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:45:19.688575 132559014876992 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:45:19.688884 132559014876992 maxtext_utils.py:1654] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0420 06:45:19.689028 132559014876992 maxtext_utils.py:1654] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0420 06:45:20.180001 132559014876992 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0420 06:45:20.180099 132559014876992 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0420 06:45:20.195593 132559014876992 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0420 06:45:20.195653 132559014876992 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0420 06:45:31.027102 132559014876992 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:45:31.027934 132559014876992 metric_logger.py:301] number parameters: 1.104 billion I0420 06:45:42.158329 132559014876992 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0420 06:45:42.393008 132559014876992 checkpointing.py:776] Waited 0.2346630096435547 seconds for step 0 to finish before starting checkpointing. I0420 06:45:42.395500 132559014876992 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0420 06:45:42.397157 132559014876992 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0 I0420 06:45:42.398583 132559014876992 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/0. I0420 06:45:42.693160 132559014876992 signaling_client.py:364] Using JaxDistributedSignalingClient I0420 06:45:42.694186 132559014876992 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0420 06:45:42.694243 132559014876992 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:45:42.966320 132559014876992 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.273237s I0420 06:45:42.966510 132559014876992 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.535 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2787172794342041 s) (per-host) I0420 06:45:42.966562 132559014876992 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.278780s (batch_requests_ready=0.002293s, total_serialization_initiated=0.276417s, others=0.000071s) I0420 06:45:42.966654 132559014876992 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.282999s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.282982) I0420 06:45:42.967406 132559014876992 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.57 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/0. I0420 06:45:42.967728 132432405710592 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 07:05:42.967690 I0420 06:45:42.981384 132559014876992 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0420 06:45:42.981694 132430796605184 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0420 06:45:42.981851 132559014876992 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776667542.3954813, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776667542.397197, 'checkpointer_blocking_duration_secs': 0.5706849098205566, 'get_old_steps_start_time': 1776667542.9679062, 'get_old_steps_duration_secs': 2.8371810913085938e-05, 'checkpoint_manager_blocking_start_time': 1776667542.3934436, 'checkpoint_manager_blocking_duration_secs': 0.5883669853210449} I0420 06:45:42.981961 132559014876992 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0420 06:45:42.982012 132559014876992 max_utils.py:750] Memstats: After params initialized: I0420 06:45:42.982058 132559014876992 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0)) I0420 06:45:42.982097 132559014876992 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0)) I0420 06:45:42.982122 132559014876992 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0)) I0420 06:45:42.982146 132559014876992 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0)) I0420 06:45:43.295617 132559014876992 metric_logger.py:196] completed step: 0, seconds: 11.130, TFLOP/s/device: 1.221, Tokens/s/device: 184.003, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0420 06:45:43.475248 132559014876992 metric_logger.py:196] completed step: 1, seconds: 1.136, TFLOP/s/device: 11.963, Tokens/s/device: 1803.234, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0420 06:45:43.898794 132559014876992 metric_logger.py:196] completed step: 2, seconds: 0.032, TFLOP/s/device: 421.372, Tokens/s/device: 63513.723, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0420 06:45:44.046145 132559014876992 metric_logger.py:196] completed step: 3, seconds: 0.424, TFLOP/s/device: 32.067, Tokens/s/device: 4833.472, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0420 06:45:44.341683 132559014876992 metric_logger.py:196] completed step: 4, seconds: 0.154, TFLOP/s/device: 88.423, Tokens/s/device: 13328.127, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0420 06:45:44.347766 132559014876992 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.435, Tokens/s/device: 13932.826, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0420 06:45:45.784612 2756 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0420 06:45:47.807013 132430804997888 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_13_scan_layers_true/checkpoints/0/items/array_metadatas/process_4 I0420 06:46:06.104423 132559014876992 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.884, Tokens/s/device: 6916.209, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0420 06:46:06.251955 132559014876992 metric_logger.py:196] completed step: 7, seconds: 21.610, TFLOP/s/device: 0.629, Tokens/s/device: 94.772, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0420 06:46:06.399433 132559014876992 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.103, Tokens/s/device: 13430.565, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0420 06:46:06.546242 132559014876992 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0420 06:46:06.546931 132559014876992 checkpointing.py:776] Waited 0.0007100105285644531 seconds for step 9 to finish before starting checkpointing. I0420 06:46:06.549153 132559014876992 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0420 06:46:18.791249 132432405710592 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 43.752 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.10341787338257 s) (per-host) I0420 06:46:18.791393 132432405710592 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 35.823553s. I0420 06:46:27.483589 132432405710592 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 44.515732s. I0420 06:46:27.483899 132430796605184 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0420 06:46:27.484027 132430796605184 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0420 06:46:27.484076 132430796605184 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0420 06:46:27.485859 132430796605184 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0420 06:46:27.485988 132559014876992 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0420 06:46:27.486054 132559014876992 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.936909 seconds. If this number is high, consider checkpointing less frequently. I0420 06:46:27.488103 132559014876992 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9 I0420 06:46:27.490032 132559014876992 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/9. I0420 06:46:27.780846 132559014876992 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0420 06:46:27.780939 132559014876992 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:46:27.814449 132559014876992 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034681s I0420 06:46:27.814652 132559014876992 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 40.271 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03830528259277344 s) (per-host) I0420 06:46:27.814707 132559014876992 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038371s (batch_requests_ready=0.001915s, total_serialization_initiated=0.036380s, others=0.000076s) I0420 06:46:27.814798 132559014876992 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043115s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.043100) I0420 06:46:27.815552 132559014876992 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.33 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/9. I0420 06:46:27.815834 132430796605184 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 07:06:27.815805 I0420 06:46:27.823452 132559014876992 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0420 06:46:27.823670 132405612488448 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0420 06:46:27.823791 132559014876992 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776667566.5491216, 'wait_for_prev_duration_secs': 20.936909198760986, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776667587.4881449, 'checkpointer_blocking_duration_secs': 0.32782554626464844, 'get_old_steps_start_time': 1776667587.8159947, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776667566.5471642, 'checkpoint_manager_blocking_duration_secs': 21.276590585708618} I0420 06:46:27.823908 132559014876992 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0420 06:46:27.823952 132559014876992 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0420 06:46:33.770593 132410511402752 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_13_scan_layers_true/checkpoints/9/items/array_metadatas/process_4 I0420 06:47:08.847445 132430796605184 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 38.460 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.07106137275696 s) (per-host) I0420 06:47:08.847571 132430796605184 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.031630s. I0420 06:47:16.699211 132430796605184 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 48.883256s. I0420 06:47:16.699453 132405612488448 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0420 06:47:16.699516 132405612488448 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0420 06:47:16.699563 132405612488448 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0420 06:47:16.701085 132405612488448 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0420 06:47:16.701247 132559014876992 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0420 06:47:16.701411 132559014876992 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0420 06:47:16.702286 132559014876992 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 92.034, Tokens/s/device: 13872.425, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635 Per train step: Total TFLOPs: 13.59 split as 93.93% learnable weight flops and 6.07% attention flops XPK End: Mon Apr 20 06:47:28 UTC 2026 EXIT_CODE=0
XPK Start: Tue Apr 21 01:37:43 UTC 2026 2026-04-21 01:37:47.495786: 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:1776735467.508129 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:1776735467.511879 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:1776735467.523207 10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1776735467.523225 10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1776735467.523228 10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1776735467.523230 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:38:06.742040: 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:38:07.250782 133830391813952 max_utils.py:273] Attempting to initialize the jax distributed system... INFO:2026-04-21 01:38:16,292:jax._src.distributed:140: Starting JAX distributed service on [::]:8482 I0421 01:38:16.292326 133830391813952 distributed.py:140] Starting JAX distributed service on [::]:8482 INFO:2026-04-21 01:38:16,294:jax._src.distributed:157: Connecting to JAX distributed service on mt-13-scan-layers-true-16e4r-slice-job-0-0.mt-13-scan-layers-true-16e4r:8482 I0421 01:38:16.294551 133830391813952 distributed.py:157] Connecting to JAX distributed service on mt-13-scan-layers-true-16e4r-slice-job-0-0.mt-13-scan-layers-true-16e4r:8482 I0421 01:38:17.370326 133830391813952 max_utils.py:284] Jax distributed system initialized! I0421 01:38:23.200213 133830391813952 max_utils.py:800] System Information: Jax Version: 0.8.1 I0421 01:38:23.200317 133830391813952 max_utils.py:801] System Information: Jaxlib Version: 0.8.1 I0421 01:38:23.200357 133830391813952 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:38:23.200392 133830391813952 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0421 01:38:23.822963 133830391813952 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 01:38:23.823252 133830391813952 checkpointing.py:677] Setting up checkpoint logger... I0421 01:38:23.823307 133830391813952 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0421 01:38:23.823353 133830391813952 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None I0421 01:38:23.823720 133830391813952 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 0x79b757178dd0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0421 01:38:30.157032 133830391813952 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0421 01:38:30.157395 133830391813952 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 0x79b60bb63b00>}, handler_registry=None I0421 01:38:30.157702 133830391813952 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79b60bb63b00>` 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:38:30.157762 133830391813952 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79a4db91b410>` 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:38:30.157807 133830391813952 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 0x79b60bb63b00>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79b60bb63b00>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79a4db91b410>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79a4db91b410>}). I0421 01:38:30.160536 133830391813952 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33 I0421 01:38:30.160620 133830391813952 async_checkpointer.py:177] [process=1][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x79b746ddb2e0> timeout: 600 secs and primary_host=0 for async checkpoint writes I0421 01:38:31.684964 133830391813952 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_13_scan_layers_true/checkpoints I0421 01:38:32.131969 133830391813952 checkpoint_manager.py:929] [process=1][thread=MainThread] CheckpointManager created, primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_13_scan_layers_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x79a4db9185f0> I0421 01:38:32.132154 133830391813952 checkpointing.py:301] Checkpoint manager created! I0421 01:38:33.016795 133830391813952 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0421 01:38:33.016908 133830391813952 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 01:38:33.388464 133830391813952 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 01:38:33.388556 133830391813952 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 01:38:33.404273 133830391813952 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 01:38:33.404335 133830391813952 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 01:38:33.427810 133830391813952 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:38:33.427886 133830391813952 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 01:38:33.443788 133830391813952 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:38:33.443850 133830391813952 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 01:38:33.459485 133830391813952 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:38:33.459542 133830391813952 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 01:38:33.483137 133830391813952 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0421 01:38:33.483205 133830391813952 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 01:38:33.502563 133830391813952 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0421 01:38:33.502630 133830391813952 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0421 01:38:33.691965 133830391813952 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0421 01:38:33.692075 133830391813952 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0421 01:38:35.108312 133830391813952 maxtext_utils.py:1501] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: PartitionSpec('norm',) Physical: (None,) I0421 01:38:35.108486 133830391813952 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:38:35.108544 133830391813952 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:38:35.108606 133830391813952 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:38:35.108666 133830391813952 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:38:35.108716 133830391813952 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:38:35.108802 133830391813952 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:38:35.108870 133830391813952 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:38:35.108914 133830391813952 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:38:35.108950 133830391813952 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:38:35.109002 133830391813952 maxtext_utils.py:1501] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: PartitionSpec('embed', 'vocab') Physical: ('fsdp', None) I0421 01:38:35.109059 133830391813952 maxtext_utils.py:1501] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: PartitionSpec('vocab', 'embed') Physical: (None, 'fsdp') I0421 01:38:35.608968 133830391813952 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 01:38:35.609068 133830391813952 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0421 01:38:35.624046 133830391813952 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 01:38:35.624109 133830391813952 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0421 01:38:46.243374 133830391813952 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:38:46.244269 133830391813952 metric_logger.py:289] number parameters: 1.104 billion I0421 01:38:57.255041 133830391813952 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0421 01:38:57.493379 133830391813952 checkpointing.py:776] Waited 0.23832130432128906 seconds for step 0 to finish before starting checkpointing. I0421 01:38:57.495828 133830391813952 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 01:38:57.497783 133830391813952 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 0 I0421 01:38:57.500828 133830391813952 async_checkpointer.py:452] [process=1] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_13_scan_layers_true/checkpoints/0. I0421 01:38:59.363018 133830391813952 signaling_client.py:364] Using JaxDistributedSignalingClient I0421 01:38:59.364073 133830391813952 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array. I0421 01:38:59.364143 133830391813952 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:38:59.616506 133830391813952 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.253567s I0421 01:38:59.616679 133830391813952 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 1.589 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.9707784652709961 s) (per-host) I0421 01:38:59.616731 133830391813952 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.970841s (batch_requests_ready=0.713650s, total_serialization_initiated=0.257120s, others=0.000071s) I0421 01:38:59.616823 133830391813952 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.975068s (all_items=0.000020s, per_item={'items': '0.00001955'}, temp_paths=0.975048) I0421 01:38:59.617745 133710712137472 async_checkpointer.py:79] [process=1][thread=async_save] Background save thread started. I0421 01:38:59.617913 133830391813952 async_checkpointer.py:561] Finished blocking save. Time taken: 2.120062s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_13_scan_layers_true/checkpoints/0. I0421 01:39:00.014949 133830391813952 checkpoint_manager.py:1566] [process=1][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0421 01:39:00.015331 133705880299264 async_checkpointer.py:265] [process=1][thread=save_finalize] Waiting for background save thread=async_save. I0421 01:39:00.015525 133830391813952 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_13_scan_layers_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776735537.4958107, 'wait_for_prev_duration_secs': 6.723403930664062e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776735537.4978228, 'checkpointer_blocking_duration_secs': 2.120194911956787, 'get_old_steps_start_time': 1776735539.6180375, 'get_old_steps_duration_secs': 2.6941299438476562e-05, 'checkpoint_manager_blocking_start_time': 1776735537.4939857, 'checkpoint_manager_blocking_duration_secs': 2.5214953422546387} I0421 01:39:00.015637 133830391813952 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0421 01:39:00.015690 133830391813952 max_utils.py:750] Memstats: After params initialized: I0421 01:39:00.015747 133830391813952 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_2(process=1,(2,0,0,0)) I0421 01:39:00.015781 133830391813952 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_3(process=1,(3,0,0,0)) I0421 01:39:00.015808 133830391813952 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_6(process=1,(2,1,0,0)) I0421 01:39:00.015834 133830391813952 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_7(process=1,(3,1,0,0)) I0421 01:39:00.284202 133830391813952 metric_logger.py:185] completed step: 0, seconds: 11.011, TFLOP/s/device: 1.234, Tokens/s/device: 186.001, total_weights: 65536, loss: 10.874 I0421 01:39:00.455062 133830391813952 metric_logger.py:185] completed step: 1, seconds: 3.028, TFLOP/s/device: 4.487, Tokens/s/device: 676.387, total_weights: 65536, loss: 10.874 I0421 01:39:01.284732 133830391813952 metric_logger.py:185] completed step: 2, seconds: 0.024, TFLOP/s/device: 575.775, Tokens/s/device: 86787.016, total_weights: 65536, loss: 10.263 I0421 01:39:01.432354 133830391813952 metric_logger.py:185] completed step: 3, seconds: 0.830, TFLOP/s/device: 16.369, Tokens/s/device: 2467.268, total_weights: 65536, loss: 9.734 I0421 01:39:01.727847 133830391813952 metric_logger.py:185] completed step: 4, seconds: 0.152, TFLOP/s/device: 89.141, Tokens/s/device: 13436.292, total_weights: 65536, loss: 9.278 I0421 01:39:01.733237 133830391813952 metric_logger.py:185] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.059, Tokens/s/device: 13876.185, total_weights: 65536, loss: 8.892 I0421 01:39:22.879334 133830391813952 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.917, Tokens/s/device: 6921.117, total_weights: 65536, loss: 8.592 I0421 01:39:23.026881 133830391813952 metric_logger.py:185] completed step: 7, seconds: 20.999, TFLOP/s/device: 0.647, Tokens/s/device: 97.527, total_weights: 65536, loss: 8.384 I0421 01:39:23.174238 133830391813952 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.407, Tokens/s/device: 13476.344, total_weights: 65536, loss: 8.255 I0421 01:39:23.321636 133830391813952 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0421 01:39:23.322263 133830391813952 checkpointing.py:776] Waited 0.0006475448608398438 seconds for step 9 to finish before starting checkpointing. I0421 01:39:23.324429 133830391813952 checkpoint_manager.py:2024] [process=1][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 01:39:25.734996 2555 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0421 01:39:28.025725 133710720530176 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_13_scan_layers_true/checkpoints/0/items/array_metadatas/process_1 I0421 01:39:58.913087 133710712137472 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 26.210 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 60.267144203186035 s) (per-host) I0421 01:39:58.913206 133710712137472 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 59.295351s. I0421 01:40:11.266795 133710712137472 async_checkpointer.py:144] [process=1][thread=async_save] Background save thread done. Time taken: 71.648925s. I0421 01:40:11.267095 133705880299264 async_checkpointer.py:273] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 01:40:11.267230 133705880299264 async_checkpointer.py:283] [process=1][thread=save_finalize] No errors found in background save thread=async_save. I0421 01:40:11.267280 133705880299264 checkpoint_manager.py:2133] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0421 01:40:11.268907 133705880299264 checkpoint_manager.py:2142] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0421 01:40:11.269045 133830391813952 checkpoint_manager.py:2036] [process=1][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0421 01:40:11.269140 133830391813952 checkpoint_manager.py:1458] Waiting for previous save to complete took 47.944731 seconds. If this number is high, consider checkpointing less frequently. I0421 01:40:11.271130 133830391813952 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 9 I0421 01:40:11.274606 133830391813952 async_checkpointer.py:452] [process=1] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_13_scan_layers_true/checkpoints/9. I0421 01:40:12.228128 133830391813952 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array. I0421 01:40:12.228225 133830391813952 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:40:12.269778 133830391813952 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.043658s I0421 01:40:12.269946 133830391813952 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.282 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2920186519622803 s) (per-host) I0421 01:40:12.269995 133830391813952 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.292076s (batch_requests_ready=0.246552s, total_serialization_initiated=0.045459s, others=0.000066s) I0421 01:40:12.270084 133830391813952 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.296244s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.296229) I0421 01:40:12.270925 133706408777472 async_checkpointer.py:79] [process=1][thread=async_save] Background save thread started. I0421 01:40:12.271083 133830391813952 async_checkpointer.py:561] Finished blocking save. Time taken: 0.999880s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_13_scan_layers_true/checkpoints/9. I0421 01:40:12.734272 133830391813952 checkpoint_manager.py:1566] [process=1][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0421 01:40:12.734664 133705880299264 async_checkpointer.py:265] [process=1][thread=save_finalize] Waiting for background save thread=async_save. I0421 01:40:12.734842 133830391813952 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_13_scan_layers_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776735563.3243833, 'wait_for_prev_duration_secs': 47.94473052024841, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776735611.2711701, 'checkpointer_blocking_duration_secs': 1.0000207424163818, 'get_old_steps_start_time': 1776735612.2712097, 'get_old_steps_duration_secs': 2.6226043701171875e-05, 'checkpoint_manager_blocking_start_time': 1776735563.322504, 'checkpoint_manager_blocking_duration_secs': 49.41229963302612} I0421 01:40:12.734961 133830391813952 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0421 01:40:12.735008 133830391813952 checkpoint_manager.py:2024] [process=1][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 01:40:22.512670 133706417170176 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_13_scan_layers_true/checkpoints/9/items/array_metadatas/process_1 I0421 01:40:57.480664 133706408777472 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 34.714 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 45.50269293785095 s) (per-host) I0421 01:40:57.480782 133706408777472 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 45.209748s. I0421 01:41:07.231286 133706408777472 async_checkpointer.py:144] [process=1][thread=async_save] Background save thread done. Time taken: 54.960236s. I0421 01:41:07.231573 133705880299264 async_checkpointer.py:273] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 01:41:07.231694 133705880299264 async_checkpointer.py:283] [process=1][thread=save_finalize] No errors found in background save thread=async_save. I0421 01:41:07.231742 133705880299264 checkpoint_manager.py:2133] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0421 01:41:07.234203 133705880299264 checkpoint_manager.py:2142] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0421 01:41:07.234379 133830391813952 checkpoint_manager.py:2036] [process=1][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0421 01:41:07.234533 133830391813952 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 01:41:07.235216 133830391813952 metric_logger.py:185] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.159, Tokens/s/device: 13891.150, total_weights: 65536, loss: 8.179 Per train step: Total TFLOPs: 13.59 split as 93.93% learnable weight flops and 6.07% attention flops XPK End: Tue Apr 21 01:41:19 UTC 2026 EXIT_CODE=0