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.135 | 92.382 | +0.247 |
| Tok/s | 13887.7 | 13924.9 | +37.203 |
| Avg s/step | 2.898 | 2.742 | -0.156 |
| 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 06:19:10 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 06:19:35.669864: 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 06:19:35.881146 138919799117632 max_utils.py:273] Attempting to initialize the jax distributed system... I0421 06:19:44.920814 138919799117632 distributed.py:149] Starting JAX distributed service on [::]:8482 I0421 06:19:44.923312 138919799117632 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-59j93-slice-job-0-0.mt-02-synthetic-59j93:8482 I0421 06:19:46.258219 138919799117632 max_utils.py:284] Jax distributed system initialized! I0421 06:19:52.224090 138919799117632 max_utils.py:800] System Information: Jax Version: 0.9.2 I0421 06:19:52.224195 138919799117632 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0421 06:19:52.224235 138919799117632 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 06:19:52.224270 138919799117632 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0421 06:19:52.917172 138919799117632 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 06:19:52.917444 138919799117632 checkpointing.py:677] Setting up checkpoint logger... I0421 06:19:52.917500 138919799117632 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0421 06:19:52.917542 138919799117632 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0421 06:19:52.917895 138919799117632 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 0x7e582dd1d010>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0421 06:19:56.149091 138919799117632 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0421 06:19:56.149428 138919799117632 checkpoint_manager.py:708] [process=7][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e44281f30e0>}, handler_registry=None I0421 06:19:56.149667 138919799117632 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e44281f30e0>` 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 06:19:56.149715 138919799117632 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e442828d280>` 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 06:19:56.149770 138919799117632 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 0x7e44281f30e0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e44281f30e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e442828d280>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e442828d280>}). I0421 06:19:56.150089 138919799117632 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0421 06:19:56.150156 138919799117632 async_checkpointer.py:192] [process=7][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e44280bd580> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0421 06:19:57.913616 138919799117632 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints I0421 06:19:58.756298 138919799117632 checkpoint_manager.py:929] [process=7][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_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7e4428288350> I0421 06:19:58.756471 138919799117632 checkpointing.py:301] Checkpoint manager created! I0421 06:19:59.687069 138919799117632 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0421 06:19:59.687189 138919799117632 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 06:20:00.067538 138919799117632 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 06:20:00.067631 138919799117632 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 06:20:00.084623 138919799117632 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 06:20:00.084682 138919799117632 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 06:20:00.108984 138919799117632 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 06:20:00.109052 138919799117632 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 06:20:00.126043 138919799117632 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 06:20:00.126108 138919799117632 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 06:20:00.143064 138919799117632 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 06:20:00.143123 138919799117632 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 06:20:00.168403 138919799117632 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0421 06:20:00.168474 138919799117632 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 06:20:00.189867 138919799117632 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0421 06:20:00.189936 138919799117632 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0421 06:20:00.401957 138919799117632 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0421 06:20:00.402064 138919799117632 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0421 06:20:01.839627 138919799117632 maxtext_utils.py:1668] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0421 06:20:01.839784 138919799117632 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 06:20:01.839843 138919799117632 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 06:20:01.839905 138919799117632 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 06:20:01.839958 138919799117632 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 06:20:01.840001 138919799117632 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 06:20:01.840054 138919799117632 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 06:20:01.840105 138919799117632 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 06:20:01.840143 138919799117632 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 06:20:01.840178 138919799117632 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 06:20:01.840224 138919799117632 maxtext_utils.py:1668] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0421 06:20:01.840270 138919799117632 maxtext_utils.py:1668] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0421 06:20:02.330982 138919799117632 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 06:20:02.331077 138919799117632 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0421 06:20:02.346611 138919799117632 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 06:20:02.346673 138919799117632 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0421 06:20:13.209961 138919799117632 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 06:20:13.210800 138919799117632 metric_logger.py:301] number parameters: 1.104 billion I0421 06:20:24.538718 138919799117632 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0421 06:20:24.978171 138919799117632 checkpointing.py:776] Waited 0.43943262100219727 seconds for step 0 to finish before starting checkpointing. I0421 06:20:24.980644 138919799117632 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 06:20:24.982274 138919799117632 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 0 I0421 06:20:24.983621 138919799117632 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints/0. I0421 06:20:25.718491 138919799117632 signaling_client.py:364] Using JaxDistributedSignalingClient I0421 06:20:25.719465 138919799117632 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 06:20:25.719523 138919799117632 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 06:20:25.999531 138919799117632 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.281114s I0421 06:20:25.999710 138919799117632 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.382 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28661131858825684 s) (per-host) I0421 06:20:25.999782 138919799117632 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286694s (batch_requests_ready=0.002321s, total_serialization_initiated=0.284283s, others=0.000091s) I0421 06:20:25.999879 138919799117632 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.291084s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.291066) I0421 06:20:26.000770 138919799117632 event_tracking.py:125] [process=7] [async] Finished blocking save in 1.02 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints/0. I0421 06:20:26.001066 138792301262592 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 06:40:26.001030 I0421 06:20:26.004704 138919799117632 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0421 06:20:26.005028 138790694479616 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save. I0421 06:20:26.005184 138919799117632 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776752424.9806252, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776752424.9823136, 'checkpointer_blocking_duration_secs': 1.0189085006713867, 'get_old_steps_start_time': 1776752426.0012474, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1776752424.9787266, 'checkpoint_manager_blocking_duration_secs': 1.026418685913086} I0421 06:20:26.005290 138919799117632 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0421 06:20:26.005336 138919799117632 max_utils.py:750] Memstats: After params initialized: I0421 06:20:26.005382 138919799117632 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0)) I0421 06:20:26.005413 138919799117632 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0)) I0421 06:20:26.005440 138919799117632 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0)) I0421 06:20:26.005465 138919799117632 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0)) I0421 06:20:26.318793 138919799117632 metric_logger.py:196] completed step: 0, seconds: 11.328, TFLOP/s/device: 1.199, Tokens/s/device: 180.794, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 06:20:26.495119 138919799117632 metric_logger.py:196] completed step: 1, seconds: 1.778, TFLOP/s/device: 7.640, Tokens/s/device: 1151.538, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 06:20:26.940293 138919799117632 metric_logger.py:196] completed step: 2, seconds: 0.028, TFLOP/s/device: 493.665, Tokens/s/device: 74410.493, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0421 06:20:27.087517 138919799117632 metric_logger.py:196] completed step: 3, seconds: 0.447, TFLOP/s/device: 30.400, Tokens/s/device: 4582.209, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0421 06:20:27.382431 138919799117632 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.769, Tokens/s/device: 13380.286, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0421 06:20:27.388252 138919799117632 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.320, Tokens/s/device: 13915.501, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0421 06:20:28.909552 2809 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0421 06:20:30.673407 138790702872320 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints/0/items/array_metadatas/process_7 I0421 06:20:50.467475 138919799117632 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.004, Tokens/s/device: 6934.193, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0421 06:20:50.614937 138919799117632 metric_logger.py:196] completed step: 7, seconds: 22.932, TFLOP/s/device: 0.592, Tokens/s/device: 89.307, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0421 06:20:50.762076 138919799117632 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.195, Tokens/s/device: 13444.496, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0421 06:20:50.908682 138919799117632 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0421 06:20:50.909343 138919799117632 checkpointing.py:776] Waited 0.0006792545318603516 seconds for step 9 to finish before starting checkpointing. I0421 06:20:50.912682 138919799117632 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 06:21:02.405345 138792301262592 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 43.050 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.69219899177551 s) (per-host) I0421 06:21:02.405464 138792301262592 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.404280s. I0421 06:21:10.940417 138792301262592 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 44.939216s. I0421 06:21:10.940711 138790694479616 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 06:21:10.940895 138790694479616 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save. I0421 06:21:10.940948 138790694479616 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0421 06:21:10.942213 138790694479616 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0421 06:21:10.942361 138919799117632 checkpoint_manager.py:2032] [process=7][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0421 06:21:10.942440 138919799117632 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.029761 seconds. If this number is high, consider checkpointing less frequently. I0421 06:21:10.944317 138919799117632 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 9 I0421 06:21:10.946358 138919799117632 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints/9. I0421 06:21:11.656584 138919799117632 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 06:21:11.656678 138919799117632 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 06:21:11.691609 138919799117632 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.036142s I0421 06:21:11.691803 138919799117632 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 38.203 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04037833213806152 s) (per-host) I0421 06:21:11.691860 138919799117632 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040451s (batch_requests_ready=0.002584s, total_serialization_initiated=0.037785s, others=0.000082s) I0421 06:21:11.691954 138919799117632 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044595s (all_items=0.000014s, per_item={'items': '0.00001431'}, temp_paths=0.044581) I0421 06:21:11.692593 138919799117632 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints/9. I0421 06:21:11.692879 138790702872320 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 06:41:11.692857 I0421 06:21:11.694651 138919799117632 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0421 06:21:11.694893 138790694479616 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save. I0421 06:21:11.695010 138919799117632 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776752450.912652, 'wait_for_prev_duration_secs': 20.02976107597351, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776752470.9443536, 'checkpointer_blocking_duration_secs': 0.7486181259155273, 'get_old_steps_start_time': 1776752471.6929939, 'get_old_steps_duration_secs': 2.9325485229492188e-05, 'checkpoint_manager_blocking_start_time': 1776752450.9095607, 'checkpoint_manager_blocking_duration_secs': 20.785415649414062} I0421 06:21:11.695112 138919799117632 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0421 06:21:11.695155 138919799117632 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 06:21:18.916216 138766542948096 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_02_synthetic/checkpoints/9/items/array_metadatas/process_7 I0421 06:21:55.028518 138790702872320 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 36.415 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.37705421447754 s) (per-host) I0421 06:21:55.028644 138790702872320 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.335694s. I0421 06:22:03.121428 138790702872320 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 51.428462s. I0421 06:22:03.121686 138790694479616 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 06:22:03.121760 138790694479616 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save. I0421 06:22:03.121860 138790694479616 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0421 06:22:03.123291 138790694479616 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0421 06:22:03.123469 138919799117632 checkpoint_manager.py:2032] [process=7][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0421 06:22:03.123625 138919799117632 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 06:22:03.124601 138919799117632 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.135, Tokens/s/device: 13887.665, 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 06:22:15 UTC 2026 EXIT_CODE=0
e27fc1e97
· feat_nnx_trainstate_and_training_loop_20260421_083238
· full log
XPK Start: Tue Apr 21 08:37:53 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 08:38:17.518440: 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 08:38:18.058357 137384520496960 max_utils.py:273] Attempting to initialize the jax distributed system... I0421 08:38:27.100553 137384520496960 distributed.py:149] Starting JAX distributed service on [::]:8482 I0421 08:38:27.102908 137384520496960 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-3xw1o-slice-job-0-0.mt-02-synthetic-3xw1o:8482 I0421 08:38:28.642452 137384520496960 max_utils.py:284] Jax distributed system initialized! I0421 08:38:34.815122 137384520496960 max_utils.py:800] System Information: Jax Version: 0.9.2 I0421 08:38:34.815224 137384520496960 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0421 08:38:34.815268 137384520496960 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 08:38:34.815302 137384520496960 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0421 08:38:35.550950 137384520496960 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 08:38:35.551535 137384520496960 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 08:38:35.551726 137384520496960 checkpointing.py:688] Setting up checkpoint logger... I0421 08:38:35.551777 137384520496960 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0421 08:38:35.551819 137384520496960 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0421 08:38:35.552151 137384520496960 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 0x7cf29be50ec0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0421 08:38:38.237655 137384520496960 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0421 08:38:38.237833 137384520496960 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 0x7cdde4457da0>}, handler_registry=None I0421 08:38:38.238066 137384520496960 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7cdde4457da0>` 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 08:38:38.238113 137384520496960 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cdde4459250>` 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 08:38:38.238147 137384520496960 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 0x7cdde4457da0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7cdde4457da0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cdde4459250>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cdde4459250>}). I0421 08:38:38.238470 137384520496960 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0421 08:38:38.238545 137384520496960 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7cddb87e3ec0> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0421 08:38:39.930904 137384520496960 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints I0421 08:38:40.368377 137384520496960 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_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7cdde445b830> I0421 08:38:40.368559 137384520496960 checkpointing.py:302] Checkpoint manager created! I0421 08:38:41.312183 137384520496960 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0421 08:38:41.312289 137384520496960 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 08:38:41.693679 137384520496960 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 08:38:41.693770 137384520496960 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 08:38:41.710119 137384520496960 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 08:38:41.710177 137384520496960 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 08:38:41.733793 137384520496960 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 08:38:41.733860 137384520496960 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 08:38:41.750256 137384520496960 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 08:38:41.750319 137384520496960 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 08:38:41.766553 137384520496960 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 08:38:41.766613 137384520496960 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 08:38:41.791992 137384520496960 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0421 08:38:41.792059 137384520496960 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 08:38:41.812889 137384520496960 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0421 08:38:41.812952 137384520496960 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0421 08:38:42.027412 137384520496960 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0421 08:38:42.027520 137384520496960 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0421 08:38:43.439329 137384520496960 maxtext_utils.py:1821] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0421 08:38:43.439451 137384520496960 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 08:38:43.439503 137384520496960 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 08:38:43.439591 137384520496960 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 08:38:43.439737 137384520496960 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 08:38:43.439787 137384520496960 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 08:38:43.439842 137384520496960 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 08:38:43.439894 137384520496960 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 08:38:43.439934 137384520496960 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 08:38:43.439969 137384520496960 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 08:38:43.440017 137384520496960 maxtext_utils.py:1821] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0421 08:38:43.440061 137384520496960 maxtext_utils.py:1821] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0421 08:38:43.940359 137384520496960 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 08:38:43.940455 137384520496960 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0421 08:38:43.955883 137384520496960 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 08:38:43.955945 137384520496960 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0421 08:38:54.588920 137384520496960 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 08:38:54.589750 137384520496960 metric_logger.py:301] number parameters: 1.104 billion I0421 08:39:05.998478 137384520496960 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0421 08:39:06.168505 137384520496960 checkpointing.py:798] Waited 0.1700148582458496 seconds for step 0 to finish before starting checkpointing. I0421 08:39:06.170873 137384520496960 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 08:39:06.173356 137384520496960 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0 I0421 08:39:06.174718 137384520496960 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints/0. I0421 08:39:06.516538 137384520496960 signaling_client.py:364] Using JaxDistributedSignalingClient I0421 08:39:06.517469 137384520496960 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 08:39:06.517525 137384520496960 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 08:39:06.794325 137384520496960 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.277862s I0421 08:39:06.794503 137384520496960 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.443 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28342580795288086 s) (per-host) I0421 08:39:06.794556 137384520496960 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283496s (batch_requests_ready=0.002345s, total_serialization_initiated=0.281073s, others=0.000078s) I0421 08:39:06.794668 137384520496960 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.287622s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.287605) I0421 08:39:06.795518 137384520496960 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.62 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints/0. I0421 08:39:06.795879 137257149445888 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 08:59:06.795841 I0421 08:39:06.814899 137384520496960 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0421 08:39:06.815195 137255536551680 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0421 08:39:06.815340 137384520496960 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776760746.1708546, 'wait_for_prev_duration_secs': 6.29425048828125e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776760746.1733952, 'checkpointer_blocking_duration_secs': 0.6226463317871094, 'get_old_steps_start_time': 1776760746.796069, 'get_old_steps_duration_secs': 2.7179718017578125e-05, 'checkpoint_manager_blocking_start_time': 1776760746.169033, 'checkpoint_manager_blocking_duration_secs': 0.6462666988372803} I0421 08:39:06.815445 137384520496960 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0421 08:39:06.815496 137384520496960 max_utils.py:750] Memstats: After params initialized: I0421 08:39:06.815548 137384520496960 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0)) I0421 08:39:06.815586 137384520496960 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0)) I0421 08:39:06.815613 137384520496960 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0)) I0421 08:39:06.815654 137384520496960 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0)) I0421 08:39:07.127078 137384520496960 metric_logger.py:196] completed step: 0, seconds: 11.409, TFLOP/s/device: 1.191, Tokens/s/device: 179.513, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 08:39:07.307455 137384520496960 metric_logger.py:196] completed step: 1, seconds: 1.127, TFLOP/s/device: 12.056, Tokens/s/device: 1817.180, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 08:39:07.737265 137384520496960 metric_logger.py:196] completed step: 2, seconds: 0.033, TFLOP/s/device: 408.869, Tokens/s/device: 61629.202, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0421 08:39:07.884570 137384520496960 metric_logger.py:196] completed step: 3, seconds: 0.430, TFLOP/s/device: 31.604, Tokens/s/device: 4763.688, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0421 08:39:08.179675 137384520496960 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.726, Tokens/s/device: 13373.820, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0421 08:39:08.185708 137384520496960 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.231, Tokens/s/device: 13901.994, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0421 08:39:10.507624 2778 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0421 08:39:13.327842 137255544944384 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints/0/items/array_metadatas/process_4 I0421 08:39:30.520562 137384520496960 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.966, Tokens/s/device: 6928.563, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0421 08:39:30.667773 137384520496960 metric_logger.py:196] completed step: 7, seconds: 22.188, TFLOP/s/device: 0.612, Tokens/s/device: 92.302, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0421 08:39:30.815241 137384520496960 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 89.078, Tokens/s/device: 13426.779, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0421 08:39:30.961836 137384520496960 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0421 08:39:30.962494 137384520496960 checkpointing.py:798] Waited 0.0006811618804931641 seconds for step 9 to finish before starting checkpointing. I0421 08:39:30.964505 137384520496960 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 08:39:44.992618 137257149445888 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 41.048 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.48152494430542 s) (per-host) I0421 08:39:44.992745 137257149445888 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.196750s. I0421 08:39:52.939374 137257149445888 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 46.143361s. I0421 08:39:52.939682 137255536551680 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 08:39:52.939799 137255536551680 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0421 08:39:52.939848 137255536551680 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0421 08:39:52.941709 137255536551680 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0421 08:39:52.941874 137384520496960 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 08:39:52.942006 137384520496960 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.977501 seconds. If this number is high, consider checkpointing less frequently. I0421 08:39:52.943931 137384520496960 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9 I0421 08:39:52.945885 137384520496960 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints/9. I0421 08:39:53.659625 137384520496960 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 08:39:53.659737 137384520496960 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 08:39:53.703681 137384520496960 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.045111s I0421 08:39:53.703848 137384520496960 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 31.676 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04869818687438965 s) (per-host) I0421 08:39:53.703899 137384520496960 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.048759s (batch_requests_ready=0.001934s, total_serialization_initiated=0.046757s, others=0.000068s) I0421 08:39:53.703986 137384520496960 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.053003s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.052988) I0421 08:39:53.704721 137384520496960 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints/9. I0421 08:39:53.705075 137255536551680 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 08:59:53.705038 I0421 08:39:53.707112 137384520496960 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0421 08:39:53.707372 137234598586112 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0421 08:39:53.707533 137384520496960 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776760770.9644752, 'wait_for_prev_duration_secs': 21.977501392364502, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776760792.94397, 'checkpointer_blocking_duration_secs': 0.7612550258636475, 'get_old_steps_start_time': 1776760793.7052512, 'get_old_steps_duration_secs': 2.9087066650390625e-05, 'checkpoint_manager_blocking_start_time': 1776760770.9627464, 'checkpoint_manager_blocking_duration_secs': 22.744752645492554} I0421 08:39:53.707668 137384520496960 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0421 08:39:53.707717 137384520496960 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 08:39:59.220779 137255544944384 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238/linen_xpk_feat_nnx_trainstate_and_training_loop_20260421_083238_02_synthetic/checkpoints/9/items/array_metadatas/process_4 I0421 08:40:35.374727 137255536551680 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.862 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.7195565700531 s) (per-host) I0421 08:40:35.374833 137255536551680 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.669646s. I0421 08:40:45.553373 137255536551680 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 51.848169s. I0421 08:40:45.553697 137234598586112 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 08:40:45.553819 137234598586112 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0421 08:40:45.553866 137234598586112 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0421 08:40:45.555595 137234598586112 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0421 08:40:45.555791 137384520496960 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 08:40:45.555940 137384520496960 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 08:40:45.556941 137384520496960 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.382, Tokens/s/device: 13924.868, 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 08:40:58 UTC 2026 EXIT_CODE=0