MaxView

‹ —Case: 01_base01_sft_smoke ›

Metrics: main (574ad3fb9) vs feat/nnx-linen-converter-and-sharding-tools (574ad3fb9)

Metricmain  574ad3fb9feat/nnx-linen-converter-and-sharding-tools  574ad3fb9Diff (feat/nnx-linen-converter-and-sharding-tools − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.23492.170-0.064
Tok/s13902.513892.8-9.62
Avg s/step3.0713.253+0.182
Memory %1.381.380
JAX0.9.20.9.2

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

main  ·  574ad3fb9  ·  main_20260418_180002  ·  full log
XPK Start: Sat Apr 18 18:01:13 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-18 18:01:38.448324: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0418 18:01:38.627807 136016632297280 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 18:01:47.667797 136016632297280 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 18:01:47.670194 136016632297280 distributed.py:172] Connecting to JAX distributed service on mt-01-base-2sag8-slice-job-0-0.mt-01-base-2sag8:8482
I0418 18:01:49.137647 136016632297280 max_utils.py:284] Jax distributed system initialized!
I0418 18:01:56.197314 136016632297280 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 18:01:56.197413 136016632297280 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 18:01:56.197469 136016632297280 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0418 18:01:56.197514 136016632297280 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 18:01:56.911277 136016632297280 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 18:01:56.911563 136016632297280 checkpointing.py:677] Setting up checkpoint logger...
I0418 18:01:56.911619 136016632297280 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 18:01:56.911664 136016632297280 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 18:01:56.912001 136016632297280 base_pytree_checkpoint_handler.py:441] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7bb436918260>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 18:02:01.482331 136016632297280 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 18:02:01.482582 136016632297280 checkpoint_manager.py:708] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b9f743869c0>}, handler_registry=None
I0418 18:02:01.482824 136016632297280 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b9f743869c0>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0418 18:02:01.482872 136016632297280 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b9f74388290>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0418 18:02:01.482908 136016632297280 composite_checkpoint_handler.py:505] Initialized registry DefaultCheckpointHandlerRegistry({('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b9f743869c0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b9f743869c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b9f74388290>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b9f74388290>}).
I0418 18:02:01.483229 136016632297280 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 18:02:01.483299 136016632297280 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b9f546afba0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0418 18:02:02.509403 136016632297280 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints
I0418 18:02:03.389142 136016632297280 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7bb315bdffb0>
I0418 18:02:03.389307 136016632297280 checkpointing.py:301] Checkpoint manager created!
I0418 18:02:04.318331 136016632297280 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 18:02:04.318439 136016632297280 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:02:04.697327 136016632297280 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:02:04.697414 136016632297280 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:02:04.713699 136016632297280 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:02:04.713760 136016632297280 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:02:04.737531 136016632297280 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:02:04.737595 136016632297280 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:02:04.753716 136016632297280 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:02:04.753776 136016632297280 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:02:04.769909 136016632297280 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 18:02:04.769973 136016632297280 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:02:04.794766 136016632297280 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 18:02:04.794831 136016632297280 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:02:04.815628 136016632297280 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 18:02:04.815692 136016632297280 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 18:02:05.031522 136016632297280 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 18:02:05.031626 136016632297280 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0418 18:02:06.457116 136016632297280 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 18:02:06.457235 136016632297280 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 18:02:06.457286 136016632297280 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 18:02:06.457343 136016632297280 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0418 18:02:06.457395 136016632297280 maxtext_utils.py:1654]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 18:02:06.457432 136016632297280 maxtext_utils.py:1654]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 18:02:06.457497 136016632297280 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0418 18:02:06.457551 136016632297280 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0418 18:02:06.457590 136016632297280 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0418 18:02:06.457626 136016632297280 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0418 18:02:06.457673 136016632297280 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0418 18:02:06.457719 136016632297280 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0418 18:02:06.945318 136016632297280 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:02:06.945410 136016632297280 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:02:06.960833 136016632297280 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:02:06.960896 136016632297280 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:02:17.925596 136016632297280 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0418 18:02:17.926374 136016632297280 metric_logger.py:301] number parameters: 1.104 billion
I0418 18:02:28.987720 136016632297280 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0418 18:02:29.319164 136016632297280 checkpointing.py:776] Waited 0.3314321041107178 seconds for step 0 to finish before starting checkpointing.
I0418 18:02:29.321613 136016632297280 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:02:29.323310 136016632297280 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0418 18:02:29.324758 136016632297280 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/0.
I0418 18:02:30.509867 136016632297280 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 18:02:30.510792 136016632297280 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:02:30.510847 136016632297280 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0418 18:02:30.788037 136016632297280 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.278241s
I0418 18:02:30.788214 136016632297280 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.429 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28411173820495605 s) (per-host)
I0418 18:02:30.788267 136016632297280 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.284174s (batch_requests_ready=0.002627s, total_serialization_initiated=0.281476s, others=0.000071s)
I0418 18:02:30.788356 136016632297280 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.288152s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.288136)
I0418 18:02:30.789228 136016632297280 event_tracking.py:125] [process=5] [async] Finished blocking save in 1.47 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/0.
I0418 18:02:30.789592 135888973575936 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:22:30.789554
I0418 18:02:30.796347 136016632297280 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:02:30.796626 135887344273152 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:02:30.796753 136016632297280 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776535349.3215866, 'wait_for_prev_duration_secs': 8.726119995117188e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776535349.3233628, 'checkpointer_blocking_duration_secs': 1.466383457183838, 'get_old_steps_start_time': 1776535350.7897708, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1776535349.319707, 'checkpoint_manager_blocking_duration_secs': 1.4770071506500244}
I0418 18:02:30.796863 136016632297280 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0418 18:02:30.796917 136016632297280 max_utils.py:750] 
Memstats: After params initialized:
I0418 18:02:30.796967 136016632297280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0418 18:02:30.797000 136016632297280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0418 18:02:30.797027 136016632297280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0418 18:02:30.797050 136016632297280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0418 18:02:31.105650 136016632297280 metric_logger.py:196] completed step: 0, seconds: 11.061, TFLOP/s/device: 1.228, Tokens/s/device: 185.152, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:02:31.296370 136016632297280 metric_logger.py:196] completed step: 1, seconds: 2.116, TFLOP/s/device: 6.420, Tokens/s/device: 967.643, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:02:31.692446 136016632297280 metric_logger.py:196] completed step: 2, seconds: 0.044, TFLOP/s/device: 312.262, Tokens/s/device: 47067.476, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0418 18:02:31.839858 136016632297280 metric_logger.py:196] completed step: 3, seconds: 0.397, TFLOP/s/device: 34.233, Tokens/s/device: 5159.990, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0418 18:02:32.135124 136016632297280 metric_logger.py:196] completed step: 4, seconds: 0.152, TFLOP/s/device: 89.128, Tokens/s/device: 13434.353, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0418 18:02:32.140931 136016632297280 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.207, Tokens/s/device: 13898.409, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0418 18:02:36.769223    2828 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 18:02:40.319857 135887393478400 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/0/items/array_metadatas/process_5
I0418 18:02:56.479434 136016632297280 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.968, Tokens/s/device: 6928.844, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0418 18:02:56.626775 136016632297280 metric_logger.py:196] completed step: 7, seconds: 24.192, TFLOP/s/device: 0.562, Tokens/s/device: 84.658, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0418 18:02:56.774048 136016632297280 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.207, Tokens/s/device: 13446.261, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0418 18:02:56.920902 136016632297280 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0418 18:02:56.921597 136016632297280 checkpointing.py:776] Waited 0.0007135868072509766 seconds for step 9 to finish before starting checkpointing.
I0418 18:02:56.923789 136016632297280 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:03:09.217653 135888973575936 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 40.802 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.713520526885986 s) (per-host)
I0418 18:03:09.217759 135888973575936 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.428054s.
I0418 18:03:21.081743 135888973575936 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 50.292021s.
I0418 18:03:21.082024 135887344273152 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:03:21.082161 135887344273152 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:03:21.082236 135887344273152 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:03:21.084198 135887344273152 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0418 18:03:21.084340 136016632297280 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0418 18:03:21.084431 136016632297280 checkpoint_manager.py:1452] Waiting for previous save to complete took 24.160645 seconds. If this number is high, consider checkpointing less frequently.
I0418 18:03:21.086312 136016632297280 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0418 18:03:21.088404 136016632297280 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/9.
I0418 18:03:21.805513 136016632297280 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:03:21.805606 136016632297280 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0418 18:03:21.851402 136016632297280 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.047068s
I0418 18:03:21.851588 136016632297280 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 30.451 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.05065727233886719 s) (per-host)
I0418 18:03:21.851641 136016632297280 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.050721s (batch_requests_ready=0.001908s, total_serialization_initiated=0.048741s, others=0.000072s)
I0418 18:03:21.851732 136016632297280 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.054832s (all_items=0.000016s, per_item={'items': '0.00001574'}, temp_paths=0.054816)
I0418 18:03:21.852479 136016632297280 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.77 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/9.
I0418 18:03:21.852841 135887344273152 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 18:23:21.852802
I0418 18:03:21.854827 136016632297280 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:03:21.855110 135887393478400 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:03:21.855244 136016632297280 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776535376.9237592, 'wait_for_prev_duration_secs': 24.160645008087158, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776535401.086351, 'checkpointer_blocking_duration_secs': 0.766655445098877, 'get_old_steps_start_time': 1776535401.8530304, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1776535376.9218338, 'checkpoint_manager_blocking_duration_secs': 24.933377981185913}
I0418 18:03:21.855412 136016632297280 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0418 18:03:21.855471 136016632297280 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:03:29.938111 135865812625152 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_01_base/checkpoints/9/items/array_metadatas/process_5
I0418 18:04:05.668946 135887344273152 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 36.008 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.86797738075256 s) (per-host)
I0418 18:04:05.669079 135887344273152 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.816113s.
I0418 18:04:14.249446 135887344273152 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 52.396466s.
I0418 18:04:14.249764 135887393478400 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:04:14.249889 135887393478400 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:04:14.249945 135887393478400 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:04:14.252395 135887393478400 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0418 18:04:14.252585 136016632297280 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0418 18:04:14.252735 136016632297280 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:04:14.253656 136016632297280 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.234, Tokens/s/device: 13902.466, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 18 18:04:23 UTC 2026
EXIT_CODE=0
XPK Start: Sat Apr 18 20:43:00 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 20:43:25.694161: 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 20:43:25.872384 134495869187904 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 20:43:34.913062 134495869187904 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 20:43:34.915499 134495869187904 distributed.py:172] Connecting to JAX distributed service on mt-01-base-mpv26-slice-job-0-0.mt-01-base-mpv26:8482
I0418 20:43:36.780785 134495869187904 max_utils.py:284] Jax distributed system initialized!
I0418 20:43:42.764974 134495869187904 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 20:43:42.765075 134495869187904 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 20:43:42.765113 134495869187904 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 20:43:42.765146 134495869187904 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 20:43:43.843144 134495869187904 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 20:43:43.843758 134495869187904 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 20:43:43.843939 134495869187904 checkpointing.py:688] Setting up checkpoint logger...
I0418 20:43:43.843990 134495869187904 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 20:43:43.844034 134495869187904 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 20:43:43.844383 134495869187904 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 0x7a5233718500>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 20:43:48.480774 134495869187904 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0418 20:43:48.480956 134495869187904 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a50fe6dfd40>}, handler_registry=None
I0418 20:43:48.481188 134495869187904 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a50fe6dfd40>` 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 20:43:48.481251 134495869187904 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a50fe7d5970>` 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 20:43:48.481292 134495869187904 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 0x7a50fe6dfd40>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a50fe6dfd40>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a50fe7d5970>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a50fe7d5970>}).
I0418 20:43:48.481611 134495869187904 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 20:43:48.481680 134495869187904 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a3dc0282d40> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0418 20:43:51.094495 134495869187904 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints
I0418 20:43:51.124358 134495869187904 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a50fe6decc0>
I0418 20:43:51.124492 134495869187904 checkpointing.py:302] Checkpoint manager created!
I0418 20:43:52.051534 134495869187904 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 20:43:52.051634 134495869187904 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 20:43:52.431854 134495869187904 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 20:43:52.431946 134495869187904 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 20:43:52.448158 134495869187904 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 20:43:52.448218 134495869187904 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 20:43:52.471930 134495869187904 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 20:43:52.471997 134495869187904 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 20:43:52.488333 134495869187904 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 20:43:52.488390 134495869187904 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 20:43:52.504635 134495869187904 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 20:43:52.504693 134495869187904 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 20:43:52.529261 134495869187904 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 20:43:52.529329 134495869187904 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 20:43:52.551453 134495869187904 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 20:43:52.551522 134495869187904 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 20:43:52.771151 134495869187904 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 20:43:52.771273 134495869187904 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0418 20:43:54.228969 134495869187904 maxtext_utils.py:1827]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 20:43:54.229093 134495869187904 maxtext_utils.py:1827]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 20:43:54.229166 134495869187904 maxtext_utils.py:1827]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 20:43:54.229231 134495869187904 maxtext_utils.py:1827]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0418 20:43:54.229306 134495869187904 maxtext_utils.py:1827]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 20:43:54.229348 134495869187904 maxtext_utils.py:1827]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 20:43:54.229400 134495869187904 maxtext_utils.py:1827]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0418 20:43:54.229452 134495869187904 maxtext_utils.py:1827]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0418 20:43:54.229492 134495869187904 maxtext_utils.py:1827]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0418 20:43:54.229536 134495869187904 maxtext_utils.py:1827]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0418 20:43:54.229586 134495869187904 maxtext_utils.py:1827]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0418 20:43:54.229635 134495869187904 maxtext_utils.py:1827]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0418 20:43:54.720942 134495869187904 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 20:43:54.721036 134495869187904 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 20:43:54.736492 134495869187904 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 20:43:54.736560 134495869187904 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 20:44:05.339315 134495869187904 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 20:44:05.340136 134495869187904 metric_logger.py:301] number parameters: 1.104 billion
I0418 20:44:16.511663 134495869187904 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0418 20:44:16.880321 134495869187904 checkpointing.py:798] Waited 0.36862707138061523 seconds for step 0 to finish before starting checkpointing.
I0418 20:44:16.882631 134495869187904 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 20:44:16.884459 134495869187904 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0418 20:44:16.886077 134495869187904 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints/0.
I0418 20:44:17.646469 134495869187904 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 20:44:17.647499 134495869187904 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 20:44:17.647556 134495869187904 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 20:44:17.927515 134495869187904 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.281120s
I0418 20:44:17.927692 134495869187904 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.383 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28655028343200684 s) (per-host)
I0418 20:44:17.927744 134495869187904 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286613s (batch_requests_ready=0.002208s, total_serialization_initiated=0.284334s, others=0.000071s)
I0418 20:44:17.927834 134495869187904 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.290807s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.290789)
I0418 20:44:17.928686 134495869187904 event_tracking.py:125] [process=6] [async] Finished blocking save in 1.04 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints/0.
I0418 20:44:17.929024 134367596738304 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 21:04:17.928987
I0418 20:44:17.931142 134495869187904 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 20:44:17.931443 134367066179328 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0418 20:44:17.931604 134495869187904 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776545056.8826108, 'wait_for_prev_duration_secs': 6.580352783203125e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776545056.8845007, 'checkpointer_blocking_duration_secs': 1.044675350189209, 'get_old_steps_start_time': 1776545057.9292002, 'get_old_steps_duration_secs': 2.9087066650390625e-05, 'checkpoint_manager_blocking_start_time': 1776545056.880823, 'checkpoint_manager_blocking_duration_secs': 1.0507409572601318}
I0418 20:44:17.931723 134495869187904 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0418 20:44:17.931776 134495869187904 max_utils.py:750] 
Memstats: After params initialized:
I0418 20:44:17.931821 134495869187904 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0418 20:44:17.931854 134495869187904 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0418 20:44:17.931880 134495869187904 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0418 20:44:17.931904 134495869187904 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0418 20:44:18.245572 134495869187904 metric_logger.py:196] completed step: 0, seconds: 11.171, TFLOP/s/device: 1.216, Tokens/s/device: 183.325, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 20:44:18.421402 134495869187904 metric_logger.py:196] completed step: 1, seconds: 1.732, TFLOP/s/device: 7.843, Tokens/s/device: 1182.185, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 20:44:18.840547 134495869187904 metric_logger.py:196] completed step: 2, seconds: 0.029, TFLOP/s/device: 473.948, Tokens/s/device: 71438.538, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0418 20:44:18.987934 134495869187904 metric_logger.py:196] completed step: 3, seconds: 0.419, TFLOP/s/device: 32.408, Tokens/s/device: 4884.832, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0418 20:44:19.283001 134495869187904 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.746, Tokens/s/device: 13376.790, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0418 20:44:19.288772 134495869187904 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.208, Tokens/s/device: 13898.597, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0418 20:44:23.099456    2863 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 20:44:26.733701 134367074572032 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints/0/items/array_metadatas/process_6
I0418 20:44:45.640006 134495869187904 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.004, Tokens/s/device: 6934.287, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0418 20:44:45.787418 134495869187904 metric_logger.py:196] completed step: 7, seconds: 26.204, TFLOP/s/device: 0.519, Tokens/s/device: 78.155, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0418 20:44:45.934825 134495869187904 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.209, Tokens/s/device: 13446.614, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0418 20:44:46.081548 134495869187904 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0418 20:44:46.082196 134495869187904 checkpointing.py:798] Waited 0.0006699562072753906 seconds for step 9 to finish before starting checkpointing.
I0418 20:44:46.084325 134495869187904 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 20:44:56.080161 134367596738304 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 41.094 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.438981771469116 s) (per-host)
I0418 20:44:56.080309 134367596738304 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.151173s.
I0418 20:45:09.266736 134367596738304 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.337584s.
I0418 20:45:09.267012 134367066179328 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 20:45:09.267131 134367066179328 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0418 20:45:09.267191 134367066179328 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0418 20:45:09.269536 134367066179328 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0418 20:45:09.269716 134495869187904 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0418 20:45:09.269850 134495869187904 checkpoint_manager.py:1452] Waiting for previous save to complete took 23.185530 seconds. If this number is high, consider checkpointing less frequently.
I0418 20:45:09.271791 134495869187904 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0418 20:45:09.274097 134495869187904 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints/9.
I0418 20:45:09.995163 134495869187904 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 20:45:09.995269 134495869187904 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 20:45:10.032901 134495869187904 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.038993s
I0418 20:45:10.033037 134495869187904 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 36.380 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04240155220031738 s) (per-host)
I0418 20:45:10.033083 134495869187904 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.042456s (batch_requests_ready=0.001777s, total_serialization_initiated=0.040618s, others=0.000060s)
I0418 20:45:10.033162 134495869187904 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.047140s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.047125)
I0418 20:45:10.033854 134495869187904 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints/9.
I0418 20:45:10.034126 134367066179328 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 21:05:10.034103
I0418 20:45:10.035996 134495869187904 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 20:45:10.036216 134367074572032 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0418 20:45:10.036352 134495869187904 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776545086.0842886, 'wait_for_prev_duration_secs': 23.185530185699463, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776545109.2718306, 'checkpointer_blocking_duration_secs': 0.7623953819274902, 'get_old_steps_start_time': 1776545110.0342607, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1776545086.0824442, 'checkpoint_manager_blocking_duration_secs': 23.95387315750122}
I0418 20:45:10.036468 134495869187904 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0418 20:45:10.036515 134495869187904 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 20:45:19.831906 134342231693056 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152/linen_xpk_feat_nnx_linen_converter_and_sharding_tools_20260418_204152_01_base/checkpoints/9/items/array_metadatas/process_6
I0418 20:45:52.736703 134367066179328 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.953 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.746039628982544 s) (per-host)
I0418 20:45:52.736814 134367066179328 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.702610s.
I0418 20:46:02.580677 134367066179328 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 52.546457s.
I0418 20:46:02.580900 134367074572032 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 20:46:02.580959 134367074572032 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0418 20:46:02.581003 134367074572032 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0418 20:46:02.582889 134367074572032 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0418 20:46:02.583055 134495869187904 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0418 20:46:02.583206 134495869187904 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 20:46:02.584105 134495869187904 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.170, Tokens/s/device: 13892.846, 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 20:46:10 UTC 2026
EXIT_CODE=0