main (574ad3fb9) vs feat/nnx-post-train-fixes (574ad3fb9)| Metric | main 574ad3fb9 | feat/nnx-post-train-fixes 574ad3fb9 | Diff (feat/nnx-post-train-fixes − main) |
|---|---|---|---|
| Parameters | 1.104 billion | 1.104 billion | — |
| Final loss | 8.1790 | 8.1790 | 0 |
| TFLOP/s | 91.735 | 92.409 | +0.674 |
| Tok/s | 13827.3 | 13928.8 | +101.565 |
| Avg s/step | 2.697 | 2.692 | -0.005 |
| Memory % | 1.38 | 1.38 | 0 |
| JAX | 0.9.2 | 0.9.2 | — |
Diff = branch value − main value. Green = branch improved. Red = branch regressed.
XPK Start: Mon Apr 20 06:04:23 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:05:03.169743: 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:05:03.705629 134537364629312 max_utils.py:273] Attempting to initialize the jax distributed system... I0420 06:05:12.747409 134537364629312 distributed.py:149] Starting JAX distributed service on [::]:8482 I0420 06:05:12.749641 134537364629312 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-2y2f8-slice-job-0-0.mt-02-synthetic-2y2f8:8482 I0420 06:05:19.953547 134537364629312 max_utils.py:284] Jax distributed system initialized! I0420 06:05:26.425812 134537364629312 max_utils.py:800] System Information: Jax Version: 0.9.2 I0420 06:05:26.425916 134537364629312 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0420 06:05:26.425956 134537364629312 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:05:26.425998 134537364629312 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0420 06:05:27.123493 134537364629312 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0420 06:05:27.123769 134537364629312 checkpointing.py:677] Setting up checkpoint logger... I0420 06:05:27.123822 134537364629312 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0420 06:05:27.123873 134537364629312 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0420 06:05:27.124198 134537364629312 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 0x7a5bcd514050>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0420 06:05:30.189278 134537364629312 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0420 06:05:30.189555 134537364629312 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a4774447890>}, handler_registry=None I0420 06:05:30.189790 134537364629312 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a4774447890>` 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:05:30.189842 134537364629312 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a4774449520>` 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:05:30.189878 134537364629312 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 0x7a4774447890>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a4774447890>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a4774449520>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a4774449520>}). I0420 06:05:30.190189 134537364629312 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0420 06:05:30.190259 134537364629312 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a474c7d3880> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0420 06:05:31.867599 134537364629312 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints I0420 06:05:32.721962 134537364629312 checkpoint_manager.py:929] [process=3][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_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a4774445160> I0420 06:05:32.722133 134537364629312 checkpointing.py:301] Checkpoint manager created! I0420 06:05:33.647060 134537364629312 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0420 06:05:33.647170 134537364629312 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 06:05:34.025807 134537364629312 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0420 06:05:34.025899 134537364629312 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 06:05:34.042320 134537364629312 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0420 06:05:34.042382 134537364629312 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 06:05:34.065995 134537364629312 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:05:34.066061 134537364629312 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:05:34.082418 134537364629312 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:05:34.082478 134537364629312 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:05:34.098690 134537364629312 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:05:34.098749 134537364629312 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:05:34.124208 134537364629312 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0420 06:05:34.124280 134537364629312 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 06:05:34.145139 134537364629312 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0420 06:05:34.145202 134537364629312 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0420 06:05:34.358899 134537364629312 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0420 06:05:34.359006 134537364629312 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0420 06:05:35.770669 134537364629312 maxtext_utils.py:1654] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0420 06:05:35.770787 134537364629312 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:05:35.770846 134537364629312 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:05:35.770904 134537364629312 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:05:35.770958 134537364629312 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:05:35.770997 134537364629312 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:05:35.771049 134537364629312 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:05:35.771100 134537364629312 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:05:35.771140 134537364629312 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:05:35.771177 134537364629312 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:05:35.771223 134537364629312 maxtext_utils.py:1654] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0420 06:05:35.771270 134537364629312 maxtext_utils.py:1654] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0420 06:05:36.256777 134537364629312 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0420 06:05:36.256868 134537364629312 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0420 06:05:36.272108 134537364629312 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0420 06:05:36.272166 134537364629312 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0420 06:05:47.315834 134537364629312 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:05:47.316628 134537364629312 metric_logger.py:301] number parameters: 1.104 billion I0420 06:05:58.597790 134537364629312 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0420 06:05:58.750764 134537364629312 checkpointing.py:776] Waited 0.15296649932861328 seconds for step 0 to finish before starting checkpointing. I0420 06:05:58.753222 134537364629312 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0420 06:05:58.754627 134537364629312 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0 I0420 06:05:58.756154 134537364629312 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/0. I0420 06:05:59.495821 134537364629312 signaling_client.py:364] Using JaxDistributedSignalingClient I0420 06:05:59.496773 134537364629312 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0420 06:05:59.496833 134537364629312 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:05:59.778315 134537364629312 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.282556s I0420 06:05:59.778496 134537364629312 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.357 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2879605293273926 s) (per-host) I0420 06:05:59.778549 134537364629312 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.288026s (batch_requests_ready=0.002177s, total_serialization_initiated=0.285775s, others=0.000074s) I0420 06:05:59.778637 134537364629312 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.292061s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.292043) I0420 06:05:59.779476 134537364629312 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.02 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/0. I0420 06:05:59.779807 134408015165184 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:25:59.779768 I0420 06:05:59.782449 134537364629312 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0420 06:05:59.782698 134401551742720 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save. I0420 06:05:59.782817 134537364629312 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665158.7532036, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665158.7546682, 'checkpointer_blocking_duration_secs': 1.025301456451416, 'get_old_steps_start_time': 1776665159.7799947, 'get_old_steps_duration_secs': 3.170967102050781e-05, 'checkpoint_manager_blocking_start_time': 1776665158.751357, 'checkpoint_manager_blocking_duration_secs': 1.0314197540283203} I0420 06:05:59.782932 134537364629312 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0420 06:05:59.782985 134537364629312 max_utils.py:750] Memstats: After params initialized: I0420 06:05:59.783034 134537364629312 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0)) I0420 06:05:59.783066 134537364629312 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0)) I0420 06:05:59.783091 134537364629312 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0)) I0420 06:05:59.783114 134537364629312 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0)) I0420 06:06:00.093813 134537364629312 metric_logger.py:196] completed step: 0, seconds: 11.281, TFLOP/s/device: 1.204, Tokens/s/device: 181.543, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0420 06:06:00.272749 134537364629312 metric_logger.py:196] completed step: 1, seconds: 1.495, TFLOP/s/device: 9.091, Tokens/s/device: 1370.334, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0420 06:06:00.690477 134537364629312 metric_logger.py:196] completed step: 2, seconds: 0.032, TFLOP/s/device: 427.255, Tokens/s/device: 64400.491, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0420 06:06:00.837826 134537364629312 metric_logger.py:196] completed step: 3, seconds: 0.418, TFLOP/s/device: 32.490, Tokens/s/device: 4897.295, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0420 06:06:01.132997 134537364629312 metric_logger.py:196] completed step: 4, seconds: 0.152, TFLOP/s/device: 89.114, Tokens/s/device: 13432.239, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0420 06:06:01.138906 134537364629312 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.154, Tokens/s/device: 13890.490, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0420 06:06:03.490737 2869 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0420 06:06:05.563695 134405335017216 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/0/items/array_metadatas/process_3 I0420 06:06:22.718634 134537364629312 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.952, Tokens/s/device: 6926.313, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0420 06:06:22.865889 134537364629312 metric_logger.py:196] completed step: 7, seconds: 21.433, TFLOP/s/device: 0.634, Tokens/s/device: 95.553, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0420 06:06:23.013392 134537364629312 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.364, Tokens/s/device: 13469.962, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0420 06:06:23.159990 134537364629312 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0420 06:06:23.160644 134537364629312 checkpointing.py:776] Waited 0.0006763935089111328 seconds for step 9 to finish before starting checkpointing. I0420 06:06:23.162776 134537364629312 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0420 06:06:37.396360 134408015165184 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 41.672 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.90577483177185 s) (per-host) I0420 06:06:37.396485 134408015165184 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.616556s. I0420 06:06:47.372949 134408015165184 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 47.593003s. I0420 06:06:47.373171 134401551742720 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save. I0420 06:06:47.373242 134401551742720 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save. I0420 06:06:47.373292 134401551742720 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0420 06:06:47.375020 134401551742720 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0420 06:06:47.375234 134537364629312 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0420 06:06:47.375392 134537364629312 checkpoint_manager.py:1452] Waiting for previous save to complete took 24.212615 seconds. If this number is high, consider checkpointing less frequently. I0420 06:06:47.377159 134537364629312 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9 I0420 06:06:47.379285 134537364629312 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/9. I0420 06:06:48.073672 134537364629312 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0420 06:06:48.073765 134537364629312 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:06:48.109095 134537364629312 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.036632s I0420 06:06:48.109268 134537364629312 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 38.559 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04000568389892578 s) (per-host) I0420 06:06:48.109331 134537364629312 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040078s (batch_requests_ready=0.001720s, total_serialization_initiated=0.038276s, others=0.000082s) I0420 06:06:48.109419 134537364629312 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044291s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.044276) I0420 06:06:48.110059 134537364629312 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.73 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/9. I0420 06:06:48.110407 134405335017216 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:26:48.110371 I0420 06:06:48.115522 134537364629312 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0420 06:06:48.115802 134401551742720 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save. I0420 06:06:48.115960 134537364629312 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665183.1627462, 'wait_for_prev_duration_secs': 24.21261477470398, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665207.3771987, 'checkpointer_blocking_duration_secs': 0.7333498001098633, 'get_old_steps_start_time': 1776665208.110569, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1776665183.1608818, 'checkpoint_manager_blocking_duration_secs': 24.955042362213135} I0420 06:06:48.116071 134537364629312 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0420 06:06:48.116117 134537364629312 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0420 06:06:54.069175 134408015165184 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/9/items/array_metadatas/process_3 I0420 06:07:29.778391 134405335017216 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.872 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.7090950012207 s) (per-host) I0420 06:07:29.778497 134405335017216 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.667977s. I0420 06:07:40.600686 134405335017216 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 52.490149s. I0420 06:07:40.600949 134401551742720 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save. I0420 06:07:40.601093 134401551742720 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save. I0420 06:07:40.601161 134401551742720 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0420 06:07:40.603692 134401551742720 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0420 06:07:40.603893 134537364629312 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0420 06:07:40.604041 134537364629312 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0420 06:07:40.605084 134537364629312 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.735, Tokens/s/device: 13827.281, 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:07:48 UTC 2026 EXIT_CODE=0
XPK Start: Mon Apr 20 15:41:17 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 15:41:41.552811: 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 15:41:41.733072 132654924457792 max_utils.py:273] Attempting to initialize the jax distributed system... I0420 15:41:50.775427 132654924457792 distributed.py:149] Starting JAX distributed service on [::]:8482 I0420 15:41:50.778043 132654924457792 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-rntp2-slice-job-0-0.mt-02-synthetic-rntp2:8482 I0420 15:41:52.506756 132654924457792 max_utils.py:284] Jax distributed system initialized! I0420 15:41:57.761940 132654924457792 max_utils.py:800] System Information: Jax Version: 0.9.2 I0420 15:41:57.762044 132654924457792 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0420 15:41:57.762101 132654924457792 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 15:41:57.762140 132654924457792 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0420 15:41:58.451492 132654924457792 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0420 15:41:58.452074 132654924457792 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0420 15:41:58.452268 132654924457792 checkpointing.py:688] Setting up checkpoint logger... I0420 15:41:58.452318 132654924457792 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0420 15:41:58.452361 132654924457792 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0420 15:41:58.452701 132654924457792 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 0x78a59a75e6c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0420 15:42:01.395601 132654924457792 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0420 15:42:01.395838 132654924457792 checkpoint_manager.py:708] [process=0][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7891d424d5b0>}, handler_registry=None I0420 15:42:01.396075 132654924457792 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7891d424d5b0>` 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 15:42:01.396138 132654924457792 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7891d4040080>` 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 15:42:01.396173 132654924457792 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 0x7891d424d5b0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7891d424d5b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7891d4040080>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7891d4040080>}). I0420 15:42:01.396501 132654924457792 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0420 15:42:01.396570 132654924457792 async_checkpointer.py:192] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7891bc5b7740> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0420 15:42:02.442820 132654924457792 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints I0420 15:42:02.894504 132654924457792 checkpoint_manager.py:929] [process=0][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_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7891d403b680> I0420 15:42:02.894687 132654924457792 checkpointing.py:302] Checkpoint manager created! I0420 15:42:03.809712 132654924457792 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0420 15:42:03.809813 132654924457792 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 15:42:04.187891 132654924457792 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0420 15:42:04.187982 132654924457792 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 15:42:04.204294 132654924457792 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0420 15:42:04.204351 132654924457792 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0420 15:42:04.227684 132654924457792 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 15:42:04.227751 132654924457792 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 15:42:04.244203 132654924457792 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 15:42:04.244265 132654924457792 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 15:42:04.260536 132654924457792 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 15:42:04.260594 132654924457792 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 15:42:04.284951 132654924457792 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0420 15:42:04.285025 132654924457792 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0420 15:42:04.305693 132654924457792 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0420 15:42:04.305763 132654924457792 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0420 15:42:04.518685 132654924457792 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0420 15:42:04.518794 132654924457792 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0420 15:42:05.939427 132654924457792 maxtext_utils.py:1827] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0420 15:42:05.939548 132654924457792 maxtext_utils.py:1827] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0420 15:42:05.939612 132654924457792 maxtext_utils.py:1827] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0420 15:42:05.939671 132654924457792 maxtext_utils.py:1827] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0420 15:42:05.939723 132654924457792 maxtext_utils.py:1827] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0420 15:42:05.939762 132654924457792 maxtext_utils.py:1827] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0420 15:42:05.939814 132654924457792 maxtext_utils.py:1827] 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 15:42:05.939866 132654924457792 maxtext_utils.py:1827] 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 15:42:05.939912 132654924457792 maxtext_utils.py:1827] 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 15:42:05.939950 132654924457792 maxtext_utils.py:1827] 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 15:42:05.939999 132654924457792 maxtext_utils.py:1827] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0420 15:42:05.940047 132654924457792 maxtext_utils.py:1827] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0420 15:42:06.429277 132654924457792 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0420 15:42:06.429370 132654924457792 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0420 15:42:06.444647 132654924457792 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0420 15:42:06.444706 132654924457792 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0420 15:42:17.299239 132654924457792 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 15:42:17.306927 132654924457792 metric_logger.py:301] number parameters: 1.104 billion I0420 15:42:28.799431 132654924457792 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0420 15:42:28.953581 132654924457792 checkpointing.py:798] Waited 0.1541283130645752 seconds for step 0 to finish before starting checkpointing. I0420 15:42:28.955917 132654924457792 checkpoint_manager.py:2009] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0420 15:42:28.957871 132654924457792 checkpoint_manager.py:1512] [process=0] Saving checkpoint at step 0 I0420 15:42:28.959168 132654924457792 event_tracking.py:70] [process=0] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0. I0420 15:42:29.282330 132654924457792 signaling_client.py:364] Using JaxDistributedSignalingClient I0420 15:42:29.297339 132654924457792 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0420 15:42:29.297404 132654924457792 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 15:42:29.563781 132525905143552 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0 I0420 15:42:29.566275 132654924457792 base_pytree_checkpoint_handler.py:154] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.269730s I0420 15:42:29.567092 132654924457792 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/blocking_gbytes_per_sec: 5.592 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27585768699645996 s) (per-host) I0420 15:42:29.567157 132654924457792 base_pytree_checkpoint_handler.py:768] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.275952s (batch_requests_ready=0.002016s, total_serialization_initiated=0.273210s, others=0.000726s) I0420 15:42:29.567231 132654924457792 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.281106s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.281088) I0420 15:42:29.568056 132654924457792 event_tracking.py:125] [process=0] [async] Finished blocking save in 0.61 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0. I0420 15:42:29.568395 132525913536256 async_checkpointer.py:76] [process=0][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 16:02:29.568357 I0420 15:42:29.578134 132654924457792 checkpoint_manager.py:1560] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0420 15:42:29.578380 132524256773888 async_checkpointer.py:280] [process=0][thread=save_finalize] Waiting for background save thread=async_save. I0420 15:42:29.578535 132654924457792 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776699748.9558985, 'wait_for_prev_duration_secs': 5.91278076171875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776699748.9579082, 'checkpointer_blocking_duration_secs': 0.6106400489807129, 'get_old_steps_start_time': 1776699749.568579, 'get_old_steps_duration_secs': 2.8133392333984375e-05, 'checkpoint_manager_blocking_start_time': 1776699748.95398, 'checkpoint_manager_blocking_duration_secs': 0.624518871307373} I0420 15:42:29.578641 132654924457792 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0420 15:42:29.578693 132654924457792 max_utils.py:750] Memstats: After params initialized: I0420 15:42:29.578740 132654924457792 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_0(process=0,(0,0,0,0)) I0420 15:42:29.578772 132654924457792 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_1(process=0,(1,0,0,0)) I0420 15:42:29.578799 132654924457792 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_4(process=0,(0,1,0,0)) I0420 15:42:29.578823 132654924457792 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_5(process=0,(1,1,0,0)) I0420 15:42:29.930589 132654924457792 metric_logger.py:196] completed step: 0, seconds: 11.187, TFLOP/s/device: 1.215, Tokens/s/device: 183.063, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0420 15:42:29.934043 132654924457792 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/tensorboard/' I0420 15:42:30.364543 132654924457792 metric_logger.py:196] completed step: 1, seconds: 1.129, TFLOP/s/device: 12.032, Tokens/s/device: 1813.571, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0420 15:42:30.511052 132654924457792 metric_logger.py:196] completed step: 2, seconds: 0.435, TFLOP/s/device: 31.256, Tokens/s/device: 4711.306, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0420 15:42:30.658210 132654924457792 metric_logger.py:196] completed step: 3, seconds: 0.009, TFLOP/s/device: 1439.162, Tokens/s/device: 216926.173, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0420 15:42:32.322202 132525888358144 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0/items I0420 15:42:32.517858 132519969220352 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776699752049116400, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776699752049116400, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0/_CHECKPOINT_METADATA I0420 15:42:33.911383 2905 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0420 15:42:36.138979 132524273559296 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0/items/array_metadatas/process_0 I0420 15:42:52.718042 132654924457792 metric_logger.py:196] completed step: 4, seconds: 0.147, TFLOP/s/device: 92.117, Tokens/s/device: 13884.840, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0420 15:42:52.727264 132654924457792 metric_logger.py:196] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.112, Tokens/s/device: 13884.181, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0420 15:42:52.873295 132654924457792 metric_logger.py:196] completed step: 6, seconds: 22.058, TFLOP/s/device: 0.616, Tokens/s/device: 92.845, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0420 15:42:53.020668 132654924457792 metric_logger.py:196] completed step: 7, seconds: 0.007, TFLOP/s/device: 1876.675, Tokens/s/device: 282872.928, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0420 15:42:53.167898 132654924457792 metric_logger.py:196] completed step: 8, seconds: 0.147, TFLOP/s/device: 92.379, Tokens/s/device: 13924.300, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0420 15:42:53.314375 132654924457792 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0420 15:42:53.315108 132654924457792 checkpointing.py:798] Waited 0.0007386207580566406 seconds for step 9 to finish before starting checkpointing. I0420 15:42:53.317128 132654924457792 checkpoint_manager.py:2020] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0420 15:43:10.729991 132524265166592 base_pytree_checkpoint_handler.py:1282] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 36.825920s (commit=35.620865s, array_metadata_write=1.205055s) I0420 15:43:10.731206 132525913536256 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/gbytes_per_sec: 38.118 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.439953565597534 s) (per-host) I0420 15:43:10.731332 132525913536256 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.162824s. I0420 15:43:11.528187 132525913536256 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776699752049116400, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0/_CHECKPOINT_METADATA I0420 15:43:12.525484 132525913536256 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389). I0420 15:43:12.657974 132525913536256 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000236s. I0420 15:43:12.696193 132519969220352 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776699752049116400, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0/_CHECKPOINT_METADATA I0420 15:43:13.185432 132525913536256 base_pytree_checkpoint_handler.py:1406] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 1.530038s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0/items I0420 15:43:13.187264 132525913536256 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0/items I0420 15:43:13.765015 132525913536256 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0 I0420 15:43:15.183960 132525913536256 atomicity.py:847] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0`. I0420 15:43:15.184796 132525913536256 event_tracking.py:138] [process=0] [async] Finished save (blocking + background) in 46.23 seconds @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/0 I0420 15:43:15.186496 132525913536256 async_checkpointer.py:160] [process=0][thread=async_save] Background save thread done. Time taken: 45.617985s. I0420 15:43:15.186774 132524256773888 async_checkpointer.py:288] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save. I0420 15:43:15.186889 132524256773888 async_checkpointer.py:298] [process=0][thread=save_finalize] No errors found in background save thread=async_save. I0420 15:43:15.186954 132524256773888 checkpoint_manager.py:2137] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0420 15:43:15.189622 132524256773888 checkpoint_manager.py:2146] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0420 15:43:15.189750 132654924457792 checkpoint_manager.py:2032] [process=0][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0420 15:43:15.189843 132654924457792 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.872715 seconds. If this number is high, consider checkpointing less frequently. I0420 15:43:15.191879 132654924457792 checkpoint_manager.py:1512] [process=0] Saving checkpoint at step 9 I0420 15:43:15.194025 132654924457792 event_tracking.py:70] [process=0] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9. I0420 15:43:15.922344 132654924457792 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0420 15:43:15.922437 132654924457792 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 15:43:15.948049 132654924457792 base_pytree_checkpoint_handler.py:154] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.026475s I0420 15:43:15.950654 132654924457792 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/blocking_gbytes_per_sec: 47.153 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.032714128494262695 s) (per-host) I0420 15:43:15.950729 132654924457792 base_pytree_checkpoint_handler.py:768] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.032807s (batch_requests_ready=0.001824s, total_serialization_initiated=0.028468s, others=0.002516s) I0420 15:43:15.950811 132654924457792 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.036903s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.036888) I0420 15:43:15.951615 132654924457792 event_tracking.py:125] [process=0] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9. I0420 15:43:15.951902 132524256773888 async_checkpointer.py:76] [process=0][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 16:03:15.951879 I0420 15:43:15.958278 132654924457792 checkpoint_manager.py:1560] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0420 15:43:15.958515 132524831401728 async_checkpointer.py:280] [process=0][thread=save_finalize] Waiting for background save thread=async_save. I0420 15:43:15.958657 132654924457792 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776699773.3170962, 'wait_for_prev_duration_secs': 21.87271475791931, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776699795.1919177, 'checkpointer_blocking_duration_secs': 0.7600829601287842, 'get_old_steps_start_time': 1776699795.9520254, 'get_old_steps_duration_secs': 2.8848648071289062e-05, 'checkpoint_manager_blocking_start_time': 1776699773.3153293, 'checkpoint_manager_blocking_duration_secs': 22.64329433441162} I0420 15:43:15.958760 132654924457792 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0420 15:43:15.958803 132654924457792 checkpoint_manager.py:2020] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0420 15:43:16.167493 132525913536256 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9 I0420 15:43:18.371569 132507542468352 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9/items I0420 15:43:21.331256 132525351597824 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9/items/array_metadatas/process_0 I0420 15:44:00.908006 132525343205120 base_pytree_checkpoint_handler.py:1282] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 41.367862s (commit=40.114337s, array_metadata_write=1.253526s) I0420 15:44:00.909072 132524256773888 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/gbytes_per_sec: 35.109 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 44.99112248420715 s) (per-host) I0420 15:44:00.909177 132524256773888 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 44.957200s. I0420 15:44:02.966849 132524256773888 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000278s. I0420 15:44:03.222475 132524256773888 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389). I0420 15:44:03.867678 132524256773888 base_pytree_checkpoint_handler.py:1406] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 1.983117s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9/items I0420 15:44:03.869425 132524256773888 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9/items I0420 15:44:04.431577 132524256773888 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9 I0420 15:44:06.369549 132524256773888 atomicity.py:847] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9`. I0420 15:44:06.370395 132524256773888 event_tracking.py:138] [process=0] [async] Finished save (blocking + background) in 51.18 seconds @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_02_synthetic/checkpoints/9 I0420 15:44:06.371843 132524256773888 async_checkpointer.py:160] [process=0][thread=async_save] Background save thread done. Time taken: 50.419862s. I0420 15:44:06.371974 132524831401728 async_checkpointer.py:288] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save. I0420 15:44:06.372037 132524831401728 async_checkpointer.py:298] [process=0][thread=save_finalize] No errors found in background save thread=async_save. I0420 15:44:06.372106 132524831401728 checkpoint_manager.py:2137] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0420 15:44:06.374602 132524831401728 checkpoint_manager.py:2146] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0420 15:44:06.374761 132654924457792 checkpoint_manager.py:2032] [process=0][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0420 15:44:06.374926 132654924457792 checkpoint_manager.py:2009] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0420 15:44:06.375978 132654924457792 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.409, Tokens/s/device: 13928.846, 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 15:44:17 UTC 2026 EXIT_CODE=0