MaxView

‹ —Case: 01_base02_synthetic ›

Metrics: main (574ad3fb9) vs feat/nnx-set-defaults-true (574ad3fb9)

Metricmain  574ad3fb9feat/nnx-set-defaults-true  574ad3fb9Diff (feat/nnx-set-defaults-true − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.23492.160-0.074
Tok/s13902.513891.3-11.128
Avg s/step3.0712.856-0.215
Memory %1.381.380
JAX0.9.20.8.1

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

main  ·  574ad3fb9  ·  main_20260418_180002  ·  full log
XPK Start: Sat Apr 18 18:01:13 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:01:38.448324: 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:01:38.627807 136016632297280 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 18:01:47.667797 136016632297280 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 18:01:47.670194 136016632297280 distributed.py:172] Connecting to JAX distributed service on mt-01-base-2sag8-slice-job-0-0.mt-01-base-2sag8:8482
I0418 18:01:49.137647 136016632297280 max_utils.py:284] Jax distributed system initialized!
I0418 18:01:56.197314 136016632297280 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 18:01:56.197413 136016632297280 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 18:01:56.197469 136016632297280 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:01:56.197514 136016632297280 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 18:01:56.911277 136016632297280 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 18:01:56.911563 136016632297280 checkpointing.py:677] Setting up checkpoint logger...
I0418 18:01:56.911619 136016632297280 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 18:01:56.911664 136016632297280 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 18:01:56.912001 136016632297280 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 0x7bb436918260>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 18:02:01.482331 136016632297280 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 18:02:01.482582 136016632297280 checkpoint_manager.py:708] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b9f743869c0>}, handler_registry=None
I0418 18:02:01.482824 136016632297280 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b9f743869c0>` 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:02:01.482872 136016632297280 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b9f74388290>` 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:02:01.482908 136016632297280 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 0x7b9f743869c0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b9f743869c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b9f74388290>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b9f74388290>}).
I0418 18:02:01.483229 136016632297280 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 18:02:01.483299 136016632297280 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b9f546afba0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0418 18:02:02.509403 136016632297280 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints
I0418 18:02:03.389142 136016632297280 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7bb315bdffb0>
I0418 18:02:03.389307 136016632297280 checkpointing.py:301] Checkpoint manager created!
I0418 18:02:04.318331 136016632297280 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 18:02:04.318439 136016632297280 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:02:04.697327 136016632297280 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:02:04.697414 136016632297280 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:02:04.713699 136016632297280 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:02:04.713760 136016632297280 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:02:04.737531 136016632297280 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:02:04.737595 136016632297280 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:02:04.753716 136016632297280 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:02:04.753776 136016632297280 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:02:04.769909 136016632297280 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:02:04.769973 136016632297280 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:02:04.794766 136016632297280 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 18:02:04.794831 136016632297280 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:02:04.815628 136016632297280 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 18:02:04.815692 136016632297280 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 18:02:05.031522 136016632297280 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 18:02:05.031626 136016632297280 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0418 18:02:06.457116 136016632297280 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 18:02:06.457235 136016632297280 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:02:06.457286 136016632297280 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:02:06.457343 136016632297280 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:02:06.457395 136016632297280 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:02:06.457432 136016632297280 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:02:06.457497 136016632297280 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:02:06.457551 136016632297280 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:02:06.457590 136016632297280 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:02:06.457626 136016632297280 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:02:06.457673 136016632297280 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0418 18:02:06.457719 136016632297280 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0418 18:02:06.945318 136016632297280 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:02:06.945410 136016632297280 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:02:06.960833 136016632297280 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:02:06.960896 136016632297280 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:02:17.925596 136016632297280 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:02:17.926374 136016632297280 metric_logger.py:301] number parameters: 1.104 billion
I0418 18:02:28.987720 136016632297280 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0418 18:02:29.319164 136016632297280 checkpointing.py:776] Waited 0.3314321041107178 seconds for step 0 to finish before starting checkpointing.
I0418 18:02:29.321613 136016632297280 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:02:29.323310 136016632297280 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0418 18:02:29.324758 136016632297280 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/0.
I0418 18:02:30.509867 136016632297280 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 18:02:30.510792 136016632297280 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:02:30.510847 136016632297280 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:02:30.788037 136016632297280 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.278241s
I0418 18:02:30.788214 136016632297280 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.429 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28411173820495605 s) (per-host)
I0418 18:02:30.788267 136016632297280 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.284174s (batch_requests_ready=0.002627s, total_serialization_initiated=0.281476s, others=0.000071s)
I0418 18:02:30.788356 136016632297280 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.288152s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.288136)
I0418 18:02:30.789228 136016632297280 event_tracking.py:125] [process=5] [async] Finished blocking save in 1.47 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/0.
I0418 18:02:30.789592 135888973575936 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:22:30.789554
I0418 18:02:30.796347 136016632297280 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:02:30.796626 135887344273152 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:02:30.796753 136016632297280 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776535349.3215866, 'wait_for_prev_duration_secs': 8.726119995117188e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776535349.3233628, 'checkpointer_blocking_duration_secs': 1.466383457183838, 'get_old_steps_start_time': 1776535350.7897708, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1776535349.319707, 'checkpoint_manager_blocking_duration_secs': 1.4770071506500244}
I0418 18:02:30.796863 136016632297280 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0418 18:02:30.796917 136016632297280 max_utils.py:750] 
Memstats: After params initialized:
I0418 18:02:30.796967 136016632297280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0418 18:02:30.797000 136016632297280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0418 18:02:30.797027 136016632297280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0418 18:02:30.797050 136016632297280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0418 18:02:31.105650 136016632297280 metric_logger.py:196] completed step: 0, seconds: 11.061, TFLOP/s/device: 1.228, Tokens/s/device: 185.152, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:02:31.296370 136016632297280 metric_logger.py:196] completed step: 1, seconds: 2.116, TFLOP/s/device: 6.420, Tokens/s/device: 967.643, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:02:31.692446 136016632297280 metric_logger.py:196] completed step: 2, seconds: 0.044, TFLOP/s/device: 312.262, Tokens/s/device: 47067.476, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0418 18:02:31.839858 136016632297280 metric_logger.py:196] completed step: 3, seconds: 0.397, TFLOP/s/device: 34.233, Tokens/s/device: 5159.990, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0418 18:02:32.135124 136016632297280 metric_logger.py:196] completed step: 4, seconds: 0.152, TFLOP/s/device: 89.128, Tokens/s/device: 13434.353, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0418 18:02:32.140931 136016632297280 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.207, Tokens/s/device: 13898.409, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0418 18:02:36.769223    2828 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 18:02:40.319857 135887393478400 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/0/items/array_metadatas/process_5
I0418 18:02:56.479434 136016632297280 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.968, Tokens/s/device: 6928.844, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0418 18:02:56.626775 136016632297280 metric_logger.py:196] completed step: 7, seconds: 24.192, TFLOP/s/device: 0.562, Tokens/s/device: 84.658, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0418 18:02:56.774048 136016632297280 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.207, Tokens/s/device: 13446.261, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0418 18:02:56.920902 136016632297280 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0418 18:02:56.921597 136016632297280 checkpointing.py:776] Waited 0.0007135868072509766 seconds for step 9 to finish before starting checkpointing.
I0418 18:02:56.923789 136016632297280 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:03:09.217653 135888973575936 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 40.802 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.713520526885986 s) (per-host)
I0418 18:03:09.217759 135888973575936 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.428054s.
I0418 18:03:21.081743 135888973575936 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 50.292021s.
I0418 18:03:21.082024 135887344273152 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:03:21.082161 135887344273152 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:03:21.082236 135887344273152 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:03:21.084198 135887344273152 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0418 18:03:21.084340 136016632297280 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0418 18:03:21.084431 136016632297280 checkpoint_manager.py:1452] Waiting for previous save to complete took 24.160645 seconds. If this number is high, consider checkpointing less frequently.
I0418 18:03:21.086312 136016632297280 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0418 18:03:21.088404 136016632297280 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/9.
I0418 18:03:21.805513 136016632297280 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:03:21.805606 136016632297280 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:03:21.851402 136016632297280 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.047068s
I0418 18:03:21.851588 136016632297280 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 30.451 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.05065727233886719 s) (per-host)
I0418 18:03:21.851641 136016632297280 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.050721s (batch_requests_ready=0.001908s, total_serialization_initiated=0.048741s, others=0.000072s)
I0418 18:03:21.851732 136016632297280 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.054832s (all_items=0.000016s, per_item={'items': '0.00001574'}, temp_paths=0.054816)
I0418 18:03:21.852479 136016632297280 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.77 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/9.
I0418 18:03:21.852841 135887344273152 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:23:21.852802
I0418 18:03:21.854827 136016632297280 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:03:21.855110 135887393478400 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:03:21.855244 136016632297280 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776535376.9237592, 'wait_for_prev_duration_secs': 24.160645008087158, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776535401.086351, 'checkpointer_blocking_duration_secs': 0.766655445098877, 'get_old_steps_start_time': 1776535401.8530304, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1776535376.9218338, 'checkpoint_manager_blocking_duration_secs': 24.933377981185913}
I0418 18:03:21.855412 136016632297280 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0418 18:03:21.855471 136016632297280 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:03:29.938111 135865812625152 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/9/items/array_metadatas/process_5
I0418 18:04:05.668946 135887344273152 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 36.008 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.86797738075256 s) (per-host)
I0418 18:04:05.669079 135887344273152 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.816113s.
I0418 18:04:14.249446 135887344273152 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 52.396466s.
I0418 18:04:14.249764 135887393478400 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:04:14.249889 135887393478400 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:04:14.249945 135887393478400 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:04:14.252395 135887393478400 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0418 18:04:14.252585 136016632297280 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0418 18:04:14.252735 136016632297280 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:04:14.253656 136016632297280 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.234, Tokens/s/device: 13902.466, 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:04:23 UTC 2026
EXIT_CODE=0
XPK Start: Sun Apr 19 03:16:16 UTC 2026
2026-04-19 03:16:20.124851: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776568580.137469      10 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776568580.141138      10 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776568580.152327      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776568580.152348      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776568580.152350      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776568580.152352      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-19 03:16:53.252506: 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 03:16:53.783989 140282446272320 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-19 03:17:02,824:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0419 03:17:02.824198 140282446272320 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-19 03:17:02,826:jax._src.distributed:157: Connecting to JAX distributed service on mt-01-base-av2z6-slice-job-0-0.mt-01-base-av2z6:8482
I0419 03:17:02.826495 140282446272320 distributed.py:157] Connecting to JAX distributed service on mt-01-base-av2z6-slice-job-0-0.mt-01-base-av2z6:8482
I0419 03:17:06.165278 140282446272320 max_utils.py:284] Jax distributed system initialized!
I0419 03:17:12.237521 140282446272320 max_utils.py:800] System Information: Jax Version: 0.8.1
I0419 03:17:12.237626 140282446272320 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0419 03:17:12.237667 140282446272320 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0419 03:17:12.237700 140282446272320 train_utils.py:377] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0419 03:17:12.860103 140282446272320 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 03:17:12.860724 140282446272320 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 03:17:12.860906 140282446272320 checkpointing.py:688] Setting up checkpoint logger...
I0419 03:17:12.860954 140282446272320 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0419 03:17:12.861000 140282446272320 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0419 03:17:12.861377 140282446272320 base_pytree_checkpoint_handler.py:415] 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 0x7f958b979250>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0419 03:17:17.393391 140282446272320 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0419 03:17:17.393631 140282446272320 checkpoint_manager.py:709] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f830ee7d820>}, handler_registry=None
I0419 03:17:17.393867 140282446272320 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f830ee7d820>` 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 03:17:17.393916 140282446272320 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f830ee869f0>` 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 03:17:17.393951 140282446272320 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 0x7f830ee7d820>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f830ee7d820>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f830ee869f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f830ee869f0>}).
I0419 03:17:17.394481 140282446272320 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0419 03:17:17.394560 140282446272320 async_checkpointer.py:177] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7f81f4384180> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0419 03:17:19.139758 140282446272320 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints
I0419 03:17:20.421910 140282446272320 checkpoint_manager.py:929] [process=3][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7f830ee7cd70>
I0419 03:17:20.422099 140282446272320 checkpointing.py:302] Checkpoint manager created!
I0419 03:17:21.311988 140282446272320 nnx_wrappers.py:455] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0419 03:17:21.312093 140282446272320 nnx_wrappers.py:455] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 03:17:21.680351 140282446272320 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 03:17:21.680442 140282446272320 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 03:17:21.696193 140282446272320 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 03:17:21.696266 140282446272320 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 03:17:21.719064 140282446272320 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 03:17:21.719131 140282446272320 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 03:17:21.735150 140282446272320 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 03:17:21.735214 140282446272320 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 03:17:21.750913 140282446272320 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 03:17:21.750974 140282446272320 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 03:17:21.775609 140282446272320 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0419 03:17:21.775683 140282446272320 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 03:17:21.796757 140282446272320 linears.py:541] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0419 03:17:21.796823 140282446272320 linears.py:541] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0419 03:17:21.993038 140282446272320 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0419 03:17:21.993151 140282446272320 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0419 03:17:23.416554 140282446272320 maxtext_utils.py:1740]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0419 03:17:23.416714 140282446272320 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0419 03:17:23.416792 140282446272320 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0419 03:17:23.416886 140282446272320 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0419 03:17:23.416980 140282446272320 maxtext_utils.py:1740]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0419 03:17:23.417055 140282446272320 maxtext_utils.py:1740]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0419 03:17:23.417162 140282446272320 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0419 03:17:23.417269 140282446272320 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0419 03:17:23.417349 140282446272320 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0419 03:17:23.417425 140282446272320 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0419 03:17:23.417517 140282446272320 maxtext_utils.py:1740]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)

I0419 03:17:23.417601 140282446272320 maxtext_utils.py:1740]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0419 03:17:23.915361 140282446272320 train.py:158] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 03:17:23.915453 140282446272320 train.py:158] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 03:17:23.930347 140282446272320 train.py:165] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 03:17:23.930406 140282446272320 train.py:165] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 03:17:34.592150 140282446272320 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 03:17:34.593027 140282446272320 metric_logger.py:289] number parameters: 1.104 billion
I0419 03:17:45.779550 140282446272320 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0419 03:17:45.932312 140282446272320 checkpointing.py:798] Waited 0.1527407169342041 seconds for step 0 to finish before starting checkpointing.
I0419 03:17:45.934999 140282446272320 checkpoint_manager.py:2013] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 03:17:45.936667 140282446272320 checkpoint_manager.py:1518] [process=3] Saving checkpoint at step 0
I0419 03:17:45.939807 140282446272320 async_checkpointer.py:452] [process=3] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints/0.
I0419 03:17:46.932895 140282446272320 signaling_client.py:364] Using JaxDistributedSignalingClient
I0419 03:17:46.933856 140282446272320 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 03:17:46.933917 140282446272320 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 03:17:47.176737 140282446272320 base_pytree_checkpoint_handler.py:153] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.243923s
I0419 03:17:47.176919 140282446272320 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/blocking_gbytes_per_sec: 3.060 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5041451454162598 s) (per-host)
I0419 03:17:47.176973 140282446272320 base_pytree_checkpoint_handler.py:737] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.504215s (batch_requests_ready=0.256540s, total_serialization_initiated=0.247596s, others=0.000079s)
I0419 03:17:47.177066 140282446272320 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.508424s (all_items=0.000020s, per_item={'items': '0.00002027'}, temp_paths=0.508404)
I0419 03:17:47.178059 140163657209600 async_checkpointer.py:79] [process=3][thread=async_save] Background save thread started.
I0419 03:17:47.178254 140282446272320 async_checkpointer.py:561] Finished blocking save. Time taken: 1.241505s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints/0.
I0419 03:17:47.618911 140282446272320 checkpoint_manager.py:1566] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 03:17:47.619330 140158850549504 async_checkpointer.py:265] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0419 03:17:47.619506 140282446272320 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776568665.9349818, 'wait_for_prev_duration_secs': 6.365776062011719e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776568665.9367049, 'checkpointer_blocking_duration_secs': 1.2416601181030273, 'get_old_steps_start_time': 1776568667.178386, 'get_old_steps_duration_secs': 2.6941299438476562e-05, 'checkpoint_manager_blocking_start_time': 1776568665.9328687, 'checkpoint_manager_blocking_duration_secs': 1.686594009399414}
I0419 03:17:47.619614 140282446272320 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0419 03:17:47.619667 140282446272320 max_utils.py:750] 
Memstats: After params initialized:
I0419 03:17:47.619726 140282446272320 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0419 03:17:47.619761 140282446272320 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0419 03:17:47.619789 140282446272320 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0419 03:17:47.619814 140282446272320 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0419 03:17:47.884539 140282446272320 metric_logger.py:185] completed step: 0, seconds: 11.186, TFLOP/s/device: 1.215, Tokens/s/device: 183.079, total_weights: 65536, loss: 10.874
I0419 03:17:48.065027 140282446272320 metric_logger.py:185] completed step: 1, seconds: 2.104, TFLOP/s/device: 6.459, Tokens/s/device: 973.551, total_weights: 65536, loss: 10.874
I0419 03:17:48.455708 140282446272320 metric_logger.py:185] completed step: 2, seconds: 0.033, TFLOP/s/device: 409.955, Tokens/s/device: 61792.837, total_weights: 65536, loss: 10.263
I0419 03:17:48.603608 140282446272320 metric_logger.py:185] completed step: 3, seconds: 0.391, TFLOP/s/device: 34.728, Tokens/s/device: 5234.558, total_weights: 65536, loss: 9.734
I0419 03:17:48.899437 140282446272320 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.885, Tokens/s/device: 13397.705, total_weights: 65536, loss: 9.278
I0419 03:17:48.905185 140282446272320 metric_logger.py:185] completed step: 5, seconds: 0.148, TFLOP/s/device: 91.953, Tokens/s/device: 13860.220, total_weights: 65536, loss: 8.892
I0419 03:18:11.331267 140282446272320 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.869, Tokens/s/device: 6913.874, total_weights: 65536, loss: 8.592
I0419 03:18:11.478892 140282446272320 metric_logger.py:185] completed step: 7, seconds: 22.279, TFLOP/s/device: 0.610, Tokens/s/device: 91.925, total_weights: 65536, loss: 8.384
I0419 03:18:11.626339 140282446272320 metric_logger.py:185] completed step: 8, seconds: 0.153, TFLOP/s/device: 89.067, Tokens/s/device: 13425.195, total_weights: 65536, loss: 8.255
I0419 03:18:11.773607 140282446272320 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0419 03:18:11.774288 140282446272320 checkpointing.py:798] Waited 0.0007028579711914062 seconds for step 9 to finish before starting checkpointing.
I0419 03:18:11.776304 140282446272320 checkpoint_manager.py:2024] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 03:18:14.066256    2541 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0419 03:18:17.254312 140163665602304 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints/0/items/array_metadatas/process_3
I0419 03:18:45.826004 140163657209600 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/gbytes_per_sec: 26.703 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 59.15319633483887 s) (per-host)
I0419 03:18:45.826123 140163657209600 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 58.647950s.
I0419 03:18:57.614041 140163657209600 async_checkpointer.py:144] [process=3][thread=async_save] Background save thread done. Time taken: 70.435852s.
I0419 03:18:57.614352 140158850549504 async_checkpointer.py:273] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 03:18:57.614514 140158850549504 async_checkpointer.py:283] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0419 03:18:57.614574 140158850549504 checkpoint_manager.py:2133] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0419 03:18:57.617674 140158850549504 checkpoint_manager.py:2142] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0419 03:18:57.617863 140282446272320 checkpoint_manager.py:2036] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0419 03:18:57.618016 140282446272320 checkpoint_manager.py:1458] Waiting for previous save to complete took 45.841709 seconds. If this number is high, consider checkpointing less frequently.
I0419 03:18:57.620175 140282446272320 checkpoint_manager.py:1518] [process=3] Saving checkpoint at step 9
I0419 03:18:57.623678 140282446272320 async_checkpointer.py:452] [process=3] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints/9.
I0419 03:18:58.596933 140282446272320 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 03:18:58.597028 140282446272320 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 03:18:58.639376 140282446272320 base_pytree_checkpoint_handler.py:153] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.043627s
I0419 03:18:58.639542 140282446272320 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.069 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.3042917251586914 s) (per-host)
I0419 03:18:58.639593 140282446272320 base_pytree_checkpoint_handler.py:737] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.304351s (batch_requests_ready=0.258822s, total_serialization_initiated=0.045460s, others=0.000069s)
I0419 03:18:58.639684 140282446272320 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.308562s (all_items=0.000014s, per_item={'items': '0.00001431'}, temp_paths=0.308548)
I0419 03:18:58.640561 140159404205824 async_checkpointer.py:79] [process=3][thread=async_save] Background save thread started.
I0419 03:18:58.640729 140282446272320 async_checkpointer.py:561] Finished blocking save. Time taken: 1.020473s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints/9.
I0419 03:18:59.084206 140282446272320 checkpoint_manager.py:1566] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 03:18:59.084592 140158850549504 async_checkpointer.py:265] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0419 03:18:59.084764 140282446272320 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776568691.7762752, 'wait_for_prev_duration_secs': 45.84170913696289, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776568737.6202219, 'checkpointer_blocking_duration_secs': 1.0206186771392822, 'get_old_steps_start_time': 1776568738.6408594, 'get_old_steps_duration_secs': 2.7179718017578125e-05, 'checkpoint_manager_blocking_start_time': 1776568691.7745125, 'checkpoint_manager_blocking_duration_secs': 47.310213565826416}
I0419 03:18:59.084877 140282446272320 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0419 03:18:59.084917 140282446272320 checkpoint_manager.py:2024] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 03:19:07.190888 140163665602304 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260419_025828/linen_xpk_feat_nnx_set_defaults_true_20260419_025828_01_base/checkpoints/9/items/array_metadatas/process_3
I0419 03:19:43.208977 140159404205824 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/gbytes_per_sec: 35.201 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 44.87368559837341 s) (per-host)
I0419 03:19:43.209106 140159404205824 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 44.568434s.
I0419 03:19:53.264569 140159404205824 async_checkpointer.py:144] [process=3][thread=async_save] Background save thread done. Time taken: 54.623882s.
I0419 03:19:53.264853 140158850549504 async_checkpointer.py:273] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 03:19:53.264978 140158850549504 async_checkpointer.py:283] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0419 03:19:53.265027 140158850549504 checkpoint_manager.py:2133] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0419 03:19:53.267686 140158850549504 checkpoint_manager.py:2142] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0419 03:19:53.267887 140282446272320 checkpoint_manager.py:2036] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0419 03:19:53.268035 140282446272320 checkpoint_manager.py:2013] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 03:19:53.268749 140282446272320 metric_logger.py:185] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.160, Tokens/s/device: 13891.338, total_weights: 65536, loss: 8.179
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sun Apr 19 03:20:06 UTC 2026
EXIT_CODE=0