main (b117f50cf) vs feat/nnx-trainstate-and-training-loop (f093f3730)| Metric | main b117f50cf | feat/nnx-trainstate-and-training-loop f093f3730 | 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.139 | 92.266 | +0.127 |
| Tok/s | 13888.2 | 13907.4 | +19.145 |
| Avg s/step | 2.649 | 2.650 | +0.001 |
| 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: Fri Apr 24 07:03:05 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-24 07:03:30.657283: 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) I0424 07:03:30.869002 139753873110848 max_utils.py:273] Attempting to initialize the jax distributed system... I0424 07:03:39.908919 139753873110848 distributed.py:149] Starting JAX distributed service on [::]:8482 I0424 07:03:39.911244 139753873110848 distributed.py:172] Connecting to JAX distributed service on mt-01-base-03z8p-slice-job-0-0.mt-01-base-03z8p:8482 I0424 07:03:40.867149 139753873110848 max_utils.py:284] Jax distributed system initialized! I0424 07:03:47.394468 139753873110848 max_utils.py:800] System Information: Jax Version: 0.9.2 I0424 07:03:47.394575 139753873110848 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0424 07:03:47.394616 139753873110848 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 I0424 07:03:47.394671 139753873110848 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0424 07:03:48.088459 139753873110848 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0424 07:03:48.088745 139753873110848 checkpointing.py:677] Setting up checkpoint logger... I0424 07:03:48.088799 139753873110848 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0424 07:03:48.088844 139753873110848 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0424 07:03:48.089180 139753873110848 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 0x7f1a6abe9fd0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0424 07:03:52.038155 139753873110848 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0424 07:03:52.038386 139753873110848 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 0x7f060850dc10>}, handler_registry=None I0424 07:03:52.038621 139753873110848 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f060850dc10>` 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`. I0424 07:03:52.038685 139753873110848 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f060866bfb0>` 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`. I0424 07:03:52.038722 139753873110848 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 0x7f060850dc10>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f060850dc10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f060866bfb0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f060866bfb0>}). I0424 07:03:52.039054 139753873110848 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0424 07:03:52.039124 139753873110848 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7f06082ad9e0> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0424 07:03:53.311888 139753873110848 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints I0424 07:03:53.319088 139753873110848 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_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7f060850c1a0> I0424 07:03:53.319210 139753873110848 checkpointing.py:301] Checkpoint manager created! I0424 07:03:54.238256 139753873110848 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0424 07:03:54.238378 139753873110848 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0424 07:03:54.619390 139753873110848 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0424 07:03:54.619480 139753873110848 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0424 07:03:54.635864 139753873110848 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0424 07:03:54.635925 139753873110848 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0424 07:03:54.660033 139753873110848 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0424 07:03:54.660105 139753873110848 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 07:03:54.676564 139753873110848 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0424 07:03:54.676623 139753873110848 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 07:03:54.693101 139753873110848 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0424 07:03:54.693160 139753873110848 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 07:03:54.718147 139753873110848 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0424 07:03:54.718216 139753873110848 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 07:03:54.739634 139753873110848 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0424 07:03:54.739719 139753873110848 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0424 07:03:54.948843 139753873110848 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0424 07:03:54.948954 139753873110848 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0424 07:03:56.373929 139753873110848 maxtext_utils.py:1707] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0424 07:03:56.374059 139753873110848 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) I0424 07:03:56.374113 139753873110848 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) I0424 07:03:56.374172 139753873110848 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') I0424 07:03:56.374224 139753873110848 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) I0424 07:03:56.374261 139753873110848 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) I0424 07:03:56.374310 139753873110848 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) I0424 07:03:56.374359 139753873110848 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') I0424 07:03:56.374398 139753873110848 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) I0424 07:03:56.374433 139753873110848 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) I0424 07:03:56.374478 139753873110848 maxtext_utils.py:1707] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0424 07:03:56.374525 139753873110848 maxtext_utils.py:1707] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0424 07:03:56.862996 139753873110848 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0424 07:03:56.863083 139753873110848 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0424 07:03:56.878591 139753873110848 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0424 07:03:56.878667 139753873110848 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0424 07:04:07.697839 139753873110848 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. I0424 07:04:07.698580 139753873110848 metric_logger.py:301] number parameters: 1.104 billion I0424 07:04:19.097150 139753873110848 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0424 07:04:19.249784 139753873110848 checkpointing.py:776] Waited 0.15261363983154297 seconds for step 0 to finish before starting checkpointing. I0424 07:04:19.252031 139753873110848 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0424 07:04:19.253644 139753873110848 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0 I0424 07:04:19.255588 139753873110848 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints/0. I0424 07:04:19.580963 139753873110848 signaling_client.py:364] Using JaxDistributedSignalingClient I0424 07:04:19.581913 139753873110848 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0424 07:04:19.581975 139753873110848 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 I0424 07:04:19.859895 139753873110848 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279007s I0424 07:04:19.860074 139753873110848 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.421 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28455591201782227 s) (per-host) I0424 07:04:19.860144 139753873110848 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.284632s (batch_requests_ready=0.002249s, total_serialization_initiated=0.282300s, others=0.000083s) I0424 07:04:19.860269 139753873110848 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.288972s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.288954) I0424 07:04:19.862314 139753873110848 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.61 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints/0. I0424 07:04:19.862671 139624907171584 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 07:24:19.862619 I0424 07:04:19.866681 139753873110848 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0424 07:04:19.866984 139623631783680 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0424 07:04:19.867141 139753873110848 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777014259.2520132, 'wait_for_prev_duration_secs': 6.008148193359375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777014259.253698, 'checkpointer_blocking_duration_secs': 0.6091272830963135, 'get_old_steps_start_time': 1777014259.8628514, 'get_old_steps_duration_secs': 3.0994415283203125e-05, 'checkpoint_manager_blocking_start_time': 1777014259.250202, 'checkpoint_manager_blocking_duration_secs': 0.6168999671936035} I0424 07:04:19.867247 139753873110848 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0424 07:04:19.867300 139753873110848 max_utils.py:750] Memstats: After params initialized: I0424 07:04:19.867347 139753873110848 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0)) I0424 07:04:19.867380 139753873110848 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0)) I0424 07:04:19.867408 139753873110848 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0)) I0424 07:04:19.867434 139753873110848 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0)) I0424 07:04:20.176811 139753873110848 metric_logger.py:196] completed step: 0, seconds: 11.398, TFLOP/s/device: 1.192, Tokens/s/device: 179.673, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0424 07:04:20.352935 139753873110848 metric_logger.py:196] completed step: 1, seconds: 1.078, TFLOP/s/device: 12.604, Tokens/s/device: 1899.770, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0424 07:04:20.764144 139753873110848 metric_logger.py:196] completed step: 2, seconds: 0.029, TFLOP/s/device: 466.063, Tokens/s/device: 70250.060, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0424 07:04:20.911367 139753873110848 metric_logger.py:196] completed step: 3, seconds: 0.411, TFLOP/s/device: 33.041, Tokens/s/device: 4980.242, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0424 07:04:21.206738 139753873110848 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.876, Tokens/s/device: 13396.391, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0424 07:04:21.212270 139753873110848 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.214, Tokens/s/device: 13899.446, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0424 07:04:22.958622 2840 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0424 07:04:24.965563 139623772800768 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints/0/items/array_metadatas/process_5 I0424 07:04:42.788391 139753873110848 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.982, Tokens/s/device: 6930.884, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0424 07:04:42.935832 139753873110848 metric_logger.py:196] completed step: 7, seconds: 21.429, TFLOP/s/device: 0.634, Tokens/s/device: 95.569, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0424 07:04:43.083140 139753873110848 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.374, Tokens/s/device: 13471.469, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0424 07:04:43.229713 139753873110848 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0424 07:04:43.230300 139753873110848 checkpointing.py:776] Waited 0.0006082057952880859 seconds for step 9 to finish before starting checkpointing. I0424 07:04:43.232429 139753873110848 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0424 07:04:57.577780 139624907171584 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 41.566 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.00222325325012 s) (per-host) I0424 07:04:57.577902 139624907171584 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.715115s. I0424 07:05:04.738688 139624907171584 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 44.875866s. I0424 07:05:04.738976 139623631783680 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0424 07:05:04.739099 139623631783680 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0424 07:05:04.739150 139623631783680 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0424 07:05:04.741672 139623631783680 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0424 07:05:04.741845 139753873110848 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. W0424 07:05:04.741989 139753873110848 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.509558 seconds. If this number is high, consider checkpointing less frequently. I0424 07:05:04.744000 139753873110848 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9 I0424 07:05:04.745966 139753873110848 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints/9. I0424 07:05:05.046016 139753873110848 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0424 07:05:05.046113 139753873110848 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 I0424 07:05:05.080097 139753873110848 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035293s I0424 07:05:05.080270 139753873110848 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 39.763 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.038794517517089844 s) (per-host) I0424 07:05:05.080324 139753873110848 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038858s (batch_requests_ready=0.001811s, total_serialization_initiated=0.036973s, others=0.000074s) I0424 07:05:05.080425 139753873110848 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043503s (all_items=0.000016s, per_item={'items': '0.00001645'}, temp_paths=0.043486) I0424 07:05:05.081138 139753873110848 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints/9. I0424 07:05:05.081471 139623631783680 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 07:25:05.081433 I0424 07:05:05.083455 139753873110848 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0424 07:05:05.083796 139603281442560 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0424 07:05:05.083961 139753873110848 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777014283.2323983, 'wait_for_prev_duration_secs': 21.50955843925476, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777014304.7440405, 'checkpointer_blocking_duration_secs': 0.337566614151001, 'get_old_steps_start_time': 1777014305.081633, 'get_old_steps_duration_secs': 5.14984130859375e-05, 'checkpoint_manager_blocking_start_time': 1777014283.2305334, 'checkpoint_manager_blocking_duration_secs': 21.853387355804443} I0424 07:05:05.084072 139753873110848 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0424 07:05:05.084118 139753873110848 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0424 07:05:10.379786 139623772800768 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_01_base/checkpoints/9/items/array_metadatas/process_5 I0424 07:05:47.149814 139623631783680 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.513 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.10829472541809 s) (per-host) I0424 07:05:47.149944 139623631783680 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.068363s. I0424 07:05:54.428929 139623631783680 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.347331s. I0424 07:05:54.429230 139603281442560 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0424 07:05:54.429345 139603281442560 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0424 07:05:54.429395 139603281442560 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0424 07:05:54.430986 139603281442560 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0424 07:05:54.431162 139753873110848 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. I0424 07:05:54.431307 139753873110848 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0424 07:05:54.432125 139753873110848 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.139, Tokens/s/device: 13888.230, 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: Fri Apr 24 07:06:06 UTC 2026 EXIT_CODE=0
f093f3730
· feat_nnx_trainstate_and_training_loop_20260424_091312
· full log
XPK Start: Fri Apr 24 09:13:55 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-24 09:14:20.236331: 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) I0424 09:14:20.447774 134495874074432 max_utils.py:273] Attempting to initialize the jax distributed system... I0424 09:14:29.488528 134495874074432 distributed.py:149] Starting JAX distributed service on [::]:8482 I0424 09:14:29.491110 134495874074432 distributed.py:172] Connecting to JAX distributed service on mt-01-base-xrp39-slice-job-0-0.mt-01-base-xrp39:8482 I0424 09:14:33.820415 134495874074432 max_utils.py:284] Jax distributed system initialized! I0424 09:14:38.902365 134495874074432 max_utils.py:800] System Information: Jax Version: 0.9.2 I0424 09:14:38.902475 134495874074432 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0424 09:14:38.902516 134495874074432 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 I0424 09:14:38.902551 134495874074432 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0424 09:14:39.601745 134495874074432 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0424 09:14:39.602343 134495874074432 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0424 09:14:39.602527 134495874074432 checkpointing.py:688] Setting up checkpoint logger... I0424 09:14:39.602578 134495874074432 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0424 09:14:39.602622 134495874074432 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0424 09:14:39.602977 134495874074432 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 0x7a520e417350>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0424 09:14:43.334277 134495874074432 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0424 09:14:43.334517 134495874074432 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 0x7a50fee40770>}, handler_registry=None I0424 09:14:43.334759 134495874074432 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a50fee40770>` 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`. I0424 09:14:43.334810 134495874074432 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a3e9445c980>` 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`. I0424 09:14:43.334845 134495874074432 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 0x7a50fee40770>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a50fee40770>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a3e9445c980>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a3e9445c980>}). I0424 09:14:43.335185 134495874074432 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0424 09:14:43.335255 134495874074432 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a3e94285e40> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0424 09:14:44.295600 134495874074432 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints I0424 09:14:44.755124 134495874074432 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_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a3e9445b7a0> I0424 09:14:44.755298 134495874074432 checkpointing.py:302] Checkpoint manager created! I0424 09:14:45.707247 134495874074432 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0424 09:14:45.707354 134495874074432 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0424 09:14:46.090115 134495874074432 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn'). I0424 09:14:46.090209 134495874074432 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0424 09:14:46.106697 134495874074432 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn'). I0424 09:14:46.106761 134495874074432 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0424 09:14:46.130571 134495874074432 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim'). I0424 09:14:46.130642 134495874074432 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 09:14:46.147169 134495874074432 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim'). I0424 09:14:46.147229 134495874074432 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 09:14:46.163745 134495874074432 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim'). I0424 09:14:46.163805 134495874074432 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 09:14:46.189024 134495874074432 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv'). I0424 09:14:46.189092 134495874074432 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 09:14:46.210020 134495874074432 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0424 09:14:46.210087 134495874074432 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0424 09:14:46.428377 134495874074432 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0424 09:14:46.428490 134495874074432 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0424 09:14:47.864316 134495874074432 maxtext_utils.py:1874] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0424 09:14:47.864446 134495874074432 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) I0424 09:14:47.864502 134495874074432 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) I0424 09:14:47.864560 134495874074432 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') I0424 09:14:47.864612 134495874074432 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) I0424 09:14:47.864650 134495874074432 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) I0424 09:14:47.864701 134495874074432 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) I0424 09:14:47.864754 134495874074432 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') I0424 09:14:47.864795 134495874074432 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) I0424 09:14:47.864834 134495874074432 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) I0424 09:14:47.864884 134495874074432 maxtext_utils.py:1874] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0424 09:14:47.864973 134495874074432 maxtext_utils.py:1874] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0424 09:14:48.366092 134495874074432 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0424 09:14:48.366184 134495874074432 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0424 09:14:48.381670 134495874074432 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0424 09:14:48.381740 134495874074432 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0424 09:14:59.419539 134495874074432 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. I0424 09:14:59.420279 134495874074432 metric_logger.py:301] number parameters: 1.104 billion I0424 09:15:11.025703 134495874074432 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0424 09:15:11.179007 134495874074432 checkpointing.py:798] Waited 0.15328478813171387 seconds for step 0 to finish before starting checkpointing. I0424 09:15:11.181435 134495874074432 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0424 09:15:11.183163 134495874074432 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0 I0424 09:15:11.184493 134495874074432 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints/0. I0424 09:15:11.511520 134495874074432 signaling_client.py:364] Using JaxDistributedSignalingClient I0424 09:15:11.512453 134495874074432 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0424 09:15:11.512508 134495874074432 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 I0424 09:15:11.787460 134495874074432 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276013s I0424 09:15:11.787661 134495874074432 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.476 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2816798686981201 s) (per-host) I0424 09:15:11.787740 134495874074432 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.281776s (batch_requests_ready=0.002283s, total_serialization_initiated=0.279386s, others=0.000107s) I0424 09:15:11.787837 134495874074432 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.285856s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.285839) I0424 09:15:11.788663 134495874074432 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.61 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints/0. I0424 09:15:11.788971 134369781405440 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 09:35:11.788936 I0424 09:15:11.799041 134495874074432 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0424 09:15:11.799290 134368137955072 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save. I0424 09:15:11.799409 134495874074432 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777022111.181418, 'wait_for_prev_duration_secs': 6.008148193359375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777022111.1832025, 'checkpointer_blocking_duration_secs': 0.6058719158172607, 'get_old_steps_start_time': 1777022111.7890997, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1777022111.1795173, 'checkpoint_manager_blocking_duration_secs': 0.6198539733886719} I0424 09:15:11.799512 134495874074432 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0424 09:15:11.799561 134495874074432 max_utils.py:750] Memstats: After params initialized: I0424 09:15:11.799609 134495874074432 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0)) I0424 09:15:11.799642 134495874074432 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0)) I0424 09:15:11.799670 134495874074432 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0)) I0424 09:15:11.799694 134495874074432 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0)) I0424 09:15:12.113960 134495874074432 metric_logger.py:196] completed step: 0, seconds: 11.605, TFLOP/s/device: 1.171, Tokens/s/device: 176.471, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0424 09:15:12.291697 134495874074432 metric_logger.py:196] completed step: 1, seconds: 1.087, TFLOP/s/device: 12.503, Tokens/s/device: 1884.549, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0424 09:15:12.699068 134495874074432 metric_logger.py:196] completed step: 2, seconds: 0.030, TFLOP/s/device: 447.755, Tokens/s/device: 67490.526, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0424 09:15:12.846341 134495874074432 metric_logger.py:196] completed step: 3, seconds: 0.408, TFLOP/s/device: 33.313, Tokens/s/device: 5021.343, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0424 09:15:13.141757 134495874074432 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.936, Tokens/s/device: 13405.335, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0424 09:15:13.147676 134495874074432 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.182, Tokens/s/device: 13894.731, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0424 09:15:14.755407 2745 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0424 09:15:16.787822 134368186070784 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_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints/0/items/array_metadatas/process_3 I0424 09:15:34.720522 134495874074432 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.931, Tokens/s/device: 6923.246, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0424 09:15:34.867888 134495874074432 metric_logger.py:196] completed step: 7, seconds: 21.426, TFLOP/s/device: 0.634, Tokens/s/device: 95.584, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0424 09:15:35.015164 134495874074432 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.225, Tokens/s/device: 13448.910, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0424 09:15:35.161767 134495874074432 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0424 09:15:35.162459 134495874074432 checkpointing.py:798] Waited 0.0007119178771972656 seconds for step 9 to finish before starting checkpointing. I0424 09:15:35.164435 134495874074432 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0424 09:15:48.195439 134369781405440 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 43.053 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.689441204071045 s) (per-host) I0424 09:15:48.195556 134369781405440 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.405964s. I0424 09:15:56.736551 134369781405440 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 44.946935s. I0424 09:15:56.736833 134368137955072 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save. I0424 09:15:56.736964 134368137955072 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save. I0424 09:15:56.737016 134368137955072 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0424 09:15:56.739216 134368137955072 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0424 09:15:56.739362 134495874074432 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. W0424 09:15:56.739454 134495874074432 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.575022 seconds. If this number is high, consider checkpointing less frequently. I0424 09:15:56.741368 134495874074432 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9 I0424 09:15:56.743476 134495874074432 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints/9. I0424 09:15:57.043457 134495874074432 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0424 09:15:57.043558 134495874074432 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 I0424 09:15:57.083745 134495874074432 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.041357s I0424 09:15:57.083907 134495874074432 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 34.369 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.044882774353027344 s) (per-host) I0424 09:15:57.083970 134495874074432 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.044954s (batch_requests_ready=0.001888s, total_serialization_initiated=0.042988s, others=0.000078s) I0424 09:15:57.084061 134495874074432 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.048925s (all_items=0.000035s, per_item={'items': '0.00003529'}, temp_paths=0.048890) I0424 09:15:57.084780 134495874074432 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints/9. I0424 09:15:57.085080 134368137955072 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 09:35:57.085047 I0424 09:15:57.087651 134495874074432 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0424 09:15:57.087962 134368186070784 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save. I0424 09:15:57.088125 134495874074432 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777022135.1644056, 'wait_for_prev_duration_secs': 21.575022220611572, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777022156.7414157, 'checkpointer_blocking_duration_secs': 0.3438072204589844, 'get_old_steps_start_time': 1777022157.0852468, 'get_old_steps_duration_secs': 2.9087066650390625e-05, 'checkpoint_manager_blocking_start_time': 1777022135.1627042, 'checkpoint_manager_blocking_duration_secs': 21.92538571357727} I0424 09:15:57.088235 134495874074432 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0424 09:15:57.088279 134495874074432 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0424 09:16:02.835616 134342474983168 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_20260424_091312/linen_xpk_feat_nnx_trainstate_and_training_loop_20260424_091312_01_base/checkpoints/9/items/array_metadatas/process_3 I0424 09:16:38.946375 134368137955072 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.693 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.90731120109558 s) (per-host) I0424 09:16:38.946501 134368137955072 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.861306s. I0424 09:16:48.061455 134368137955072 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 50.976246s. I0424 09:16:48.061759 134368186070784 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save. I0424 09:16:48.061880 134368186070784 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save. I0424 09:16:48.061947 134368186070784 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0424 09:16:48.064251 134368186070784 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0424 09:16:48.064434 134495874074432 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. I0424 09:16:48.064587 134495874074432 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0424 09:16:48.065562 134495874074432 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.266, Tokens/s/device: 13907.375, 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: Fri Apr 24 09:17:00 UTC 2026 EXIT_CODE=0