MaxView

‹ 02_syntheticCase: 03_dropout04_int8 ›

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

Metricmain  574ad3fb9feat/nnx-post-train-fixes  574ad3fb9Diff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss6.98106.98100
TFLOP/s11.35811.345-0.013
Tok/s1815.21813.2-2.082
Avg s/step1.3931.344-0.049
Memory %1.311.310
JAX0.9.20.9.2

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

main  ·  574ad3fb9  ·  main_20260420_060028  ·  full log
XPK Start: Mon Apr 20 06:07:42 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:08:06.667903: 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:08:07.206369 132708396721984 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 06:08:16.245934 132708396721984 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 06:08:16.248331 132708396721984 distributed.py:172] Connecting to JAX distributed service on mt-03-dropout-5xwjy-slice-job-0-0.mt-03-dropout-5xwjy:8482
I0420 06:08:17.784921 132708396721984 max_utils.py:284] Jax distributed system initialized!
I0420 06:08:23.874588 132708396721984 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 06:08:23.874690 132708396721984 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 06:08:23.874732 132708396721984 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:08:23.874766 132708396721984 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 06:08:24.574064 132708396721984 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 06:08:24.574332 132708396721984 checkpointing.py:677] Setting up checkpoint logger...
I0420 06:08:24.574384 132708396721984 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 06:08:24.574432 132708396721984 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 06:08:24.574772 132708396721984 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 0x78b200514e90>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 06:08:27.859263 132708396721984 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0420 06:08:27.859499 132708396721984 checkpoint_manager.py:708] [process=2][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x789d9c57f5f0>}, handler_registry=None
I0420 06:08:27.859731 132708396721984 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x789d9c57f5f0>` 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:08:27.859780 132708396721984 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x789d9c583cb0>` 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:08:27.859813 132708396721984 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 0x789d9c57f5f0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x789d9c57f5f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x789d9c583cb0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x789d9c583cb0>}).
I0420 06:08:27.860137 132708396721984 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 06:08:27.860207 132708396721984 async_checkpointer.py:192] [process=2][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x789d9c1eb920> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 06:08:29.099502 132708396721984 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_03_dropout/checkpoints
I0420 06:08:29.534219 132708396721984 checkpoint_manager.py:929] [process=2][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_03_dropout/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x78b0d2de9700>
I0420 06:08:29.534383 132708396721984 checkpointing.py:301] Checkpoint manager created!
I0420 06:08:29.877303 132708396721984 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 06:08:29.877417 132708396721984 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0420 06:08:30.257851 132708396721984 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:08:30.257941 132708396721984 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0420 06:08:30.274247 132708396721984 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:08:30.274307 132708396721984 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0420 06:08:30.298028 132708396721984 attentions.py:1154] attentions/query Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:08:30.298094 132708396721984 attentions.py:1154] attentions/query Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0420 06:08:30.314486 132708396721984 attentions.py:1155] attentions/key Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:08:30.314544 132708396721984 attentions.py:1155] attentions/key Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0420 06:08:30.330896 132708396721984 attentions.py:1156] attentions/value Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:08:30.330957 132708396721984 attentions.py:1156] attentions/value Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0420 06:08:30.356551 132708396721984 attentions.py:1197] attentions/out Logical: bfloat16[32,128,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 06:08:30.356621 132708396721984 attentions.py:1197] attentions/out Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0420 06:08:30.382763 132708396721984 linears.py:525] linears/x Logical: bfloat16[32,128,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 06:08:30.382828 132708396721984 linears.py:525] linears/x Physical: bfloat16[32,128,7168]....................................... ('fsdp', None, None).
I0420 06:08:30.611488 132708396721984 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 06:08:30.611595 132708396721984 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 06:08:32.048372 132708396721984 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 06:08:32.048504 132708396721984 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:08:32.048557 132708396721984 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:08:32.048615 132708396721984 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:08:32.048667 132708396721984 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:08:32.048712 132708396721984 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:08:32.048766 132708396721984 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:08:32.048818 132708396721984 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:08:32.048858 132708396721984 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:08:32.048896 132708396721984 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:08:32.048945 132708396721984 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0420 06:08:32.048996 132708396721984 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0420 06:08:32.571006 132708396721984 train.py:155] train/xent Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:08:32.571112 132708396721984 train.py:155] train/xent Physical: float32[32,128]............................................. ('fsdp', None).
I0420 06:08:32.586625 132708396721984 train.py:162] train/z_loss Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:08:32.586687 132708396721984 train.py:162] train/z_loss Physical: float32[32,128]............................................. ('fsdp', None).
I0420 06:08:36.146428 132708396721984 max_utils.py:791] Total memory size: 0.8 GB, Output size: 0.4 GB, Temp size: 0.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0420 06:08:36.147165 132708396721984 metric_logger.py:301] number parameters: 1.104 billion
I0420 06:08:40.228787 132708396721984 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0420 06:08:40.836998 132708396721984 checkpointing.py:776] Waited 0.6081898212432861 seconds for step 0 to finish before starting checkpointing.
I0420 06:08:40.840556 132708396721984 checkpoint_manager.py:2009] [process=2][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:08:40.842542 132708396721984 checkpoint_manager.py:1512] [process=2] Saving checkpoint at step 0
I0420 06:08:40.843913 132708396721984 event_tracking.py:70] [process=2] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_03_dropout/checkpoints/0.
I0420 06:08:41.562984 132708396721984 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 06:08:41.563925 132708396721984 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:08:41.563982 132708396721984 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:08:41.843361 132708396721984 base_pytree_checkpoint_handler.py:154] [process=2][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.280447s
I0420 06:08:41.843551 132708396721984 base_pytree_checkpoint_handler.py:130] [process=2] /jax/orbax/write/blocking_gbytes_per_sec: 5.397 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28581738471984863 s) (per-host)
I0420 06:08:41.843626 132708396721984 base_pytree_checkpoint_handler.py:768] [process=2][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285903s (batch_requests_ready=0.002206s, total_serialization_initiated=0.283604s, others=0.000094s)
I0420 06:08:41.843758 132708396721984 composite_checkpoint_handler.py:715] [process=2][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289957s (all_items=0.000018s, per_item={'items': '0.00001836'}, temp_paths=0.289938)
I0420 06:08:41.844596 132708396721984 event_tracking.py:125] [process=2] [async] Finished blocking save in 1.00 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_03_dropout/checkpoints/0.
I0420 06:08:41.844948 132579785168640 async_checkpointer.py:76] [process=2][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:28:41.844910
I0420 06:08:41.856558 132708396721984 checkpoint_manager.py:1560] [process=2][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:08:41.856824 132578673669888 async_checkpointer.py:280] [process=2][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:08:41.856980 132708396721984 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665320.8405373, 'wait_for_prev_duration_secs': 5.9604644775390625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665320.8425808, 'checkpointer_blocking_duration_secs': 1.0025408267974854, 'get_old_steps_start_time': 1776665321.8451452, 'get_old_steps_duration_secs': 3.1948089599609375e-05, 'checkpoint_manager_blocking_start_time': 1776665320.8375306, 'checkpoint_manager_blocking_duration_secs': 1.0194108486175537}
I0420 06:08:41.857108 132708396721984 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0420 06:08:41.857162 132708396721984 max_utils.py:750] 
Memstats: After params initialized:
I0420 06:08:41.857209 132708396721984 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_8(process=2,(0,2,0,0))
I0420 06:08:41.857241 132708396721984 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_9(process=2,(1,2,0,0))
I0420 06:08:41.857267 132708396721984 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_12(process=2,(0,3,0,0))
I0420 06:08:41.857291 132708396721984 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_13(process=2,(1,3,0,0))
I0420 06:08:42.173907 132708396721984 metric_logger.py:196] completed step: 0, seconds: 4.082, TFLOP/s/device: 0.196, Tokens/s/device: 31.361, total_weights: 4096, loss: 10.889, lm_loss: 10.889, perplexity: 53560.699
I0420 06:08:42.265519 132708396721984 metric_logger.py:196] completed step: 1, seconds: 1.944, TFLOP/s/device: 0.412, Tokens/s/device: 65.857, total_weights: 4096, loss: 10.902, lm_loss: 10.902, perplexity: 54298.523
I0420 06:08:42.671440 132708396721984 metric_logger.py:196] completed step: 2, seconds: 0.021, TFLOP/s/device: 38.132, Tokens/s/device: 6094.367, total_weights: 4096, loss: 9.956, lm_loss: 9.956, perplexity: 21082.051
I0420 06:08:42.743266 132708396721984 metric_logger.py:196] completed step: 3, seconds: 0.407, TFLOP/s/device: 1.970, Tokens/s/device: 314.783, total_weights: 4096, loss: 9.139, lm_loss: 9.139, perplexity: 9314.691
I0420 06:08:42.887635 132708396721984 metric_logger.py:196] completed step: 4, seconds: 0.076, TFLOP/s/device: 10.524, Tokens/s/device: 1682.042, total_weights: 4096, loss: 8.459, lm_loss: 8.459, perplexity: 4715.493
I0420 06:08:42.893641 132708396721984 metric_logger.py:196] completed step: 5, seconds: 0.072, TFLOP/s/device: 11.201, Tokens/s/device: 1790.135, total_weights: 4096, loss: 7.924, lm_loss: 7.924, perplexity: 2762.373
I0420 06:08:45.779687    2852 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 06:08:48.388337 132578721478400 array_metadata_store.py:203] [process=2][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_03_dropout/checkpoints/0/items/array_metadatas/process_2
I0420 06:08:52.687745 132708396721984 metric_logger.py:196] completed step: 6, seconds: 0.145, TFLOP/s/device: 5.524, Tokens/s/device: 882.862, total_weights: 4096, loss: 7.553, lm_loss: 7.553, perplexity: 1906.617
I0420 06:08:52.758408 132708396721984 metric_logger.py:196] completed step: 7, seconds: 9.725, TFLOP/s/device: 0.082, Tokens/s/device: 13.162, total_weights: 4096, loss: 7.267, lm_loss: 7.267, perplexity: 1431.653
I0420 06:08:52.829071 132708396721984 metric_logger.py:196] completed step: 8, seconds: 0.075, TFLOP/s/device: 10.685, Tokens/s/device: 1707.805, total_weights: 4096, loss: 7.111, lm_loss: 7.111, perplexity: 1225.983
I0420 06:08:52.899036 132708396721984 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0420 06:08:52.899688 132708396721984 checkpointing.py:776] Waited 0.0006897449493408203 seconds for step 9 to finish before starting checkpointing.
I0420 06:08:52.901739 132708396721984 checkpoint_manager.py:2020] [process=2][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:09:15.963989 132579785168640 base_pytree_checkpoint_handler.py:130] [process=2] /jax/orbax/write/gbytes_per_sec: 45.910 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 34.406221866607666 s) (per-host)
I0420 06:09:15.964116 132579785168640 async_checkpointer.py:90] [process=2][thread=async_save] 3 Handler Commit operations completed. Time taken: 34.119034s.
I0420 06:09:23.718404 132579785168640 async_checkpointer.py:160] [process=2][thread=async_save] Background save thread done. Time taken: 41.873305s.
I0420 06:09:23.718705 132578673669888 async_checkpointer.py:288] [process=2][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:09:23.718827 132578673669888 async_checkpointer.py:298] [process=2][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:09:23.718876 132578673669888 checkpoint_manager.py:2137] [process=2][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:09:23.720355 132578673669888 checkpoint_manager.py:2146] [process=2][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 06:09:23.720535 132708396721984 checkpoint_manager.py:2032] [process=2][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 06:09:23.720674 132708396721984 checkpoint_manager.py:1452] Waiting for previous save to complete took 30.818937 seconds. If this number is high, consider checkpointing less frequently.
I0420 06:09:23.722307 132708396721984 checkpoint_manager.py:1512] [process=2] Saving checkpoint at step 9
I0420 06:09:23.724368 132708396721984 event_tracking.py:70] [process=2] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_03_dropout/checkpoints/9.
I0420 06:09:24.428623 132708396721984 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:09:24.428717 132708396721984 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:09:24.468863 132708396721984 base_pytree_checkpoint_handler.py:154] [process=2][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.041515s
I0420 06:09:24.469002 132708396721984 base_pytree_checkpoint_handler.py:130] [process=2] /jax/orbax/write/blocking_gbytes_per_sec: 34.368 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04488372802734375 s) (per-host)
I0420 06:09:24.469067 132708396721984 base_pytree_checkpoint_handler.py:768] [process=2][thread=MainThread] Initiated Pytree async_save. Time taken: 0.044957s (batch_requests_ready=0.001728s, total_serialization_initiated=0.043151s, others=0.000079s)
I0420 06:09:24.469148 132708396721984 composite_checkpoint_handler.py:715] [process=2][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.049599s (all_items=0.000033s, per_item={'items': '0.00003338'}, temp_paths=0.049566)
I0420 06:09:24.469837 132708396721984 event_tracking.py:125] [process=2] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_03_dropout/checkpoints/9.
I0420 06:09:24.470126 132578673669888 async_checkpointer.py:76] [process=2][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:29:24.470094
I0420 06:09:24.473672 132708396721984 checkpoint_manager.py:1560] [process=2][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:09:24.473893 132578721478400 async_checkpointer.py:280] [process=2][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:09:24.474042 132708396721984 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665332.9017081, 'wait_for_prev_duration_secs': 30.818936824798584, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665363.7223446, 'checkpointer_blocking_duration_secs': 0.747920036315918, 'get_old_steps_start_time': 1776665364.4702892, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1776665332.8999114, 'checkpoint_manager_blocking_duration_secs': 31.574082612991333}
I0420 06:09:24.474161 132708396721984 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0420 06:09:24.474205 132708396721984 checkpoint_manager.py:2020] [process=2][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:09:30.352488 132574912833280 array_metadata_store.py:203] [process=2][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_03_dropout/checkpoints/9/items/array_metadatas/process_2
I0420 06:10:05.625214 132578673669888 base_pytree_checkpoint_handler.py:130] [process=2] /jax/orbax/write/gbytes_per_sec: 38.339 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.20104622840881 s) (per-host)
I0420 06:10:05.625337 132578673669888 async_checkpointer.py:90] [process=2][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.155102s.
I0420 06:10:14.011339 132578673669888 async_checkpointer.py:160] [process=2][thread=async_save] Background save thread done. Time taken: 49.541089s.
I0420 06:10:14.011612 132578721478400 async_checkpointer.py:288] [process=2][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:10:14.011727 132578721478400 async_checkpointer.py:298] [process=2][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:10:14.011772 132578721478400 checkpoint_manager.py:2137] [process=2][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:10:14.014469 132578721478400 checkpoint_manager.py:2146] [process=2][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 06:10:14.014635 132708396721984 checkpoint_manager.py:2032] [process=2][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 06:10:14.014801 132708396721984 checkpoint_manager.py:2009] [process=2][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:10:14.015815 132708396721984 metric_logger.py:196] completed step: 9, seconds: 0.071, TFLOP/s/device: 11.358, Tokens/s/device: 1815.242, total_weights: 4096, loss: 6.981, lm_loss: 6.981, perplexity: 1075.867
Per train step:
 Total TFLOPs: 0.80 
 split as 99.60% learnable weight flops and 0.40% attention flops
XPK End: Mon Apr 20 06:10:22 UTC 2026
EXIT_CODE=0
XPK Start: Mon Apr 20 15:45:59 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 15:46:23.312884: 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 15:46:23.491620 133163548481344 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 15:46:32.541666 133163548481344 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 15:46:32.544064 133163548481344 distributed.py:172] Connecting to JAX distributed service on mt-03-dropout-ap4rk-slice-job-0-0.mt-03-dropout-ap4rk:8482
I0420 15:46:33.402041 133163548481344 max_utils.py:284] Jax distributed system initialized!
I0420 15:46:39.485764 133163548481344 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 15:46:39.485862 133163548481344 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 15:46:39.485904 133163548481344 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 15:46:39.485937 133163548481344 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 15:46:40.529130 133163548481344 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 15:46:40.529703 133163548481344 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 15:46:40.529890 133163548481344 checkpointing.py:688] Setting up checkpoint logger...
I0420 15:46:40.529941 133163548481344 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 15:46:40.529986 133163548481344 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 15:46:40.530333 133163548481344 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 0x791bd653c5c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 15:46:43.271966 133163548481344 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0420 15:46:43.272212 133163548481344 checkpoint_manager.py:708] [process=0][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x791aca8cc170>}, handler_registry=None
I0420 15:46:43.272456 133163548481344 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x791aca8cc170>` 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 15:46:43.272510 133163548481344 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x791aca877380>` 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 15:46:43.272545 133163548481344 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 0x791aca8cc170>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x791aca8cc170>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x791aca877380>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x791aca877380>}).
I0420 15:46:43.272866 133163548481344 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 15:46:43.272936 133163548481344 async_checkpointer.py:192] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x79079c55ec00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 15:46:44.283459 133163548481344 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints
I0420 15:46:44.341627 133163548481344 checkpoint_manager.py:929] [process=0][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x791aca876ea0>
I0420 15:46:44.341780 133163548481344 checkpointing.py:302] Checkpoint manager created!
I0420 15:46:44.676099 133163548481344 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 15:46:44.676202 133163548481344 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0420 15:46:45.053217 133163548481344 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 15:46:45.053304 133163548481344 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0420 15:46:45.069633 133163548481344 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 15:46:45.069692 133163548481344 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0420 15:46:45.093556 133163548481344 attentions.py:1154] attentions/query Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 15:46:45.093623 133163548481344 attentions.py:1154] attentions/query Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0420 15:46:45.109983 133163548481344 attentions.py:1155] attentions/key Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 15:46:45.110041 133163548481344 attentions.py:1155] attentions/key Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0420 15:46:45.126413 133163548481344 attentions.py:1156] attentions/value Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 15:46:45.126472 133163548481344 attentions.py:1156] attentions/value Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0420 15:46:45.152200 133163548481344 attentions.py:1197] attentions/out Logical: bfloat16[32,128,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 15:46:45.152268 133163548481344 attentions.py:1197] attentions/out Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0420 15:46:45.178292 133163548481344 linears.py:525] linears/x Logical: bfloat16[32,128,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 15:46:45.178359 133163548481344 linears.py:525] linears/x Physical: bfloat16[32,128,7168]....................................... ('fsdp', None, None).
I0420 15:46:45.401612 133163548481344 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 15:46:45.401715 133163548481344 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 15:46:46.837246 133163548481344 maxtext_utils.py:1827]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 15:46:46.837367 133163548481344 maxtext_utils.py:1827]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 15:46:46.837419 133163548481344 maxtext_utils.py:1827]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 15:46:46.837478 133163548481344 maxtext_utils.py:1827]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0420 15:46:46.837531 133163548481344 maxtext_utils.py:1827]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 15:46:46.837569 133163548481344 maxtext_utils.py:1827]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 15:46:46.837634 133163548481344 maxtext_utils.py:1827]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0420 15:46:46.837687 133163548481344 maxtext_utils.py:1827]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0420 15:46:46.837728 133163548481344 maxtext_utils.py:1827]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0420 15:46:46.837763 133163548481344 maxtext_utils.py:1827]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0420 15:46:46.837809 133163548481344 maxtext_utils.py:1827]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0420 15:46:46.837856 133163548481344 maxtext_utils.py:1827]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0420 15:46:47.359298 133163548481344 train.py:157] train/xent Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0420 15:46:47.359390 133163548481344 train.py:157] train/xent Physical: float32[32,128]............................................. ('fsdp', None).
I0420 15:46:47.374701 133163548481344 train.py:164] train/z_loss Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0420 15:46:47.374760 133163548481344 train.py:164] train/z_loss Physical: float32[32,128]............................................. ('fsdp', None).
I0420 15:46:50.904890 133163548481344 max_utils.py:791] Total memory size: 0.8 GB, Output size: 0.4 GB, Temp size: 0.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0420 15:46:50.914387 133163548481344 metric_logger.py:301] number parameters: 1.104 billion
I0420 15:46:55.267382 133163548481344 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0420 15:46:55.340142 133163548481344 checkpointing.py:798] Waited 0.07272481918334961 seconds for step 0 to finish before starting checkpointing.
I0420 15:46:55.342643 133163548481344 checkpoint_manager.py:2009] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 15:46:55.344506 133163548481344 checkpoint_manager.py:1512] [process=0] Saving checkpoint at step 0
I0420 15:46:55.346000 133163548481344 event_tracking.py:70] [process=0] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0.
I0420 15:46:56.072948 133163548481344 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 15:46:56.086939 133163548481344 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 15:46:56.087003 133163548481344 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 15:46:56.354041 133034783266560 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0
I0420 15:46:56.368358 133163548481344 base_pytree_checkpoint_handler.py:154] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.282184s
I0420 15:46:56.369219 133163548481344 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/blocking_gbytes_per_sec: 5.348 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2884385585784912 s) (per-host)
I0420 15:46:56.369295 133163548481344 base_pytree_checkpoint_handler.py:768] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.288536s (batch_requests_ready=0.002053s, total_serialization_initiated=0.285723s, others=0.000760s)
I0420 15:46:56.369389 133163548481344 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.292530s (all_items=0.000016s, per_item={'items': '0.00001645'}, temp_paths=0.292514)
I0420 15:46:56.370151 133163548481344 event_tracking.py:125] [process=0] [async] Finished blocking save in 1.03 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0.
I0420 15:46:56.370582 133034791659264 async_checkpointer.py:76] [process=0][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 16:06:56.370544
I0420 15:46:56.376105 133163548481344 checkpoint_manager.py:1560] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 15:46:56.376347 133033671767808 async_checkpointer.py:280] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0420 15:46:56.376496 133163548481344 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776700015.3426175, 'wait_for_prev_duration_secs': 9.918212890625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776700015.3445625, 'checkpointer_blocking_duration_secs': 1.0261776447296143, 'get_old_steps_start_time': 1776700016.3707643, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1776700015.340634, 'checkpoint_manager_blocking_duration_secs': 1.0358259677886963}
I0420 15:46:56.376596 133163548481344 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0420 15:46:56.376651 133163548481344 max_utils.py:750] 
Memstats: After params initialized:
I0420 15:46:56.376693 133163548481344 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_0(process=0,(0,0,0,0))
I0420 15:46:56.376728 133163548481344 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_1(process=0,(1,0,0,0))
I0420 15:46:56.376755 133163548481344 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_4(process=0,(0,1,0,0))
I0420 15:46:56.376778 133163548481344 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_5(process=0,(1,1,0,0))
I0420 15:46:56.734836 133163548481344 metric_logger.py:196] completed step: 0, seconds: 4.158, TFLOP/s/device: 0.193, Tokens/s/device: 30.783, total_weights: 4096, loss: 10.889, lm_loss: 10.889, perplexity: 53560.699
I0420 15:46:56.738034 133163548481344 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/tensorboard/'
I0420 15:46:57.131330 133163548481344 metric_logger.py:196] completed step: 1, seconds: 1.466, TFLOP/s/device: 0.546, Tokens/s/device: 87.337, total_weights: 4096, loss: 10.902, lm_loss: 10.902, perplexity: 54298.523
I0420 15:46:57.199981 133163548481344 metric_logger.py:196] completed step: 2, seconds: 0.397, TFLOP/s/device: 2.017, Tokens/s/device: 322.347, total_weights: 4096, loss: 9.956, lm_loss: 9.956, perplexity: 21082.051
I0420 15:46:57.270746 133163548481344 metric_logger.py:196] completed step: 3, seconds: 0.009, TFLOP/s/device: 84.929, Tokens/s/device: 13573.701, total_weights: 4096, loss: 9.139, lm_loss: 9.139, perplexity: 9314.691
I0420 15:46:58.437281 133034766481152 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0/items
I0420 15:46:58.580158 133033140549376 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776700018152551691, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776700018152551691, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0/_CHECKPOINT_METADATA
I0420 15:47:00.046159    2805 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 15:47:01.942634 133033726310144 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0/items/array_metadatas/process_0
I0420 15:47:07.207506 133163548481344 metric_logger.py:196] completed step: 4, seconds: 0.069, TFLOP/s/device: 11.552, Tokens/s/device: 1846.323, total_weights: 4096, loss: 8.459, lm_loss: 8.459, perplexity: 4715.493
I0420 15:47:07.216328 133163548481344 metric_logger.py:196] completed step: 5, seconds: 0.071, TFLOP/s/device: 11.339, Tokens/s/device: 1812.287, total_weights: 4096, loss: 7.924, lm_loss: 7.924, perplexity: 2762.373
I0420 15:47:07.285071 133163548481344 metric_logger.py:196] completed step: 6, seconds: 9.936, TFLOP/s/device: 0.081, Tokens/s/device: 12.883, total_weights: 4096, loss: 7.553, lm_loss: 7.553, perplexity: 1906.617
I0420 15:47:07.355988 133163548481344 metric_logger.py:196] completed step: 7, seconds: 0.007, TFLOP/s/device: 118.613, Tokens/s/device: 18957.346, total_weights: 4096, loss: 7.267, lm_loss: 7.267, perplexity: 1431.653
I0420 15:47:07.426684 133163548481344 metric_logger.py:196] completed step: 8, seconds: 0.070, TFLOP/s/device: 11.474, Tokens/s/device: 1833.863, total_weights: 4096, loss: 7.111, lm_loss: 7.111, perplexity: 1225.983
I0420 15:47:07.496531 133163548481344 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0420 15:47:07.497189 133163548481344 checkpointing.py:798] Waited 0.0006725788116455078 seconds for step 9 to finish before starting checkpointing.
I0420 15:47:07.499288 133163548481344 checkpoint_manager.py:2020] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 15:47:32.677983 133033717917440 base_pytree_checkpoint_handler.py:1282] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 32.632629s (commit=31.323934s, array_metadata_write=1.308695s)
I0420 15:47:32.679167 133034791659264 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/gbytes_per_sec: 43.160 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.598363399505615 s) (per-host)
I0420 15:47:32.679291 133034791659264 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.308585s.
I0420 15:47:33.455655 133034791659264 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776700018152551691, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0/_CHECKPOINT_METADATA
I0420 15:47:34.281446 133034791659264 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000228s.
I0420 15:47:34.282020 133033140549376 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776700018152551691, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0/_CHECKPOINT_METADATA
I0420 15:47:35.082060 133034791659264 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389).
I0420 15:47:36.020860 133034791659264 base_pytree_checkpoint_handler.py:1406] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 2.408866s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0/items
I0420 15:47:36.022593 133034791659264 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0/items
I0420 15:47:36.605844 133034791659264 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0
I0420 15:47:38.106370 133034791659264 atomicity.py:847] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0`.
I0420 15:47:38.107032 133034791659264 event_tracking.py:138] [process=0] [async] Finished save (blocking + background) in 42.76 seconds @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/0
I0420 15:47:38.108425 133034791659264 async_checkpointer.py:160] [process=0][thread=async_save] Background save thread done. Time taken: 41.737716s.
I0420 15:47:38.108545 133033671767808 async_checkpointer.py:288] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 15:47:38.108608 133033671767808 async_checkpointer.py:298] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0420 15:47:38.108664 133033671767808 checkpoint_manager.py:2137] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 15:47:38.111232 133033671767808 checkpoint_manager.py:2146] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 15:47:38.111410 133163548481344 checkpoint_manager.py:2032] [process=0][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 15:47:38.111562 133163548481344 checkpoint_manager.py:1452] Waiting for previous save to complete took 30.612267 seconds. If this number is high, consider checkpointing less frequently.
I0420 15:47:38.113371 133163548481344 checkpoint_manager.py:1512] [process=0] Saving checkpoint at step 9
I0420 15:47:38.115445 133163548481344 event_tracking.py:70] [process=0] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9.
I0420 15:47:38.431789 133163548481344 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 15:47:38.431881 133163548481344 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 15:47:38.465812 133163548481344 base_pytree_checkpoint_handler.py:154] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034682s
I0420 15:47:38.466586 133163548481344 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/blocking_gbytes_per_sec: 38.927 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.0396270751953125 s) (per-host)
I0420 15:47:38.466655 133163548481344 base_pytree_checkpoint_handler.py:768] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039712s (batch_requests_ready=0.002141s, total_serialization_initiated=0.036880s, others=0.000691s)
I0420 15:47:38.466746 133163548481344 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043556s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.043539)
I0420 15:47:38.467558 133163548481344 event_tracking.py:125] [process=0] [async] Finished blocking save in 0.35 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9.
I0420 15:47:38.467859 133033671767808 async_checkpointer.py:76] [process=0][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 16:07:38.467828
I0420 15:47:38.469926 133163548481344 checkpoint_manager.py:1560] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 15:47:38.470241 133032644175616 async_checkpointer.py:280] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0420 15:47:38.470408 133163548481344 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776700027.499257, 'wait_for_prev_duration_secs': 30.612266778945923, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776700058.1134124, 'checkpointer_blocking_duration_secs': 0.3545815944671631, 'get_old_steps_start_time': 1776700058.4680185, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1776700027.4974291, 'checkpoint_manager_blocking_duration_secs': 30.972946643829346}
I0420 15:47:38.470515 133163548481344 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0420 15:47:38.470562 133163548481344 checkpoint_manager.py:2020] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 15:47:38.699846 133034791659264 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9
I0420 15:47:41.028773 133034263181056 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9/items
I0420 15:47:44.300832 133033181046528 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9/items/array_metadatas/process_0
I0420 15:48:23.102199 133032652568320 base_pytree_checkpoint_handler.py:1282] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 40.886641s (commit=39.649774s, array_metadata_write=1.236868s)
I0420 15:48:23.103296 133033671767808 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/gbytes_per_sec: 35.356 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 44.67630457878113 s) (per-host)
I0420 15:48:23.103423 133033671767808 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 44.635452s.
I0420 15:48:24.635147 133033671767808 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000271s.
I0420 15:48:24.810296 133033671767808 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389).
I0420 15:48:25.935032 133033671767808 base_pytree_checkpoint_handler.py:1406] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 1.953356s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9/items
I0420 15:48:25.936759 133033671767808 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9/items
I0420 15:48:26.506428 133033671767808 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9
I0420 15:48:28.004342 133033671767808 atomicity.py:847] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9`.
I0420 15:48:28.005180 133033671767808 event_tracking.py:138] [process=0] [async] Finished save (blocking + background) in 49.89 seconds @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_03_dropout/checkpoints/9
I0420 15:48:28.006367 133033671767808 async_checkpointer.py:160] [process=0][thread=async_save] Background save thread done. Time taken: 49.538393s.
I0420 15:48:28.006567 133032644175616 async_checkpointer.py:288] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 15:48:28.006687 133032644175616 async_checkpointer.py:298] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0420 15:48:28.006752 133032644175616 checkpoint_manager.py:2137] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 15:48:28.008775 133032644175616 checkpoint_manager.py:2146] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 15:48:28.008980 133163548481344 checkpoint_manager.py:2032] [process=0][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 15:48:28.009145 133163548481344 checkpoint_manager.py:2009] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 15:48:28.010139 133163548481344 metric_logger.py:196] completed step: 9, seconds: 0.071, TFLOP/s/device: 11.345, Tokens/s/device: 1813.160, total_weights: 4096, loss: 6.981, lm_loss: 6.981, perplexity: 1075.867
Per train step:
 Total TFLOPs: 0.80 
 split as 99.60% learnable weight flops and 0.40% attention flops
XPK End: Mon Apr 20 15:48:40 UTC 2026
EXIT_CODE=0