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 | 83.427 | 82.741 | -0.686 |
| Tok/s | 12575.0 | 12471.7 | -103.303 |
| Avg s/step | 2.661 | 2.552 | -0.109 |
| Memory % | 0.54 | 0.54 | 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:40:36 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:41:00.279447: 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:41:00.816740 134829274994496 max_utils.py:273] Attempting to initialize the jax distributed system... I0420 06:41:09.857061 134829274994496 distributed.py:149] Starting JAX distributed service on [::]:8482 I0420 06:41:09.859384 134829274994496 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-nzll1-slice-job-0-0.mt-11-optimizer-offload-nzll1:8482 I0420 06:41:11.025671 134829274994496 max_utils.py:284] Jax distributed system initialized! I0420 06:41:16.150786 134829274994496 max_utils.py:800] System Information: Jax Version: 0.9.2 I0420 06:41:16.150887 134829274994496 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0420 06:41:16.150928 134829274994496 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:41:16.150964 134829274994496 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0420 06:41:16.843600 134829274994496 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0420 06:41:16.843880 134829274994496 checkpointing.py:677] Setting up checkpoint logger... I0420 06:41:16.843935 134829274994496 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0420 06:41:16.843981 134829274994496 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0420 06:41:16.844316 134829274994496 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 0x7a9fc011f9e0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0420 06:41:19.817302 134829274994496 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0420 06:41:19.817549 134829274994496 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 0x7a8c40655f40>}, handler_registry=None I0420 06:41:19.817788 134829274994496 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a8c40655f40>` 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:41:19.817839 134829274994496 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a8c40658fb0>` 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:41:19.817874 134829274994496 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 0x7a8c40655f40>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a8c40655f40>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a8c40658fb0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a8c40658fb0>}). I0420 06:41:19.818189 134829274994496 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0420 06:41:19.818257 134829274994496 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a8c2825b4c0> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0420 06:41:20.805624 134829274994496 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_true/checkpoints I0420 06:41:20.954488 134829274994496 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_11_optimizer_offload_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a8c406555e0> I0420 06:41:20.954665 134829274994496 checkpointing.py:301] Checkpoint manager created! I0420 06:41:21.874707 134829274994496 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0420 06:41:21.874825 134829274994496 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 06:41:22.257097 134829274994496 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0420 06:41:22.257191 134829274994496 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 06:41:22.273482 134829274994496 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0420 06:41:22.273547 134829274994496 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 06:41:22.297097 134829274994496 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:41:22.297160 134829274994496 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:41:22.313546 134829274994496 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:41:22.313605 134829274994496 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:41:22.329729 134829274994496 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:41:22.329787 134829274994496 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:41:22.355256 134829274994496 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0420 06:41:22.355346 134829274994496 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:41:22.376439 134829274994496 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0420 06:41:22.376502 134829274994496 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0420 06:41:22.596749 134829274994496 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0420 06:41:22.596859 134829274994496 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0420 06:41:24.196776 134829274994496 maxtext_utils.py:1654] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0420 06:41:24.196907 134829274994496 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:41:24.196964 134829274994496 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:41:24.197025 134829274994496 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:41:24.197079 134829274994496 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:41:24.197119 134829274994496 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:41:24.197170 134829274994496 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:41:24.197222 134829274994496 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:41:24.197262 134829274994496 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:41:24.197299 134829274994496 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:41:24.197365 134829274994496 maxtext_utils.py:1654] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0420 06:41:24.197418 134829274994496 maxtext_utils.py:1654] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0420 06:41:24.690720 134829274994496 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0420 06:41:24.690815 134829274994496 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0420 06:41:24.706736 134829274994496 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0420 06:41:24.706804 134829274994496 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0420 06:41:35.482067 134829274994496 max_utils.py:791] Total memory size: 1.3 GB, Output size: 0.1 GB, Temp size: 1.1 GB, Argument size: 0.1 GB, Host temp size: 0.0 GB. I0420 06:41:35.482923 134829274994496 metric_logger.py:301] number parameters: 1.104 billion I0420 06:41:46.753177 134829274994496 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0420 06:41:46.925325 134829274994496 checkpointing.py:776] Waited 0.17213058471679688 seconds for step 0 to finish before starting checkpointing. I0420 06:41:46.927881 134829274994496 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0420 06:41:46.929704 134829274994496 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0 I0420 06:41:46.931285 134829274994496 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_true/checkpoints/0. I0420 06:41:47.244657 134829274994496 signaling_client.py:364] Using JaxDistributedSignalingClient I0420 06:41:47.245579 134829274994496 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0420 06:41:47.245637 134829274994496 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:41:47.520718 134829274994496 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276140s I0420 06:41:47.520899 134829274994496 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.461 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2824678421020508 s) (per-host) I0420 06:41:47.520950 134829274994496 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.282530s (batch_requests_ready=0.002205s, total_serialization_initiated=0.280250s, others=0.000074s) I0420 06:41:47.521041 134829274994496 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.286638s (all_items=0.000031s, per_item={'items': '0.00003052'}, temp_paths=0.286608) I0420 06:41:47.521870 134829274994496 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.59 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_true/checkpoints/0. I0420 06:41:47.522216 134697145329408 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 07:01:47.522179 I0420 06:41:47.529396 134829274994496 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0420 06:41:47.529669 134697103365888 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0420 06:41:47.529824 134829274994496 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776667306.927863, 'wait_for_prev_duration_secs': 6.508827209472656e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776667306.9297423, 'checkpointer_blocking_duration_secs': 0.5926408767700195, 'get_old_steps_start_time': 1776667307.5224075, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1776667306.9258468, 'checkpoint_manager_blocking_duration_secs': 0.6039397716522217} I0420 06:41:47.529934 134829274994496 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0420 06:41:47.529985 134829274994496 max_utils.py:750] Memstats: After params initialized: I0420 06:41:47.530032 134829274994496 max_utils.py:756] Using (GB) 0.17 / 31.25 (0.544000%) on TPU_16(process=4,(0,4,0,0)) I0420 06:41:47.530064 134829274994496 max_utils.py:756] Using (GB) 0.17 / 31.25 (0.544000%) on TPU_17(process=4,(1,4,0,0)) I0420 06:41:47.530091 134829274994496 max_utils.py:756] Using (GB) 0.17 / 31.25 (0.544000%) on TPU_20(process=4,(0,5,0,0)) I0420 06:41:47.530116 134829274994496 max_utils.py:756] Using (GB) 0.17 / 31.25 (0.544000%) on TPU_21(process=4,(1,5,0,0)) I0420 06:41:47.839903 134829274994496 metric_logger.py:196] completed step: 0, seconds: 11.270, TFLOP/s/device: 1.206, Tokens/s/device: 181.719, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0420 06:41:48.035623 134829274994496 metric_logger.py:196] completed step: 1, seconds: 1.085, TFLOP/s/device: 12.521, Tokens/s/device: 1887.241, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0420 06:41:48.445613 134829274994496 metric_logger.py:196] completed step: 2, seconds: 0.033, TFLOP/s/device: 413.246, Tokens/s/device: 62288.999, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0420 06:41:48.608701 134829274994496 metric_logger.py:196] completed step: 3, seconds: 0.410, TFLOP/s/device: 33.141, Tokens/s/device: 4995.439, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.047 I0420 06:41:48.934775 134829274994496 metric_logger.py:196] completed step: 4, seconds: 0.169, TFLOP/s/device: 80.563, Tokens/s/device: 12143.276, total_weights: 65536, loss: 9.278, lm_loss: 9.278, perplexity: 10694.968 I0420 06:41:48.940606 134829274994496 metric_logger.py:196] completed step: 5, seconds: 0.163, TFLOP/s/device: 83.387, Tokens/s/device: 12569.044, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.520 I0420 06:41:51.529401 2739 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0420 06:41:53.798494 134697111758592 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_11_optimizer_offload_true/checkpoints/0/items/array_metadatas/process_4 I0420 06:42:10.530746 134829274994496 metric_logger.py:196] completed step: 6, seconds: 0.327, TFLOP/s/device: 41.579, Tokens/s/device: 6267.290, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.688 I0420 06:42:10.693709 134829274994496 metric_logger.py:196] completed step: 7, seconds: 21.428, TFLOP/s/device: 0.634, Tokens/s/device: 95.577, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4377.010 I0420 06:42:10.856554 134829274994496 metric_logger.py:196] completed step: 8, seconds: 0.168, TFLOP/s/device: 81.039, Tokens/s/device: 12215.052, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3845.943 I0420 06:42:11.018957 134829274994496 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0420 06:42:11.019634 134829274994496 checkpointing.py:776] Waited 0.0006961822509765625 seconds for step 9 to finish before starting checkpointing. I0420 06:42:11.021777 134829274994496 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0420 06:42:25.800763 134697145329408 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 40.961 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.56230092048645 s) (per-host) I0420 06:42:25.800873 134697145329408 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.278540s. I0420 06:42:33.538883 134697145329408 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 46.016539s. I0420 06:42:33.539181 134697103365888 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0420 06:42:33.539300 134697103365888 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0420 06:42:33.539368 134697103365888 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0420 06:42:33.541582 134697103365888 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0420 06:42:33.541779 134829274994496 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:42:33.541922 134829274994496 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.520144 seconds. If this number is high, consider checkpointing less frequently. I0420 06:42:33.543878 134829274994496 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9 I0420 06:42:33.545977 134829274994496 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_true/checkpoints/9. I0420 06:42:33.831651 134829274994496 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0420 06:42:33.831742 134829274994496 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:42:33.873236 134829274994496 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.042518s I0420 06:42:33.873400 134829274994496 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 33.667 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.045816659927368164 s) (per-host) I0420 06:42:33.873450 134829274994496 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.045875s (batch_requests_ready=0.001756s, total_serialization_initiated=0.044053s, others=0.000065s) I0420 06:42:33.873532 134829274994496 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.049973s (all_items=0.000015s, per_item={'items': '0.00001454'}, temp_paths=0.049959) I0420 06:42:33.874163 134829274994496 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_11_optimizer_offload_true/checkpoints/9. I0420 06:42:33.874448 134697103365888 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 07:02:33.874425 I0420 06:42:33.876346 134829274994496 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0420 06:42:33.876638 134681871120128 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0420 06:42:33.876798 134829274994496 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776667331.0217478, 'wait_for_prev_duration_secs': 22.520143508911133, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776667353.5439157, 'checkpointer_blocking_duration_secs': 0.3306417465209961, 'get_old_steps_start_time': 1776667353.874583, 'get_old_steps_duration_secs': 2.8848648071289062e-05, 'checkpoint_manager_blocking_start_time': 1776667331.0198786, 'checkpoint_manager_blocking_duration_secs': 22.856884479522705} I0420 06:42:33.876903 134829274994496 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0420 06:42:33.876948 134829274994496 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0420 06:42:38.968666 134697111758592 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_11_optimizer_offload_true/checkpoints/9/items/array_metadatas/process_4 I0420 06:43:15.760024 134697103365888 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.669 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.93241548538208 s) (per-host) I0420 06:43:15.760131 134697103365888 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.885609s. I0420 06:43:22.221655 134697103365888 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 48.347116s. I0420 06:43:22.221959 134681871120128 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0420 06:43:22.222079 134681871120128 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0420 06:43:22.222127 134681871120128 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0420 06:43:22.223710 134681871120128 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0420 06:43:22.223901 134829274994496 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:43:22.224045 134829274994496 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0420 06:43:22.224955 134829274994496 metric_logger.py:196] completed step: 9, seconds: 0.163, TFLOP/s/device: 83.427, Tokens/s/device: 12574.986, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.739 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:43:31 UTC 2026 EXIT_CODE=0
XPK Start: Tue Apr 21 01:33:25 UTC 2026 2026-04-21 01:33:29.584007: 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:1776735209.596709 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:1776735209.600448 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:1776735209.612032 10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1776735209.612052 10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1776735209.612055 10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1776735209.612057 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:33:48.710952: 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:33:49.219653 135073544795968 max_utils.py:273] Attempting to initialize the jax distributed system... INFO:2026-04-21 01:33:58,260:jax._src.distributed:140: Starting JAX distributed service on [::]:8482 I0421 01:33:58.260735 135073544795968 distributed.py:140] Starting JAX distributed service on [::]:8482 INFO:2026-04-21 01:33:58,263:jax._src.distributed:157: Connecting to JAX distributed service on mt-11-optimizer-offload-rbm2v-slice-job-0-0.mt-11-optimizer-offload-rbm2v:8482 I0421 01:33:58.263019 135073544795968 distributed.py:157] Connecting to JAX distributed service on mt-11-optimizer-offload-rbm2v-slice-job-0-0.mt-11-optimizer-offload-rbm2v:8482 I0421 01:33:59.281039 135073544795968 max_utils.py:284] Jax distributed system initialized! I0421 01:34:05.443729 135073544795968 max_utils.py:800] System Information: Jax Version: 0.8.1 I0421 01:34:05.443835 135073544795968 max_utils.py:801] System Information: Jaxlib Version: 0.8.1 I0421 01:34:05.443880 135073544795968 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:34:05.443915 135073544795968 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0421 01:34:06.062256 135073544795968 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 01:34:06.062555 135073544795968 checkpointing.py:677] Setting up checkpoint logger... I0421 01:34:06.062613 135073544795968 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0421 01:34:06.062658 135073544795968 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None I0421 01:34:06.063008 135073544795968 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 0x7ad8cbfcf770>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0421 01:34:08.873577 135073544795968 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0421 01:34:08.873912 135073544795968 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 0x7ac695c23500>}, handler_registry=None I0421 01:34:08.874203 135073544795968 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ac695c23500>` 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:34:08.874257 135073544795968 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ac5ff326e70>` 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:34:08.874295 135073544795968 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 0x7ac695c23500>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ac695c23500>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ac5ff326e70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ac5ff326e70>}). I0421 01:34:08.874793 135073544795968 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33 I0421 01:34:08.874873 135073544795968 async_checkpointer.py:177] [process=1][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7ac5fe94c040> timeout: 600 secs and primary_host=0 for async checkpoint writes I0421 01:34:09.993239 135073544795968 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_11_optimizer_offload_true/checkpoints I0421 01:34:10.409764 135073544795968 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_11_optimizer_offload_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7ad8f9fcb620> I0421 01:34:10.409938 135073544795968 checkpointing.py:301] Checkpoint manager created! I0421 01:34:11.298826 135073544795968 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0421 01:34:11.298929 135073544795968 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 01:34:11.675521 135073544795968 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 01:34:11.675621 135073544795968 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 01:34:11.691450 135073544795968 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 01:34:11.691510 135073544795968 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 01:34:11.714651 135073544795968 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:34:11.714719 135073544795968 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 01:34:11.730511 135073544795968 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:34:11.730571 135073544795968 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 01:34:11.746338 135073544795968 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:34:11.746409 135073544795968 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 01:34:11.772257 135073544795968 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0421 01:34:11.772331 135073544795968 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 01:34:11.792260 135073544795968 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0421 01:34:11.792326 135073544795968 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0421 01:34:11.983453 135073544795968 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0421 01:34:11.983572 135073544795968 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0421 01:34:13.717373 135073544795968 maxtext_utils.py:1501] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: PartitionSpec('norm',) Physical: (None,) I0421 01:34:13.717518 135073544795968 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:34:13.717573 135073544795968 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:34:13.717633 135073544795968 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:34:13.717686 135073544795968 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:34:13.717725 135073544795968 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:34:13.717777 135073544795968 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:34:13.717827 135073544795968 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:34:13.717866 135073544795968 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:34:13.717902 135073544795968 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:34:13.717953 135073544795968 maxtext_utils.py:1501] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: PartitionSpec('embed', 'vocab') Physical: ('fsdp', None) I0421 01:34:13.718001 135073544795968 maxtext_utils.py:1501] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: PartitionSpec('vocab', 'embed') Physical: (None, 'fsdp') I0421 01:34:14.219173 135073544795968 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 01:34:14.219269 135073544795968 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0421 01:34:14.234210 135073544795968 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 01:34:14.234271 135073544795968 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0421 01:34:24.906216 135073544795968 max_utils.py:791] Total memory size: 1.3 GB, Output size: 0.1 GB, Temp size: 1.1 GB, Argument size: 0.1 GB, Host temp size: 0.0 GB. I0421 01:34:24.907070 135073544795968 metric_logger.py:289] number parameters: 1.104 billion I0421 01:34:36.008112 135073544795968 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0421 01:34:36.178475 135073544795968 checkpointing.py:776] Waited 0.17034602165222168 seconds for step 0 to finish before starting checkpointing. I0421 01:34:36.181128 135073544795968 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 01:34:36.182883 135073544795968 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 0 I0421 01:34:36.186013 135073544795968 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_11_optimizer_offload_true/checkpoints/0. I0421 01:34:37.198423 135073544795968 signaling_client.py:364] Using JaxDistributedSignalingClient I0421 01:34:37.199453 135073544795968 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array. I0421 01:34:37.199513 135073544795968 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:34:37.447475 135073544795968 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.249147s I0421 01:34:37.447643 135073544795968 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.933 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5259618759155273 s) (per-host) I0421 01:34:37.447693 135073544795968 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.526020s (batch_requests_ready=0.272497s, total_serialization_initiated=0.253457s, others=0.000067s) I0421 01:34:37.447786 135073544795968 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.530171s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.530153) I0421 01:34:37.448768 134954558146304 async_checkpointer.py:79] [process=1][thread=async_save] Background save thread started. I0421 01:34:37.448898 135073544795968 async_checkpointer.py:561] Finished blocking save. Time taken: 1.265938s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_true/checkpoints/0. I0421 01:34:37.924887 135073544795968 checkpoint_manager.py:1566] [process=1][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0421 01:34:37.925269 134943137990400 async_checkpointer.py:265] [process=1][thread=save_finalize] Waiting for background save thread=async_save. I0421 01:34:37.925443 135073544795968 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_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776735276.1811123, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776735276.1829283, 'checkpointer_blocking_duration_secs': 1.266155481338501, 'get_old_steps_start_time': 1776735277.4491043, 'get_old_steps_duration_secs': 2.6702880859375e-05, 'checkpoint_manager_blocking_start_time': 1776735276.1789963, 'checkpoint_manager_blocking_duration_secs': 1.7463955879211426} I0421 01:34:37.925554 135073544795968 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0421 01:34:37.925607 135073544795968 max_utils.py:750] Memstats: After params initialized: I0421 01:34:37.925663 135073544795968 max_utils.py:756] Using (GB) 0.17 / 31.25 (0.544000%) on TPU_2(process=1,(2,0,0,0)) I0421 01:34:37.925696 135073544795968 max_utils.py:756] Using (GB) 0.17 / 31.25 (0.544000%) on TPU_3(process=1,(3,0,0,0)) I0421 01:34:37.925724 135073544795968 max_utils.py:756] Using (GB) 0.17 / 31.25 (0.544000%) on TPU_6(process=1,(2,1,0,0)) I0421 01:34:37.925750 135073544795968 max_utils.py:756] Using (GB) 0.17 / 31.25 (0.544000%) on TPU_7(process=1,(3,1,0,0)) I0421 01:34:38.190765 135073544795968 metric_logger.py:185] completed step: 0, seconds: 11.101, TFLOP/s/device: 1.224, Tokens/s/device: 184.489, total_weights: 65536, loss: 10.874 I0421 01:34:38.386162 135073544795968 metric_logger.py:185] completed step: 1, seconds: 2.181, TFLOP/s/device: 6.229, Tokens/s/device: 938.886, total_weights: 65536, loss: 10.874 I0421 01:34:38.793572 135073544795968 metric_logger.py:185] completed step: 2, seconds: 0.032, TFLOP/s/device: 430.272, Tokens/s/device: 64855.279, total_weights: 65536, loss: 10.263 I0421 01:34:38.957316 135073544795968 metric_logger.py:185] completed step: 3, seconds: 0.408, TFLOP/s/device: 33.308, Tokens/s/device: 5020.592, total_weights: 65536, loss: 9.735 I0421 01:34:39.285157 135073544795968 metric_logger.py:185] completed step: 4, seconds: 0.169, TFLOP/s/device: 80.289, Tokens/s/device: 12102.088, total_weights: 65536, loss: 9.278 I0421 01:34:39.290699 135073544795968 metric_logger.py:185] completed step: 5, seconds: 0.164, TFLOP/s/device: 82.990, Tokens/s/device: 12509.086, total_weights: 65536, loss: 8.892 I0421 01:34:58.623109 2541 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0421 01:34:58.807949 135073544795968 metric_logger.py:185] completed step: 6, seconds: 0.328, TFLOP/s/device: 41.417, Tokens/s/device: 6242.760, total_weights: 65536, loss: 8.592 I0421 01:34:58.972570 135073544795968 metric_logger.py:185] completed step: 7, seconds: 19.347, TFLOP/s/device: 0.702, Tokens/s/device: 105.856, total_weights: 65536, loss: 8.384 I0421 01:34:59.136195 135073544795968 metric_logger.py:185] completed step: 8, seconds: 0.176, TFLOP/s/device: 77.262, Tokens/s/device: 11645.826, total_weights: 65536, loss: 8.255 I0421 01:34:59.299548 135073544795968 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0421 01:34:59.300226 135073544795968 checkpointing.py:776] Waited 0.0007004737854003906 seconds for step 9 to finish before starting checkpointing. I0421 01:34:59.302459 135073544795968 checkpoint_manager.py:2024] [process=1][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 01:35:01.444972 134954566539008 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_11_optimizer_offload_true/checkpoints/0/items/array_metadatas/process_1 I0421 01:35:32.558478 134954558146304 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 28.390 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 55.636754512786865 s) (per-host) I0421 01:35:32.558596 134954558146304 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 55.109615s. I0421 01:35:40.122394 134954558146304 async_checkpointer.py:144] [process=1][thread=async_save] Background save thread done. Time taken: 62.673396s. I0421 01:35:40.122714 134943137990400 async_checkpointer.py:273] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 01:35:40.122830 134943137990400 async_checkpointer.py:283] [process=1][thread=save_finalize] No errors found in background save thread=async_save. I0421 01:35:40.122889 134943137990400 checkpoint_manager.py:2133] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0421 01:35:40.124312 134943137990400 checkpoint_manager.py:2142] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0421 01:35:40.124495 135073544795968 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:35:40.124624 135073544795968 checkpoint_manager.py:1458] Waiting for previous save to complete took 40.822168 seconds. If this number is high, consider checkpointing less frequently. I0421 01:35:40.126520 135073544795968 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 9 I0421 01:35:40.130123 135073544795968 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_11_optimizer_offload_true/checkpoints/9. I0421 01:35:41.077922 135073544795968 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array. I0421 01:35:41.078020 135073544795968 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:35:41.116747 135073544795968 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.039917s I0421 01:35:41.116914 135073544795968 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.365 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2875030040740967 s) (per-host) I0421 01:35:41.116971 135073544795968 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.287569s (batch_requests_ready=0.245842s, total_serialization_initiated=0.041655s, others=0.000072s) I0421 01:35:41.117061 135073544795968 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.291569s (all_items=0.000016s, per_item={'items': '0.00001645'}, temp_paths=0.291552) I0421 01:35:41.117921 134943837513472 async_checkpointer.py:79] [process=1][thread=async_save] Background save thread started. I0421 01:35:41.118079 135073544795968 async_checkpointer.py:561] Finished blocking save. Time taken: 0.991487s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_true/checkpoints/9. I0421 01:35:41.566756 135073544795968 checkpoint_manager.py:1566] [process=1][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0421 01:35:41.567126 134943137990400 async_checkpointer.py:265] [process=1][thread=save_finalize] Waiting for background save thread=async_save. I0421 01:35:41.567296 135073544795968 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_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776735299.3024313, 'wait_for_prev_duration_secs': 40.82216787338257, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776735340.1265595, 'checkpointer_blocking_duration_secs': 0.9916255474090576, 'get_old_steps_start_time': 1776735341.118203, 'get_old_steps_duration_secs': 2.5272369384765625e-05, 'checkpoint_manager_blocking_start_time': 1776735299.300476, 'checkpoint_manager_blocking_duration_secs': 42.26678419113159} I0421 01:35:41.567416 135073544795968 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0421 01:35:41.567460 135073544795968 checkpoint_manager.py:2024] [process=1][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 01:35:47.964535 134954566539008 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_11_optimizer_offload_true/checkpoints/9/items/array_metadatas/process_1 I0421 01:36:23.361764 134943837513472 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 37.137 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.53231477737427 s) (per-host) I0421 01:36:23.361869 134943837513472 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.243836s. I0421 01:36:31.850934 134943837513472 async_checkpointer.py:144] [process=1][thread=async_save] Background save thread done. Time taken: 50.732886s. I0421 01:36:31.851153 134943137990400 async_checkpointer.py:273] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 01:36:31.851208 134943137990400 async_checkpointer.py:283] [process=1][thread=save_finalize] No errors found in background save thread=async_save. I0421 01:36:31.851265 134943137990400 checkpoint_manager.py:2133] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0421 01:36:31.853024 134943137990400 checkpoint_manager.py:2142] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0421 01:36:31.853191 135073544795968 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:36:31.853335 135073544795968 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 01:36:31.853946 135073544795968 metric_logger.py:185] completed step: 9, seconds: 0.164, TFLOP/s/device: 82.741, Tokens/s/device: 12471.683, 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:36:41 UTC 2026 EXIT_CODE=0