main (e27fc1e97) vs feat/nnx-post-train-fixes (e27fc1e97)| Metric | main e27fc1e97 | feat/nnx-post-train-fixes e27fc1e97 | Diff (feat/nnx-post-train-fixes − main) |
|---|---|---|---|
| Parameters | 1.104 billion | 1.104 billion | — |
| Final loss | 8.1790 | 8.1790 | 0 |
| TFLOP/s | 92.230 | 92.274 | +0.044 |
| Tok/s | 13901.9 | 13908.5 | +6.609 |
| Avg s/step | 2.861 | 2.745 | -0.116 |
| 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:48: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-21 06:48:41.275571: 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:48:41.487896 134058008078144 max_utils.py:273] Attempting to initialize the jax distributed system... I0421 06:48:50.528115 134058008078144 distributed.py:149] Starting JAX distributed service on [::]:8482 I0421 06:48:50.533675 134058008078144 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-true-axj6f-slice-job-0-0.mt-10-shardy-true-axj6f:8482 I0421 06:48:51.596763 134058008078144 max_utils.py:284] Jax distributed system initialized! I0421 06:48:56.711358 134058008078144 max_utils.py:800] System Information: Jax Version: 0.9.2 I0421 06:48:56.711466 134058008078144 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0421 06:48:56.711506 134058008078144 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:48:56.711542 134058008078144 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0421 06:48:57.408843 134058008078144 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 06:48:57.409125 134058008078144 checkpointing.py:677] Setting up checkpoint logger... I0421 06:48:57.409179 134058008078144 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0421 06:48:57.409224 134058008078144 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0421 06:48:57.409552 134058008078144 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 0x79ec37b4e6c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0421 06:49:00.543236 134058008078144 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0421 06:49:00.543482 134058008078144 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 0x79d8bc3ea060>}, handler_registry=None I0421 06:49:00.543720 134058008078144 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79d8bc3ea060>` 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:49:00.543784 134058008078144 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79d8bc3ecc50>` 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:49:00.543827 134058008078144 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 0x79d8bc3ea060>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79d8bc3ea060>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79d8bc3ecc50>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79d8bc3ecc50>}). I0421 06:49:00.544150 134058008078144 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0421 06:49:00.544220 134058008078144 async_checkpointer.py:192] [process=7][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x79d8bc17d580> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0421 06:49:01.821775 134058008078144 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_10_shardy_true/checkpoints I0421 06:49:02.085331 134058008078144 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_10_shardy_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x79d8bc3ebd70> I0421 06:49:02.085508 134058008078144 checkpointing.py:301] Checkpoint manager created! I0421 06:49:03.007236 134058008078144 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0421 06:49:03.007353 134058008078144 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 06:49:03.389028 134058008078144 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 06:49:03.389119 134058008078144 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 06:49:03.405510 134058008078144 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 06:49:03.405568 134058008078144 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 06:49:03.429574 134058008078144 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:49:03.429646 134058008078144 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 06:49:03.446219 134058008078144 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:49:03.446285 134058008078144 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 06:49:03.462685 134058008078144 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:49:03.462756 134058008078144 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 06:49:03.487610 134058008078144 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0421 06:49:03.487680 134058008078144 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 06:49:03.508892 134058008078144 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0421 06:49:03.508962 134058008078144 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0421 06:49:03.717919 134058008078144 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0421 06:49:03.718029 134058008078144 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0421 06:49:05.144363 134058008078144 maxtext_utils.py:1668] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0421 06:49:05.144494 134058008078144 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:49:05.144548 134058008078144 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:49:05.144617 134058008078144 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:49:05.144672 134058008078144 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:49:05.144711 134058008078144 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:49:05.144777 134058008078144 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:49:05.144834 134058008078144 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:49:05.144877 134058008078144 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:49:05.144914 134058008078144 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:49:05.144962 134058008078144 maxtext_utils.py:1668] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0421 06:49:05.145015 134058008078144 maxtext_utils.py:1668] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0421 06:49:05.633684 134058008078144 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 06:49:05.633791 134058008078144 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0421 06:49:05.649064 134058008078144 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 06:49:05.649123 134058008078144 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0421 06:49:16.681143 134058008078144 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:49:16.681976 134058008078144 metric_logger.py:301] number parameters: 1.104 billion I0421 06:49:27.847457 134058008078144 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0421 06:49:28.603671 134058008078144 checkpointing.py:776] Waited 0.756192684173584 seconds for step 0 to finish before starting checkpointing. I0421 06:49:28.605938 134058008078144 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 06:49:28.607778 134058008078144 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 0 I0421 06:49:28.609117 134058008078144 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_10_shardy_true/checkpoints/0. I0421 06:49:28.951616 134058008078144 signaling_client.py:364] Using JaxDistributedSignalingClient I0421 06:49:28.952603 134058008078144 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 06:49:28.952661 134058008078144 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:49:29.231165 134058008078144 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279627s I0421 06:49:29.231334 134058008078144 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.410 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2851552963256836 s) (per-host) I0421 06:49:29.231387 134058008078144 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285220s (batch_requests_ready=0.002326s, total_serialization_initiated=0.282821s, others=0.000072s) I0421 06:49:29.231476 134058008078144 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289604s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.289587) I0421 06:49:29.232217 134058008078144 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.62 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_10_shardy_true/checkpoints/0. I0421 06:49:29.232482 133932130932480 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 07:09:29.232458 I0421 06:49:29.237009 134058008078144 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0421 06:49:29.237212 133930527975168 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save. I0421 06:49:29.237325 134058008078144 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776754168.6059206, 'wait_for_prev_duration_secs': 6.079673767089844e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776754168.6078157, 'checkpointer_blocking_duration_secs': 0.624783992767334, 'get_old_steps_start_time': 1776754169.2326236, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1776754168.6041284, 'checkpoint_manager_blocking_duration_secs': 0.6331596374511719} I0421 06:49:29.237425 134058008078144 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0421 06:49:29.237472 134058008078144 max_utils.py:750] Memstats: After params initialized: I0421 06:49:29.237519 134058008078144 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0)) I0421 06:49:29.237551 134058008078144 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0)) I0421 06:49:29.237578 134058008078144 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0)) I0421 06:49:29.237604 134058008078144 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0)) I0421 06:49:29.554533 134058008078144 metric_logger.py:196] completed step: 0, seconds: 11.165, TFLOP/s/device: 1.217, Tokens/s/device: 183.424, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 06:49:29.741260 134058008078144 metric_logger.py:196] completed step: 1, seconds: 1.706, TFLOP/s/device: 7.966, Tokens/s/device: 1200.781, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 06:49:30.135488 134058008078144 metric_logger.py:196] completed step: 2, seconds: 0.038, TFLOP/s/device: 358.197, Tokens/s/device: 53991.353, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0421 06:49:30.282678 134058008078144 metric_logger.py:196] completed step: 3, seconds: 0.396, TFLOP/s/device: 34.322, Tokens/s/device: 5173.311, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0421 06:49:30.577895 134058008078144 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.707, Tokens/s/device: 13370.939, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0421 06:49:30.583657 134058008078144 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.294, Tokens/s/device: 13911.626, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0421 06:49:32.580623 2758 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0421 06:49:35.969137 133930536367872 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_10_shardy_true/checkpoints/0/items/array_metadatas/process_7 I0421 06:49:53.445934 134058008078144 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.984, Tokens/s/device: 6931.236, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0421 06:49:53.593388 134058008078144 metric_logger.py:196] completed step: 7, seconds: 22.715, TFLOP/s/device: 0.598, Tokens/s/device: 90.160, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0421 06:49:53.740530 134058008078144 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.113, Tokens/s/device: 13432.062, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0421 06:49:53.887222 134058008078144 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0421 06:49:53.887898 134058008078144 checkpointing.py:776] Waited 0.0006964206695556641 seconds for step 9 to finish before starting checkpointing. I0421 06:49:53.891184 134058008078144 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 06:50:05.427291 133932130932480 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 43.299 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.481075286865234 s) (per-host) I0421 06:50:05.427415 133932130932480 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.194850s. I0421 06:50:15.379921 133932130932480 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 46.147341s. I0421 06:50:15.380138 133930527975168 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 06:50:15.380206 133930527975168 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save. I0421 06:50:15.380265 133930527975168 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0421 06:50:15.382765 133930527975168 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0421 06:50:15.382943 134058008078144 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:50:15.383143 134058008078144 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.491956 seconds. If this number is high, consider checkpointing less frequently. I0421 06:50:15.384954 134058008078144 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 9 I0421 06:50:15.387030 134058008078144 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_10_shardy_true/checkpoints/9. I0421 06:50:15.685787 134058008078144 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 06:50:15.685875 134058008078144 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:50:15.719883 134058008078144 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035050s I0421 06:50:15.720058 134058008078144 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 39.304 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03924679756164551 s) (per-host) I0421 06:50:15.720110 134058008078144 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039308s (batch_requests_ready=0.002552s, total_serialization_initiated=0.036687s, others=0.000069s) I0421 06:50:15.720201 134058008078144 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043437s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.043422) I0421 06:50:15.720889 134058008078144 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_10_shardy_true/checkpoints/9. I0421 06:50:15.721209 133930527975168 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 07:10:15.721174 I0421 06:50:15.723148 134058008078144 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0421 06:50:15.723436 133930536367872 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save. I0421 06:50:15.723600 134058008078144 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776754193.8911538, 'wait_for_prev_duration_secs': 21.49195623397827, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776754215.385, 'checkpointer_blocking_duration_secs': 0.3363502025604248, 'get_old_steps_start_time': 1776754215.7213736, 'get_old_steps_duration_secs': 2.8848648071289062e-05, 'checkpoint_manager_blocking_start_time': 1776754193.8881242, 'checkpoint_manager_blocking_duration_secs': 21.835442066192627} I0421 06:50:15.723712 134058008078144 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0421 06:50:15.723768 134058008078144 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 06:50:20.876577 133910176433920 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_10_shardy_true/checkpoints/9/items/array_metadatas/process_7 I0421 06:50:57.714444 133930527975168 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 37.579 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.03359341621399 s) (per-host) I0421 06:50:57.714569 133930527975168 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.993249s. I0421 06:51:08.019512 133930527975168 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 52.298178s. I0421 06:51:08.019789 133930536367872 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 06:51:08.019927 133930536367872 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save. I0421 06:51:08.019976 133930536367872 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0421 06:51:08.022445 133930536367872 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0421 06:51:08.022609 134058008078144 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:51:08.022765 134058008078144 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 06:51:08.023710 134058008078144 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.230, Tokens/s/device: 13901.899, 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:51:16 UTC 2026 EXIT_CODE=0
XPK Start: Tue Apr 21 12:16:01 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 12:16:25.460000: 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 12:16:25.639988 134384215902016 max_utils.py:273] Attempting to initialize the jax distributed system... I0421 12:16:34.681398 134384215902016 distributed.py:149] Starting JAX distributed service on [::]:8482 I0421 12:16:34.683826 134384215902016 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-true-gdl5t-slice-job-0-0.mt-10-shardy-true-gdl5t:8482 I0421 12:16:36.306747 134384215902016 max_utils.py:284] Jax distributed system initialized! I0421 12:16:41.586864 134384215902016 max_utils.py:800] System Information: Jax Version: 0.9.2 I0421 12:16:41.586966 134384215902016 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0421 12:16:41.587007 134384215902016 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 12:16:41.587040 134384215902016 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0421 12:16:42.282641 134384215902016 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 12:16:42.283219 134384215902016 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 12:16:42.283402 134384215902016 checkpointing.py:688] Setting up checkpoint logger... I0421 12:16:42.283468 134384215902016 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0421 12:16:42.283514 134384215902016 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0421 12:16:42.283836 134384215902016 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 0x7a3839718ef0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0421 12:16:45.159595 134384215902016 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0421 12:16:45.159932 134384215902016 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a2474756fc0>}, handler_registry=None I0421 12:16:45.160170 134384215902016 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a2474756fc0>` 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 12:16:45.160219 134384215902016 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a24745f8f80>` 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 12:16:45.160254 134384215902016 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 0x7a2474756fc0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a2474756fc0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a24745f8f80>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a24745f8f80>}). I0421 12:16:45.160653 134384215902016 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0421 12:16:45.160725 134384215902016 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a2474374540> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0421 12:16:45.932417 134384215902016 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints I0421 12:16:46.367877 134384215902016 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created, primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a24745f9910> I0421 12:16:46.368048 134384215902016 checkpointing.py:302] Checkpoint manager created! I0421 12:16:47.297394 134384215902016 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0421 12:16:47.297634 134384215902016 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 12:16:47.674101 134384215902016 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 12:16:47.674189 134384215902016 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 12:16:47.690310 134384215902016 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 12:16:47.690369 134384215902016 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0421 12:16:47.713963 134384215902016 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 12:16:47.714029 134384215902016 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 12:16:47.730389 134384215902016 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 12:16:47.730463 134384215902016 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 12:16:47.746683 134384215902016 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 12:16:47.746742 134384215902016 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 12:16:47.771279 134384215902016 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0421 12:16:47.771348 134384215902016 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0421 12:16:47.792323 134384215902016 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0421 12:16:47.792388 134384215902016 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0421 12:16:48.009347 134384215902016 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0421 12:16:48.009465 134384215902016 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0421 12:16:49.450776 134384215902016 maxtext_utils.py:1827] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0421 12:16:49.450906 134384215902016 maxtext_utils.py:1827] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0421 12:16:49.450960 134384215902016 maxtext_utils.py:1827] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0421 12:16:49.451017 134384215902016 maxtext_utils.py:1827] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0421 12:16:49.451069 134384215902016 maxtext_utils.py:1827] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0421 12:16:49.451107 134384215902016 maxtext_utils.py:1827] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0421 12:16:49.451158 134384215902016 maxtext_utils.py:1827] 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 12:16:49.451212 134384215902016 maxtext_utils.py:1827] 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 12:16:49.451256 134384215902016 maxtext_utils.py:1827] 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 12:16:49.451309 134384215902016 maxtext_utils.py:1827] 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 12:16:49.451383 134384215902016 maxtext_utils.py:1827] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0421 12:16:49.451457 134384215902016 maxtext_utils.py:1827] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0421 12:16:49.944211 134384215902016 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 12:16:49.944305 134384215902016 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0421 12:16:49.959804 134384215902016 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0421 12:16:49.959866 134384215902016 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0421 12:17:00.963523 134384215902016 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 12:17:00.964339 134384215902016 metric_logger.py:301] number parameters: 1.104 billion I0421 12:17:12.605629 134384215902016 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0421 12:17:12.760415 134384215902016 checkpointing.py:798] Waited 0.1547691822052002 seconds for step 0 to finish before starting checkpointing. I0421 12:17:12.763147 134384215902016 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 12:17:12.764812 134384215902016 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0 I0421 12:17:12.766346 134384215902016 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints/0. I0421 12:17:13.399209 134384215902016 signaling_client.py:364] Using JaxDistributedSignalingClient I0421 12:17:13.401491 134384215902016 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 12:17:13.401549 134384215902016 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 12:17:13.678955 134384215902016 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279817s I0421 12:17:13.679119 134384215902016 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.407 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28531408309936523 s) (per-host) I0421 12:17:13.679170 134384215902016 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285375s (batch_requests_ready=0.002286s, total_serialization_initiated=0.283020s, others=0.000069s) I0421 12:17:13.679280 134384215902016 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289542s (all_items=0.000019s, per_item={'items': '0.00001884'}, temp_paths=0.289523) I0421 12:17:13.681317 134384215902016 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.92 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints/0. I0421 12:17:13.681599 134258405836544 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 12:37:13.681576 I0421 12:17:13.688175 134384215902016 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0421 12:17:13.688398 134256813516544 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save. I0421 12:17:13.688529 134384215902016 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776773832.7631292, 'wait_for_prev_duration_secs': 5.9604644775390625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776773832.764851, 'checkpointer_blocking_duration_secs': 0.9168539047241211, 'get_old_steps_start_time': 1776773833.6817298, 'get_old_steps_duration_secs': 2.9325485229492188e-05, 'checkpoint_manager_blocking_start_time': 1776773832.7609682, 'checkpoint_manager_blocking_duration_secs': 0.9275219440460205} I0421 12:17:13.688640 134384215902016 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0421 12:17:13.688689 134384215902016 max_utils.py:750] Memstats: After params initialized: I0421 12:17:13.688737 134384215902016 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0)) I0421 12:17:13.688769 134384215902016 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0)) I0421 12:17:13.688794 134384215902016 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0)) I0421 12:17:13.688817 134384215902016 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0)) I0421 12:17:14.009440 134384215902016 metric_logger.py:196] completed step: 0, seconds: 11.641, TFLOP/s/device: 1.167, Tokens/s/device: 175.927, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 12:17:14.172152 134384215902016 metric_logger.py:196] completed step: 1, seconds: 1.402, TFLOP/s/device: 9.689, Tokens/s/device: 1460.435, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875 I0421 12:17:14.595989 134384215902016 metric_logger.py:196] completed step: 2, seconds: 0.015, TFLOP/s/device: 880.338, Tokens/s/device: 132694.052, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129 I0421 12:17:14.743677 134384215902016 metric_logger.py:196] completed step: 3, seconds: 0.424, TFLOP/s/device: 32.030, Tokens/s/device: 4827.968, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203 I0421 12:17:15.039724 134384215902016 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.787, Tokens/s/device: 13382.909, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614 I0421 12:17:15.045692 134384215902016 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.121, Tokens/s/device: 13885.405, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717 I0421 12:17:17.616179 2749 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0421 12:17:20.146309 134256821909248 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints/0/items/array_metadatas/process_6 I0421 12:17:37.156018 134384215902016 metric_logger.py:196] completed step: 6, seconds: 0.297, TFLOP/s/device: 45.813, Tokens/s/device: 6905.481, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759 I0421 12:17:37.303328 134384215902016 metric_logger.py:196] completed step: 7, seconds: 21.964, TFLOP/s/device: 0.619, Tokens/s/device: 93.243, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905 I0421 12:17:37.450593 134384215902016 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.445, Tokens/s/device: 13482.199, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406 I0421 12:17:37.597506 134384215902016 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0421 12:17:37.598176 134384215902016 checkpointing.py:798] Waited 0.0006899833679199219 seconds for step 9 to finish before starting checkpointing. I0421 12:17:37.600128 134384215902016 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 12:17:51.540138 134258405836544 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 41.409 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.14629530906677 s) (per-host) I0421 12:17:51.540256 134258405836544 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.858582s. I0421 12:18:00.814348 134258405836544 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 47.132656s. I0421 12:18:00.814658 134256813516544 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 12:18:00.814729 134256813516544 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save. I0421 12:18:00.814777 134256813516544 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0421 12:18:00.817037 134256813516544 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0421 12:18:00.817250 134384215902016 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0. W0421 12:18:00.817411 134384215902016 checkpoint_manager.py:1452] Waiting for previous save to complete took 23.217266 seconds. If this number is high, consider checkpointing less frequently. I0421 12:18:00.819096 134384215902016 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9 I0421 12:18:00.821024 134384215902016 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints/9. I0421 12:18:01.108800 134384215902016 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0421 12:18:01.108897 134384215902016 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 12:18:01.144736 134384215902016 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037057s I0421 12:18:01.144902 134384215902016 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 37.975 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.040621280670166016 s) (per-host) I0421 12:18:01.144952 134384215902016 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040680s (batch_requests_ready=0.001902s, total_serialization_initiated=0.038713s, others=0.000065s) I0421 12:18:01.145038 134384215902016 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044970s (all_items=0.000016s, per_item={'items': '0.00001621'}, temp_paths=0.044954) I0421 12:18:01.145691 134384215902016 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.33 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints/9. I0421 12:18:01.146024 134256813516544 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 12:38:01.145987 I0421 12:18:01.151534 134384215902016 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0421 12:18:01.151819 134236048684800 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save. I0421 12:18:01.151980 134384215902016 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776773857.6000988, 'wait_for_prev_duration_secs': 23.21726632118225, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776773880.819134, 'checkpointer_blocking_duration_secs': 0.32703399658203125, 'get_old_steps_start_time': 1776773881.1461995, 'get_old_steps_duration_secs': 3.075599670410156e-05, 'checkpoint_manager_blocking_start_time': 1776773857.5984085, 'checkpoint_manager_blocking_duration_secs': 23.553537368774414} I0421 12:18:01.152088 134384215902016 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0421 12:18:01.152131 134384215902016 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 12:18:06.582825 134256821909248 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260421_114057/linen_xpk_feat_nnx_post_train_fixes_20260421_114057_10_shardy_true/checkpoints/9/items/array_metadatas/process_6 I0421 12:18:43.400343 134256813516544 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.346 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.29602026939392 s) (per-host) I0421 12:18:43.400508 134256813516544 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.254369s. I0421 12:18:52.583822 134256813516544 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.437667s. I0421 12:18:52.584102 134236048684800 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 12:18:52.584226 134236048684800 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save. I0421 12:18:52.584283 134236048684800 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0421 12:18:52.586970 134236048684800 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0421 12:18:52.587148 134384215902016 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0421 12:18:52.587228 134384215902016 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 12:18:52.588236 134384215902016 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.274, Tokens/s/device: 13908.508, 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 12:19:01 UTC 2026 EXIT_CODE=0