main (b117f50cf) vs feat/nnx-post-train-fixes (28b1e4a16)| Metric | main b117f50cf | feat/nnx-post-train-fixes 28b1e4a16 | Diff (feat/nnx-post-train-fixes − main) |
|---|---|---|---|
| Parameters | 1.104 billion | 1.104 billion | — |
| Final loss | 8.1790 | 8.1790 | 0 |
| TFLOP/s | 92.139 | 92.264 | +0.125 |
| Tok/s | 13888.2 | 13907.0 | +18.767 |
| Avg s/step | 2.649 | 2.732 | +0.083 |
| 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
XPK Start: Fri Apr 24 12:07:42 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 12:08:07.996198: 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 12:08:08.207959 135447414552384 max_utils.py:273] Attempting to initialize the jax distributed system... I0424 12:08:17.249581 135447414552384 distributed.py:149] Starting JAX distributed service on [::]:8482 I0424 12:08:17.251905 135447414552384 distributed.py:172] Connecting to JAX distributed service on mt-01-base-043tl-slice-job-0-0.mt-01-base-043tl:8482 I0424 12:08:20.268970 135447414552384 max_utils.py:284] Jax distributed system initialized! I0424 12:08:25.485445 135447414552384 max_utils.py:800] System Information: Jax Version: 0.9.2 I0424 12:08:25.485553 135447414552384 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0424 12:08:25.485593 135447414552384 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 12:08:25.485628 135447414552384 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0424 12:08:26.184050 135447414552384 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0424 12:08:26.184665 135447414552384 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0424 12:08:26.184845 135447414552384 checkpointing.py:688] Setting up checkpoint logger... I0424 12:08:26.184892 135447414552384 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0424 12:08:26.184936 135447414552384 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0424 12:08:26.185291 135447414552384 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 0x7b2fbd1104d0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0424 12:08:29.912375 135447414552384 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0424 12:08:29.912622 135447414552384 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b1bf421ee70>}, handler_registry=None I0424 12:08:29.912860 135447414552384 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b1bf421ee70>` 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 12:08:29.912919 135447414552384 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b1bf42210a0>` 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 12:08:29.912957 135447414552384 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 0x7b1bf421ee70>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b1bf421ee70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b1bf42210a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b1bf42210a0>}). I0424 12:08:29.913316 135447414552384 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0424 12:08:29.913387 135447414552384 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b1b2c7ddd00> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0424 12:08:30.668022 135447414552384 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints I0424 12:08:30.716328 135447414552384 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created, primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b1bf4237410> I0424 12:08:30.716479 135447414552384 checkpointing.py:302] Checkpoint manager created! I0424 12:08:31.658870 135447414552384 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0424 12:08:31.658980 135447414552384 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0424 12:08:32.051540 135447414552384 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn'). I0424 12:08:32.051631 135447414552384 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0424 12:08:32.068415 135447414552384 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn'). I0424 12:08:32.068478 135447414552384 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0424 12:08:32.092421 135447414552384 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 12:08:32.092492 135447414552384 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 12:08:32.109357 135447414552384 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 12:08:32.109419 135447414552384 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 12:08:32.126492 135447414552384 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 12:08:32.126556 135447414552384 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 12:08:32.151720 135447414552384 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv'). I0424 12:08:32.151791 135447414552384 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0424 12:08:32.172845 135447414552384 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0424 12:08:32.172909 135447414552384 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0424 12:08:32.394625 135447414552384 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0424 12:08:32.394746 135447414552384 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0424 12:08:33.829553 135447414552384 maxtext_utils.py:1880] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0424 12:08:33.829680 135447414552384 maxtext_utils.py:1880] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0424 12:08:33.829734 135447414552384 maxtext_utils.py:1880] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0424 12:08:33.829792 135447414552384 maxtext_utils.py:1880] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0424 12:08:33.829844 135447414552384 maxtext_utils.py:1880] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0424 12:08:33.829881 135447414552384 maxtext_utils.py:1880] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0424 12:08:33.829932 135447414552384 maxtext_utils.py:1880] 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 12:08:33.829983 135447414552384 maxtext_utils.py:1880] 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 12:08:33.830024 135447414552384 maxtext_utils.py:1880] 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 12:08:33.830061 135447414552384 maxtext_utils.py:1880] 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 12:08:33.830121 135447414552384 maxtext_utils.py:1880] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0424 12:08:33.830175 135447414552384 maxtext_utils.py:1880] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0424 12:08:34.321810 135447414552384 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0424 12:08:34.321905 135447414552384 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0424 12:08:34.337599 135447414552384 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0424 12:08:34.337659 135447414552384 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0424 12:08:45.301888 135447414552384 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 12:08:45.302645 135447414552384 metric_logger.py:301] number parameters: 1.104 billion I0424 12:08:56.757283 135447414552384 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0424 12:08:56.910495 135447414552384 checkpointing.py:798] Waited 0.15319180488586426 seconds for step 0 to finish before starting checkpointing. I0424 12:08:56.913086 135447414552384 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0424 12:08:56.914679 135447414552384 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0 I0424 12:08:56.916161 135447414552384 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/0. I0424 12:08:57.408934 135447414552384 signaling_client.py:364] Using JaxDistributedSignalingClient I0424 12:08:57.409875 135447414552384 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0424 12:08:57.409933 135447414552384 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 12:08:57.685587 135447414552384 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276723s I0424 12:08:57.685746 135447414552384 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.463 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2823817729949951 s) (per-host) I0424 12:08:57.685795 135447414552384 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.282440s (batch_requests_ready=0.002299s, total_serialization_initiated=0.280076s, others=0.000064s) I0424 12:08:57.685885 135447414552384 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.286573s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.286555) I0424 12:08:57.686698 135447414552384 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.77 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/0. I0424 12:08:57.686983 135321318762240 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 12:28:57.686951 I0424 12:08:57.706126 135447414552384 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0424 12:08:57.706382 135318103648000 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save. I0424 12:08:57.706527 135447414552384 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777032536.9130676, 'wait_for_prev_duration_secs': 7.939338684082031e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777032536.9147172, 'checkpointer_blocking_duration_secs': 0.7724225521087646, 'get_old_steps_start_time': 1777032537.6871676, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1777032536.91101, 'checkpoint_manager_blocking_duration_secs': 0.795478105545044} I0424 12:08:57.706638 135447414552384 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0424 12:08:57.706688 135447414552384 max_utils.py:750] Memstats: After params initialized: I0424 12:08:57.706735 135447414552384 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0)) I0424 12:08:57.706765 135447414552384 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0)) I0424 12:08:57.706792 135447414552384 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0)) I0424 12:08:57.706814 135447414552384 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0)) I0424 12:08:58.019868 135447414552384 metric_logger.py:196] completed step: 0, seconds: 11.455, TFLOP/s/device: 1.186, Tokens/s/device: 178.794, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0424 12:08:58.205537 135447414552384 metric_logger.py:196] completed step: 1, seconds: 1.261, TFLOP/s/device: 10.774, Tokens/s/device: 1624.005, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0424 12:08:58.622574 135447414552384 metric_logger.py:196] completed step: 2, seconds: 0.038, TFLOP/s/device: 353.105, Tokens/s/device: 53223.836, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0424 12:08:58.770020 135447414552384 metric_logger.py:196] completed step: 3, seconds: 0.417, TFLOP/s/device: 32.576, Tokens/s/device: 4910.199, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0424 12:08:59.065006 135447414552384 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.782, Tokens/s/device: 13382.210, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0424 12:08:59.070771 135447414552384 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.120, Tokens/s/device: 13885.311, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0424 12:09:05.621483 2760 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0424 12:09:07.655240 135318112040704 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/0/items/array_metadatas/process_6 I0424 12:09:21.193623 135447414552384 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.012, Tokens/s/device: 6935.461, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0424 12:09:21.341144 135447414552384 metric_logger.py:196] completed step: 7, seconds: 21.976, TFLOP/s/device: 0.618, Tokens/s/device: 93.193, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0424 12:09:21.488347 135447414552384 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 89.066, Tokens/s/device: 13425.019, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0424 12:09:21.634896 135447414552384 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0424 12:09:21.635613 135447414552384 checkpointing.py:798] Waited 0.0007367134094238281 seconds for step 9 to finish before starting checkpointing. I0424 12:09:21.637628 135447414552384 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0424 12:09:39.544394 135321318762240 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.484 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.14098834991455 s) (per-host) I0424 12:09:39.544514 135321318762240 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.857422s. I0424 12:09:50.963788 135321318762240 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 53.276682s. I0424 12:09:50.964065 135318103648000 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save. I0424 12:09:50.964236 135318103648000 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save. I0424 12:09:50.964300 135318103648000 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0424 12:09:50.965936 135318103648000 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0424 12:09:50.966110 135447414552384 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0424 12:09:50.966238 135447414552384 checkpoint_manager.py:1452] Waiting for previous save to complete took 29.328611 seconds. If this number is high, consider checkpointing less frequently. I0424 12:09:50.968080 135447414552384 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9 I0424 12:09:50.970128 135447414552384 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/9. I0424 12:09:51.616977 135447414552384 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0424 12:09:51.617069 135447414552384 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 12:09:51.650712 135447414552384 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034902s I0424 12:09:51.650877 135447414552384 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 40.155 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03841567039489746 s) (per-host) I0424 12:09:51.650925 135447414552384 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038471s (batch_requests_ready=0.001901s, total_serialization_initiated=0.036507s, others=0.000063s) I0424 12:09:51.651029 135447414552384 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042842s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.042828) I0424 12:09:51.651773 135447414552384 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.68 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/9. I0424 12:09:51.652119 135318103648000 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 12:29:51.652070 I0424 12:09:51.654042 135447414552384 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0424 12:09:51.654345 135293986387712 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save. I0424 12:09:51.654479 135447414552384 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777032561.6375988, 'wait_for_prev_duration_secs': 29.328611135482788, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777032590.9681334, 'checkpointer_blocking_duration_secs': 0.6841232776641846, 'get_old_steps_start_time': 1777032591.6522808, 'get_old_steps_duration_secs': 3.0994415283203125e-05, 'checkpoint_manager_blocking_start_time': 1777032561.6358542, 'checkpoint_manager_blocking_duration_secs': 30.01859188079834} I0424 12:09:51.654645 135447414552384 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0424 12:09:51.654689 135447414552384 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0424 12:09:56.772952 135318112040704 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/9/items/array_metadatas/process_6 I0424 12:10:34.066145 135318103648000 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.208 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.45362734794617 s) (per-host) I0424 12:10:34.066256 135318103648000 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.414029s. I0424 12:10:42.580841 135318103648000 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.928598s. I0424 12:10:42.581123 135293986387712 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save. I0424 12:10:42.581244 135293986387712 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save. I0424 12:10:42.581289 135293986387712 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0424 12:10:42.587362 135293986387712 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0424 12:10:42.587546 135447414552384 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0424 12:10:42.587704 135447414552384 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0424 12:10:42.588627 135447414552384 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.264, Tokens/s/device: 13906.997, 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 12:10:53 UTC 2026 EXIT_CODE=0