MaxView

‹ 01_baseCase: 02_synthetic03_dropout ›

Metrics: main (574ad3fb9) vs feat/Migrate-Decoder-And-Tests-to-NNX (574ad3fb9)

Metricmain  574ad3fb9feat/Migrate-Decoder-And-Tests-to-NNX  574ad3fb9Diff (feat/Migrate-Decoder-And-Tests-to-NNX − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s91.79692.157+0.361
Tok/s13836.413890.9+54.432
Avg s/step3.0812.809-0.272
Memory %1.381.380
JAX0.9.20.8.1

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

main  ·  574ad3fb9  ·  main_20260418_180002  ·  full log
XPK Start: Sat Apr 18 18:05:37 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-18 18:06:01.657639: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0418 18:06:02.191496 139213532985152 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 18:06:11.232153 139213532985152 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 18:06:11.234575 139213532985152 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-1t9y5-slice-job-0-0.mt-02-synthetic-1t9y5:8482
I0418 18:06:12.509524 139213532985152 max_utils.py:284] Jax distributed system initialized!
I0418 18:06:18.514478 139213532985152 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 18:06:18.514583 139213532985152 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 18:06:18.514624 139213532985152 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0418 18:06:18.514659 139213532985152 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 18:06:19.215611 139213532985152 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 18:06:19.215882 139213532985152 checkpointing.py:677] Setting up checkpoint logger...
I0418 18:06:19.215936 139213532985152 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 18:06:19.215980 139213532985152 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 18:06:19.216330 139213532985152 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 0x7e9c75b3c170>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 18:06:23.367615 139213532985152 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 18:06:23.367856 139213532985152 checkpoint_manager.py:708] [process=7][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e9b69fd6630>}, handler_registry=None
I0418 18:06:23.368108 139213532985152 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e9b69fd6630>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0418 18:06:23.368158 139213532985152 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e881448d580>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0418 18:06:23.368190 139213532985152 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 0x7e9b69fd6630>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e9b69fd6630>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e881448d580>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e881448d580>}).
I0418 18:06:23.368507 139213532985152 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 18:06:23.368576 139213532985152 async_checkpointer.py:192] [process=7][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e87307cb880> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0418 18:06:25.040515 139213532985152 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints
I0418 18:06:25.042809 139213532985152 checkpoint_manager.py:929] [process=7][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7e881448ab40>
I0418 18:06:25.042919 139213532985152 checkpointing.py:301] Checkpoint manager created!
I0418 18:06:25.968616 139213532985152 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 18:06:25.968731 139213532985152 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:06:26.349723 139213532985152 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:06:26.349818 139213532985152 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:06:26.366260 139213532985152 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:06:26.366317 139213532985152 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:06:26.390088 139213532985152 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:06:26.390157 139213532985152 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:06:26.406702 139213532985152 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:06:26.406764 139213532985152 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:06:26.423184 139213532985152 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:06:26.423245 139213532985152 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:06:26.448630 139213532985152 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 18:06:26.448699 139213532985152 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:06:26.469554 139213532985152 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 18:06:26.469618 139213532985152 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 18:06:26.684895 139213532985152 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 18:06:26.685003 139213532985152 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0418 18:06:28.112239 139213532985152 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 18:06:28.112364 139213532985152 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 18:06:28.112416 139213532985152 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 18:06:28.112474 139213532985152 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0418 18:06:28.112533 139213532985152 maxtext_utils.py:1654]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 18:06:28.112574 139213532985152 maxtext_utils.py:1654]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 18:06:28.112627 139213532985152 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0418 18:06:28.112680 139213532985152 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0418 18:06:28.112719 139213532985152 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0418 18:06:28.112757 139213532985152 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0418 18:06:28.112804 139213532985152 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0418 18:06:28.112853 139213532985152 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0418 18:06:28.605794 139213532985152 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:06:28.605895 139213532985152 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:06:28.621365 139213532985152 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:06:28.621431 139213532985152 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:06:39.413702 139213532985152 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0418 18:06:39.414582 139213532985152 metric_logger.py:301] number parameters: 1.104 billion
I0418 18:06:50.894916 139213532985152 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0418 18:06:51.047773 139213532985152 checkpointing.py:776] Waited 0.15283632278442383 seconds for step 0 to finish before starting checkpointing.
I0418 18:06:51.050359 139213532985152 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:06:51.052017 139213532985152 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 0
I0418 18:06:51.053503 139213532985152 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints/0.
I0418 18:06:51.815512 139213532985152 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 18:06:51.816776 139213532985152 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:06:51.816832 139213532985152 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0418 18:06:52.093092 139213532985152 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.277638s
I0418 18:06:52.093270 139213532985152 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.450 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2830619812011719 s) (per-host)
I0418 18:06:52.093325 139213532985152 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283127s (batch_requests_ready=0.002185s, total_serialization_initiated=0.280868s, others=0.000074s)
I0418 18:06:52.093415 139213532985152 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.287293s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.287276)
I0418 18:06:52.094237 139213532985152 event_tracking.py:125] [process=7] [async] Finished blocking save in 1.04 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints/0.
I0418 18:06:52.094519 139083852723968 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:26:52.094495
I0418 18:06:52.100398 139213532985152 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:06:52.100628 139082776700672 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:06:52.100745 139213532985152 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776535611.05034, 'wait_for_prev_duration_secs': 6.198883056640625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776535611.0520616, 'checkpointer_blocking_duration_secs': 1.042572259902954, 'get_old_steps_start_time': 1776535612.0946612, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1776535611.048341, 'checkpoint_manager_blocking_duration_secs': 1.0523667335510254}
I0418 18:06:52.100853 139213532985152 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0418 18:06:52.100902 139213532985152 max_utils.py:750] 
Memstats: After params initialized:
I0418 18:06:52.100948 139213532985152 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0418 18:06:52.100981 139213532985152 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0418 18:06:52.101009 139213532985152 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0418 18:06:52.101032 139213532985152 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0418 18:06:52.413053 139213532985152 metric_logger.py:196] completed step: 0, seconds: 11.480, TFLOP/s/device: 1.184, Tokens/s/device: 178.394, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:06:52.599794 139213532985152 metric_logger.py:196] completed step: 1, seconds: 1.517, TFLOP/s/device: 8.959, Tokens/s/device: 1350.353, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:06:53.016669 139213532985152 metric_logger.py:196] completed step: 2, seconds: 0.040, TFLOP/s/device: 341.445, Tokens/s/device: 51466.338, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0418 18:06:53.164270 139213532985152 metric_logger.py:196] completed step: 3, seconds: 0.417, TFLOP/s/device: 32.594, Tokens/s/device: 4912.944, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0418 18:06:53.459233 139213532985152 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.918, Tokens/s/device: 13402.615, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0418 18:06:53.465097 139213532985152 metric_logger.py:196] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.064, Tokens/s/device: 13876.843, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0418 18:06:57.601235    2858 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 18:07:01.081295 139082785093376 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints/0/items/array_metadatas/process_7
I0418 18:07:18.472151 139213532985152 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.973, Tokens/s/device: 6929.547, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0418 18:07:18.619755 139213532985152 metric_logger.py:196] completed step: 7, seconds: 24.860, TFLOP/s/device: 0.547, Tokens/s/device: 82.382, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0418 18:07:18.767367 139213532985152 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.936, Tokens/s/device: 13405.335, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0418 18:07:18.914693 139213532985152 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0418 18:07:18.915394 139213532985152 checkpointing.py:776] Waited 0.0007214546203613281 seconds for step 9 to finish before starting checkpointing.
I0418 18:07:18.917498 139213532985152 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:07:31.226597 139083852723968 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 40.075 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.4163293838501 s) (per-host)
I0418 18:07:31.226727 139083852723968 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 39.132128s.
I0418 18:07:40.136698 139083852723968 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 48.042082s.
I0418 18:07:40.136959 139082776700672 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:07:40.137097 139082776700672 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:07:40.137150 139082776700672 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:07:40.138911 139082776700672 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0418 18:07:40.139150 139213532985152 checkpoint_manager.py:2032] [process=7][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0418 18:07:40.139292 139213532985152 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.221793 seconds. If this number is high, consider checkpointing less frequently.
I0418 18:07:40.140958 139213532985152 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 9
I0418 18:07:40.142998 139213532985152 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints/9.
I0418 18:07:40.861851 139213532985152 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:07:40.861947 139213532985152 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0418 18:07:40.902238 139213532985152 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.041449s
I0418 18:07:40.902404 139213532985152 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 34.410 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.0448298454284668 s) (per-host)
I0418 18:07:40.902456 139213532985152 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.044891s (batch_requests_ready=0.001755s, total_serialization_initiated=0.043068s, others=0.000067s)
I0418 18:07:40.902544 139213532985152 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.049036s (all_items=0.000016s, per_item={'items': '0.00001574'}, temp_paths=0.049020)
I0418 18:07:40.903293 139213532985152 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints/9.
I0418 18:07:40.903562 139082776700672 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:27:40.903538
I0418 18:07:40.905514 139213532985152 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:07:40.905796 139062425929472 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:07:40.905934 139213532985152 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776535638.9174688, 'wait_for_prev_duration_secs': 21.221792936325073, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776535660.1409976, 'checkpointer_blocking_duration_secs': 0.7626664638519287, 'get_old_steps_start_time': 1776535660.9036894, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776535638.9156184, 'checkpoint_manager_blocking_duration_secs': 21.99028182029724}
I0418 18:07:40.906121 139213532985152 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0418 18:07:40.906168 139213532985152 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:07:49.572019 139082785093376 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_02_synthetic/checkpoints/9/items/array_metadatas/process_7
I0418 18:08:23.994221 139082776700672 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 36.618 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.13660931587219 s) (per-host)
I0418 18:08:23.994349 139082776700672 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.090707s.
I0418 18:08:34.151354 139082776700672 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 53.247697s.
I0418 18:08:34.151639 139062425929472 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:08:34.151765 139062425929472 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:08:34.151825 139062425929472 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:08:34.153744 139062425929472 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0418 18:08:34.153940 139213532985152 checkpoint_manager.py:2032] [process=7][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0418 18:08:34.154109 139213532985152 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:08:34.155037 139213532985152 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.796, Tokens/s/device: 13836.435, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 18 18:08:43 UTC 2026
EXIT_CODE=0
XPK Start: Sun Apr 19 06:38:27 UTC 2026
2026-04-19 06:38:31.905391: 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:1776580711.917772      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:1776580711.921403      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:1776580711.932496      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776580711.932513      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776580711.932516      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776580711.932518      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-19 06:38:52.038676: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0419 06:38:52.555300 134674433591104 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-19 06:39:01,595:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0419 06:39:01.595216 134674433591104 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-19 06:39:01,597:jax._src.distributed:157: Connecting to JAX distributed service on mt-02-synthetic-ah7e9-slice-job-0-0.mt-02-synthetic-ah7e9:8482
I0419 06:39:01.597640 134674433591104 distributed.py:157] Connecting to JAX distributed service on mt-02-synthetic-ah7e9-slice-job-0-0.mt-02-synthetic-ah7e9:8482
I0419 06:39:05.206362 134674433591104 max_utils.py:284] Jax distributed system initialized!
I0419 06:39:11.062120 134674433591104 max_utils.py:800] System Information: Jax Version: 0.8.1
I0419 06:39:11.062228 134674433591104 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0419 06:39:11.062296 134674433591104 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0419 06:39:11.062334 134674433591104 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0419 06:39:11.687799 134674433591104 maxtext_utils.py:1517] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 06:39:11.688095 134674433591104 checkpointing.py:677] Setting up checkpoint logger...
I0419 06:39:11.688149 134674433591104 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0419 06:39:11.688193 134674433591104 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0419 06:39:11.688564 134674433591104 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 0x7a7bd3f750d0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0419 06:39:15.111100 134674433591104 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0419 06:39:15.111315 134674433591104 checkpoint_manager.py:709] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a7a846708f0>}, handler_registry=None
I0419 06:39:15.111552 134674433591104 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a7a846708f0>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0419 06:39:15.111603 134674433591104 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a6943e3b4a0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0419 06:39:15.111638 134674433591104 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 0x7a7a846708f0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a7a846708f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a6943e3b4a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a6943e3b4a0>}).
I0419 06:39:15.112187 134674433591104 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0419 06:39:15.112283 134674433591104 async_checkpointer.py:177] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a694201aac0> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0419 06:39:17.392179 134674433591104 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints
I0419 06:39:18.252992 134674433591104 checkpoint_manager.py:929] [process=3][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a69f8c1e4e0>
I0419 06:39:18.253173 134674433591104 checkpointing.py:301] Checkpoint manager created!
I0419 06:39:19.139398 134674433591104 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0419 06:39:19.139508 134674433591104 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 06:39:19.508595 134674433591104 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 06:39:19.508694 134674433591104 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 06:39:19.524493 134674433591104 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 06:39:19.524553 134674433591104 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 06:39:19.547865 134674433591104 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 06:39:19.547932 134674433591104 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 06:39:19.563769 134674433591104 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 06:39:19.563831 134674433591104 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 06:39:19.579546 134674433591104 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 06:39:19.579615 134674433591104 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 06:39:19.604339 134674433591104 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0419 06:39:19.604411 134674433591104 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 06:39:19.623854 134674433591104 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0419 06:39:19.623918 134674433591104 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0419 06:39:19.814189 134674433591104 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0419 06:39:19.814322 134674433591104 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0419 06:39:21.250650 134674433591104 maxtext_utils.py:1620]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0419 06:39:21.250782 134674433591104 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0419 06:39:21.250833 134674433591104 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0419 06:39:21.250890 134674433591104 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0419 06:39:21.250948 134674433591104 maxtext_utils.py:1620]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0419 06:39:21.250985 134674433591104 maxtext_utils.py:1620]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0419 06:39:21.251036 134674433591104 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0419 06:39:21.251089 134674433591104 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0419 06:39:21.251128 134674433591104 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0419 06:39:21.251164 134674433591104 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0419 06:39:21.251212 134674433591104 maxtext_utils.py:1620]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)

I0419 06:39:21.251282 134674433591104 maxtext_utils.py:1620]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0419 06:39:21.752480 134674433591104 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 06:39:21.752578 134674433591104 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 06:39:21.767490 134674433591104 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 06:39:21.767550 134674433591104 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 06:39:32.432814 134674433591104 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0419 06:39:32.433686 134674433591104 metric_logger.py:289] number parameters: 1.104 billion
I0419 06:39:43.476158 134674433591104 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0419 06:39:43.631809 134674433591104 checkpointing.py:776] Waited 0.15563488006591797 seconds for step 0 to finish before starting checkpointing.
I0419 06:39:43.634313 134674433591104 checkpoint_manager.py:2013] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 06:39:43.636033 134674433591104 checkpoint_manager.py:1518] [process=3] Saving checkpoint at step 0
I0419 06:39:43.638797 134674433591104 async_checkpointer.py:452] [process=3] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints/0.
I0419 06:39:45.516697 134674433591104 signaling_client.py:364] Using JaxDistributedSignalingClient
I0419 06:39:45.517900 134674433591104 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 06:39:45.517955 134674433591104 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0419 06:39:45.772007 134674433591104 base_pytree_checkpoint_handler.py:153] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.255387s
I0419 06:39:45.772182 134674433591104 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/blocking_gbytes_per_sec: 1.605 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.9612305164337158 s) (per-host)
I0419 06:39:45.772248 134674433591104 base_pytree_checkpoint_handler.py:737] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.961298s (batch_requests_ready=0.702223s, total_serialization_initiated=0.259000s, others=0.000075s)
I0419 06:39:45.772341 134674433591104 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.965536s (all_items=0.000020s, per_item={'items': '0.00002027'}, temp_paths=0.965516)
I0419 06:39:45.773228 134554673211136 async_checkpointer.py:79] [process=3][thread=async_save] Background save thread started.
I0419 06:39:45.773348 134674433591104 async_checkpointer.py:561] Finished blocking save. Time taken: 2.137242s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints/0.
I0419 06:39:45.775150 134674433591104 checkpoint_manager.py:1566] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 06:39:45.775438 134549287716608 async_checkpointer.py:265] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0419 06:39:45.775589 134674433591104 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776580783.6342962, 'wait_for_prev_duration_secs': 6.508827209472656e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776580783.6360726, 'checkpointer_blocking_duration_secs': 2.1373825073242188, 'get_old_steps_start_time': 1776580785.7734754, 'get_old_steps_duration_secs': 2.4318695068359375e-05, 'checkpoint_manager_blocking_start_time': 1776580783.6324008, 'checkpoint_manager_blocking_duration_secs': 2.1431524753570557}
I0419 06:39:45.775694 134674433591104 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0419 06:39:45.775743 134674433591104 max_utils.py:750] 
Memstats: After params initialized:
I0419 06:39:45.775791 134674433591104 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0419 06:39:45.775831 134674433591104 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0419 06:39:45.775859 134674433591104 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0419 06:39:45.775885 134674433591104 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0419 06:39:46.045673 134674433591104 metric_logger.py:185] completed step: 0, seconds: 11.042, TFLOP/s/device: 1.230, Tokens/s/device: 185.468, total_weights: 65536, loss: 10.874
I0419 06:39:46.218926 134674433591104 metric_logger.py:185] completed step: 1, seconds: 2.568, TFLOP/s/device: 5.291, Tokens/s/device: 797.456, total_weights: 65536, loss: 10.874
I0419 06:39:46.637276 134674433591104 metric_logger.py:185] completed step: 2, seconds: 0.026, TFLOP/s/device: 525.513, Tokens/s/device: 79210.984, total_weights: 65536, loss: 10.263
I0419 06:39:46.784778 134674433591104 metric_logger.py:185] completed step: 3, seconds: 0.419, TFLOP/s/device: 32.437, Tokens/s/device: 4889.322, total_weights: 65536, loss: 9.734
I0419 06:39:47.080439 134674433591104 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 89.005, Tokens/s/device: 13415.785, total_weights: 65536, loss: 9.278
I0419 06:39:47.086120 134674433591104 metric_logger.py:185] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.061, Tokens/s/device: 13876.373, total_weights: 65536, loss: 8.892
I0419 06:40:08.606931 134674433591104 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.895, Tokens/s/device: 6917.750, total_weights: 65536, loss: 8.592
I0419 06:40:08.754446 134674433591104 metric_logger.py:185] completed step: 7, seconds: 21.374, TFLOP/s/device: 0.636, Tokens/s/device: 95.817, total_weights: 65536, loss: 8.384
I0419 06:40:08.902117 134674433591104 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.301, Tokens/s/device: 13460.489, total_weights: 65536, loss: 8.255
I0419 06:40:09.049434 134674433591104 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0419 06:40:09.050088 134674433591104 checkpointing.py:776] Waited 0.0006761550903320312 seconds for step 9 to finish before starting checkpointing.
I0419 06:40:09.052139 134674433591104 checkpoint_manager.py:2024] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 06:40:13.115411    2560 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0419 06:40:16.336354 134554681603840 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints/0/items/array_metadatas/process_3
I0419 06:40:46.480510 134554673211136 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/gbytes_per_sec: 25.614 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 61.669517278671265 s) (per-host)
I0419 06:40:46.480632 134554673211136 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 60.707334s.
I0419 06:40:57.232125 134554673211136 async_checkpointer.py:144] [process=3][thread=async_save] Background save thread done. Time taken: 71.458811s.
I0419 06:40:57.232462 134549287716608 async_checkpointer.py:273] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 06:40:57.232589 134549287716608 async_checkpointer.py:283] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0419 06:40:57.232639 134549287716608 checkpoint_manager.py:2133] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0419 06:40:57.235624 134549287716608 checkpoint_manager.py:2142] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0419 06:40:57.235806 134674433591104 checkpoint_manager.py:2036] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0419 06:40:57.235959 134674433591104 checkpoint_manager.py:1458] Waiting for previous save to complete took 48.183825 seconds. If this number is high, consider checkpointing less frequently.
I0419 06:40:57.238029 134674433591104 checkpoint_manager.py:1518] [process=3] Saving checkpoint at step 9
I0419 06:40:57.241575 134674433591104 async_checkpointer.py:452] [process=3] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints/9.
I0419 06:40:58.191144 134674433591104 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 06:40:58.191256 134674433591104 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0419 06:40:58.234443 134674433591104 base_pytree_checkpoint_handler.py:153] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044537s
I0419 06:40:58.234615 134674433591104 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.236 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2946014404296875 s) (per-host)
I0419 06:40:58.234664 134674433591104 base_pytree_checkpoint_handler.py:737] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.294660s (batch_requests_ready=0.248224s, total_serialization_initiated=0.046369s, others=0.000067s)
I0419 06:40:58.234753 134674433591104 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.298778s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.298762)
I0419 06:40:58.235622 134549849765632 async_checkpointer.py:79] [process=3][thread=async_save] Background save thread started.
I0419 06:40:58.235777 134674433591104 async_checkpointer.py:561] Finished blocking save. Time taken: 0.997678s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints/9.
I0419 06:40:58.677616 134674433591104 checkpoint_manager.py:1566] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 06:40:58.677984 134549287716608 async_checkpointer.py:265] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0419 06:40:58.678170 134674433591104 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776580809.052109, 'wait_for_prev_duration_secs': 48.18382453918457, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776580857.238069, 'checkpointer_blocking_duration_secs': 0.9978137016296387, 'get_old_steps_start_time': 1776580858.235907, 'get_old_steps_duration_secs': 2.5987625122070312e-05, 'checkpoint_manager_blocking_start_time': 1776580809.050331, 'checkpoint_manager_blocking_duration_secs': 49.62780284881592}
I0419 06:40:58.678296 134674433591104 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0419 06:40:58.678343 134674433591104 checkpoint_manager.py:2024] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 06:41:05.719834 134554681603840 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260419_063615_02_synthetic/checkpoints/9/items/array_metadatas/process_3
I0419 06:41:42.073074 134549849765632 base_pytree_checkpoint_handler.py:129] [process=3] /jax/checkpoint/write/gbytes_per_sec: 35.792 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 44.133018255233765 s) (per-host)
I0419 06:41:42.073192 134549849765632 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.837461s.
I0419 06:41:53.591353 134549849765632 async_checkpointer.py:144] [process=3][thread=async_save] Background save thread done. Time taken: 55.355608s.
I0419 06:41:53.591652 134549287716608 async_checkpointer.py:273] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 06:41:53.591765 134549287716608 async_checkpointer.py:283] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0419 06:41:53.591812 134549287716608 checkpoint_manager.py:2133] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0419 06:41:53.593461 134549287716608 checkpoint_manager.py:2142] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0419 06:41:53.593642 134674433591104 checkpoint_manager.py:2036] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0419 06:41:53.593788 134674433591104 checkpoint_manager.py:2013] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 06:41:53.594473 134674433591104 metric_logger.py:185] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.157, Tokens/s/device: 13890.867, total_weights: 65536, loss: 8.179
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sun Apr 19 06:42:03 UTC 2026
EXIT_CODE=0