MaxView

‹ 01_baseCase: 02_synthetic03_dropout ›

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/s91.73592.201+0.466
Tok/s13827.313897.6+70.279
Avg s/step2.6972.423-0.274
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:04:23 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:05:03.169743: 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:05:03.705629 134537364629312 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 06:05:12.747409 134537364629312 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 06:05:12.749641 134537364629312 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-2y2f8-slice-job-0-0.mt-02-synthetic-2y2f8:8482
I0420 06:05:19.953547 134537364629312 max_utils.py:284] Jax distributed system initialized!
I0420 06:05:26.425812 134537364629312 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 06:05:26.425916 134537364629312 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 06:05:26.425956 134537364629312 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:05:26.425998 134537364629312 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 06:05:27.123493 134537364629312 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 06:05:27.123769 134537364629312 checkpointing.py:677] Setting up checkpoint logger...
I0420 06:05:27.123822 134537364629312 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 06:05:27.123873 134537364629312 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 06:05:27.124198 134537364629312 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 0x7a5bcd514050>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 06:05:30.189278 134537364629312 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0420 06:05:30.189555 134537364629312 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a4774447890>}, handler_registry=None
I0420 06:05:30.189790 134537364629312 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a4774447890>` 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:05:30.189842 134537364629312 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a4774449520>` 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:05:30.189878 134537364629312 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 0x7a4774447890>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a4774447890>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a4774449520>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a4774449520>}).
I0420 06:05:30.190189 134537364629312 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 06:05:30.190259 134537364629312 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a474c7d3880> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 06:05:31.867599 134537364629312 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints
I0420 06:05:32.721962 134537364629312 checkpoint_manager.py:929] [process=3][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a4774445160>
I0420 06:05:32.722133 134537364629312 checkpointing.py:301] Checkpoint manager created!
I0420 06:05:33.647060 134537364629312 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 06:05:33.647170 134537364629312 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:05:34.025807 134537364629312 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:05:34.025899 134537364629312 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:05:34.042320 134537364629312 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:05:34.042382 134537364629312 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:05:34.065995 134537364629312 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:05:34.066061 134537364629312 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:05:34.082418 134537364629312 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:05:34.082478 134537364629312 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:05:34.098690 134537364629312 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:05:34.098749 134537364629312 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:05:34.124208 134537364629312 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 06:05:34.124280 134537364629312 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:05:34.145139 134537364629312 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 06:05:34.145202 134537364629312 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 06:05:34.358899 134537364629312 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 06:05:34.359006 134537364629312 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 06:05:35.770669 134537364629312 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 06:05:35.770787 134537364629312 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:05:35.770846 134537364629312 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:05:35.770904 134537364629312 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:05:35.770958 134537364629312 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:05:35.770997 134537364629312 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:05:35.771049 134537364629312 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:05:35.771100 134537364629312 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:05:35.771140 134537364629312 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:05:35.771177 134537364629312 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:05:35.771223 134537364629312 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0420 06:05:35.771270 134537364629312 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]

    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0420 06:05:36.256777 134537364629312 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:05:36.256868 134537364629312 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:05:36.272108 134537364629312 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:05:36.272166 134537364629312 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:05:47.315834 134537364629312 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:05:47.316628 134537364629312 metric_logger.py:301] number parameters: 1.104 billion
I0420 06:05:58.597790 134537364629312 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0420 06:05:58.750764 134537364629312 checkpointing.py:776] Waited 0.15296649932861328 seconds for step 0 to finish before starting checkpointing.
I0420 06:05:58.753222 134537364629312 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:05:58.754627 134537364629312 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0420 06:05:58.756154 134537364629312 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/0.
I0420 06:05:59.495821 134537364629312 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 06:05:59.496773 134537364629312 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:05:59.496833 134537364629312 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:05:59.778315 134537364629312 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.282556s
I0420 06:05:59.778496 134537364629312 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.357 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2879605293273926 s) (per-host)
I0420 06:05:59.778549 134537364629312 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.288026s (batch_requests_ready=0.002177s, total_serialization_initiated=0.285775s, others=0.000074s)
I0420 06:05:59.778637 134537364629312 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.292061s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.292043)
I0420 06:05:59.779476 134537364629312 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.02 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/0.
I0420 06:05:59.779807 134408015165184 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:25:59.779768
I0420 06:05:59.782449 134537364629312 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:05:59.782698 134401551742720 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:05:59.782817 134537364629312 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665158.7532036, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665158.7546682, 'checkpointer_blocking_duration_secs': 1.025301456451416, 'get_old_steps_start_time': 1776665159.7799947, 'get_old_steps_duration_secs': 3.170967102050781e-05, 'checkpoint_manager_blocking_start_time': 1776665158.751357, 'checkpoint_manager_blocking_duration_secs': 1.0314197540283203}
I0420 06:05:59.782932 134537364629312 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0420 06:05:59.782985 134537364629312 max_utils.py:750] 
Memstats: After params initialized:
I0420 06:05:59.783034 134537364629312 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0420 06:05:59.783066 134537364629312 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0420 06:05:59.783091 134537364629312 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0420 06:05:59.783114 134537364629312 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0420 06:06:00.093813 134537364629312 metric_logger.py:196] completed step: 0, seconds: 11.281, TFLOP/s/device: 1.204, Tokens/s/device: 181.543, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:06:00.272749 134537364629312 metric_logger.py:196] completed step: 1, seconds: 1.495, TFLOP/s/device: 9.091, Tokens/s/device: 1370.334, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:06:00.690477 134537364629312 metric_logger.py:196] completed step: 2, seconds: 0.032, TFLOP/s/device: 427.255, Tokens/s/device: 64400.491, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0420 06:06:00.837826 134537364629312 metric_logger.py:196] completed step: 3, seconds: 0.418, TFLOP/s/device: 32.490, Tokens/s/device: 4897.295, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0420 06:06:01.132997 134537364629312 metric_logger.py:196] completed step: 4, seconds: 0.152, TFLOP/s/device: 89.114, Tokens/s/device: 13432.239, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0420 06:06:01.138906 134537364629312 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.154, Tokens/s/device: 13890.490, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0420 06:06:03.490737    2869 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 06:06:05.563695 134405335017216 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/0/items/array_metadatas/process_3
I0420 06:06:22.718634 134537364629312 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.952, Tokens/s/device: 6926.313, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0420 06:06:22.865889 134537364629312 metric_logger.py:196] completed step: 7, seconds: 21.433, TFLOP/s/device: 0.634, Tokens/s/device: 95.553, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0420 06:06:23.013392 134537364629312 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.364, Tokens/s/device: 13469.962, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0420 06:06:23.159990 134537364629312 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0420 06:06:23.160644 134537364629312 checkpointing.py:776] Waited 0.0006763935089111328 seconds for step 9 to finish before starting checkpointing.
I0420 06:06:23.162776 134537364629312 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:06:37.396360 134408015165184 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 41.672 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.90577483177185 s) (per-host)
I0420 06:06:37.396485 134408015165184 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.616556s.
I0420 06:06:47.372949 134408015165184 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 47.593003s.
I0420 06:06:47.373171 134401551742720 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:06:47.373242 134401551742720 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:06:47.373292 134401551742720 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:06:47.375020 134401551742720 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 06:06:47.375234 134537364629312 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 06:06:47.375392 134537364629312 checkpoint_manager.py:1452] Waiting for previous save to complete took 24.212615 seconds. If this number is high, consider checkpointing less frequently.
I0420 06:06:47.377159 134537364629312 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9
I0420 06:06:47.379285 134537364629312 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/9.
I0420 06:06:48.073672 134537364629312 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:06:48.073765 134537364629312 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:06:48.109095 134537364629312 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.036632s
I0420 06:06:48.109268 134537364629312 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 38.559 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04000568389892578 s) (per-host)
I0420 06:06:48.109331 134537364629312 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040078s (batch_requests_ready=0.001720s, total_serialization_initiated=0.038276s, others=0.000082s)
I0420 06:06:48.109419 134537364629312 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044291s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.044276)
I0420 06:06:48.110059 134537364629312 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.73 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/9.
I0420 06:06:48.110407 134405335017216 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:26:48.110371
I0420 06:06:48.115522 134537364629312 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:06:48.115802 134401551742720 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:06:48.115960 134537364629312 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665183.1627462, 'wait_for_prev_duration_secs': 24.21261477470398, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665207.3771987, 'checkpointer_blocking_duration_secs': 0.7333498001098633, 'get_old_steps_start_time': 1776665208.110569, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1776665183.1608818, 'checkpoint_manager_blocking_duration_secs': 24.955042362213135}
I0420 06:06:48.116071 134537364629312 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0420 06:06:48.116117 134537364629312 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:06:54.069175 134408015165184 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_02_synthetic/checkpoints/9/items/array_metadatas/process_3
I0420 06:07:29.778391 134405335017216 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.872 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.7090950012207 s) (per-host)
I0420 06:07:29.778497 134405335017216 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.667977s.
I0420 06:07:40.600686 134405335017216 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 52.490149s.
I0420 06:07:40.600949 134401551742720 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:07:40.601093 134401551742720 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:07:40.601161 134401551742720 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:07:40.603692 134401551742720 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 06:07:40.603893 134537364629312 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 06:07:40.604041 134537364629312 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:07:40.605084 134537364629312 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.735, Tokens/s/device: 13827.281, 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:07:48 UTC 2026
EXIT_CODE=0
XPK Start: Mon Apr 20 19:15:08 UTC 2026
2026-04-20 19:15:12.260336: 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:1776712512.273245      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:1776712512.277090      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:1776712512.288363      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776712512.288380      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776712512.288383      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776712512.288385      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-20 19:15:31.485662: 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 19:15:32.012526 135861667362624 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-20 19:15:41,053:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0420 19:15:41.053012 135861667362624 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-20 19:15:41,055:jax._src.distributed:157: Connecting to JAX distributed service on mt-02-synthetic-cxcmq-slice-job-0-0.mt-02-synthetic-cxcmq:8482
I0420 19:15:41.055556 135861667362624 distributed.py:157] Connecting to JAX distributed service on mt-02-synthetic-cxcmq-slice-job-0-0.mt-02-synthetic-cxcmq:8482
I0420 19:15:41.989252 135861667362624 max_utils.py:284] Jax distributed system initialized!
I0420 19:15:48.126265 135861667362624 max_utils.py:800] System Information: Jax Version: 0.8.1
I0420 19:15:48.126367 135861667362624 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0420 19:15:48.126408 135861667362624 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 19:15:48.126452 135861667362624 train_utils.py:377] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 19:15:48.741401 135861667362624 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 19:15:48.741993 135861667362624 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 19:15:48.742184 135861667362624 checkpointing.py:688] Setting up checkpoint logger...
I0420 19:15:48.742236 135861667362624 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 19:15:48.742281 135861667362624 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0420 19:15:48.742621 135861667362624 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 0x7b90417b7980>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 19:15:51.695160 135861667362624 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0420 19:15:51.695505 135861667362624 checkpoint_manager.py:709] [process=0][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b7e20471040>}, handler_registry=None
I0420 19:15:51.695744 135861667362624 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b7e20471040>` 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 19:15:51.695794 135861667362624 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b7e20475e50>` 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 19:15:51.695830 135861667362624 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 0x7b7e20471040>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b7e20471040>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b7e20475e50>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b7e20475e50>}).
I0420 19:15:51.696345 135861667362624 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0420 19:15:51.696425 135861667362624 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b7c904e4180> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0420 19:15:52.821359 135861667362624 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_02_synthetic/checkpoints
I0420 19:15:53.259690 135861667362624 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_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b7e20470470>
I0420 19:15:53.259869 135861667362624 checkpointing.py:302] Checkpoint manager created!
I0420 19:15:54.131731 135861667362624 nnx_wrappers.py:455] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 19:15:54.131838 135861667362624 nnx_wrappers.py:455] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 19:15:54.501915 135861667362624 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 19:15:54.502007 135861667362624 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 19:15:54.517811 135861667362624 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 19:15:54.517868 135861667362624 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 19:15:54.540463 135861667362624 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 19:15:54.540532 135861667362624 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 19:15:54.556367 135861667362624 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 19:15:54.556429 135861667362624 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 19:15:54.572229 135861667362624 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 19:15:54.572289 135861667362624 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 19:15:54.597323 135861667362624 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 19:15:54.597393 135861667362624 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 19:15:54.616880 135861667362624 linears.py:541] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 19:15:54.616950 135861667362624 linears.py:541] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 19:15:54.806063 135861667362624 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 19:15:54.806180 135861667362624 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 19:15:56.270841 135861667362624 maxtext_utils.py:1740]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0420 19:15:56.270970 135861667362624 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 19:15:56.271025 135861667362624 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 19:15:56.271102 135861667362624 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 19:15:56.271168 135861667362624 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 19:15:56.271209 135861667362624 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 19:15:56.271264 135861667362624 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 19:15:56.271317 135861667362624 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 19:15:56.271359 135861667362624 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 19:15:56.271399 135861667362624 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 19:15:56.271447 135861667362624 maxtext_utils.py:1740]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)

I0420 19:15:56.271494 135861667362624 maxtext_utils.py:1740]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0420 19:15:56.770393 135861667362624 train.py:158] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 19:15:56.770484 135861667362624 train.py:158] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 19:15:56.785313 135861667362624 train.py:165] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 19:15:56.785370 135861667362624 train.py:165] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 19:16:07.326842 135861667362624 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 19:16:07.332804 135861667362624 metric_logger.py:289] number parameters: 1.104 billion
I0420 19:16:18.729779 135861667362624 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0420 19:16:18.882313 135861667362624 checkpointing.py:798] Waited 0.15251517295837402 seconds for step 0 to finish before starting checkpointing.
I0420 19:16:18.884947 135861667362624 checkpoint_manager.py:2013] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 19:16:18.886809 135861667362624 checkpoint_manager.py:1518] [process=0] Saving checkpoint at step 0
I0420 19:16:18.889811 135861667362624 async_checkpointer.py:452] [process=0] 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_02_synthetic/checkpoints/0.
I0420 19:16:19.192071 135861667362624 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 19:16:19.501838 135861667362624 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0420 19:16:19.501932 135861667362624 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 19:16:19.512341 135737534048000 atomicity.py:137] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0
I0420 19:16:19.745672 135861667362624 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.244825s
I0420 19:16:19.746611 135861667362624 base_pytree_checkpoint_handler.py:129] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.829 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5452208518981934 s) (per-host)
I0420 19:16:19.746687 135861667362624 base_pytree_checkpoint_handler.py:737] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.545316s (batch_requests_ready=0.295834s, total_serialization_initiated=0.248623s, others=0.000859s)
I0420 19:16:19.746762 135861667362624 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.549162s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.549144)
I0420 19:16:19.747701 135738056914688 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0420 19:16:19.747864 135861667362624 async_checkpointer.py:561] Finished blocking save. Time taken: 0.860984s. 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_02_synthetic/checkpoints/0.
I0420 19:16:20.146936 135861667362624 checkpoint_manager.py:1566] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 19:16:20.147313 135737525655296 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0420 19:16:20.147481 135861667362624 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_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776712578.884929, 'wait_for_prev_duration_secs': 6.508827209472656e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776712578.8868482, 'checkpointer_blocking_duration_secs': 0.8611218929290771, 'get_old_steps_start_time': 1776712579.7479894, 'get_old_steps_duration_secs': 2.4318695068359375e-05, 'checkpoint_manager_blocking_start_time': 1776712578.8829043, 'checkpoint_manager_blocking_duration_secs': 1.2645363807678223}
I0420 19:16:20.147587 135861667362624 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0420 19:16:20.147639 135861667362624 max_utils.py:750] 
Memstats: After params initialized:
I0420 19:16:20.147694 135861667362624 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_0(process=0,(0,0,0,0))
I0420 19:16:20.147728 135861667362624 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_1(process=0,(1,0,0,0))
I0420 19:16:20.147756 135861667362624 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_4(process=0,(0,1,0,0))
I0420 19:16:20.147780 135861667362624 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_5(process=0,(1,1,0,0))
I0420 19:16:20.439305 135861667362624 metric_logger.py:185] completed step: 0, seconds: 11.052, TFLOP/s/device: 1.229, Tokens/s/device: 185.299, total_weights: 65536, loss: 10.874
I0420 19:16:20.442017 135861667362624 metric_logger.py:269] To see full metrics 'tensorboard --logdir=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/tensorboard/'
I0420 19:16:20.851906 135861667362624 metric_logger.py:185] completed step: 1, seconds: 1.708, TFLOP/s/device: 7.955, Tokens/s/device: 1199.129, total_weights: 65536, loss: 10.874
I0420 19:16:20.998116 135861667362624 metric_logger.py:185] completed step: 2, seconds: 0.413, TFLOP/s/device: 32.868, Tokens/s/device: 4954.267, total_weights: 65536, loss: 10.263
I0420 19:16:21.145579 135861667362624 metric_logger.py:185] completed step: 3, seconds: 0.009, TFLOP/s/device: 1510.688, Tokens/s/device: 227707.360, total_weights: 65536, loss: 9.734
I0420 19:16:40.229999 135738031949568 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776712581110762905, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776712581110762905, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0/_CHECKPOINT_METADATA
I0420 19:16:40.231158 135739664746240 atomicity.py:137] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0/items
I0420 19:16:40.231590 135861667362624 metric_logger.py:185] completed step: 4, seconds: 0.147, TFLOP/s/device: 92.709, Tokens/s/device: 13974.085, total_weights: 65536, loss: 9.278
I0420 19:16:40.239772 135861667362624 metric_logger.py:185] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.146, Tokens/s/device: 13889.266, total_weights: 65536, loss: 8.892
I0420 19:16:40.386106 135861667362624 metric_logger.py:185] completed step: 6, seconds: 19.085, TFLOP/s/device: 0.712, Tokens/s/device: 107.310, total_weights: 65536, loss: 8.592
I0420 19:16:40.533452 135861667362624 metric_logger.py:185] completed step: 7, seconds: 0.006, TFLOP/s/device: 2267.167, Tokens/s/device: 341732.021, total_weights: 65536, loss: 8.384
I0420 19:16:40.680804 135861667362624 metric_logger.py:185] completed step: 8, seconds: 0.148, TFLOP/s/device: 92.065, Tokens/s/device: 13877.031, total_weights: 65536, loss: 8.255
I0420 19:16:40.827856 135861667362624 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0420 19:16:40.828566 135861667362624 checkpointing.py:798] Waited 0.0007302761077880859 seconds for step 9 to finish before starting checkpointing.
I0420 19:16:40.830541 135861667362624 checkpoint_manager.py:2024] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 19:16:41.516419    2592 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 19:16:43.218200 135738073700096 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_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0/items/array_metadatas/process_0
I0420 19:17:18.497225 135738065307392 base_pytree_checkpoint_handler.py:1232] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 36.981545s (commit=35.875933s, array_metadata_write=1.105613s)
I0420 19:17:18.498238 135738056914688 base_pytree_checkpoint_handler.py:129] [process=0] /jax/checkpoint/write/gbytes_per_sec: 26.639 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 59.29681634902954 s) (per-host)
I0420 19:17:18.498357 135738056914688 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 58.750545s.
I0420 19:17:19.713732 135738056914688 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776712581110762905, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0/_CHECKPOINT_METADATA
I0420 19:17:21.342306 135738031949568 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776712581110762905, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0/_CHECKPOINT_METADATA
I0420 19:17:21.568346 135738056914688 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389).
I0420 19:17:21.672617 135738056914688 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000248s.
I0420 19:17:22.373958 135738056914688 base_pytree_checkpoint_handler.py:1356] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 2.086657s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0/items
I0420 19:17:22.375945 135738056914688 atomicity.py:608] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0/items
I0420 19:17:22.840034 135738056914688 atomicity.py:608] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0
I0420 19:17:25.426391 135738056914688 atomicity.py:790] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0`.
I0420 19:17:25.427319 135738056914688 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 66.540458s. directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/0
I0420 19:17:25.428526 135738056914688 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 65.680713s.
I0420 19:17:25.428653 135737525655296 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 19:17:25.428725 135737525655296 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0420 19:17:25.428791 135737525655296 checkpoint_manager.py:2133] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 19:17:25.430969 135737525655296 checkpoint_manager.py:2142] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 19:17:25.431171 135861667362624 checkpoint_manager.py:2036] [process=0][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 19:17:25.431311 135861667362624 checkpoint_manager.py:1458] Waiting for previous save to complete took 44.600775 seconds. If this number is high, consider checkpointing less frequently.
I0420 19:17:25.433361 135861667362624 checkpoint_manager.py:1518] [process=0] Saving checkpoint at step 9
I0420 19:17:25.436925 135861667362624 async_checkpointer.py:452] [process=0] 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_02_synthetic/checkpoints/9.
I0420 19:17:26.814646 135738056914688 atomicity.py:137] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/9
I0420 19:17:26.838353 135861667362624 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0420 19:17:26.838456 135861667362624 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 19:17:26.865704 135861667362624 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.028436s
I0420 19:17:26.866623 135861667362624 base_pytree_checkpoint_handler.py:129] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.280 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.29215383529663086 s) (per-host)
I0420 19:17:26.866705 135861667362624 base_pytree_checkpoint_handler.py:737] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.292253s (batch_requests_ready=0.260701s, total_serialization_initiated=0.030705s, others=0.000847s)
I0420 19:17:26.866787 135861667362624 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.296221s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.296204)
I0420 19:17:26.867690 135736956090112 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0420 19:17:26.867846 135861667362624 async_checkpointer.py:561] Finished blocking save. Time taken: 1.434412s. 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_02_synthetic/checkpoints/9.
I0420 19:17:27.728231 135861667362624 checkpoint_manager.py:1566] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 19:17:27.728591 135737525655296 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0420 19:17:27.728770 135861667362624 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_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776712600.8305085, 'wait_for_prev_duration_secs': 44.60077524185181, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776712645.4334004, 'checkpointer_blocking_duration_secs': 1.43455171585083, 'get_old_steps_start_time': 1776712646.8679783, 'get_old_steps_duration_secs': 2.8133392333984375e-05, 'checkpoint_manager_blocking_start_time': 1776712600.828799, 'checkpoint_manager_blocking_duration_secs': 46.89993453025818}
I0420 19:17:27.728888 135861667362624 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0420 19:17:27.728935 135861667362624 checkpoint_manager.py:2024] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 19:17:28.977768 135738073700096 atomicity.py:137] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/9/items
I0420 19:17:35.458965 135737489504000 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_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/9/items/array_metadatas/process_0
I0420 19:18:13.953367 135736964482816 base_pytree_checkpoint_handler.py:1232] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 42.538029s (commit=41.463476s, array_metadata_write=1.074553s)
I0420 19:18:13.954478 135736956090112 base_pytree_checkpoint_handler.py:129] [process=0] /jax/checkpoint/write/gbytes_per_sec: 33.339 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 47.379976749420166 s) (per-host)
I0420 19:18:13.954598 135736956090112 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 47.086798s.
I0420 19:18:15.713245 135736956090112 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000285s.
I0420 19:18:15.983403 135736956090112 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389).
I0420 19:18:17.065771 135736956090112 base_pytree_checkpoint_handler.py:1356] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 1.942122s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/9/items
I0420 19:18:17.068482 135736956090112 atomicity.py:608] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/9/items
I0420 19:18:17.498046 135736956090112 atomicity.py:608] Finalizing gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/9
I0420 19:18:18.828011 135736956090112 atomicity.py:790] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/9`.
I0420 19:18:18.828854 135736956090112 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 53.395439s. directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260420_190404/linen_xpk_feat_nnx_set_defaults_true_20260420_190404_02_synthetic/checkpoints/9
I0420 19:18:18.830198 135736956090112 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 51.962396s.
I0420 19:18:18.830344 135737525655296 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 19:18:18.830404 135737525655296 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0420 19:18:18.830461 135737525655296 checkpoint_manager.py:2133] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 19:18:18.832368 135737525655296 checkpoint_manager.py:2142] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 19:18:18.832522 135861667362624 checkpoint_manager.py:2036] [process=0][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 19:18:18.832665 135861667362624 checkpoint_manager.py:2013] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 19:18:18.833404 135861667362624 metric_logger.py:185] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.201, Tokens/s/device: 13897.560, 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 19:18:33 UTC 2026
EXIT_CODE=0