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.252 | 92.215 | -0.037 |
| Tok/s | 13905.3 | 13899.6 | -5.662 |
| Avg s/step | 2.671 | 2.712 | +0.041 |
| 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:15:34 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:15:59.664669: 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:15:59.876697 136720174700352 max_utils.py:273] Attempting to initialize the jax distributed system... I0425 07:16:08.917482 136720174700352 distributed.py:149] Starting JAX distributed service on [::]:8482 I0425 07:16:08.919811 136720174700352 distributed.py:172] Connecting to JAX distributed service on mt-01-base-23w1z-slice-job-0-0.mt-01-base-23w1z:8482 I0425 07:16:10.002111 136720174700352 max_utils.py:284] Jax distributed system initialized! I0425 07:16:16.573598 136720174700352 max_utils.py:800] System Information: Jax Version: 0.9.2 I0425 07:16:16.573728 136720174700352 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0425 07:16:16.573770 136720174700352 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:16:16.573808 136720174700352 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0425 07:16:17.272421 136720174700352 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0425 07:16:17.272703 136720174700352 checkpointing.py:677] Setting up checkpoint logger... I0425 07:16:17.272759 136720174700352 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0425 07:16:17.272803 136720174700352 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0425 07:16:17.273137 136720174700352 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 0x7c57eda50e30>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0425 07:16:21.089352 136720174700352 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0425 07:16:21.089579 136720174700352 checkpoint_manager.py:708] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c42c07694c0>}, handler_registry=None I0425 07:16:21.089836 136720174700352 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c42c07694c0>` 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:16:21.089887 136720174700352 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c42c0768a10>` 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:16:21.089924 136720174700352 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 0x7c42c07694c0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c42c07694c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c42c0768a10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c42c0768a10>}). I0425 07:16:21.090299 136720174700352 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0425 07:16:21.090374 136720174700352 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c429c37d8a0> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0425 07:16:22.261430 136720174700352 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints I0425 07:16:22.572031 136720174700352 checkpoint_manager.py:929] [process=5][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_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c42c076a4b0> I0425 07:16:22.572208 136720174700352 checkpointing.py:301] Checkpoint manager created! I0425 07:16:23.499284 136720174700352 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0425 07:16:23.499397 136720174700352 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 07:16:23.878869 136720174700352 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0425 07:16:23.878961 136720174700352 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 07:16:23.895675 136720174700352 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0425 07:16:23.895748 136720174700352 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 07:16:23.919716 136720174700352 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 07:16:23.919779 136720174700352 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:16:23.936386 136720174700352 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 07:16:23.936447 136720174700352 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:16:23.952944 136720174700352 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 07:16:23.953008 136720174700352 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:16:23.978102 136720174700352 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0425 07:16:23.978171 136720174700352 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:16:23.999501 136720174700352 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0425 07:16:23.999561 136720174700352 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0425 07:16:24.209221 136720174700352 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0425 07:16:24.209327 136720174700352 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0425 07:16:25.638469 136720174700352 maxtext_utils.py:1707] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0425 07:16:25.638598 136720174700352 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:16:25.638671 136720174700352 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:16:25.638737 136720174700352 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:16:25.638793 136720174700352 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:16:25.638834 136720174700352 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:16:25.638889 136720174700352 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:16:25.638943 136720174700352 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:16:25.638985 136720174700352 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:16:25.639022 136720174700352 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:16:25.639071 136720174700352 maxtext_utils.py:1707] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0425 07:16:25.639120 136720174700352 maxtext_utils.py:1707] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0425 07:16:26.130723 136720174700352 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 07:16:26.130817 136720174700352 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0425 07:16:26.146517 136720174700352 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 07:16:26.146577 136720174700352 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0425 07:16:37.023795 136720174700352 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:16:37.024572 136720174700352 metric_logger.py:301] number parameters: 1.104 billion I0425 07:16:48.295384 136720174700352 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0425 07:16:48.722262 136720174700352 checkpointing.py:776] Waited 0.42685461044311523 seconds for step 0 to finish before starting checkpointing. I0425 07:16:48.724732 136720174700352 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 07:16:48.726366 136720174700352 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0 I0425 07:16:48.727822 136720174700352 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/0. I0425 07:16:49.047800 136720174700352 signaling_client.py:364] Using JaxDistributedSignalingClient I0425 07:16:49.048760 136720174700352 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 07:16:49.048816 136720174700352 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:16:49.322088 136720174700352 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.274362s I0425 07:16:49.322278 136720174700352 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.499 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28049468994140625 s) (per-host) I0425 07:16:49.322334 136720174700352 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.280563s (batch_requests_ready=0.002726s, total_serialization_initiated=0.277758s, others=0.000079s) I0425 07:16:49.322427 136720174700352 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.284952s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.284935) I0425 07:16:49.323286 136720174700352 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.60 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/0. I0425 07:16:49.323611 136590807201536 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:36:49.323573 I0425 07:16:49.330451 136720174700352 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0425 07:16:49.330758 136588117927680 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0425 07:16:49.330912 136720174700352 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101408.7247136, 'wait_for_prev_duration_secs': 6.008148193359375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101408.7264066, 'checkpointer_blocking_duration_secs': 0.5973672866821289, 'get_old_steps_start_time': 1777101409.3237982, 'get_old_steps_duration_secs': 3.0994415283203125e-05, 'checkpoint_manager_blocking_start_time': 1777101408.7228954, 'checkpoint_manager_blocking_duration_secs': 0.6079776287078857} I0425 07:16:49.331025 136720174700352 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0425 07:16:49.331074 136720174700352 max_utils.py:750] Memstats: After params initialized: I0425 07:16:49.331121 136720174700352 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0)) I0425 07:16:49.331153 136720174700352 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0)) I0425 07:16:49.331180 136720174700352 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0)) I0425 07:16:49.331206 136720174700352 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0)) I0425 07:16:49.642321 136720174700352 metric_logger.py:196] completed step: 0, seconds: 11.271, TFLOP/s/device: 1.206, Tokens/s/device: 181.710, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0425 07:16:49.821124 136720174700352 metric_logger.py:196] completed step: 1, seconds: 1.345, TFLOP/s/device: 10.099, Tokens/s/device: 1522.256, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0425 07:16:50.240753 136720174700352 metric_logger.py:196] completed step: 2, seconds: 0.032, TFLOP/s/device: 427.955, Tokens/s/device: 64505.969, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0425 07:16:50.388281 136720174700352 metric_logger.py:196] completed step: 3, seconds: 0.420, TFLOP/s/device: 32.350, Tokens/s/device: 4876.214, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0425 07:16:50.683772 136720174700352 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.667, Tokens/s/device: 13364.831, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0425 07:16:50.689921 136720174700352 metric_logger.py:196] completed step: 5, seconds: 0.148, TFLOP/s/device: 91.853, Tokens/s/device: 13845.041, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0425 07:16:52.966022 2837 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0425 07:16:55.586963 136589163132672 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/0/items/array_metadatas/process_5 I0425 07:17:12.182455 136720174700352 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.027, Tokens/s/device: 6937.716, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0425 07:17:12.329796 136720174700352 metric_logger.py:196] completed step: 7, seconds: 21.346, TFLOP/s/device: 0.637, Tokens/s/device: 95.943, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0425 07:17:12.477079 136720174700352 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.253, Tokens/s/device: 13453.239, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0425 07:17:12.623819 136720174700352 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0425 07:17:12.624500 136720174700352 checkpointing.py:776] Waited 0.000701904296875 seconds for step 9 to finish before starting checkpointing. I0425 07:17:12.626537 136720174700352 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 07:17:26.108608 136590807201536 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.615 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.06678819656372 s) (per-host) I0425 07:17:26.108747 136590807201536 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.785011s. I0425 07:17:35.651926 136590807201536 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 46.328174s. I0425 07:17:35.652277 136588117927680 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 07:17:35.652398 136588117927680 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0425 07:17:35.652450 136588117927680 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0425 07:17:35.654011 136588117927680 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0425 07:17:35.654213 136720174700352 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0425 07:17:35.654363 136720174700352 checkpoint_manager.py:1452] Waiting for previous save to complete took 23.027824 seconds. If this number is high, consider checkpointing less frequently. I0425 07:17:35.656279 136720174700352 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9 I0425 07:17:35.658405 136720174700352 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/9. I0425 07:17:35.957233 136720174700352 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 07:17:35.957325 136720174700352 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:17:35.991779 136720174700352 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035383s I0425 07:17:35.991919 136720174700352 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 39.450 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.039101600646972656 s) (per-host) I0425 07:17:35.991973 136720174700352 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039158s (batch_requests_ready=0.001980s, total_serialization_initiated=0.037115s, others=0.000064s) I0425 07:17:35.992050 136720174700352 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043057s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.043042) I0425 07:17:35.992761 136720174700352 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/9. I0425 07:17:35.993033 136588117927680 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:37:35.993010 I0425 07:17:35.994986 136720174700352 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0425 07:17:35.995268 136590798808832 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0425 07:17:35.995408 136720174700352 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101432.626508, 'wait_for_prev_duration_secs': 23.02782392501831, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101455.6563165, 'checkpointer_blocking_duration_secs': 0.33681583404541016, 'get_old_steps_start_time': 1777101455.9931562, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1777101432.624745, 'checkpoint_manager_blocking_duration_secs': 23.370628595352173} I0425 07:17:35.995578 136720174700352 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0425 07:17:35.995624 136720174700352 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 07:17:41.024453 136589163132672 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/9/items/array_metadatas/process_5 I0425 07:18:17.816910 136588117927680 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.732 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.864049434661865 s) (per-host) I0425 07:18:17.817029 136588117927680 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.823920s. I0425 07:18:25.958503 136588117927680 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.965378s. I0425 07:18:25.958805 136590798808832 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 07:18:25.958948 136590798808832 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0425 07:18:25.959009 136590798808832 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0425 07:18:25.960720 136590798808832 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0425 07:18:25.960899 136720174700352 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0425 07:18:25.961060 136720174700352 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 07:18:25.962000 136720174700352 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.252, Tokens/s/device: 13905.297, 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:18:35 UTC 2026 EXIT_CODE=0
77202a8e9
· feat_nnx_trainstate_and_training_loop_20260425_092114
· full log
XPK Start: Sat Apr 25 09:21:51 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:22:16.071167: 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:22:16.279290 134046455007040 max_utils.py:273] Attempting to initialize the jax distributed system... I0425 09:22:25.320495 134046455007040 distributed.py:149] Starting JAX distributed service on [::]:8482 I0425 09:22:25.322766 134046455007040 distributed.py:172] Connecting to JAX distributed service on mt-01-base-rusmg-slice-job-0-0.mt-01-base-rusmg:8482 I0425 09:22:26.648559 134046455007040 max_utils.py:284] Jax distributed system initialized! I0425 09:22:32.962420 134046455007040 max_utils.py:800] System Information: Jax Version: 0.9.2 I0425 09:22:32.962525 134046455007040 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0425 09:22:32.962566 134046455007040 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:22:32.962604 134046455007040 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0425 09:22:33.663370 134046455007040 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0425 09:22:33.663970 134046455007040 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0425 09:22:33.664152 134046455007040 checkpointing.py:688] Setting up checkpoint logger... I0425 09:22:33.664206 134046455007040 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0425 09:22:33.664249 134046455007040 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0425 09:22:33.664579 134046455007040 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 0x79e97e5159a0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0425 09:22:37.335076 134046455007040 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0425 09:22:37.335326 134046455007040 checkpoint_manager.py:708] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79d528241130>}, handler_registry=None I0425 09:22:37.335597 134046455007040 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79d528241130>` 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:22:37.335669 134046455007040 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79d5282411c0>` 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:22:37.335709 134046455007040 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 0x79d528241130>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79d528241130>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79d5282411c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79d5282411c0>}). I0425 09:22:37.336078 134046455007040 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0425 09:22:37.336172 134046455007040 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x79d4e84a9d00> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0425 09:22:38.388956 134046455007040 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_01_base/checkpoints I0425 09:22:38.580290 134046455007040 checkpoint_manager.py:929] [process=5][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_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x79d5282429f0> I0425 09:22:38.580467 134046455007040 checkpointing.py:302] Checkpoint manager created! I0425 09:22:39.511478 134046455007040 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0425 09:22:39.511582 134046455007040 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 09:22:39.896296 134046455007040 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0425 09:22:39.896415 134046455007040 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 09:22:39.913369 134046455007040 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0425 09:22:39.913427 134046455007040 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 09:22:39.937624 134046455007040 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 09:22:39.937703 134046455007040 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:22:39.954497 134046455007040 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 09:22:39.954559 134046455007040 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:22:39.971291 134046455007040 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 09:22:39.971353 134046455007040 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:22:39.996796 134046455007040 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0425 09:22:39.996864 134046455007040 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:22:40.017872 134046455007040 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0425 09:22:40.017935 134046455007040 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0425 09:22:40.236257 134046455007040 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0425 09:22:40.236364 134046455007040 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0425 09:22:41.657658 134046455007040 maxtext_utils.py:1835] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0425 09:22:41.657808 134046455007040 maxtext_utils.py:1835] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 09:22:41.657885 134046455007040 maxtext_utils.py:1835] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 09:22:41.657980 134046455007040 maxtext_utils.py:1835] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0425 09:22:41.658069 134046455007040 maxtext_utils.py:1835] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 09:22:41.658141 134046455007040 maxtext_utils.py:1835] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 09:22:41.658226 134046455007040 maxtext_utils.py:1835] 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:22:41.658312 134046455007040 maxtext_utils.py:1835] 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:22:41.658377 134046455007040 maxtext_utils.py:1835] 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:22:41.658437 134046455007040 maxtext_utils.py:1835] 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:22:41.658510 134046455007040 maxtext_utils.py:1835] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0425 09:22:41.658586 134046455007040 maxtext_utils.py:1835] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0425 09:22:42.150771 134046455007040 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 09:22:42.150863 134046455007040 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0425 09:22:42.166354 134046455007040 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 09:22:42.166412 134046455007040 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0425 09:22:53.065898 134046455007040 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:22:53.066686 134046455007040 metric_logger.py:301] number parameters: 1.104 billion I0425 09:23:04.315551 134046455007040 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0425 09:23:04.543147 134046455007040 checkpointing.py:798] Waited 0.22757554054260254 seconds for step 0 to finish before starting checkpointing. I0425 09:23:04.545948 134046455007040 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 09:23:04.547673 134046455007040 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0 I0425 09:23:04.549028 134046455007040 event_tracking.py:70] [process=5] [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_01_base/checkpoints/0. I0425 09:23:05.290261 134046455007040 signaling_client.py:364] Using JaxDistributedSignalingClient I0425 09:23:05.291400 134046455007040 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 09:23:05.291464 134046455007040 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:23:05.567685 134046455007040 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.277510s I0425 09:23:05.567860 134046455007040 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 2.174 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.7095961570739746 s) (per-host) I0425 09:23:05.567914 134046455007040 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.709660s (batch_requests_ready=0.428788s, total_serialization_initiated=0.280800s, others=0.000072s) I0425 09:23:05.568004 134046455007040 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.713792s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.713774) I0425 09:23:05.568777 134046455007040 event_tracking.py:125] [process=5] [async] Finished blocking save in 1.02 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_01_base/checkpoints/0. I0425 09:23:05.569109 133917526378240 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:43:05.569069 I0425 09:23:05.582726 134046455007040 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0425 09:23:05.582968 133915901679360 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0425 09:23:05.583088 134046455007040 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_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777108984.5459285, 'wait_for_prev_duration_secs': 6.198883056640625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777108984.5477104, 'checkpointer_blocking_duration_secs': 1.0215582847595215, 'get_old_steps_start_time': 1777108985.5692925, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1777108984.5436766, 'checkpoint_manager_blocking_duration_secs': 1.0393726825714111} I0425 09:23:05.583195 134046455007040 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0425 09:23:05.583244 134046455007040 max_utils.py:750] Memstats: After params initialized: I0425 09:23:05.583293 134046455007040 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0)) I0425 09:23:05.583326 134046455007040 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0)) I0425 09:23:05.583355 134046455007040 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0)) I0425 09:23:05.583380 134046455007040 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0)) I0425 09:23:05.892166 134046455007040 metric_logger.py:196] completed step: 0, seconds: 11.249, TFLOP/s/device: 1.208, Tokens/s/device: 182.065, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0425 09:23:06.070950 134046455007040 metric_logger.py:196] completed step: 1, seconds: 1.575, TFLOP/s/device: 8.626, Tokens/s/device: 1300.168, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0425 09:23:06.472959 134046455007040 metric_logger.py:196] completed step: 2, seconds: 0.032, TFLOP/s/device: 429.796, Tokens/s/device: 64783.475, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0425 09:23:06.621071 134046455007040 metric_logger.py:196] completed step: 3, seconds: 0.402, TFLOP/s/device: 33.800, Tokens/s/device: 5094.768, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0425 09:23:06.916130 134046455007040 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.699, Tokens/s/device: 13369.630, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0425 09:23:06.921813 134046455007040 metric_logger.py:196] completed step: 5, seconds: 0.148, TFLOP/s/device: 91.839, Tokens/s/device: 13842.982, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0425 09:23:08.049159 2815 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0425 09:23:10.043389 133915910072064 array_metadata_store.py:203] [process=5][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_01_base/checkpoints/0/items/array_metadatas/process_5 I0425 09:23:28.571063 134046455007040 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.996, Tokens/s/device: 6933.066, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0425 09:23:28.718395 134046455007040 metric_logger.py:196] completed step: 7, seconds: 21.502, TFLOP/s/device: 0.632, Tokens/s/device: 95.246, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0425 09:23:28.866019 134046455007040 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.121, Tokens/s/device: 13433.296, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0425 09:23:29.013562 134046455007040 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0425 09:23:29.014165 134046455007040 checkpointing.py:798] Waited 0.0006234645843505859 seconds for step 9 to finish before starting checkpointing. I0425 09:23:29.016383 134046455007040 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 09:23:41.295003 133917526378240 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 43.352 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.43670082092285 s) (per-host) I0425 09:23:41.295112 133917526378240 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 35.725888s. I0425 09:23:52.273321 133917526378240 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 46.704079s. I0425 09:23:52.273538 133915901679360 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 09:23:52.273607 133915901679360 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0425 09:23:52.273677 133915901679360 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0425 09:23:52.276434 133915901679360 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0425 09:23:52.276616 134046455007040 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0425 09:23:52.276770 134046455007040 checkpoint_manager.py:1452] Waiting for previous save to complete took 23.260388 seconds. If this number is high, consider checkpointing less frequently. I0425 09:23:52.278812 134046455007040 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9 I0425 09:23:52.280837 134046455007040 event_tracking.py:70] [process=5] [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_01_base/checkpoints/9. I0425 09:23:52.990355 134046455007040 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 09:23:52.990450 134046455007040 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:23:53.032178 134046455007040 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.042993s I0425 09:23:53.032352 134046455007040 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 33.191 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04647564888000488 s) (per-host) I0425 09:23:53.032406 134046455007040 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.046538s (batch_requests_ready=0.001805s, total_serialization_initiated=0.044662s, others=0.000071s) I0425 09:23:53.032503 134046455007040 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.050937s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.050922) I0425 09:23:53.033169 134046455007040 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.75 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_01_base/checkpoints/9. I0425 09:23:53.033517 133917004785408 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:43:53.033476 I0425 09:23:53.035549 134046455007040 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0425 09:23:53.035846 133915901679360 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0425 09:23:53.036007 134046455007040 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_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109009.016352, 'wait_for_prev_duration_secs': 23.260388135910034, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777109032.2788503, 'checkpointer_blocking_duration_secs': 0.7548220157623291, 'get_old_steps_start_time': 1777109033.033695, 'get_old_steps_duration_secs': 3.0994415283203125e-05, 'checkpoint_manager_blocking_start_time': 1777109009.0143902, 'checkpoint_manager_blocking_duration_secs': 24.02158260345459} I0425 09:23:53.036111 134046455007040 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0425 09:23:53.036156 134046455007040 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 09:23:58.172190 133917013178112 array_metadata_store.py:203] [process=5][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_01_base/checkpoints/9/items/array_metadatas/process_5 I0425 09:24:34.845882 133917004785408 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.735 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.85996460914612 s) (per-host) I0425 09:24:34.846009 133917004785408 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.812373s. I0425 09:24:42.934775 133917004785408 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.901130s. I0425 09:24:42.935055 133915901679360 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 09:24:42.935177 133915901679360 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0425 09:24:42.935226 133915901679360 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0425 09:24:42.936676 133915901679360 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0425 09:24:42.936855 134046455007040 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0425 09:24:42.937008 134046455007040 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 09:24:42.937848 134046455007040 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.215, Tokens/s/device: 13899.635, 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:24:51 UTC 2026 EXIT_CODE=0