MaxView

‹ 13_scan_layers_falseCase: 13_scan_layers_true14_async_ckpt_false_resume ›

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

Metricmain  574ad3fb9feat/nnx-set-defaults-true  e27fc1e97Diff (feat/nnx-set-defaults-true − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.03491.896-0.138
Tok/s13872.413851.6-20.829
Avg s/step2.6782.376-0.302
Memory %1.381.380
JAX0.9.20.8.1

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

main  ·  574ad3fb9  ·  main_20260420_060028  ·  full log
XPK Start: Mon Apr 20 06:44:32 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-20 06:44:56.604711: 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)
I0420 06:44:56.783913 132559014876992 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 06:45:05.825188 132559014876992 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 06:45:05.827557 132559014876992 distributed.py:172] Connecting to JAX distributed service on mt-13-scan-layers-true-c8ewh-slice-job-0-0.mt-13-scan-layers-true-c8ewh:8482
I0420 06:45:07.072643 132559014876992 max_utils.py:284] Jax distributed system initialized!
I0420 06:45:12.173720 132559014876992 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 06:45:12.173822 132559014876992 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 06:45:12.173862 132559014876992 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
I0420 06:45:12.173897 132559014876992 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 06:45:12.867314 132559014876992 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 06:45:12.867597 132559014876992 checkpointing.py:677] Setting up checkpoint logger...
I0420 06:45:12.867657 132559014876992 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 06:45:12.867703 132559014876992 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 06:45:12.868046 132559014876992 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 0x788f4591c350>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 06:45:15.707861 132559014876992 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0420 06:45:15.708099 132559014876992 checkpoint_manager.py:708] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x788e096e6630>}, handler_registry=None
I0420 06:45:15.708353 132559014876992 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x788e096e6630>` 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`.
I0420 06:45:15.708402 132559014876992 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x787b702ecaa0>` 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`.
I0420 06:45:15.708437 132559014876992 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 0x788e096e6630>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x788e096e6630>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x787b702ecaa0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x787b702ecaa0>}).
I0420 06:45:15.708814 132559014876992 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 06:45:15.708888 132559014876992 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x787a806d7d80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 06:45:16.457064 132559014876992 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints
I0420 06:45:16.601490 132559014876992 checkpoint_manager.py:929] [process=4][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x787b702eddf0>
I0420 06:45:16.601671 132559014876992 checkpointing.py:301] Checkpoint manager created!
I0420 06:45:17.545019 132559014876992 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 06:45:17.545130 132559014876992 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:45:17.924985 132559014876992 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:45:17.925076 132559014876992 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:45:17.941872 132559014876992 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:45:17.941937 132559014876992 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:45:17.965631 132559014876992 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:45:17.965692 132559014876992 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:45:17.982176 132559014876992 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:45:17.982236 132559014876992 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:45:17.999102 132559014876992 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:45:17.999169 132559014876992 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:45:18.024164 132559014876992 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 06:45:18.024230 132559014876992 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:45:18.046307 132559014876992 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 06:45:18.046378 132559014876992 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 06:45:18.262600 132559014876992 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 06:45:18.262708 132559014876992 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 06:45:19.688031 132559014876992 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 06:45:19.688159 132559014876992 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)
I0420 06:45:19.688213 132559014876992 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)
I0420 06:45:19.688272 132559014876992 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')
I0420 06:45:19.688326 132559014876992 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)
I0420 06:45:19.688380 132559014876992 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)
I0420 06:45:19.688436 132559014876992 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)
I0420 06:45:19.688491 132559014876992 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')
I0420 06:45:19.688532 132559014876992 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)
I0420 06:45:19.688575 132559014876992 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)
I0420 06:45:19.688884 132559014876992 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0420 06:45:19.689028 132559014876992 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0420 06:45:20.180001 132559014876992 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:45:20.180099 132559014876992 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:45:20.195593 132559014876992 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:45:20.195653 132559014876992 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:45:31.027102 132559014876992 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.
I0420 06:45:31.027934 132559014876992 metric_logger.py:301] number parameters: 1.104 billion
I0420 06:45:42.158329 132559014876992 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0420 06:45:42.393008 132559014876992 checkpointing.py:776] Waited 0.2346630096435547 seconds for step 0 to finish before starting checkpointing.
I0420 06:45:42.395500 132559014876992 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:45:42.397157 132559014876992 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0
I0420 06:45:42.398583 132559014876992 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/0.
I0420 06:45:42.693160 132559014876992 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 06:45:42.694186 132559014876992 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:45:42.694243 132559014876992 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
I0420 06:45:42.966320 132559014876992 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.273237s
I0420 06:45:42.966510 132559014876992 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.535 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2787172794342041 s) (per-host)
I0420 06:45:42.966562 132559014876992 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.278780s (batch_requests_ready=0.002293s, total_serialization_initiated=0.276417s, others=0.000071s)
I0420 06:45:42.966654 132559014876992 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.282999s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.282982)
I0420 06:45:42.967406 132559014876992 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.57 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/0.
I0420 06:45:42.967728 132432405710592 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 07:05:42.967690
I0420 06:45:42.981384 132559014876992 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:45:42.981694 132430796605184 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:45:42.981851 132559014876992 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776667542.3954813, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776667542.397197, 'checkpointer_blocking_duration_secs': 0.5706849098205566, 'get_old_steps_start_time': 1776667542.9679062, 'get_old_steps_duration_secs': 2.8371810913085938e-05, 'checkpoint_manager_blocking_start_time': 1776667542.3934436, 'checkpoint_manager_blocking_duration_secs': 0.5883669853210449}
I0420 06:45:42.981961 132559014876992 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0420 06:45:42.982012 132559014876992 max_utils.py:750] 
Memstats: After params initialized:
I0420 06:45:42.982058 132559014876992 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0420 06:45:42.982097 132559014876992 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0420 06:45:42.982122 132559014876992 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0420 06:45:42.982146 132559014876992 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0420 06:45:43.295617 132559014876992 metric_logger.py:196] completed step: 0, seconds: 11.130, TFLOP/s/device: 1.221, Tokens/s/device: 184.003, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:45:43.475248 132559014876992 metric_logger.py:196] completed step: 1, seconds: 1.136, TFLOP/s/device: 11.963, Tokens/s/device: 1803.234, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:45:43.898794 132559014876992 metric_logger.py:196] completed step: 2, seconds: 0.032, TFLOP/s/device: 421.372, Tokens/s/device: 63513.723, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0420 06:45:44.046145 132559014876992 metric_logger.py:196] completed step: 3, seconds: 0.424, TFLOP/s/device: 32.067, Tokens/s/device: 4833.472, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0420 06:45:44.341683 132559014876992 metric_logger.py:196] completed step: 4, seconds: 0.154, TFLOP/s/device: 88.423, Tokens/s/device: 13328.127, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0420 06:45:44.347766 132559014876992 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.435, Tokens/s/device: 13932.826, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0420 06:45:45.784612    2756 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 06:45:47.807013 132430804997888 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/0/items/array_metadatas/process_4
I0420 06:46:06.104423 132559014876992 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.884, Tokens/s/device: 6916.209, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0420 06:46:06.251955 132559014876992 metric_logger.py:196] completed step: 7, seconds: 21.610, TFLOP/s/device: 0.629, Tokens/s/device: 94.772, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0420 06:46:06.399433 132559014876992 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.103, Tokens/s/device: 13430.565, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0420 06:46:06.546242 132559014876992 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0420 06:46:06.546931 132559014876992 checkpointing.py:776] Waited 0.0007100105285644531 seconds for step 9 to finish before starting checkpointing.
I0420 06:46:06.549153 132559014876992 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:46:18.791249 132432405710592 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 43.752 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.10341787338257 s) (per-host)
I0420 06:46:18.791393 132432405710592 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 35.823553s.
I0420 06:46:27.483589 132432405710592 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 44.515732s.
I0420 06:46:27.483899 132430796605184 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:46:27.484027 132430796605184 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:46:27.484076 132430796605184 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:46:27.485859 132430796605184 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 06:46:27.485988 132559014876992 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 06:46:27.486054 132559014876992 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.936909 seconds. If this number is high, consider checkpointing less frequently.
I0420 06:46:27.488103 132559014876992 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9
I0420 06:46:27.490032 132559014876992 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/9.
I0420 06:46:27.780846 132559014876992 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:46:27.780939 132559014876992 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
I0420 06:46:27.814449 132559014876992 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034681s
I0420 06:46:27.814652 132559014876992 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 40.271 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03830528259277344 s) (per-host)
I0420 06:46:27.814707 132559014876992 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038371s (batch_requests_ready=0.001915s, total_serialization_initiated=0.036380s, others=0.000076s)
I0420 06:46:27.814798 132559014876992 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043115s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.043100)
I0420 06:46:27.815552 132559014876992 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.33 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/9.
I0420 06:46:27.815834 132430796605184 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 07:06:27.815805
I0420 06:46:27.823452 132559014876992 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:46:27.823670 132405612488448 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:46:27.823791 132559014876992 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776667566.5491216, 'wait_for_prev_duration_secs': 20.936909198760986, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776667587.4881449, 'checkpointer_blocking_duration_secs': 0.32782554626464844, 'get_old_steps_start_time': 1776667587.8159947, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776667566.5471642, 'checkpoint_manager_blocking_duration_secs': 21.276590585708618}
I0420 06:46:27.823908 132559014876992 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0420 06:46:27.823952 132559014876992 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:46:33.770593 132410511402752 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_13_scan_layers_true/checkpoints/9/items/array_metadatas/process_4
I0420 06:47:08.847445 132430796605184 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 38.460 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.07106137275696 s) (per-host)
I0420 06:47:08.847571 132430796605184 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.031630s.
I0420 06:47:16.699211 132430796605184 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 48.883256s.
I0420 06:47:16.699453 132405612488448 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:47:16.699516 132405612488448 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:47:16.699563 132405612488448 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:47:16.701085 132405612488448 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 06:47:16.701247 132559014876992 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 06:47:16.701411 132559014876992 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:47:16.702286 132559014876992 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 92.034, Tokens/s/device: 13872.425, 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: Mon Apr 20 06:47:28 UTC 2026
EXIT_CODE=0
XPK Start: Mon Apr 20 20:01:19 UTC 2026
2026-04-20 20:01:23.406635: 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:1776715283.420027      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:1776715283.423871      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:1776715283.435560      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776715283.435577      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776715283.435580      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776715283.435582      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-20 20:01:42.599580: 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)
I0420 20:01:43.123986 135864628377408 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-20 20:01:52,165:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0420 20:01:52.165173 135864628377408 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-20 20:01:52,167:jax._src.distributed:157: Connecting to JAX distributed service on mt-13-scan-layers-true-e71sn-slice-job-0-0.mt-13-scan-layers-true-e71sn:8482
I0420 20:01:52.167574 135864628377408 distributed.py:157] Connecting to JAX distributed service on mt-13-scan-layers-true-e71sn-slice-job-0-0.mt-13-scan-layers-true-e71sn:8482
I0420 20:01:53.228296 135864628377408 max_utils.py:284] Jax distributed system initialized!
I0420 20:02:00.064004 135864628377408 max_utils.py:800] System Information: Jax Version: 0.8.1
I0420 20:02:00.064110 135864628377408 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0420 20:02:00.064151 135864628377408 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
I0420 20:02:00.064185 135864628377408 train_utils.py:377] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 20:02:00.677688 135864628377408 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 20:02:00.678264 135864628377408 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 20:02:00.678464 135864628377408 checkpointing.py:688] Setting up checkpoint logger...
I0420 20:02:00.678517 135864628377408 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 20:02:00.678561 135864628377408 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0420 20:02:00.678913 135864628377408 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 0x7b90f8975160>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 20:02:03.622275 135864628377408 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0420 20:02:03.622535 135864628377408 checkpoint_manager.py:709] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b7d57e3dc10>}, handler_registry=None
I0420 20:02:03.622773 135864628377408 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b7d57e3dc10>` 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`.
I0420 20:02:03.622822 135864628377408 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b912fbd3aa0>` 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`.
I0420 20:02:03.622858 135864628377408 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 0x7b7d57e3dc10>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b7d57e3dc10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b912fbd3aa0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b912fbd3aa0>}).
I0420 20:02:03.623347 135864628377408 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0420 20:02:03.623424 135864628377408 async_checkpointer.py:177] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b7d55b28180> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0420 20:02:04.599684 135864628377408 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints
I0420 20:02:04.609287 135864628377408 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b7e24f0ce00>
I0420 20:02:04.609414 135864628377408 checkpointing.py:302] Checkpoint manager created!
I0420 20:02:05.490563 135864628377408 nnx_wrappers.py:455] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 20:02:05.490672 135864628377408 nnx_wrappers.py:455] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 20:02:05.862726 135864628377408 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 20:02:05.862821 135864628377408 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 20:02:05.878514 135864628377408 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 20:02:05.878573 135864628377408 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 20:02:05.901265 135864628377408 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 20:02:05.901335 135864628377408 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 20:02:05.916980 135864628377408 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 20:02:05.917043 135864628377408 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 20:02:05.932647 135864628377408 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 20:02:05.932708 135864628377408 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 20:02:05.957205 135864628377408 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 20:02:05.957276 135864628377408 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 20:02:05.976776 135864628377408 linears.py:541] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 20:02:05.976844 135864628377408 linears.py:541] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 20:02:06.165517 135864628377408 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 20:02:06.165629 135864628377408 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 20:02:07.600909 135864628377408 maxtext_utils.py:1740]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0420 20:02:07.601040 135864628377408 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)
I0420 20:02:07.601098 135864628377408 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)
I0420 20:02:07.601158 135864628377408 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')
I0420 20:02:07.601212 135864628377408 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)
I0420 20:02:07.601252 135864628377408 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)
I0420 20:02:07.601306 135864628377408 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)
I0420 20:02:07.601362 135864628377408 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')
I0420 20:02:07.601404 135864628377408 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)
I0420 20:02:07.601486 135864628377408 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)
I0420 20:02:07.601552 135864628377408 maxtext_utils.py:1740]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)

I0420 20:02:07.601606 135864628377408 maxtext_utils.py:1740]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0420 20:02:08.109462 135864628377408 train.py:158] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 20:02:08.109567 135864628377408 train.py:158] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 20:02:08.124218 135864628377408 train.py:165] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 20:02:08.124279 135864628377408 train.py:165] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 20:02:18.818131 135864628377408 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.
I0420 20:02:18.819016 135864628377408 metric_logger.py:289] number parameters: 1.104 billion
I0420 20:02:29.847337 135864628377408 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0420 20:02:30.000618 135864628377408 checkpointing.py:798] Waited 0.15326690673828125 seconds for step 0 to finish before starting checkpointing.
I0420 20:02:30.003042 135864628377408 checkpoint_manager.py:2013] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 20:02:30.004714 135864628377408 checkpoint_manager.py:1518] [process=6] Saving checkpoint at step 0
I0420 20:02:30.007403 135864628377408 async_checkpointer.py:452] [process=6] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints/0.
I0420 20:02:30.568279 135864628377408 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 20:02:30.569300 135864628377408 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0420 20:02:30.569357 135864628377408 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
I0420 20:02:30.819154 135864628377408 base_pytree_checkpoint_handler.py:153] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.250961s
I0420 20:02:30.819328 135864628377408 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.985 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5167372226715088 s) (per-host)
I0420 20:02:30.819378 135864628377408 base_pytree_checkpoint_handler.py:737] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.516797s (batch_requests_ready=0.262137s, total_serialization_initiated=0.254592s, others=0.000068s)
I0420 20:02:30.819480 135864628377408 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.520864s (all_items=0.000020s, per_item={'items': '0.00001979'}, temp_paths=0.520844)
I0420 20:02:30.820480 135738616182528 async_checkpointer.py:79] [process=6][thread=async_save] Background save thread started.
I0420 20:02:30.820643 135864628377408 async_checkpointer.py:561] Finished blocking save. Time taken: 0.815857s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints/0.
I0420 20:02:30.829909 135864628377408 checkpoint_manager.py:1566] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 20:02:30.830146 135737508869888 async_checkpointer.py:265] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0420 20:02:30.830273 135864628377408 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776715350.0030239, 'wait_for_prev_duration_secs': 6.389617919921875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776715350.0047545, 'checkpointer_blocking_duration_secs': 0.8159942626953125, 'get_old_steps_start_time': 1776715350.8207693, 'get_old_steps_duration_secs': 2.5272369384765625e-05, 'checkpoint_manager_blocking_start_time': 1776715350.0011775, 'checkpoint_manager_blocking_duration_secs': 0.8290591239929199}
I0420 20:02:30.830372 135864628377408 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0420 20:02:30.830440 135864628377408 max_utils.py:750] 
Memstats: After params initialized:
I0420 20:02:30.830492 135864628377408 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0420 20:02:30.830527 135864628377408 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0420 20:02:30.830556 135864628377408 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0420 20:02:30.830582 135864628377408 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0420 20:02:31.099030 135864628377408 metric_logger.py:185] completed step: 0, seconds: 11.028, TFLOP/s/device: 1.232, Tokens/s/device: 185.706, total_weights: 65536, loss: 10.874
I0420 20:02:31.281267 135864628377408 metric_logger.py:185] completed step: 1, seconds: 1.250, TFLOP/s/device: 10.867, Tokens/s/device: 1637.923, total_weights: 65536, loss: 10.874
I0420 20:02:31.691572 135864628377408 metric_logger.py:185] completed step: 2, seconds: 0.035, TFLOP/s/device: 389.171, Tokens/s/device: 58660.098, total_weights: 65536, loss: 10.263
I0420 20:02:31.839361 135864628377408 metric_logger.py:185] completed step: 3, seconds: 0.411, TFLOP/s/device: 33.051, Tokens/s/device: 4981.768, total_weights: 65536, loss: 9.734
I0420 20:02:32.134558 135864628377408 metric_logger.py:185] completed step: 4, seconds: 0.152, TFLOP/s/device: 89.104, Tokens/s/device: 13430.741, total_weights: 65536, loss: 9.278
I0420 20:02:32.140168 135864628377408 metric_logger.py:185] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.037, Tokens/s/device: 13872.801, total_weights: 65536, loss: 8.892
I0420 20:02:51.079342 135864628377408 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.976, Tokens/s/device: 6929.993, total_weights: 65536, loss: 8.592
I0420 20:02:51.227037 135864628377408 metric_logger.py:185] completed step: 7, seconds: 18.793, TFLOP/s/device: 0.723, Tokens/s/device: 108.978, total_weights: 65536, loss: 8.384
I0420 20:02:51.374536 135864628377408 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.498, Tokens/s/device: 13490.103, total_weights: 65536, loss: 8.255
I0420 20:02:51.521714 135864628377408 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0420 20:02:51.522345 135864628377408 checkpointing.py:798] Waited 0.0006501674652099609 seconds for step 9 to finish before starting checkpointing.
I0420 20:02:51.526093 135864628377408 checkpoint_manager.py:2024] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 20:02:52.466595    2639 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 20:02:54.386767 135739102697216 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints/0/items/array_metadatas/process_6
I0420 20:03:27.559707 135738616182528 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/gbytes_per_sec: 27.588 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 57.25708794593811 s) (per-host)
I0420 20:03:27.559802 135738616182528 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 56.739212s.
I0420 20:03:35.025815 135738616182528 async_checkpointer.py:144] [process=6][thread=async_save] Background save thread done. Time taken: 64.205209s.
I0420 20:03:35.026098 135737508869888 async_checkpointer.py:273] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 20:03:35.026230 135737508869888 async_checkpointer.py:283] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0420 20:03:35.026279 135737508869888 checkpoint_manager.py:2133] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 20:03:35.027830 135737508869888 checkpoint_manager.py:2142] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 20:03:35.027993 135864628377408 checkpoint_manager.py:2036] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 20:03:35.028133 135864628377408 checkpoint_manager.py:1458] Waiting for previous save to complete took 43.502044 seconds. If this number is high, consider checkpointing less frequently.
I0420 20:03:35.031867 135864628377408 checkpoint_manager.py:1518] [process=6] Saving checkpoint at step 9
I0420 20:03:35.035216 135864628377408 async_checkpointer.py:452] [process=6] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints/9.
I0420 20:03:35.576676 135864628377408 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0420 20:03:35.576774 135864628377408 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
I0420 20:03:35.620653 135864628377408 base_pytree_checkpoint_handler.py:153] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.045277s
I0420 20:03:35.620812 135864628377408 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.142 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.30001091957092285 s) (per-host)
I0420 20:03:35.620863 135864628377408 base_pytree_checkpoint_handler.py:737] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.300070s (batch_requests_ready=0.252920s, total_serialization_initiated=0.047084s, others=0.000066s)
I0420 20:03:35.620948 135864628377408 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.304077s (all_items=0.000016s, per_item={'items': '0.00001574'}, temp_paths=0.304062)
I0420 20:03:35.621821 135738572048128 async_checkpointer.py:79] [process=6][thread=async_save] Background save thread started.
I0420 20:03:35.621945 135864628377408 async_checkpointer.py:561] Finished blocking save. Time taken: 0.590011s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints/9.
I0420 20:03:36.079616 135864628377408 checkpoint_manager.py:1566] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 20:03:36.079971 135737508869888 async_checkpointer.py:265] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0420 20:03:36.080121 135864628377408 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776715371.5260653, 'wait_for_prev_duration_secs': 43.50204396247864, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776715415.0319076, 'checkpointer_blocking_duration_secs': 0.5901975631713867, 'get_old_steps_start_time': 1776715415.6221242, 'get_old_steps_duration_secs': 2.4080276489257812e-05, 'checkpoint_manager_blocking_start_time': 1776715371.5225976, 'checkpoint_manager_blocking_duration_secs': 44.55748701095581}
I0420 20:03:36.080285 135864628377408 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0420 20:03:36.080334 135864628377408 checkpoint_manager.py:2024] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 20:03:40.815857 135739102697216 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_13_scan_layers_true/checkpoints/9/items/array_metadatas/process_6
I0420 20:04:17.289842 135738572048128 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/gbytes_per_sec: 37.637 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.9690101146698 s) (per-host)
I0420 20:04:17.289944 135738572048128 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.667928s.
I0420 20:04:26.462354 135738572048128 async_checkpointer.py:144] [process=6][thread=async_save] Background save thread done. Time taken: 50.840323s.
I0420 20:04:26.462656 135737508869888 async_checkpointer.py:273] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 20:04:26.462787 135737508869888 async_checkpointer.py:283] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0420 20:04:26.462833 135737508869888 checkpoint_manager.py:2133] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 20:04:26.465367 135737508869888 checkpoint_manager.py:2142] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 20:04:26.465565 135864628377408 checkpoint_manager.py:2036] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 20:04:26.465701 135864628377408 checkpoint_manager.py:2013] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 20:04:26.466306 135864628377408 metric_logger.py:185] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.896, Tokens/s/device: 13851.596, 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: Mon Apr 20 20:04:40 UTC 2026
EXIT_CODE=0