MaxView

‹ 06_grad_accumCase: 07_eval08_checkpoint_async_true_resume ›

Metrics: main (574ad3fb9) vs feat/nnx-post-train-fixes (574ad3fb9)

Metricmain  574ad3fb9feat/nnx-post-train-fixes  574ad3fb9Diff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.23691.923-0.313
Tok/s13902.713855.6-47.124
Avg s/step2.8382.740-0.098
Memory %1.381.380
JAX0.9.20.9.2

Diff = branch value − main value. Green = branch improved. Red = branch regressed.

main  ·  574ad3fb9  ·  main_20260418_180002  ·  full log
XPK Start: Sat Apr 18 18:23:50 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-18 18:24:14.732938: 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)
I0418 18:24:14.915250 133589807769408 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 18:24:23.956416 133589807769408 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 18:24:23.958806 133589807769408 distributed.py:172] Connecting to JAX distributed service on mt-07-eval-87mr2-slice-job-0-0.mt-07-eval-87mr2:8482
I0418 18:24:25.385236 133589807769408 max_utils.py:284] Jax distributed system initialized!
I0418 18:24:31.398753 133589807769408 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 18:24:31.398857 133589807769408 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 18:24:31.398896 133589807769408 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
I0418 18:24:31.398929 133589807769408 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 18:24:32.094447 133589807769408 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 18:24:32.094719 133589807769408 checkpointing.py:677] Setting up checkpoint logger...
I0418 18:24:32.094770 133589807769408 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 18:24:32.094815 133589807769408 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 18:24:32.095158 133589807769408 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 0x797f31914f20>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 18:24:35.798151 133589807769408 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 18:24:35.798380 133589807769408 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 0x796aa87aebd0>}, handler_registry=None
I0418 18:24:35.798613 133589807769408 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x796aa87aebd0>` 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`.
I0418 18:24:35.798661 133589807769408 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x796aa8415f70>` 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`.
I0418 18:24:35.798696 133589807769408 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 0x796aa87aebd0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x796aa87aebd0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x796aa8415f70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x796aa8415f70>}).
I0418 18:24:35.799015 133589807769408 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 18:24:35.799099 133589807769408 async_checkpointer.py:192] [process=7][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x796aa81cbce0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0418 18:24:37.367124 133589807769408 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints
I0418 18:24:37.369367 133589807769408 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_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x796aa84168d0>
I0418 18:24:37.369476 133589807769408 checkpointing.py:301] Checkpoint manager created!
I0418 18:24:38.300160 133589807769408 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 18:24:38.300270 133589807769408 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:24:38.677578 133589807769408 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:24:38.677665 133589807769408 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:24:38.693747 133589807769408 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:24:38.693804 133589807769408 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:24:38.717780 133589807769408 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:24:38.717847 133589807769408 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:24:38.734154 133589807769408 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:24:38.734218 133589807769408 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:24:38.750472 133589807769408 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:24:38.750531 133589807769408 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:24:38.775177 133589807769408 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 18:24:38.775246 133589807769408 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:24:38.797477 133589807769408 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 18:24:38.797544 133589807769408 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 18:24:39.020805 133589807769408 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 18:24:39.020917 133589807769408 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0418 18:24:40.462807 133589807769408 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 18:24:40.462936 133589807769408 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 18:24:40.462992 133589807769408 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 18:24:40.463050 133589807769408 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0418 18:24:40.463173 133589807769408 maxtext_utils.py:1654]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 18:24:40.463227 133589807769408 maxtext_utils.py:1654]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 18:24:40.463281 133589807769408 maxtext_utils.py:1654]  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)
I0418 18:24:40.463334 133589807769408 maxtext_utils.py:1654]  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')
I0418 18:24:40.463375 133589807769408 maxtext_utils.py:1654]  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)
I0418 18:24:40.463413 133589807769408 maxtext_utils.py:1654]  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)
I0418 18:24:40.463461 133589807769408 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0418 18:24:40.463510 133589807769408 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0418 18:24:40.958760 133589807769408 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:24:40.958854 133589807769408 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:24:40.974171 133589807769408 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:24:40.974231 133589807769408 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:24:51.910974 133589807769408 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.
I0418 18:24:51.911866 133589807769408 metric_logger.py:301] number parameters: 1.104 billion
I0418 18:25:03.114929 133589807769408 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0418 18:25:03.285027 133589807769408 checkpointing.py:776] Waited 0.17008233070373535 seconds for step 0 to finish before starting checkpointing.
I0418 18:25:03.287874 133589807769408 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:25:03.290056 133589807769408 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 0
I0418 18:25:03.291338 133589807769408 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints/0.
I0418 18:25:04.034472 133589807769408 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 18:25:04.035513 133589807769408 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:25:04.035569 133589807769408 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
I0418 18:25:04.312704 133589807769408 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.278303s
I0418 18:25:04.312887 133589807769408 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.437 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28371286392211914 s) (per-host)
I0418 18:25:04.312945 133589807769408 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283789s (batch_requests_ready=0.002210s, total_serialization_initiated=0.281494s, others=0.000085s)
I0418 18:25:04.313039 133589807769408 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.287995s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.287977)
I0418 18:25:04.313897 133589807769408 event_tracking.py:125] [process=7] [async] Finished blocking save in 1.02 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints/0.
I0418 18:25:04.314238 133460248860416 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:45:04.314201
I0418 18:25:04.319727 133589807769408 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:25:04.320004 133458606601984 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:25:04.320145 133589807769408 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776536703.2878551, 'wait_for_prev_duration_secs': 6.580352783203125e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776536703.2901142, 'checkpointer_blocking_duration_secs': 1.024277925491333, 'get_old_steps_start_time': 1776536704.3144164, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1776536703.2855773, 'checkpoint_manager_blocking_duration_secs': 1.034532070159912}
I0418 18:25:04.320305 133589807769408 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0418 18:25:04.320358 133589807769408 max_utils.py:750] 
Memstats: After params initialized:
I0418 18:25:04.320403 133589807769408 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0418 18:25:04.320435 133589807769408 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0418 18:25:04.320461 133589807769408 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0418 18:25:04.320486 133589807769408 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0418 18:25:04.633824 133589807769408 metric_logger.py:196] completed step: 0, seconds: 11.203, TFLOP/s/device: 1.213, Tokens/s/device: 182.809, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:25:04.814725 133589807769408 metric_logger.py:196] completed step: 1, seconds: 1.517, TFLOP/s/device: 8.955, Tokens/s/device: 1349.739, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:25:05.225471 133589807769408 metric_logger.py:196] completed step: 2, seconds: 0.034, TFLOP/s/device: 402.629, Tokens/s/device: 60688.674, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0418 18:25:05.372825 133589807769408 metric_logger.py:196] completed step: 3, seconds: 0.411, TFLOP/s/device: 33.079, Tokens/s/device: 4985.953, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0418 18:25:05.667898 133589807769408 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.698, Tokens/s/device: 13369.455, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0418 18:25:05.673548 133589807769408 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.248, Tokens/s/device: 13904.636, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0418 18:25:07.298446    2870 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 18:25:09.739980 133459160409856 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints/0/items/array_metadatas/process_7
I0418 18:25:28.505972 133589807769408 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.000, Tokens/s/device: 6933.583, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0418 18:25:28.653433 133589807769408 metric_logger.py:196] completed step: 7, seconds: 22.686, TFLOP/s/device: 0.599, Tokens/s/device: 90.277, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0418 18:25:28.800796 133589807769408 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.229, Tokens/s/device: 13449.616, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0418 18:25:28.947374 133589807769408 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0418 18:25:28.948052 133589807769408 checkpointing.py:776] Waited 0.0006988048553466797 seconds for step 9 to finish before starting checkpointing.
I0418 18:25:28.950676 133589807769408 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:25:40.560132 133460248860416 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 43.240 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.53090572357178 s) (per-host)
I0418 18:25:40.560254 133460248860416 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.245905s.
I0418 18:25:51.686790 133460248860416 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 47.372425s.
I0418 18:25:51.687085 133458606601984 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:25:51.687204 133458606601984 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:25:51.687258 133458606601984 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:25:51.689155 133458606601984 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0418 18:25:51.689332 133589807769408 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.
W0418 18:25:51.689467 133589807769408 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.738788 seconds. If this number is high, consider checkpointing less frequently.
I0418 18:25:51.691538 133589807769408 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 9
I0418 18:25:51.693326 133589807769408 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints/9.
I0418 18:25:52.421032 133589807769408 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:25:52.421142 133589807769408 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
I0418 18:25:52.454211 133589807769408 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034292s
I0418 18:25:52.454344 133589807769408 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 40.950 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03766942024230957 s) (per-host)
I0418 18:25:52.454392 133589807769408 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.037727s (batch_requests_ready=0.001774s, total_serialization_initiated=0.035890s, others=0.000063s)
I0418 18:25:52.454470 133589807769408 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.041939s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.041923)
I0418 18:25:52.455184 133589807769408 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints/9.
I0418 18:25:52.455483 133458606601984 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:45:52.455449
I0418 18:25:52.462996 133589807769408 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:25:52.463320 133459160409856 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:25:52.463481 133589807769408 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776536728.9506454, 'wait_for_prev_duration_secs': 22.73878812789917, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776536751.6915777, 'checkpointer_blocking_duration_secs': 0.7640447616577148, 'get_old_steps_start_time': 1776536752.4556463, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1776536728.9483082, 'checkpoint_manager_blocking_duration_secs': 23.51513695716858}
I0418 18:25:52.463592 133589807769408 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0418 18:25:52.463636 133589807769408 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:25:59.197089 133437839103744 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_07_eval/checkpoints/9/items/array_metadatas/process_7
I0418 18:26:34.301812 133458606601984 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 37.713 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.88509559631348 s) (per-host)
I0418 18:26:34.301939 133458606601984 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.846343s.
I0418 18:26:42.653760 133458606601984 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 50.198149s.
I0418 18:26:42.654100 133459160409856 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:26:42.654222 133459160409856 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:26:42.654272 133459160409856 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:26:42.655897 133459160409856 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0418 18:26:42.656066 133589807769408 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.
I0418 18:26:42.656247 133589807769408 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:26:42.657321 133589807769408 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.236, Tokens/s/device: 13902.749, 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: Sat Apr 18 18:26:55 UTC 2026
EXIT_CODE=0
XPK Start: Sun Apr 19 00:04:26 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-19 00:04:50.908198: 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)
I0419 00:04:51.085818 140423904401216 max_utils.py:273] Attempting to initialize the jax distributed system...
I0419 00:05:00.126609 140423904401216 distributed.py:149] Starting JAX distributed service on [::]:8482
I0419 00:05:00.128962 140423904401216 distributed.py:172] Connecting to JAX distributed service on mt-07-eval-fz718-slice-job-0-0.mt-07-eval-fz718:8482
I0419 00:05:02.556923 140423904401216 max_utils.py:284] Jax distributed system initialized!
I0419 00:05:08.134465 140423904401216 max_utils.py:800] System Information: Jax Version: 0.9.2
I0419 00:05:08.134568 140423904401216 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0419 00:05:08.134609 140423904401216 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
I0419 00:05:08.134642 140423904401216 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0419 00:05:09.180892 140423904401216 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 00:05:09.181474 140423904401216 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 00:05:09.181651 140423904401216 checkpointing.py:688] Setting up checkpoint logger...
I0419 00:05:09.181701 140423904401216 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0419 00:05:09.181746 140423904401216 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0419 00:05:09.182094 140423904401216 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 0x7fb645350710>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0419 00:05:12.130760 140423904401216 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0419 00:05:12.131032 140423904401216 checkpoint_manager.py:708] [process=0][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7fb5397b2d20>}, handler_registry=None
I0419 00:05:12.131264 140423904401216 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7fb5397b2d20>` 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`.
I0419 00:05:12.131313 140423904401216 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7fb5397b0890>` 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`.
I0419 00:05:12.131352 140423904401216 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 0x7fb5397b2d20>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7fb5397b2d20>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7fb5397b0890>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7fb5397b0890>}).
I0419 00:05:12.131662 140423904401216 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0419 00:05:12.131732 140423904401216 async_checkpointer.py:192] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7fa2882d2c00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0419 00:05:13.581475 140423904401216 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints
I0419 00:05:14.445193 140423904401216 checkpoint_manager.py:929] [process=0][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_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7fb539798c50>
I0419 00:05:14.445370 140423904401216 checkpointing.py:302] Checkpoint manager created!
I0419 00:05:15.376318 140423904401216 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0419 00:05:15.376424 140423904401216 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 00:05:15.760650 140423904401216 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 00:05:15.760739 140423904401216 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 00:05:15.777049 140423904401216 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 00:05:15.777111 140423904401216 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 00:05:15.800765 140423904401216 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 00:05:15.800845 140423904401216 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 00:05:15.817205 140423904401216 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 00:05:15.817266 140423904401216 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 00:05:15.833467 140423904401216 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 00:05:15.833529 140423904401216 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 00:05:15.858143 140423904401216 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0419 00:05:15.858213 140423904401216 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 00:05:15.880023 140423904401216 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0419 00:05:15.880089 140423904401216 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0419 00:05:16.093240 140423904401216 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0419 00:05:16.093354 140423904401216 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0419 00:05:17.522315 140423904401216 maxtext_utils.py:1827]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0419 00:05:17.522439 140423904401216 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)
I0419 00:05:17.522492 140423904401216 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)
I0419 00:05:17.522550 140423904401216 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')
I0419 00:05:17.522633 140423904401216 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)
I0419 00:05:17.522702 140423904401216 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)
I0419 00:05:17.522764 140423904401216 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)
I0419 00:05:17.522850 140423904401216 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')
I0419 00:05:17.522897 140423904401216 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)
I0419 00:05:17.522935 140423904401216 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)
I0419 00:05:17.522984 140423904401216 maxtext_utils.py:1827]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0419 00:05:17.523034 140423904401216 maxtext_utils.py:1827]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0419 00:05:18.024748 140423904401216 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 00:05:18.024857 140423904401216 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 00:05:18.040288 140423904401216 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 00:05:18.040352 140423904401216 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 00:05:28.717866 140423904401216 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.
I0419 00:05:28.725754 140423904401216 metric_logger.py:301] number parameters: 1.104 billion
I0419 00:05:40.307365 140423904401216 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0419 00:05:40.461311 140423904401216 checkpointing.py:798] Waited 0.15392684936523438 seconds for step 0 to finish before starting checkpointing.
I0419 00:05:40.463671 140423904401216 checkpoint_manager.py:2009] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 00:05:40.465467 140423904401216 checkpoint_manager.py:1512] [process=0] Saving checkpoint at step 0
I0419 00:05:40.466928 140423904401216 event_tracking.py:70] [process=0] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0.
I0419 00:05:41.582206 140423904401216 signaling_client.py:364] Using JaxDistributedSignalingClient
I0419 00:05:41.596915 140423904401216 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0419 00:05:41.596982 140423904401216 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
I0419 00:05:41.863335 140296172070656 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0
I0419 00:05:41.865537 140423904401216 base_pytree_checkpoint_handler.py:154] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.269449s
I0419 00:05:41.866366 140423904401216 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/blocking_gbytes_per_sec: 5.596 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27565598487854004 s) (per-host)
I0419 00:05:41.866440 140423904401216 base_pytree_checkpoint_handler.py:768] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.275749s (batch_requests_ready=0.002079s, total_serialization_initiated=0.272919s, others=0.000752s)
I0419 00:05:41.866518 140423904401216 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.279824s (all_items=0.000018s, per_item={'items': '0.00001836'}, temp_paths=0.279806)
I0419 00:05:41.867249 140423904401216 event_tracking.py:125] [process=0] [async] Finished blocking save in 1.40 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0.
I0419 00:05:41.867587 140296180463360 async_checkpointer.py:76] [process=0][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-19 00:25:41.867549
I0419 00:05:41.884166 140423904401216 checkpoint_manager.py:1560] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 00:05:41.884442 140295593932544 async_checkpointer.py:280] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0419 00:05:41.884583 140423904401216 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776557140.4636521, 'wait_for_prev_duration_secs': 5.984306335449219e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776557140.465506, 'checkpointer_blocking_duration_secs': 1.4022266864776611, 'get_old_steps_start_time': 1776557141.8677568, 'get_old_steps_duration_secs': 2.6464462280273438e-05, 'checkpoint_manager_blocking_start_time': 1776557140.4617107, 'checkpoint_manager_blocking_duration_secs': 1.4228339195251465}
I0419 00:05:41.884683 140423904401216 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0419 00:05:41.884733 140423904401216 max_utils.py:750] 
Memstats: After params initialized:
I0419 00:05:41.884784 140423904401216 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_0(process=0,(0,0,0,0))
I0419 00:05:41.884831 140423904401216 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_1(process=0,(1,0,0,0))
I0419 00:05:41.884860 140423904401216 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_4(process=0,(0,1,0,0))
I0419 00:05:41.884886 140423904401216 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_5(process=0,(1,1,0,0))
I0419 00:05:42.231190 140423904401216 metric_logger.py:196] completed step: 0, seconds: 11.281, TFLOP/s/device: 1.204, Tokens/s/device: 181.543, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0419 00:05:42.234689 140423904401216 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/tensorboard/'
I0419 00:05:42.642592 140423904401216 metric_logger.py:196] completed step: 1, seconds: 1.922, TFLOP/s/device: 7.070, Tokens/s/device: 1065.594, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0419 00:05:42.788592 140423904401216 metric_logger.py:196] completed step: 2, seconds: 0.412, TFLOP/s/device: 32.965, Tokens/s/device: 4968.896, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0419 00:05:42.936012 140423904401216 metric_logger.py:196] completed step: 3, seconds: 0.009, TFLOP/s/device: 1501.672, Tokens/s/device: 226348.364, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0419 00:05:44.075495 140296155285248 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0/items
I0419 00:05:44.218377 140293438052096 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776557143794076602, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776557143794076602, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0419 00:05:46.096618    2837 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0419 00:05:48.738622 140296126740224 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0/items/array_metadatas/process_0
I0419 00:06:04.655231 140423904401216 metric_logger.py:196] completed step: 4, seconds: 0.147, TFLOP/s/device: 92.516, Tokens/s/device: 13944.969, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0419 00:06:04.664239 140423904401216 metric_logger.py:196] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.086, Tokens/s/device: 13880.229, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0419 00:06:04.810370 140423904401216 metric_logger.py:196] completed step: 6, seconds: 21.718, TFLOP/s/device: 0.626, Tokens/s/device: 94.299, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0419 00:06:04.957879 140423904401216 metric_logger.py:196] completed step: 7, seconds: 0.007, TFLOP/s/device: 2023.098, Tokens/s/device: 304943.419, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0419 00:06:05.105234 140423904401216 metric_logger.py:196] completed step: 8, seconds: 0.147, TFLOP/s/device: 92.156, Tokens/s/device: 13890.773, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0419 00:06:05.251973 140423904401216 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0419 00:06:05.252662 140423904401216 checkpointing.py:798] Waited 0.0007104873657226562 seconds for step 9 to finish before starting checkpointing.
I0419 00:06:05.254698 140423904401216 checkpoint_manager.py:2020] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 00:06:23.661724 140295602325248 base_pytree_checkpoint_handler.py:1282] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 37.566769s (commit=35.836670s, array_metadata_write=1.730099s)
I0419 00:06:23.662795 140296180463360 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/gbytes_per_sec: 37.545 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.072054862976074 s) (per-host)
I0419 00:06:23.662941 140296180463360 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.795241s.
I0419 00:06:24.802561 140296180463360 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776557143794076602, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0419 00:06:25.989709 140296180463360 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000238s.
I0419 00:06:26.005902 140293438052096 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776557143794076602, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0419 00:06:26.179546 140296180463360 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389).
I0419 00:06:27.109835 140296180463360 base_pytree_checkpoint_handler.py:1406] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 2.178975s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0/items
I0419 00:06:27.111416 140296180463360 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0/items
I0419 00:06:27.644850 140296180463360 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0
I0419 00:06:29.047071 140296180463360 atomicity.py:847] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0`.
I0419 00:06:29.047995 140296180463360 event_tracking.py:138] [process=0] [async] Finished save (blocking + background) in 48.58 seconds @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/0
I0419 00:06:29.049955 140296180463360 async_checkpointer.py:160] [process=0][thread=async_save] Background save thread done. Time taken: 47.182252s.
I0419 00:06:29.050171 140295593932544 async_checkpointer.py:288] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 00:06:29.050294 140295593932544 async_checkpointer.py:298] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0419 00:06:29.050361 140295593932544 checkpoint_manager.py:2137] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0419 00:06:29.052236 140295593932544 checkpoint_manager.py:2146] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0419 00:06:29.052409 140423904401216 checkpoint_manager.py:2032] [process=0][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0419 00:06:29.052547 140423904401216 checkpoint_manager.py:1452] Waiting for previous save to complete took 23.797848 seconds. If this number is high, consider checkpointing less frequently.
I0419 00:06:29.054397 140423904401216 checkpoint_manager.py:1512] [process=0] Saving checkpoint at step 9
I0419 00:06:29.056528 140423904401216 event_tracking.py:70] [process=0] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9.
I0419 00:06:29.764226 140423904401216 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0419 00:06:29.764320 140423904401216 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
I0419 00:06:29.789711 140423904401216 base_pytree_checkpoint_handler.py:154] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.026211s
I0419 00:06:29.790503 140423904401216 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/blocking_gbytes_per_sec: 50.117 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.030779361724853516 s) (per-host)
I0419 00:06:29.790573 140423904401216 base_pytree_checkpoint_handler.py:768] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.030866s (batch_requests_ready=0.001845s, total_serialization_initiated=0.028286s, others=0.000735s)
I0419 00:06:29.790644 140423904401216 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.035097s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.035079)
I0419 00:06:29.791317 140423904401216 event_tracking.py:125] [process=0] [async] Finished blocking save in 0.74 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9.
I0419 00:06:29.791602 140295593932544 async_checkpointer.py:76] [process=0][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-19 00:26:29.791569
I0419 00:06:29.805049 140423904401216 checkpoint_manager.py:1560] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 00:06:29.805354 140295084324608 async_checkpointer.py:280] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0419 00:06:29.805526 140423904401216 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776557165.2546656, 'wait_for_prev_duration_secs': 23.797847986221313, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776557189.054438, 'checkpointer_blocking_duration_secs': 0.7372968196868896, 'get_old_steps_start_time': 1776557189.7917576, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776557165.252913, 'checkpoint_manager_blocking_duration_secs': 24.55257797241211}
I0419 00:06:29.805630 140423904401216 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0419 00:06:29.805676 140423904401216 checkpoint_manager.py:2020] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 00:06:30.001908 140296180463360 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9
I0419 00:06:32.161719 140296126740224 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9/items
I0419 00:06:35.488990 140295101110016 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9/items/array_metadatas/process_0
I0419 00:07:15.384865 140295092717312 base_pytree_checkpoint_handler.py:1282] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 42.118281s (commit=40.905812s, array_metadata_write=1.212469s)
I0419 00:07:15.386010 140295593932544 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/gbytes_per_sec: 34.620 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 45.626248836517334 s) (per-host)
I0419 00:07:15.386137 140295593932544 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 45.594424s.
I0419 00:07:17.280607 140295593932544 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000179s.
I0419 00:07:17.648118 140295593932544 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389).
I0419 00:07:18.758333 140295593932544 base_pytree_checkpoint_handler.py:1406] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 2.549221s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9/items
I0419 00:07:18.764682 140295593932544 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9/items
I0419 00:07:19.310321 140295593932544 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9
I0419 00:07:20.692918 140295593932544 atomicity.py:847] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9`.
I0419 00:07:20.693640 140295593932544 event_tracking.py:138] [process=0] [async] Finished save (blocking + background) in 51.64 seconds @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_07_eval/checkpoints/9
I0419 00:07:20.694901 140295593932544 async_checkpointer.py:160] [process=0][thread=async_save] Background save thread done. Time taken: 50.903185s.
I0419 00:07:20.695118 140295084324608 async_checkpointer.py:288] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 00:07:20.695252 140295084324608 async_checkpointer.py:298] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0419 00:07:20.695314 140295084324608 checkpoint_manager.py:2137] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0419 00:07:20.700456 140295084324608 checkpoint_manager.py:2146] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0419 00:07:20.700652 140423904401216 checkpoint_manager.py:2032] [process=0][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0419 00:07:20.700802 140423904401216 checkpoint_manager.py:2009] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 00:07:20.701747 140423904401216 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.923, Tokens/s/device: 13855.625, 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: Sun Apr 19 00:07:32 UTC 2026
EXIT_CODE=0