main (59e0f1759) vs feat/nnx-trainstate-and-training-loop (77202a8e9)| Metric | main 59e0f1759 | feat/nnx-trainstate-and-training-loop 77202a8e9 | Diff (feat/nnx-trainstate-and-training-loop − main) |
|---|---|---|---|
| Parameters | 1.104 billion | 1.104 billion | — |
| Final loss | 8.1790 | 8.1790 | 0 |
| TFLOP/s | 92.251 | 91.966 | -0.285 |
| Tok/s | 13905.0 | 13862.2 | -42.824 |
| Avg s/step | 2.639 | 2.704 | +0.065 |
| 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: Sat Apr 25 07:17:14 UTC 2026 PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. `rope_parameters`'s factor field must be a float >= 1, got 40 `rope_parameters`'s beta_fast field must be a float, got 32 `rope_parameters`'s beta_slow field must be a float, got 1 DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 2026-04-25 07:17:39.733860: 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) I0425 07:17:39.937303 132585359980352 max_utils.py:273] Attempting to initialize the jax distributed system... I0425 07:17:48.978338 132585359980352 distributed.py:149] Starting JAX distributed service on [::]:8482 I0425 07:17:48.980713 132585359980352 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-5gd3f-slice-job-0-0.mt-02-synthetic-5gd3f:8482 I0425 07:17:51.154454 132585359980352 max_utils.py:284] Jax distributed system initialized! I0425 07:17:57.271776 132585359980352 max_utils.py:800] System Information: Jax Version: 0.9.2 I0425 07:17:57.271882 132585359980352 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0425 07:17:57.271925 132585359980352 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 I0425 07:17:57.271961 132585359980352 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0425 07:17:57.964924 132585359980352 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1) I0425 07:17:57.965222 132585359980352 checkpointing.py:677] Setting up checkpoint logger... I0425 07:17:57.965283 132585359980352 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0425 07:17:57.965326 132585359980352 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0425 07:17:57.965666 132585359980352 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 0x789555d18d70>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0425 07:18:00.779971 132585359980352 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0425 07:18:00.780222 132585359980352 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7881105538c0>}, handler_registry=None I0425 07:18:00.780462 132585359980352 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7881105538c0>` 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`. I0425 07:18:00.780511 132585359980352 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x788110557680>` 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`. I0425 07:18:00.780546 132585359980352 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 0x7881105538c0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7881105538c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x788110557680>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x788110557680>}). I0425 07:18:00.780868 132585359980352 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0425 07:18:00.780937 132585359980352 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7881102f1a80> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0425 07:18:01.897024 132585359980352 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints I0425 07:18:02.743060 132585359980352 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created, primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=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_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7881280af440> I0425 07:18:02.743262 132585359980352 checkpointing.py:301] Checkpoint manager created! I0425 07:18:03.680360 132585359980352 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0425 07:18:03.680480 132585359980352 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 07:18:04.064875 132585359980352 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn'). I0425 07:18:04.064978 132585359980352 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 07:18:04.081506 132585359980352 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn'). I0425 07:18:04.081569 132585359980352 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 07:18:04.105378 132585359980352 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 07:18:04.105452 132585359980352 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:18:04.122063 132585359980352 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 07:18:04.122138 132585359980352 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:18:04.138668 132585359980352 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 07:18:04.138730 132585359980352 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:18:04.163480 132585359980352 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv'). I0425 07:18:04.163554 132585359980352 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:18:04.184833 132585359980352 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0425 07:18:04.184900 132585359980352 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0425 07:18:04.395190 132585359980352 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0425 07:18:04.395302 132585359980352 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0425 07:18:05.831336 132585359980352 maxtext_utils.py:1707] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0425 07:18:05.831466 132585359980352 maxtext_utils.py:1707] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 07:18:05.831520 132585359980352 maxtext_utils.py:1707] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 07:18:05.831578 132585359980352 maxtext_utils.py:1707] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0425 07:18:05.831632 132585359980352 maxtext_utils.py:1707] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 07:18:05.831670 132585359980352 maxtext_utils.py:1707] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 07:18:05.831722 132585359980352 maxtext_utils.py:1707] params/params/decoder/layers/self_attention/key/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'kv_heads', 'kv_head_dim') Physical: ('fsdp', None, None, None) I0425 07:18:05.831773 132585359980352 maxtext_utils.py:1707] params/params/decoder/layers/self_attention/out/kernel Shape: float32[16,16,128,2048] Logical: P('heads', 'layers', 'kv', 'embed') Physical: (None, None, None, 'fsdp') I0425 07:18:05.831813 132585359980352 maxtext_utils.py:1707] params/params/decoder/layers/self_attention/query/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'q_heads', 'kv') Physical: ('fsdp', None, None, None) I0425 07:18:05.831849 132585359980352 maxtext_utils.py:1707] params/params/decoder/layers/self_attention/value/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'kv_heads', 'kv_head_dim') Physical: ('fsdp', None, None, None) I0425 07:18:05.831895 132585359980352 maxtext_utils.py:1707] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0425 07:18:05.831943 132585359980352 maxtext_utils.py:1707] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0425 07:18:06.324674 132585359980352 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 07:18:06.324772 132585359980352 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0425 07:18:06.340363 132585359980352 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 07:18:06.340423 132585359980352 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0425 07:18:17.394465 132585359980352 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. I0425 07:18:17.395348 132585359980352 metric_logger.py:301] number parameters: 1.104 billion I0425 07:18:29.301989 132585359980352 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0425 07:18:29.455207 132585359980352 checkpointing.py:776] Waited 0.1531982421875 seconds for step 0 to finish before starting checkpointing. I0425 07:18:29.457512 132585359980352 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 07:18:29.459188 132585359980352 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0 I0425 07:18:29.460691 132585359980352 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints/0. I0425 07:18:29.791239 132585359980352 signaling_client.py:364] Using JaxDistributedSignalingClient I0425 07:18:29.792126 132585359980352 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 07:18:29.792184 132585359980352 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 I0425 07:18:30.070457 132585359980352 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279293s I0425 07:18:30.070638 132585359980352 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.410 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28513145446777344 s) (per-host) I0425 07:18:30.070692 132585359980352 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285194s (batch_requests_ready=0.002397s, total_serialization_initiated=0.282726s, others=0.000071s) I0425 07:18:30.070789 132585359980352 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289593s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.289575) I0425 07:18:30.071574 132585359980352 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.61 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints/0. I0425 07:18:30.071905 132457022441216 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:38:30.071868 I0425 07:18:30.077250 132585359980352 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0425 07:18:30.077560 132455431669504 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save. I0425 07:18:30.077717 132585359980352 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101509.4574933, 'wait_for_prev_duration_secs': 6.246566772460938e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101509.4592268, 'checkpointer_blocking_duration_secs': 0.6128330230712891, 'get_old_steps_start_time': 1777101510.072085, 'get_old_steps_duration_secs': 4.0531158447265625e-05, 'checkpoint_manager_blocking_start_time': 1777101509.4556687, 'checkpoint_manager_blocking_duration_secs': 0.62200927734375} I0425 07:18:30.077824 132585359980352 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0425 07:18:30.077874 132585359980352 max_utils.py:750] Memstats: After params initialized: I0425 07:18:30.077927 132585359980352 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0)) I0425 07:18:30.077960 132585359980352 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0)) I0425 07:18:30.077986 132585359980352 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0)) I0425 07:18:30.078012 132585359980352 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0)) I0425 07:18:30.391735 132585359980352 metric_logger.py:196] completed step: 0, seconds: 11.907, TFLOP/s/device: 1.141, Tokens/s/device: 172.006, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0425 07:18:30.563669 132585359980352 metric_logger.py:196] completed step: 1, seconds: 1.088, TFLOP/s/device: 12.486, Tokens/s/device: 1881.995, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0425 07:18:30.977359 132585359980352 metric_logger.py:196] completed step: 2, seconds: 0.023, TFLOP/s/device: 583.439, Tokens/s/device: 87942.288, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0425 07:18:31.124693 132585359980352 metric_logger.py:196] completed step: 3, seconds: 0.415, TFLOP/s/device: 32.716, Tokens/s/device: 4931.339, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0425 07:18:31.419734 132585359980352 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.822, Tokens/s/device: 13388.246, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0425 07:18:31.425373 132585359980352 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.359, Tokens/s/device: 13921.366, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0425 07:18:32.962966 2785 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0425 07:18:34.973730 132455440062208 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints/0/items/array_metadatas/process_6 I0425 07:18:52.905250 132585359980352 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.981, Tokens/s/device: 6930.743, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0425 07:18:53.052491 132585359980352 metric_logger.py:196] completed step: 7, seconds: 21.333, TFLOP/s/device: 0.637, Tokens/s/device: 96.002, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0425 07:18:53.199927 132585359980352 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.268, Tokens/s/device: 13455.449, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0425 07:18:53.346583 132585359980352 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0425 07:18:53.347171 132585359980352 checkpointing.py:776] Waited 0.0006105899810791016 seconds for step 9 to finish before starting checkpointing. I0425 07:18:53.349421 132585359980352 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 07:19:06.949070 132457022441216 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 42.504 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.16352462768555 s) (per-host) I0425 07:19:06.949221 132457022441216 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.877203s. I0425 07:19:15.695349 132457022441216 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 45.623317s. I0425 07:19:15.695673 132455431669504 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 07:19:15.695803 132455431669504 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save. I0425 07:19:15.695857 132455431669504 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0425 07:19:15.697361 132455431669504 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0425 07:19:15.697559 132585359980352 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0425 07:19:15.697701 132585359980352 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.348280 seconds. If this number is high, consider checkpointing less frequently. I0425 07:19:15.699618 132585359980352 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9 I0425 07:19:15.701623 132585359980352 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints/9. I0425 07:19:15.978228 132585359980352 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 07:19:15.978327 132585359980352 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 I0425 07:19:16.012946 132585359980352 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035756s I0425 07:19:16.013134 132585359980352 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 39.160 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03939199447631836 s) (per-host) I0425 07:19:16.013184 132585359980352 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039452s (batch_requests_ready=0.001932s, total_serialization_initiated=0.037451s, others=0.000069s) I0425 07:19:16.013283 132585359980352 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043586s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.043571) I0425 07:19:16.013988 132585359980352 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.31 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints/9. I0425 07:19:16.014299 132455431669504 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:39:16.014260 I0425 07:19:16.016323 132585359980352 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0425 07:19:16.016622 132432078558976 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save. I0425 07:19:16.016759 132585359980352 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101533.3493905, 'wait_for_prev_duration_secs': 22.34827995300293, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101555.6996565, 'checkpointer_blocking_duration_secs': 0.3147892951965332, 'get_old_steps_start_time': 1777101556.0144696, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1777101533.3473964, 'checkpoint_manager_blocking_duration_secs': 22.669329404830933} I0425 07:19:16.016923 132585359980352 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0425 07:19:16.016968 132585359980352 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 07:19:21.697988 132455440062208 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_02_synthetic/checkpoints/9/items/array_metadatas/process_6 I0425 07:19:57.902441 132455431669504 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.673 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.92865991592407 s) (per-host) I0425 07:19:57.902578 132455431669504 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.888165s. I0425 07:20:06.055785 132455431669504 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.041358s. I0425 07:20:06.056069 132432078558976 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 07:20:06.056205 132432078558976 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save. I0425 07:20:06.056255 132432078558976 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0425 07:20:06.057914 132432078558976 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0425 07:20:06.058083 132585359980352 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0425 07:20:06.058242 132585359980352 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 07:20:06.059201 132585359980352 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.251, Tokens/s/device: 13905.014, 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: Sat Apr 25 07:20:14 UTC 2026 EXIT_CODE=0
77202a8e9
· feat_nnx_trainstate_and_training_loop_20260425_092114
· full log
XPK Start: Sat Apr 25 09:23:26 UTC 2026 PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. `rope_parameters`'s factor field must be a float >= 1, got 40 `rope_parameters`'s beta_fast field must be a float, got 32 `rope_parameters`'s beta_slow field must be a float, got 1 DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 2026-04-25 09:23:51.100062: 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) I0425 09:23:51.311281 136468588263232 max_utils.py:273] Attempting to initialize the jax distributed system... I0425 09:24:00.351734 136468588263232 distributed.py:149] Starting JAX distributed service on [::]:8482 I0425 09:24:00.354102 136468588263232 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-cym27-slice-job-0-0.mt-02-synthetic-cym27:8482 I0425 09:24:01.886766 136468588263232 max_utils.py:284] Jax distributed system initialized! I0425 09:24:08.033360 136468588263232 max_utils.py:800] System Information: Jax Version: 0.9.2 I0425 09:24:08.033467 136468588263232 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0425 09:24:08.033511 136468588263232 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 I0425 09:24:08.033546 136468588263232 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0425 09:24:08.727207 136468588263232 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0425 09:24:08.727829 136468588263232 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0425 09:24:08.728035 136468588263232 checkpointing.py:688] Setting up checkpoint logger... I0425 09:24:08.728101 136468588263232 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0425 09:24:08.728163 136468588263232 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0425 09:24:08.728516 136468588263232 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 0x7c1d5a138710>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0425 09:24:11.579792 136468588263232 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0425 09:24:11.580001 136468588263232 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 0x7c09186d9760>}, handler_registry=None I0425 09:24:11.580240 136468588263232 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c09186d9760>` 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`. I0425 09:24:11.580295 136468588263232 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c09185761e0>` 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`. I0425 09:24:11.580332 136468588263232 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 0x7c09186d9760>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c09186d9760>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c09185761e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c09185761e0>}). I0425 09:24:11.580663 136468588263232 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0425 09:24:11.580734 136468588263232 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c08f8155e40> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0425 09:24:12.714571 136468588263232 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints I0425 09:24:13.062240 136468588263232 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_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c0918575d00> I0425 09:24:13.062414 136468588263232 checkpointing.py:302] Checkpoint manager created! I0425 09:24:13.994350 136468588263232 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0425 09:24:13.994458 136468588263232 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 09:24:14.375114 136468588263232 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn'). I0425 09:24:14.375208 136468588263232 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 09:24:14.391710 136468588263232 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn'). I0425 09:24:14.391769 136468588263232 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 09:24:14.415550 136468588263232 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 09:24:14.415616 136468588263232 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:24:14.432181 136468588263232 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 09:24:14.432244 136468588263232 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:24:14.449023 136468588263232 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 09:24:14.449087 136468588263232 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:24:14.473861 136468588263232 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv'). I0425 09:24:14.473943 136468588263232 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:24:14.494829 136468588263232 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0425 09:24:14.494895 136468588263232 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0425 09:24:14.714256 136468588263232 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0425 09:24:14.714364 136468588263232 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0425 09:24:16.182892 136468588263232 maxtext_utils.py:1874] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0425 09:24:16.183034 136468588263232 maxtext_utils.py:1874] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 09:24:16.183089 136468588263232 maxtext_utils.py:1874] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 09:24:16.183148 136468588263232 maxtext_utils.py:1874] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0425 09:24:16.183201 136468588263232 maxtext_utils.py:1874] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 09:24:16.183240 136468588263232 maxtext_utils.py:1874] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 09:24:16.183292 136468588263232 maxtext_utils.py:1874] 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) I0425 09:24:16.183343 136468588263232 maxtext_utils.py:1874] 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') I0425 09:24:16.183382 136468588263232 maxtext_utils.py:1874] 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) I0425 09:24:16.183418 136468588263232 maxtext_utils.py:1874] 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) I0425 09:24:16.183465 136468588263232 maxtext_utils.py:1874] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0425 09:24:16.183521 136468588263232 maxtext_utils.py:1874] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0425 09:24:16.684063 136468588263232 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 09:24:16.684156 136468588263232 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0425 09:24:16.699796 136468588263232 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 09:24:16.699857 136468588263232 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0425 09:24:27.797347 136468588263232 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. I0425 09:24:27.798159 136468588263232 metric_logger.py:301] number parameters: 1.104 billion I0425 09:24:39.239365 136468588263232 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0425 09:24:39.393776 136468588263232 checkpointing.py:798] Waited 0.1543891429901123 seconds for step 0 to finish before starting checkpointing. I0425 09:24:39.396062 136468588263232 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 09:24:39.397526 136468588263232 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0 I0425 09:24:39.398884 136468588263232 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/0. I0425 09:24:40.006319 136468588263232 signaling_client.py:364] Using JaxDistributedSignalingClient I0425 09:24:40.007335 136468588263232 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 09:24:40.007449 136468588263232 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 I0425 09:24:40.287015 136468588263232 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.280766s I0425 09:24:40.287192 136468588263232 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.387 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2863302230834961 s) (per-host) I0425 09:24:40.287247 136468588263232 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286396s (batch_requests_ready=0.002167s, total_serialization_initiated=0.284156s, others=0.000073s) I0425 09:24:40.287336 136468588263232 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.291276s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.291260) I0425 09:24:40.288115 136468588263232 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.89 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/0. I0425 09:24:40.288379 136340216592128 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:44:40.288355 I0425 09:24:40.295807 136468588263232 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0425 09:24:40.296126 136339655149312 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save. I0425 09:24:40.296302 136468588263232 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109079.3960438, 'wait_for_prev_duration_secs': 5.984306335449219e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777109079.3975635, 'checkpointer_blocking_duration_secs': 0.8909482955932617, 'get_old_steps_start_time': 1777109080.2885365, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1777109079.3943264, 'checkpoint_manager_blocking_duration_secs': 0.9019360542297363} I0425 09:24:40.296406 136468588263232 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0425 09:24:40.296458 136468588263232 max_utils.py:750] Memstats: After params initialized: I0425 09:24:40.296508 136468588263232 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0)) I0425 09:24:40.296542 136468588263232 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0)) I0425 09:24:40.296571 136468588263232 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0)) I0425 09:24:40.296595 136468588263232 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0)) I0425 09:24:40.607529 136468588263232 metric_logger.py:196] completed step: 0, seconds: 11.441, TFLOP/s/device: 1.188, Tokens/s/device: 179.004, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0425 09:24:40.783399 136468588263232 metric_logger.py:196] completed step: 1, seconds: 1.367, TFLOP/s/device: 9.941, Tokens/s/device: 1498.457, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0425 09:24:41.189279 136468588263232 metric_logger.py:196] completed step: 2, seconds: 0.028, TFLOP/s/device: 480.416, Tokens/s/device: 72413.549, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0425 09:24:41.336607 136468588263232 metric_logger.py:196] completed step: 3, seconds: 0.406, TFLOP/s/device: 33.461, Tokens/s/device: 5043.565, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0425 09:24:41.631428 136468588263232 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.630, Tokens/s/device: 13359.252, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0425 09:24:41.636981 136468588263232 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.365, Tokens/s/device: 13922.312, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0425 09:24:43.349108 2781 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0425 09:24:45.360867 136339663542016 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/0/items/array_metadatas/process_3 I0425 09:25:03.427033 136468588263232 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.044, Tokens/s/device: 6940.185, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0425 09:25:03.574371 136468588263232 metric_logger.py:196] completed step: 7, seconds: 21.643, TFLOP/s/device: 0.628, Tokens/s/device: 94.625, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0425 09:25:03.721662 136468588263232 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.363, Tokens/s/device: 13469.696, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0425 09:25:03.868260 136468588263232 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0425 09:25:03.868959 136468588263232 checkpointing.py:798] Waited 0.0006988048553466797 seconds for step 9 to finish before starting checkpointing. I0425 09:25:03.871024 136468588263232 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 09:25:17.262227 136340216592128 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 42.392 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.261329889297485 s) (per-host) I0425 09:25:17.262331 136340216592128 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.973875s. I0425 09:25:25.237848 136340216592128 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 44.949372s. I0425 09:25:25.238157 136339655149312 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 09:25:25.238297 136339655149312 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save. I0425 09:25:25.238357 136339655149312 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0425 09:25:25.239847 136339655149312 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0425 09:25:25.240072 136468588263232 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. W0425 09:25:25.240222 136468588263232 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.369197 seconds. If this number is high, consider checkpointing less frequently. I0425 09:25:25.242070 136468588263232 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9 I0425 09:25:25.244119 136468588263232 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/9. I0425 09:25:26.380461 136468588263232 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 09:25:26.380561 136468588263232 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 I0425 09:25:26.423779 136468588263232 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044602s I0425 09:25:26.423968 136468588263232 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 32.114 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04803466796875 s) (per-host) I0425 09:25:26.424023 136468588263232 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.048100s (batch_requests_ready=0.001755s, total_serialization_initiated=0.046254s, others=0.000091s) I0425 09:25:26.424110 136468588263232 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.052194s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.052179) I0425 09:25:26.424833 136468588263232 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.18 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/9. I0425 09:25:26.425175 136339701884672 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:45:26.425139 I0425 09:25:26.427097 136468588263232 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0425 09:25:26.427380 136339655149312 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save. I0425 09:25:26.427535 136468588263232 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109103.8709931, 'wait_for_prev_duration_secs': 21.369197368621826, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777109125.24211, 'checkpointer_blocking_duration_secs': 1.1832094192504883, 'get_old_steps_start_time': 1777109126.4253426, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1777109103.8691847, 'checkpoint_manager_blocking_duration_secs': 22.5583176612854} I0425 09:25:26.427636 136468588263232 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0425 09:25:26.427679 136468588263232 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 09:25:32.245870 136340208199424 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/9/items/array_metadatas/process_3 I0425 09:26:08.394783 136339701884672 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.593 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.01883006095886 s) (per-host) I0425 09:26:08.394887 136339701884672 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.969600s. I0425 09:26:17.019177 136339701884672 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 50.593852s. I0425 09:26:17.019485 136339655149312 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 09:26:17.019602 136339655149312 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save. I0425 09:26:17.019649 136339655149312 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0425 09:26:17.021032 136339655149312 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0425 09:26:17.021218 136468588263232 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. I0425 09:26:17.021370 136468588263232 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 09:26:17.022423 136468588263232 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.966, Tokens/s/device: 13862.190, 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: Sat Apr 25 09:26:26 UTC 2026 EXIT_CODE=0