main (e27fc1e97) vs feat/nnx-trainstate-and-training-loop (e27fc1e97)| Metric | main e27fc1e97 | feat/nnx-trainstate-and-training-loop e27fc1e97 | 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.196 | 92.367 | +0.171 |
| Tok/s | 13896.7 | 13922.5 | +25.791 |
| Avg s/step | 2.814 | 2.680 | -0.134 |
| 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: Tue Apr 21 14:46:58 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-21 14:47:23.579402: 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) I0421 14:47:23.792131 135633351370560 max_utils.py:273] Attempting to initialize the jax distributed system... I0421 14:47:32.833047 135633351370560 distributed.py:149] Starting JAX distributed service on [::]:8482 I0421 14:47:32.835422 135633351370560 distributed.py:172] Connecting to JAX distributed service on mt-01-base-wixm9-slice-job-0-0.mt-01-base-wixm9:8482 I0421 14:47:34.483163 135633351370560 max_utils.py:284] Jax distributed system initialized! I0421 14:47:40.623795 135633351370560 max_utils.py:800] System Information: Jax Version: 0.9.2 I0421 14:47:40.623900 135633351370560 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0421 14:47:40.623942 135633351370560 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 I0421 14:47:40.623977 135633351370560 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0421 14:47:41.316932 135633351370560 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 14:47:41.317205 135633351370560 checkpointing.py:677] Setting up checkpoint logger... I0421 14:47:41.317257 135633351370560 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0421 14:47:41.317299 135633351370560 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0421 14:47:41.317655 135633351370560 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 0x7b5b0af4e6c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0421 14:47:45.012723 135633351370560 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0421 14:47:45.012956 135633351370560 checkpoint_manager.py:708] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b46a07050d0>}, handler_registry=None I0421 14:47:45.013189 135633351370560 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b46a07050d0>` 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`. I0421 14:47:45.013238 135633351370560 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b46a0708d10>` 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`. I0421 14:47:45.013274 135633351370560 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 0x7b46a07050d0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b46a07050d0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b46a0708d10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b46a0708d10>}). I0421 14:47:45.013591 135633351370560 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0421 14:47:45.013678 135633351370560 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b46784e54e0> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0421 14:47:46.233632 135633351370560 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints I0421 14:47:46.236220 135633351370560 checkpoint_manager.py:929] [process=4][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_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b46a0706810> I0421 14:47:46.236332 135633351370560 checkpointing.py:301] Checkpoint manager created! I0421 14:47:47.185004 135633351370560 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0421 14:47:47.185119 135633351370560 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 14:47:47.566983 135633351370560 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 14:47:47.567080 135633351370560 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 14:47:47.583537 135633351370560 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 14:47:47.583599 135633351370560 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 14:47:47.607392 135633351370560 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0421 14:47:47.607456 135633351370560 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 14:47:47.623866 135633351370560 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0421 14:47:47.623929 135633351370560 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 14:47:47.640367 135633351370560 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0421 14:47:47.640424 135633351370560 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 14:47:47.665148 135633351370560 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0421 14:47:47.665220 135633351370560 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 14:47:47.686277 135633351370560 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0421 14:47:47.686337 135633351370560 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0421 14:47:47.894273 135633351370560 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0421 14:47:47.894380 135633351370560 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0421 14:47:49.316931 135633351370560 maxtext_utils.py:1668] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0421 14:47:49.317095 135633351370560 maxtext_utils.py:1668] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0421 14:47:49.317169 135633351370560 maxtext_utils.py:1668] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0421 14:47:49.317237 135633351370560 maxtext_utils.py:1668] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0421 14:47:49.317317 135633351370560 maxtext_utils.py:1668] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0421 14:47:49.317364 135633351370560 maxtext_utils.py:1668] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0421 14:47:49.317418 135633351370560 maxtext_utils.py:1668] 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) I0421 14:47:49.317469 135633351370560 maxtext_utils.py:1668] 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') I0421 14:47:49.317515 135633351370560 maxtext_utils.py:1668] 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) I0421 14:47:49.317551 135633351370560 maxtext_utils.py:1668] 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) I0421 14:47:49.317599 135633351370560 maxtext_utils.py:1668] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0421 14:47:49.317668 135633351370560 maxtext_utils.py:1668] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0421 14:47:49.805676 135633351370560 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 14:47:49.805765 135633351370560 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0421 14:47:49.821223 135633351370560 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 14:47:49.821284 135633351370560 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0421 14:48:00.598203 135633351370560 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. I0421 14:48:00.599022 135633351370560 metric_logger.py:301] number parameters: 1.104 billion I0421 14:48:12.129487 135633351370560 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0421 14:48:12.459854 135633351370560 checkpointing.py:776] Waited 0.33034443855285645 seconds for step 0 to finish before starting checkpointing. I0421 14:48:12.462326 135633351370560 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 14:48:12.464076 135633351370560 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0 I0421 14:48:12.465414 135633351370560 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints/0. I0421 14:48:13.214877 135633351370560 signaling_client.py:364] Using JaxDistributedSignalingClient I0421 14:48:13.215928 135633351370560 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 14:48:13.215983 135633351370560 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 I0421 14:48:13.494072 135633351370560 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279270s I0421 14:48:13.494241 135633351370560 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.412 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28500866889953613 s) (per-host) I0421 14:48:13.494295 135633351370560 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285073s (batch_requests_ready=0.002346s, total_serialization_initiated=0.282655s, others=0.000072s) I0421 14:48:13.494391 135633351370560 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289288s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.289271) I0421 14:48:13.495163 135633351370560 event_tracking.py:125] [process=4] [async] Finished blocking save in 1.03 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints/0. I0421 14:48:13.495500 135505026979584 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 15:08:13.495459 I0421 14:48:13.503551 135633351370560 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0421 14:48:13.503886 135503064069888 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0421 14:48:13.504044 135633351370560 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776782892.4623067, 'wait_for_prev_duration_secs': 6.198883056640625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776782892.4641144, 'checkpointer_blocking_duration_secs': 1.0315654277801514, 'get_old_steps_start_time': 1776782893.4957037, 'get_old_steps_duration_secs': 3.0994415283203125e-05, 'checkpoint_manager_blocking_start_time': 1776782892.4603705, 'checkpoint_manager_blocking_duration_secs': 1.043635368347168} I0421 14:48:13.504159 135633351370560 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0421 14:48:13.504210 135633351370560 max_utils.py:750] Memstats: After params initialized: I0421 14:48:13.504257 135633351370560 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0)) I0421 14:48:13.504291 135633351370560 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0)) I0421 14:48:13.504317 135633351370560 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0)) I0421 14:48:13.504343 135633351370560 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0)) I0421 14:48:13.816324 135633351370560 metric_logger.py:196] completed step: 0, seconds: 11.530, TFLOP/s/device: 1.178, Tokens/s/device: 177.618, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 14:48:14.002390 135633351370560 metric_logger.py:196] completed step: 1, seconds: 1.685, TFLOP/s/device: 8.063, Tokens/s/device: 1215.296, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 14:48:14.391696 135633351370560 metric_logger.py:196] completed step: 2, seconds: 0.039, TFLOP/s/device: 348.415, Tokens/s/device: 52516.860, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0421 14:48:14.539269 135633351370560 metric_logger.py:196] completed step: 3, seconds: 0.390, TFLOP/s/device: 34.874, Tokens/s/device: 5256.606, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0421 14:48:14.834722 135633351370560 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.872, Tokens/s/device: 13395.690, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0421 14:48:14.840354 135633351370560 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.117, Tokens/s/device: 13884.840, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0421 14:48:16.436724 2835 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0421 14:48:18.479955 135504083220224 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints/0/items/array_metadatas/process_4 I0421 14:48:37.308057 135633351370560 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.952, Tokens/s/device: 6926.337, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0421 14:48:37.455296 135633351370560 metric_logger.py:196] completed step: 7, seconds: 22.321, TFLOP/s/device: 0.609, Tokens/s/device: 91.754, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0421 14:48:37.602792 135633351370560 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.141, Tokens/s/device: 13436.292, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0421 14:48:37.749494 135633351370560 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0421 14:48:37.750098 135633351370560 checkpointing.py:776] Waited 0.0006244182586669922 seconds for step 9 to finish before starting checkpointing. I0421 14:48:37.752272 135633351370560 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 14:48:50.357227 135505026979584 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 42.522 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.147958517074585 s) (per-host) I0421 14:48:50.357350 135505026979584 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.861727s. I0421 14:48:56.202829 135505026979584 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 42.707190s. I0421 14:48:56.203152 135503064069888 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 14:48:56.203276 135503064069888 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0421 14:48:56.203334 135503064069888 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0421 14:48:56.205653 135503064069888 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0421 14:48:56.205836 135633351370560 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0421 14:48:56.205968 135633351370560 checkpoint_manager.py:1452] Waiting for previous save to complete took 18.453698 seconds. If this number is high, consider checkpointing less frequently. I0421 14:48:56.207921 135633351370560 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9 I0421 14:48:56.210045 135633351370560 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints/9. I0421 14:48:56.934813 135633351370560 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 14:48:56.934907 135633351370560 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 I0421 14:48:56.972626 135633351370560 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.038944s I0421 14:48:56.972785 135633351370560 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 36.270 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04253053665161133 s) (per-host) I0421 14:48:56.972833 135633351370560 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.042588s (batch_requests_ready=0.001929s, total_serialization_initiated=0.040595s, others=0.000064s) I0421 14:48:56.972915 135633351370560 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.046797s (all_items=0.000014s, per_item={'items': '0.00001407'}, temp_paths=0.046783) I0421 14:48:56.973592 135633351370560 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.77 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints/9. I0421 14:48:56.973896 135503064069888 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 15:08:56.973862 I0421 14:48:56.975850 135633351370560 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0421 14:48:56.976076 135504083220224 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0421 14:48:56.976183 135633351370560 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776782917.7522428, 'wait_for_prev_duration_secs': 18.45369815826416, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776782936.20796, 'checkpointer_blocking_duration_secs': 0.7660801410675049, 'get_old_steps_start_time': 1776782936.974063, 'get_old_steps_duration_secs': 3.075599670410156e-05, 'checkpoint_manager_blocking_start_time': 1776782917.7503252, 'checkpoint_manager_blocking_duration_secs': 19.22582507133484} I0421 14:48:56.976338 135633351370560 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0421 14:48:56.976385 135633351370560 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 14:49:02.513406 135479911511808 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_01_base/checkpoints/9/items/array_metadatas/process_4 I0421 14:49:38.701714 135503064069888 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.815 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.7713942527771 s) (per-host) I0421 14:49:38.701822 135503064069888 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.727813s. I0421 14:49:45.101330 135503064069888 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 48.127306s. I0421 14:49:45.101601 135504083220224 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 14:49:45.101674 135504083220224 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0421 14:49:45.101719 135504083220224 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0421 14:49:45.104215 135504083220224 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0421 14:49:45.104384 135633351370560 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0421 14:49:45.104539 135633351370560 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 14:49:45.105539 135633351370560 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.196, Tokens/s/device: 13896.711, 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: Tue Apr 21 14:49:53 UTC 2026 EXIT_CODE=0
e27fc1e97
· feat_nnx_trainstate_and_training_loop_20260421_161900
· full log
XPK Start: Tue Apr 21 16:22:55 UTC 2026 PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. 2026-04-21 16:23:19.395009: 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) I0421 16:23:19.576683 136369950775104 max_utils.py:273] Attempting to initialize the jax distributed system... I0421 16:23:28.620207 136369950775104 distributed.py:149] Starting JAX distributed service on [::]:8482 I0421 16:23:28.622570 136369950775104 distributed.py:172] Connecting to JAX distributed service on mt-01-base-mw949-slice-job-0-0.mt-01-base-mw949:8482 I0421 16:23:29.126199 136369950775104 max_utils.py:284] Jax distributed system initialized! I0421 16:23:35.103128 136369950775104 max_utils.py:800] System Information: Jax Version: 0.9.2 I0421 16:23:35.103231 136369950775104 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0421 16:23:35.103271 136369950775104 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 I0421 16:23:35.103314 136369950775104 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0421 16:23:35.798617 136369950775104 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 16:23:35.799221 136369950775104 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 16:23:35.799401 136369950775104 checkpointing.py:688] Setting up checkpoint logger... I0421 16:23:35.799450 136369950775104 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0421 16:23:35.799493 136369950775104 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0421 16:23:35.799847 136369950775104 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 0x7c06863b17c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0421 16:23:39.454514 136369950775104 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0421 16:23:39.454751 136369950775104 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 0x7bf2f403de50>}, handler_registry=None I0421 16:23:39.455004 136369950775104 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7bf2f403de50>` 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`. I0421 16:23:39.455055 136369950775104 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bf2cc556ed0>` 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`. I0421 16:23:39.455090 136369950775104 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 0x7bf2f403de50>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7bf2f403de50>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bf2cc556ed0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bf2cc556ed0>}). I0421 16:23:39.455402 136369950775104 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0421 16:23:39.455473 136369950775104 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7bf2cc29c2c0> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0421 16:23:40.208662 136369950775104 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints I0421 16:23:40.408757 136369950775104 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_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7bf20c177440> I0421 16:23:40.408962 136369950775104 checkpointing.py:302] Checkpoint manager created! I0421 16:23:41.354600 136369950775104 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0421 16:23:41.354702 136369950775104 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 16:23:41.736307 136369950775104 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 16:23:41.736397 136369950775104 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 16:23:41.753247 136369950775104 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 16:23:41.753316 136369950775104 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 16:23:41.777649 136369950775104 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0421 16:23:41.777714 136369950775104 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 16:23:41.794540 136369950775104 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0421 16:23:41.794602 136369950775104 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 16:23:41.811457 136369950775104 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0421 16:23:41.811517 136369950775104 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 16:23:41.836725 136369950775104 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0421 16:23:41.836796 136369950775104 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 16:23:41.858286 136369950775104 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0421 16:23:41.858352 136369950775104 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0421 16:23:42.079009 136369950775104 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0421 16:23:42.079114 136369950775104 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0421 16:23:43.543246 136369950775104 maxtext_utils.py:1821] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0421 16:23:43.543369 136369950775104 maxtext_utils.py:1821] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0421 16:23:43.543431 136369950775104 maxtext_utils.py:1821] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0421 16:23:43.543490 136369950775104 maxtext_utils.py:1821] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0421 16:23:43.543549 136369950775104 maxtext_utils.py:1821] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0421 16:23:43.543589 136369950775104 maxtext_utils.py:1821] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0421 16:23:43.543643 136369950775104 maxtext_utils.py:1821] 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) I0421 16:23:43.543700 136369950775104 maxtext_utils.py:1821] 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') I0421 16:23:43.543742 136369950775104 maxtext_utils.py:1821] 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) I0421 16:23:43.543779 136369950775104 maxtext_utils.py:1821] 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) I0421 16:23:43.543828 136369950775104 maxtext_utils.py:1821] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0421 16:23:43.543877 136369950775104 maxtext_utils.py:1821] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0421 16:23:44.048969 136369950775104 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 16:23:44.049068 136369950775104 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0421 16:23:44.065040 136369950775104 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 16:23:44.065101 136369950775104 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0421 16:23:55.062356 136369950775104 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. I0421 16:23:55.063200 136369950775104 metric_logger.py:301] number parameters: 1.104 billion I0421 16:24:06.190535 136369950775104 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0421 16:24:06.392397 136369950775104 checkpointing.py:798] Waited 0.2018444538116455 seconds for step 0 to finish before starting checkpointing. I0421 16:24:06.394671 136369950775104 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 16:24:06.396293 136369950775104 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0 I0421 16:24:06.397696 136369950775104 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints/0. I0421 16:24:06.734882 136369950775104 signaling_client.py:364] Using JaxDistributedSignalingClient I0421 16:24:06.735786 136369950775104 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 16:24:06.735843 136369950775104 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 I0421 16:24:07.015229 136369950775104 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.280421s I0421 16:24:07.015406 136369950775104 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.393 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2860300540924072 s) (per-host) I0421 16:24:07.015464 136369950775104 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286098s (batch_requests_ready=0.002348s, total_serialization_initiated=0.283674s, others=0.000076s) I0421 16:24:07.015556 136369950775104 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.290245s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.290227) I0421 16:24:07.016375 136369950775104 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.62 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints/0. I0421 16:24:07.016724 136244717623040 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 16:44:07.016685 I0421 16:24:07.028960 136369950775104 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0421 16:24:07.029216 136243626739456 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save. I0421 16:24:07.029336 136369950775104 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776788646.3946512, 'wait_for_prev_duration_secs': 6.747245788574219e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776788646.3963318, 'checkpointer_blocking_duration_secs': 0.6205518245697021, 'get_old_steps_start_time': 1776788647.0169094, 'get_old_steps_duration_secs': 4.3392181396484375e-05, 'checkpoint_manager_blocking_start_time': 1776788646.3928869, 'checkpoint_manager_blocking_duration_secs': 0.636411190032959} I0421 16:24:07.029438 136369950775104 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0421 16:24:07.029494 136369950775104 max_utils.py:750] Memstats: After params initialized: I0421 16:24:07.029542 136369950775104 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0)) I0421 16:24:07.029575 136369950775104 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0)) I0421 16:24:07.029602 136369950775104 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0)) I0421 16:24:07.029626 136369950775104 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0)) I0421 16:24:07.342182 136369950775104 metric_logger.py:196] completed step: 0, seconds: 11.127, TFLOP/s/device: 1.221, Tokens/s/device: 184.053, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 16:24:07.514762 136369950775104 metric_logger.py:196] completed step: 1, seconds: 1.150, TFLOP/s/device: 11.813, Tokens/s/device: 1780.637, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 16:24:07.916028 136369950775104 metric_logger.py:196] completed step: 2, seconds: 0.025, TFLOP/s/device: 536.193, Tokens/s/device: 80820.837, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0421 16:24:08.063143 136369950775104 metric_logger.py:196] completed step: 3, seconds: 0.401, TFLOP/s/device: 33.854, Tokens/s/device: 5102.905, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0421 16:24:08.358072 136369950775104 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.869, Tokens/s/device: 13395.251, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0421 16:24:08.363731 136369950775104 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.331, Tokens/s/device: 13917.109, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0421 16:24:10.376707 2751 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0421 16:24:12.906507 136244170614528 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_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints/0/items/array_metadatas/process_3 I0421 16:24:30.160872 136369950775104 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.011, Tokens/s/device: 6935.250, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0421 16:24:30.307979 136369950775104 metric_logger.py:196] completed step: 7, seconds: 21.650, TFLOP/s/device: 0.628, Tokens/s/device: 94.595, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0421 16:24:30.455302 136369950775104 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.219, Tokens/s/device: 13448.027, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0421 16:24:30.602095 136369950775104 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0421 16:24:30.602736 136369950775104 checkpointing.py:798] Waited 0.0006635189056396484 seconds for step 9 to finish before starting checkpointing. I0421 16:24:30.604793 136369950775104 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 16:24:43.692394 136244717623040 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 42.735 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.96297836303711 s) (per-host) I0421 16:24:43.692507 136244717623040 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.675664s. I0421 16:24:52.838531 136244717623040 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 45.821671s. I0421 16:24:52.838822 136243626739456 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 16:24:52.838953 136243626739456 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save. I0421 16:24:52.839006 136243626739456 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0421 16:24:52.841291 136243626739456 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0421 16:24:52.841456 136369950775104 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. W0421 16:24:52.841592 136369950775104 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.236799 seconds. If this number is high, consider checkpointing less frequently. I0421 16:24:52.843439 136369950775104 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9 I0421 16:24:52.845521 136369950775104 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints/9. I0421 16:24:53.154351 136369950775104 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 16:24:53.154444 136369950775104 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 I0421 16:24:53.190316 136369950775104 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037071s I0421 16:24:53.190456 136369950775104 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 37.975 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04062056541442871 s) (per-host) I0421 16:24:53.190503 136369950775104 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040676s (batch_requests_ready=0.001913s, total_serialization_initiated=0.038700s, others=0.000063s) I0421 16:24:53.190583 136369950775104 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044908s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.044892) I0421 16:24:53.191269 136369950775104 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.35 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints/9. I0421 16:24:53.191608 136243626739456 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 16:44:53.191573 I0421 16:24:53.196872 136369950775104 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0421 16:24:53.197099 136238387480320 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save. I0421 16:24:53.197220 136369950775104 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776788670.6047614, 'wait_for_prev_duration_secs': 22.236798524856567, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776788692.8434818, 'checkpointer_blocking_duration_secs': 0.3482692241668701, 'get_old_steps_start_time': 1776788693.1917756, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1776788670.602984, 'checkpoint_manager_blocking_duration_secs': 22.594201803207397} I0421 16:24:53.197328 136369950775104 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0421 16:24:53.197372 136369950775104 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 16:24:58.303232 136216397690624 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_20260421_161900/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_161900_01_base/checkpoints/9/items/array_metadatas/process_3 I0421 16:25:34.780026 136243626739456 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.944 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.630149364471436 s) (per-host) I0421 16:25:34.780150 136243626739456 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.588434s. I0421 16:25:41.464148 136243626739456 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 48.272418s. I0421 16:25:41.464439 136238387480320 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 16:25:41.464560 136238387480320 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save. I0421 16:25:41.464608 136238387480320 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0421 16:25:41.466181 136238387480320 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0421 16:25:41.466360 136369950775104 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. I0421 16:25:41.466502 136369950775104 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 16:25:41.467421 136369950775104 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.367, Tokens/s/device: 13922.502, 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: Tue Apr 21 16:25:50 UTC 2026 EXIT_CODE=0