main (59e0f1759) vs feat/nnx-trainstate-and-training-loop (77202a8e9)| Metric | main 59e0f1759 | feat/nnx-trainstate-and-training-loop 77202a8e9 | Diff (feat/nnx-trainstate-and-training-loop − main) |
|---|---|---|---|
| Parameters | 1.104 billion | 1.104 billion | — |
| Final loss | 8.1750 | 8.1750 | 0 |
| TFLOP/s | 59.249 | 59.294 | +0.045 |
| Tok/s | 8930.7 | 8937.4 | +6.703 |
| Avg s/step | 3.613 | 3.641 | +0.028 |
| Memory % | 1.38 | 1.38 | 0 |
| JAX | 0.9.2 | 0.9.2 | — |
Diff = branch value − main value. Green = branch improved. Red = branch regressed.
XPK Start: Sat Apr 25 07:21:16 UTC 2026 PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. `rope_parameters`'s factor field must be a float >= 1, got 40 `rope_parameters`'s beta_fast field must be a float, got 32 `rope_parameters`'s beta_slow field must be a float, got 1 DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 2026-04-25 07:21:41.869574: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303) I0425 07:21:42.079255 135965884618560 max_utils.py:273] Attempting to initialize the jax distributed system... I0425 07:21:51.119862 135965884618560 distributed.py:149] Starting JAX distributed service on [::]:8482 I0425 07:21:51.122118 135965884618560 distributed.py:172] Connecting to JAX distributed service on mt-04-int8-tfv0h-slice-job-0-0.mt-04-int8-tfv0h:8482 I0425 07:21:51.944138 135965884618560 max_utils.py:284] Jax distributed system initialized! I0425 07:21:57.985152 135965884618560 max_utils.py:800] System Information: Jax Version: 0.9.2 I0425 07:21:57.985256 135965884618560 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0425 07:21:57.985296 135965884618560 max_utils.py:802] System Information: Jax Backend: PJRT C API TFRT TPU v6 lite Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365 I0425 07:21:57.985332 135965884618560 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0425 07:21:58.676079 135965884618560 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0425 07:21:58.676470 135965884618560 checkpointing.py:677] Setting up checkpoint logger... I0425 07:21:58.676526 135965884618560 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0425 07:21:58.676569 135965884618560 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0425 07:21:58.676913 135965884618560 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 0x7ba871f1ede0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0425 07:22:01.486215 135965884618560 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0425 07:22:01.486443 135965884618560 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 0x7ba74308a300>}, handler_registry=None I0425 07:22:01.486701 135965884618560 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ba74308a300>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`. I0425 07:22:01.486752 135965884618560 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b946413c560>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`. I0425 07:22:01.486789 135965884618560 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 0x7ba74308a300>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ba74308a300>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b946413c560>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b946413c560>}). I0425 07:22:01.487118 135965884618560 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0425 07:22:01.487190 135965884618560 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b94445d1760> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0425 07:22:02.648800 135965884618560 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints I0425 07:22:02.688567 135965884618560 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created, primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b9464135a60> I0425 07:22:02.688736 135965884618560 checkpointing.py:301] Checkpoint manager created! I0425 07:22:03.830742 135965884618560 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0425 07:22:03.830857 135965884618560 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 07:22:04.218037 135965884618560 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0425 07:22:04.218132 135965884618560 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 07:22:04.234637 135965884618560 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0425 07:22:04.234702 135965884618560 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 07:22:04.300613 135965884618560 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 07:22:04.300716 135965884618560 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:22:04.317263 135965884618560 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 07:22:04.317322 135965884618560 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:22:04.333912 135965884618560 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 07:22:04.333976 135965884618560 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:22:04.358685 135965884618560 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0425 07:22:04.358756 135965884618560 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 07:22:04.424959 135965884618560 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0425 07:22:04.425045 135965884618560 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0425 07:22:04.932487 135965884618560 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0425 07:22:04.932595 135965884618560 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0425 07:22:07.426491 135965884618560 maxtext_utils.py:1707] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0425 07:22:07.426615 135965884618560 maxtext_utils.py:1707] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 07:22:07.426681 135965884618560 maxtext_utils.py:1707] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 07:22:07.426740 135965884618560 maxtext_utils.py:1707] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0425 07:22:07.426794 135965884618560 maxtext_utils.py:1707] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 07:22:07.426833 135965884618560 maxtext_utils.py:1707] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 07:22:07.426887 135965884618560 maxtext_utils.py:1707] params/params/decoder/layers/self_attention/key/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'kv_heads', 'kv_head_dim') Physical: ('fsdp', None, None, None) I0425 07:22:07.426943 135965884618560 maxtext_utils.py:1707] params/params/decoder/layers/self_attention/out/kernel Shape: float32[16,16,128,2048] Logical: P('heads', 'layers', 'kv', 'embed') Physical: (None, None, None, 'fsdp') I0425 07:22:07.426985 135965884618560 maxtext_utils.py:1707] params/params/decoder/layers/self_attention/query/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'q_heads', 'kv') Physical: ('fsdp', None, None, None) I0425 07:22:07.427020 135965884618560 maxtext_utils.py:1707] params/params/decoder/layers/self_attention/value/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'kv_heads', 'kv_head_dim') Physical: ('fsdp', None, None, None) I0425 07:22:07.427066 135965884618560 maxtext_utils.py:1707] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0425 07:22:07.427113 135965884618560 maxtext_utils.py:1707] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0425 07:22:08.817587 135965884618560 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 07:22:08.817697 135965884618560 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0425 07:22:08.834160 135965884618560 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 07:22:08.834223 135965884618560 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0425 07:22:22.341513 135965884618560 max_utils.py:791] Total memory size: 1.8 GB, Output size: 0.4 GB, Temp size: 1.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB. I0425 07:22:22.342331 135965884618560 metric_logger.py:301] number parameters: 1.104 billion I0425 07:22:37.212856 135965884618560 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0425 07:22:37.453130 135965884618560 checkpointing.py:776] Waited 0.2402477264404297 seconds for step 0 to finish before starting checkpointing. I0425 07:22:37.455894 135965884618560 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 07:22:37.459030 135965884618560 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0 I0425 07:22:37.460455 135965884618560 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints/0. I0425 07:22:37.786480 135965884618560 signaling_client.py:364] Using JaxDistributedSignalingClient I0425 07:22:37.787490 135965884618560 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 07:22:37.787547 135965884618560 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False I0425 07:22:38.066318 135965884618560 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279913s I0425 07:22:38.066492 135965884618560 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.406 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28536128997802734 s) (per-host) I0425 07:22:38.066548 135965884618560 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285427s (batch_requests_ready=0.002229s, total_serialization_initiated=0.283124s, others=0.000073s) I0425 07:22:38.066646 135965884618560 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289515s (all_items=0.000019s, per_item={'items': '0.00001860'}, temp_paths=0.289496) I0425 07:22:38.067538 135965884618560 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.61 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints/0. I0425 07:22:38.067868 135833875052288 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:42:38.067830 I0425 07:22:38.078439 135965884618560 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0425 07:22:38.078732 135831321896704 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0425 07:22:38.078892 135965884618560 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101757.455877, 'wait_for_prev_duration_secs': 6.031990051269531e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101757.4590714, 'checkpointer_blocking_duration_secs': 0.6089563369750977, 'get_old_steps_start_time': 1777101758.0680528, 'get_old_steps_duration_secs': 3.2901763916015625e-05, 'checkpoint_manager_blocking_start_time': 1777101757.453697, 'checkpoint_manager_blocking_duration_secs': 0.6251547336578369} I0425 07:22:38.079006 135965884618560 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0425 07:22:38.079055 135965884618560 max_utils.py:750] Memstats: After params initialized: I0425 07:22:38.079104 135965884618560 max_utils.py:756] Using (GB) 0.44 / 31.25 (1.408000%) on TPU_18(process=5,(2,4,0,0)) I0425 07:22:38.079138 135965884618560 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0)) I0425 07:22:38.079165 135965884618560 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0)) I0425 07:22:38.079191 135965884618560 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0)) I0425 07:22:38.393681 135965884618560 metric_logger.py:196] completed step: 0, seconds: 14.870, TFLOP/s/device: 0.914, Tokens/s/device: 137.723, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52796.277 I0425 07:22:38.664057 135965884618560 metric_logger.py:196] completed step: 1, seconds: 1.179, TFLOP/s/device: 11.522, Tokens/s/device: 1736.650, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52796.277 I0425 07:22:39.081716 135965884618560 metric_logger.py:196] completed step: 2, seconds: 0.042, TFLOP/s/device: 326.786, Tokens/s/device: 49256.819, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28634.820 I0425 07:22:39.311253 135965884618560 metric_logger.py:196] completed step: 3, seconds: 0.418, TFLOP/s/device: 32.511, Tokens/s/device: 4900.459, total_weights: 65536, loss: 9.731, lm_loss: 9.731, perplexity: 16827.199 I0425 07:22:39.775644 135965884618560 metric_logger.py:196] completed step: 4, seconds: 0.235, TFLOP/s/device: 57.867, Tokens/s/device: 8722.317, total_weights: 65536, loss: 9.272, lm_loss: 9.272, perplexity: 10638.531 I0425 07:22:39.781880 135965884618560 metric_logger.py:196] completed step: 5, seconds: 0.230, TFLOP/s/device: 59.183, Tokens/s/device: 8920.677, total_weights: 65536, loss: 8.887, lm_loss: 8.887, perplexity: 7233.941 I0425 07:22:41.303051 2925 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0425 07:22:43.365815 135832799807232 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints/0/items/array_metadatas/process_5 I0425 07:23:09.498006 135965884618560 metric_logger.py:196] completed step: 6, seconds: 0.465, TFLOP/s/device: 29.228, Tokens/s/device: 4405.628, total_weights: 65536, loss: 8.588, lm_loss: 8.588, perplexity: 5365.468 I0425 07:23:09.727385 135965884618560 metric_logger.py:196] completed step: 7, seconds: 29.488, TFLOP/s/device: 0.461, Tokens/s/device: 69.452, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4358.779 I0425 07:23:09.956782 135965884618560 metric_logger.py:196] completed step: 8, seconds: 0.234, TFLOP/s/device: 58.054, Tokens/s/device: 8750.566, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.453 I0425 07:23:10.185567 135965884618560 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0425 07:23:10.186244 135965884618560 checkpointing.py:776] Waited 0.0006976127624511719 seconds for step 9 to finish before starting checkpointing. I0425 07:23:10.188390 135965884618560 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 07:23:11.670372 135833875052288 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 46.611 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 33.88920211791992 s) (per-host) I0425 07:23:11.670495 135833875052288 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 33.602513s. I0425 07:23:19.863918 135833875052288 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 41.795918s. I0425 07:23:19.864192 135831321896704 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 07:23:19.864320 135831321896704 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0425 07:23:19.864371 135831321896704 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0425 07:23:19.866041 135831321896704 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0425 07:23:19.866220 135965884618560 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0425 07:23:19.866360 135965884618560 checkpoint_manager.py:1452] Waiting for previous save to complete took 9.677972 seconds. If this number is high, consider checkpointing less frequently. I0425 07:23:19.868197 135965884618560 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9 I0425 07:23:19.870316 135965884618560 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints/9. I0425 07:23:20.180980 135965884618560 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 07:23:20.181073 135965884618560 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False I0425 07:23:20.224014 135965884618560 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044906s I0425 07:23:20.224178 135965884618560 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 31.903 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.048351287841796875 s) (per-host) I0425 07:23:20.224235 135965884618560 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.048417s (batch_requests_ready=0.001795s, total_serialization_initiated=0.046549s, others=0.000073s) I0425 07:23:20.224331 135965884618560 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.053346s (all_items=0.000016s, per_item={'items': '0.00001597'}, temp_paths=0.053330) I0425 07:23:20.225048 135965884618560 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.36 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints/9. I0425 07:23:20.225403 135831321896704 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:43:20.225366 I0425 07:23:20.227372 135965884618560 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0425 07:23:20.227627 135833340327680 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0425 07:23:20.227800 135965884618560 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101790.188358, 'wait_for_prev_duration_secs': 9.677971601486206, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101799.8682365, 'checkpointer_blocking_duration_secs': 0.35731029510498047, 'get_old_steps_start_time': 1777101800.2255714, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1777101790.186482, 'checkpoint_manager_blocking_duration_secs': 10.041281700134277} I0425 07:23:20.227904 135965884618560 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0425 07:23:20.227949 135965884618560 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 07:23:25.333943 135833859925760 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_04_int8/checkpoints/9/items/array_metadatas/process_5 I0425 07:24:02.656580 135831321896704 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.184 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.48072957992554 s) (per-host) I0425 07:24:02.656706 135831321896704 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.431186s. I0425 07:24:10.118889 135831321896704 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.893354s. I0425 07:24:10.119287 135833340327680 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 07:24:10.119402 135833340327680 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0425 07:24:10.119449 135833340327680 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0425 07:24:10.120985 135833340327680 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0425 07:24:10.121161 135965884618560 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0425 07:24:10.121315 135965884618560 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 07:24:10.122251 135965884618560 metric_logger.py:196] completed step: 9, seconds: 0.229, TFLOP/s/device: 59.249, Tokens/s/device: 8930.674, total_weights: 65536, loss: 8.175, lm_loss: 8.175, perplexity: 3552.333 Per train step: Total TFLOPs: 13.59 split as 93.93% learnable weight flops and 6.07% attention flops XPK End: Sat Apr 25 07:24:26 UTC 2026 EXIT_CODE=0
77202a8e9
· feat_nnx_trainstate_and_training_loop_20260425_092114
· full log
XPK Start: Sat Apr 25 09:27:27 UTC 2026 PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. `rope_parameters`'s factor field must be a float >= 1, got 40 `rope_parameters`'s beta_fast field must be a float, got 32 `rope_parameters`'s beta_slow field must be a float, got 1 DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 2026-04-25 09:27:51.981021: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303) I0425 09:27:52.191423 136086887802688 max_utils.py:273] Attempting to initialize the jax distributed system... I0425 09:28:01.231898 136086887802688 distributed.py:149] Starting JAX distributed service on [::]:8482 I0425 09:28:01.234275 136086887802688 distributed.py:172] Connecting to JAX distributed service on mt-04-int8-76pu4-slice-job-0-0.mt-04-int8-76pu4:8482 I0425 09:28:02.320710 136086887802688 max_utils.py:284] Jax distributed system initialized! I0425 09:28:08.397379 136086887802688 max_utils.py:800] System Information: Jax Version: 0.9.2 I0425 09:28:08.397484 136086887802688 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0425 09:28:08.397524 136086887802688 max_utils.py:802] System Information: Jax Backend: PJRT C API TFRT TPU v6 lite Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365 I0425 09:28:08.397558 136086887802688 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0425 09:28:09.091038 136086887802688 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0425 09:28:09.091604 136086887802688 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0425 09:28:09.091905 136086887802688 checkpointing.py:688] Setting up checkpoint logger... I0425 09:28:09.091964 136086887802688 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0425 09:28:09.092008 136086887802688 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0425 09:28:09.092340 136086887802688 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 0x7bc4941106e0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0425 09:28:11.941314 136086887802688 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0425 09:28:11.941546 136086887802688 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 0x7bb03052ea20>}, handler_registry=None I0425 09:28:11.941801 136086887802688 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7bb03052ea20>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`. I0425 09:28:11.941852 136086887802688 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bb0305366f0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`. I0425 09:28:11.941888 136086887802688 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 0x7bb03052ea20>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7bb03052ea20>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bb0305366f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bb0305366f0>}). I0425 09:28:11.942233 136086887802688 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0425 09:28:11.942302 136086887802688 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7bb0304a9d00> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0425 09:28:12.657119 136086887802688 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints I0425 09:28:12.984237 136086887802688 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created, primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7bb03052ed50> I0425 09:28:12.984412 136086887802688 checkpointing.py:302] Checkpoint manager created! I0425 09:28:14.157286 136086887802688 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0425 09:28:14.157399 136086887802688 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 09:28:14.542381 136086887802688 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0425 09:28:14.542474 136086887802688 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 09:28:14.559020 136086887802688 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0425 09:28:14.559079 136086887802688 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0425 09:28:14.624739 136086887802688 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 09:28:14.624825 136086887802688 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:28:14.641268 136086887802688 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 09:28:14.641328 136086887802688 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:28:14.657762 136086887802688 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0425 09:28:14.657825 136086887802688 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:28:14.686105 136086887802688 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0425 09:28:14.686181 136086887802688 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0425 09:28:14.751910 136086887802688 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0425 09:28:14.751997 136086887802688 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0425 09:28:15.278476 136086887802688 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0425 09:28:15.278591 136086887802688 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0425 09:28:17.753086 136086887802688 maxtext_utils.py:1835] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0425 09:28:17.753220 136086887802688 maxtext_utils.py:1835] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 09:28:17.753279 136086887802688 maxtext_utils.py:1835] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0425 09:28:17.753339 136086887802688 maxtext_utils.py:1835] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0425 09:28:17.753393 136086887802688 maxtext_utils.py:1835] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 09:28:17.753432 136086887802688 maxtext_utils.py:1835] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0425 09:28:17.753484 136086887802688 maxtext_utils.py:1835] params/params/decoder/layers/self_attention/key/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'kv_heads', 'kv_head_dim') Physical: ('fsdp', None, None, None) I0425 09:28:17.753541 136086887802688 maxtext_utils.py:1835] params/params/decoder/layers/self_attention/out/kernel Shape: float32[16,16,128,2048] Logical: P('heads', 'layers', 'kv', 'embed') Physical: (None, None, None, 'fsdp') I0425 09:28:17.753582 136086887802688 maxtext_utils.py:1835] params/params/decoder/layers/self_attention/query/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'q_heads', 'kv') Physical: ('fsdp', None, None, None) I0425 09:28:17.753619 136086887802688 maxtext_utils.py:1835] params/params/decoder/layers/self_attention/value/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'kv_heads', 'kv_head_dim') Physical: ('fsdp', None, None, None) I0425 09:28:17.753687 136086887802688 maxtext_utils.py:1835] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0425 09:28:17.753743 136086887802688 maxtext_utils.py:1835] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0425 09:28:19.151731 136086887802688 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 09:28:19.151826 136086887802688 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0425 09:28:19.167334 136086887802688 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0425 09:28:19.167392 136086887802688 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0425 09:28:33.085647 136086887802688 max_utils.py:791] Total memory size: 1.8 GB, Output size: 0.4 GB, Temp size: 1.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB. I0425 09:28:33.086463 136086887802688 metric_logger.py:301] number parameters: 1.104 billion I0425 09:28:47.871324 136086887802688 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0425 09:28:48.109875 136086887802688 checkpointing.py:798] Waited 0.23853206634521484 seconds for step 0 to finish before starting checkpointing. I0425 09:28:48.115326 136086887802688 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 09:28:48.116767 136086887802688 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0 I0425 09:28:48.118186 136086887802688 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints/0. I0425 09:28:48.452673 136086887802688 signaling_client.py:364] Using JaxDistributedSignalingClient I0425 09:28:48.453702 136086887802688 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 09:28:48.453757 136086887802688 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False I0425 09:28:48.734232 136086887802688 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.281647s I0425 09:28:48.734410 136086887802688 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.371 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2871851921081543 s) (per-host) I0425 09:28:48.734466 136086887802688 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.287251s (batch_requests_ready=0.002219s, total_serialization_initiated=0.284958s, others=0.000074s) I0425 09:28:48.734562 136086887802688 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.291640s (all_items=0.000018s, per_item={'items': '0.00001836'}, temp_paths=0.291622) I0425 09:28:48.735430 136086887802688 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.62 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints/0. I0425 09:28:48.735755 135951111218944 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:48:48.735717 I0425 09:28:48.739111 136086887802688 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0425 09:28:48.739381 135954882873088 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0425 09:28:48.739539 136086887802688 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109328.1153064, 'wait_for_prev_duration_secs': 6.413459777832031e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777109328.116805, 'checkpointer_blocking_duration_secs': 0.6190564632415771, 'get_old_steps_start_time': 1777109328.7358856, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1777109328.1103773, 'checkpoint_manager_blocking_duration_secs': 0.6291217803955078} I0425 09:28:48.739662 136086887802688 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0425 09:28:48.739714 136086887802688 max_utils.py:750] Memstats: After params initialized: I0425 09:28:48.739762 136086887802688 max_utils.py:756] Using (GB) 0.44 / 31.25 (1.408000%) on TPU_18(process=5,(2,4,0,0)) I0425 09:28:48.739796 136086887802688 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0)) I0425 09:28:48.739825 136086887802688 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0)) I0425 09:28:48.739848 136086887802688 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0)) I0425 09:28:49.068011 136086887802688 metric_logger.py:196] completed step: 0, seconds: 14.785, TFLOP/s/device: 0.919, Tokens/s/device: 138.521, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52796.277 I0425 09:28:49.311741 136086887802688 metric_logger.py:196] completed step: 1, seconds: 1.195, TFLOP/s/device: 11.370, Tokens/s/device: 1713.782, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52796.277 I0425 09:28:49.737847 136086887802688 metric_logger.py:196] completed step: 2, seconds: 0.015, TFLOP/s/device: 909.873, Tokens/s/device: 137145.918, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28634.820 I0425 09:28:49.967373 136086887802688 metric_logger.py:196] completed step: 3, seconds: 0.426, TFLOP/s/device: 31.860, Tokens/s/device: 4802.225, total_weights: 65536, loss: 9.731, lm_loss: 9.731, perplexity: 16827.199 I0425 09:28:50.427411 136086887802688 metric_logger.py:196] completed step: 4, seconds: 0.235, TFLOP/s/device: 57.847, Tokens/s/device: 8719.383, total_weights: 65536, loss: 9.272, lm_loss: 9.272, perplexity: 10638.531 I0425 09:28:50.433461 136086887802688 metric_logger.py:196] completed step: 5, seconds: 0.229, TFLOP/s/device: 59.260, Tokens/s/device: 8932.310, total_weights: 65536, loss: 8.887, lm_loss: 8.887, perplexity: 7233.941 I0425 09:28:51.710493 2933 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0425 09:28:53.717434 135951686825728 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints/0/items/array_metadatas/process_5 I0425 09:29:20.410278 136086887802688 metric_logger.py:196] completed step: 6, seconds: 0.461, TFLOP/s/device: 29.502, Tokens/s/device: 4446.934, total_weights: 65536, loss: 8.588, lm_loss: 8.588, perplexity: 5365.468 I0425 09:29:20.639390 136086887802688 metric_logger.py:196] completed step: 7, seconds: 29.748, TFLOP/s/device: 0.457, Tokens/s/device: 68.844, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4358.779 I0425 09:29:20.869994 136086887802688 metric_logger.py:196] completed step: 8, seconds: 0.234, TFLOP/s/device: 58.086, Tokens/s/device: 8755.429, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.453 I0425 09:29:21.098613 136086887802688 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0425 09:29:21.099304 136086887802688 checkpointing.py:798] Waited 0.0007135868072509766 seconds for step 9 to finish before starting checkpointing. I0425 09:29:21.101452 136086887802688 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 09:29:21.216682 135951111218944 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 48.203 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 32.76939010620117 s) (per-host) I0425 09:29:21.216806 135951111218944 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 32.480422s. I0425 09:29:30.436617 135951111218944 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 41.700216s. I0425 09:29:30.436908 135954882873088 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 09:29:30.437032 135954882873088 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0425 09:29:30.437083 135954882873088 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0425 09:29:30.439801 135954882873088 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0425 09:29:30.439980 136086887802688 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0425 09:29:30.440111 136086887802688 checkpoint_manager.py:1452] Waiting for previous save to complete took 9.338659 seconds. If this number is high, consider checkpointing less frequently. I0425 09:29:30.442028 136086887802688 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9 I0425 09:29:30.444039 136086887802688 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints/9. I0425 09:29:30.752922 136086887802688 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0425 09:29:30.753016 136086887802688 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False I0425 09:29:30.786605 136086887802688 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035540s I0425 09:29:30.786759 136086887802688 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 39.548 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03900551795959473 s) (per-host) I0425 09:29:30.786808 136086887802688 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039065s (batch_requests_ready=0.001800s, total_serialization_initiated=0.037200s, others=0.000065s) I0425 09:29:30.786900 136086887802688 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043219s (all_items=0.000031s, per_item={'items': '0.00003099'}, temp_paths=0.043188) I0425 09:29:30.787590 136086887802688 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.35 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints/9. I0425 09:29:30.787945 135954882873088 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:49:30.787908 I0425 09:29:30.795191 136086887802688 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0425 09:29:30.795486 135951686825728 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save. I0425 09:29:30.795657 136086887802688 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109361.1014216, 'wait_for_prev_duration_secs': 9.338659286499023, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777109370.442067, 'checkpointer_blocking_duration_secs': 0.34603309631347656, 'get_old_steps_start_time': 1777109370.7881215, 'get_old_steps_duration_secs': 3.170967102050781e-05, 'checkpoint_manager_blocking_start_time': 1777109361.099525, 'checkpoint_manager_blocking_duration_secs': 9.696086883544922} I0425 09:29:30.795768 136086887802688 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0425 09:29:30.795815 136086887802688 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0425 09:29:36.641997 135931117942528 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_04_int8/checkpoints/9/items/array_metadatas/process_5 I0425 09:30:13.472967 135954882873088 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 36.971 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.725162506103516 s) (per-host) I0425 09:30:13.473087 135954882873088 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.685015s. I0425 09:30:21.008921 135954882873088 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 50.220835s. I0425 09:30:21.009222 135951686825728 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save. I0425 09:30:21.009351 135951686825728 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save. I0425 09:30:21.009400 135951686825728 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0425 09:30:21.012246 135951686825728 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0425 09:30:21.012435 136086887802688 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0425 09:30:21.012584 136086887802688 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0425 09:30:21.013601 136086887802688 metric_logger.py:196] completed step: 9, seconds: 0.229, TFLOP/s/device: 59.294, Tokens/s/device: 8937.377, total_weights: 65536, loss: 8.175, lm_loss: 8.175, perplexity: 3552.333 Per train step: Total TFLOPs: 13.59 split as 93.93% learnable weight flops and 6.07% attention flops XPK End: Sat Apr 25 09:30:32 UTC 2026 EXIT_CODE=0