MaxView

‹ 10_shardy_trueCase: 11_optimizer_offload_false11_optimizer_offload_true ›

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

Metricmain  574ad3fb9feat/nnx-post-train-fixes  574ad3fb9Diff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.22392.201-0.022
Tok/s13900.913897.5-3.396
Avg s/step2.9352.824-0.111
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:48:48 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:49:12.500909: 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:49:13.035605 136439124154176 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 18:49:22.077880 136439124154176 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 18:49:22.080379 136439124154176 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-loa72-slice-job-0-0.mt-11-optimizer-offload-loa72:8482
I0418 18:49:23.826328 136439124154176 max_utils.py:284] Jax distributed system initialized!
I0418 18:49:28.905785 136439124154176 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 18:49:28.905889 136439124154176 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 18:49:28.905928 136439124154176 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:49:28.905961 136439124154176 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 18:49:29.605794 136439124154176 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 18:49:29.606091 136439124154176 checkpointing.py:677] Setting up checkpoint logger...
I0418 18:49:29.606146 136439124154176 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 18:49:29.606190 136439124154176 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 18:49:29.606526 136439124154176 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 0x7c1694b18620>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 18:49:32.917521 136439124154176 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 18:49:32.917747 136439124154176 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 0x7c02e02f2210>}, handler_registry=None
I0418 18:49:32.917975 136439124154176 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c02e02f2210>` 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:49:32.918021 136439124154176 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c02e00f8e60>` 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:49:32.918065 136439124154176 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 0x7c02e02f2210>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c02e02f2210>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c02e00f8e60>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c02e00f8e60>}).
I0418 18:49:32.918385 136439124154176 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 18:49:32.918452 136439124154176 async_checkpointer.py:192] [process=7][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c01d048b4c0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0418 18:49:34.494021 136439124154176 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_11_optimizer_offload_false/checkpoints
I0418 18:49:35.789996 136439124154176 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_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c157231b500>
I0418 18:49:35.790198 136439124154176 checkpointing.py:301] Checkpoint manager created!
I0418 18:49:36.741262 136439124154176 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 18:49:36.741375 136439124154176 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:49:37.115400 136439124154176 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:49:37.115497 136439124154176 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:49:37.131680 136439124154176 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 18:49:37.131742 136439124154176 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 18:49:37.154982 136439124154176 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:49:37.155051 136439124154176 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:49:37.171104 136439124154176 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:49:37.171162 136439124154176 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:49:37.187949 136439124154176 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:49:37.188007 136439124154176 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:49:37.213296 136439124154176 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 18:49:37.213365 136439124154176 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 18:49:37.234015 136439124154176 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 18:49:37.234099 136439124154176 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 18:49:37.448215 136439124154176 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 18:49:37.448318 136439124154176 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0418 18:49:38.859098 136439124154176 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 18:49:38.859223 136439124154176 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:49:38.859275 136439124154176 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:49:38.859330 136439124154176 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:49:38.859400 136439124154176 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:49:38.859464 136439124154176 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:49:38.859519 136439124154176 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:49:38.859568 136439124154176 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:49:38.859605 136439124154176 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:49:38.859640 136439124154176 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:49:38.859684 136439124154176 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0418 18:49:38.859729 136439124154176 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0418 18:49:39.343242 136439124154176 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:49:39.343334 136439124154176 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:49:39.358338 136439124154176 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 18:49:39.358396 136439124154176 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 18:49:50.380766 136439124154176 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:49:50.381576 136439124154176 metric_logger.py:301] number parameters: 1.104 billion
I0418 18:50:01.492863 136439124154176 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0418 18:50:01.839738 136439124154176 checkpointing.py:776] Waited 0.3468594551086426 seconds for step 0 to finish before starting checkpointing.
I0418 18:50:01.842085 136439124154176 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:50:01.844000 136439124154176 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 0
I0418 18:50:01.845449 136439124154176 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_11_optimizer_offload_false/checkpoints/0.
I0418 18:50:02.592069 136439124154176 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 18:50:02.593109 136439124154176 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:50:02.593166 136439124154176 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:50:02.872663 136439124154176 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.280666s
I0418 18:50:02.872834 136439124154176 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.391 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28613948822021484 s) (per-host)
I0418 18:50:02.872889 136439124154176 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286210s (batch_requests_ready=0.002231s, total_serialization_initiated=0.283900s, others=0.000078s)
I0418 18:50:02.872978 136439124154176 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.290934s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.290917)
I0418 18:50:02.873782 136439124154176 event_tracking.py:125] [process=7] [async] Finished blocking save in 1.03 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_11_optimizer_offload_false/checkpoints/0.
I0418 18:50:02.874124 136313551439616 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 19:10:02.874086
I0418 18:50:02.877295 136439124154176 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:50:02.877519 136310383703808 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:50:02.877640 136439124154176 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776538201.8420558, 'wait_for_prev_duration_secs': 6.890296936035156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776538201.8440363, 'checkpointer_blocking_duration_secs': 1.030238389968872, 'get_old_steps_start_time': 1776538202.874299, 'get_old_steps_duration_secs': 3.075599670410156e-05, 'checkpoint_manager_blocking_start_time': 1776538201.8402777, 'checkpoint_manager_blocking_duration_secs': 1.0373256206512451}
I0418 18:50:02.877750 136439124154176 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0418 18:50:02.877799 136439124154176 max_utils.py:750] 
Memstats: After params initialized:
I0418 18:50:02.877850 136439124154176 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0418 18:50:02.877881 136439124154176 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0418 18:50:02.877908 136439124154176 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0418 18:50:02.877932 136439124154176 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0418 18:50:03.190033 136439124154176 metric_logger.py:196] completed step: 0, seconds: 11.111, TFLOP/s/device: 1.223, Tokens/s/device: 184.319, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:50:03.363527 136439124154176 metric_logger.py:196] completed step: 1, seconds: 1.696, TFLOP/s/device: 8.013, Tokens/s/device: 1207.823, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0418 18:50:03.764384 136439124154176 metric_logger.py:196] completed step: 2, seconds: 0.026, TFLOP/s/device: 515.915, Tokens/s/device: 77764.277, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0418 18:50:03.911560 136439124154176 metric_logger.py:196] completed step: 3, seconds: 0.401, TFLOP/s/device: 33.879, Tokens/s/device: 5106.659, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0418 18:50:04.206683 136439124154176 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.891, Tokens/s/device: 13398.582, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0418 18:50:04.212482 136439124154176 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.281, Tokens/s/device: 13909.642, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0418 18:50:06.971169    2779 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 18:50:09.817960 136311983093504 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_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_7
I0418 18:50:27.759218 136439124154176 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.971, Tokens/s/device: 6929.243, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0418 18:50:27.906634 136439124154176 metric_logger.py:196] completed step: 7, seconds: 23.400, TFLOP/s/device: 0.581, Tokens/s/device: 87.521, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0418 18:50:28.054253 136439124154176 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.414, Tokens/s/device: 13477.497, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0418 18:50:28.200857 136439124154176 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0418 18:50:28.201534 136439124154176 checkpointing.py:776] Waited 0.0006995201110839844 seconds for step 9 to finish before starting checkpointing.
I0418 18:50:28.203721 136439124154176 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:50:40.373033 136313551439616 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 41.803 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.78630447387695 s) (per-host)
I0418 18:50:40.373172 136313551439616 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.498937s.
I0418 18:50:50.248514 136313551439616 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 47.374262s.
I0418 18:50:50.248794 136310383703808 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:50:50.248916 136310383703808 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:50:50.248966 136310383703808 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:50:50.250754 136310383703808 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0418 18:50:50.250927 136439124154176 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:50:50.251055 136439124154176 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.047334 seconds. If this number is high, consider checkpointing less frequently.
I0418 18:50:50.252955 136439124154176 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 9
I0418 18:50:50.254985 136439124154176 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_11_optimizer_offload_false/checkpoints/9.
I0418 18:50:50.970291 136439124154176 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 18:50:50.970387 136439124154176 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:50:51.004894 136439124154176 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035756s
I0418 18:50:51.005060 136439124154176 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 39.381 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03917098045349121 s) (per-host)
I0418 18:50:51.005132 136439124154176 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039251s (batch_requests_ready=0.001762s, total_serialization_initiated=0.037401s, others=0.000088s)
I0418 18:50:51.005226 136439124154176 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043500s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.043484)
I0418 18:50:51.005897 136439124154176 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_11_optimizer_offload_false/checkpoints/9.
I0418 18:50:51.006235 136310383703808 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-18 19:10:51.006199
I0418 18:50:51.008144 136439124154176 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0418 18:50:51.008375 136285712787200 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0418 18:50:51.008501 136439124154176 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776538228.2036915, 'wait_for_prev_duration_secs': 22.04733443260193, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776538250.2529948, 'checkpointer_blocking_duration_secs': 0.7533867359161377, 'get_old_steps_start_time': 1776538251.0064046, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1776538228.2017593, 'checkpoint_manager_blocking_duration_secs': 22.806710958480835}
I0418 18:50:51.008662 136439124154176 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0418 18:50:51.008705 136439124154176 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0418 18:50:58.728660 136311983093504 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_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_7
I0418 18:51:33.357195 136310383703808 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 37.262 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.39127707481384 s) (per-host)
I0418 18:51:33.357300 136310383703808 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.350953s.
I0418 18:51:42.573403 136310383703808 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 51.567040s.
I0418 18:51:42.573677 136285712787200 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0418 18:51:42.573791 136285712787200 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0418 18:51:42.573837 136285712787200 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0418 18:51:42.575446 136285712787200 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0418 18:51:42.575612 136439124154176 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:51:42.575758 136439124154176 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 18:51:42.576667 136439124154176 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.223, Tokens/s/device: 13900.861, 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:51:53 UTC 2026
EXIT_CODE=0
XPK Start: Sun Apr 19 00:24:24 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-19 00:24:48.240518: 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 00:24:48.419567 137477519595328 max_utils.py:273] Attempting to initialize the jax distributed system...
I0419 00:24:57.458927 137477519595328 distributed.py:149] Starting JAX distributed service on [::]:8482
I0419 00:24:57.461193 137477519595328 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-obn5q-slice-job-0-0.mt-11-optimizer-offload-obn5q:8482
I0419 00:24:59.011335 137477519595328 max_utils.py:284] Jax distributed system initialized!
I0419 00:25:05.333521 137477519595328 max_utils.py:800] System Information: Jax Version: 0.9.2
I0419 00:25:05.333621 137477519595328 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0419 00:25:05.333660 137477519595328 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
I0419 00:25:05.333694 137477519595328 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0419 00:25:06.387024 137477519595328 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 00:25:06.387628 137477519595328 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 00:25:06.387808 137477519595328 checkpointing.py:688] Setting up checkpoint logger...
I0419 00:25:06.387858 137477519595328 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0419 00:25:06.387902 137477519595328 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0419 00:25:06.388256 137477519595328 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 0x7d085cd1cf80>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0419 00:25:09.739257 137477519595328 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0419 00:25:09.739490 137477519595328 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d0736d233b0>}, handler_registry=None
I0419 00:25:09.739725 137477519595328 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d0736d233b0>` 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 00:25:09.739775 137477519595328 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d0736d21700>` 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 00:25:09.739810 137477519595328 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 0x7d0736d233b0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d0736d233b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d0736d21700>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d0736d21700>}).
I0419 00:25:09.740136 137477519595328 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0419 00:25:09.740206 137477519595328 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7cf46064ec00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0419 00:25:11.772690 137477519595328 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints
I0419 00:25:11.774944 137477519595328 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_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7d0736d22690>
I0419 00:25:11.775054 137477519595328 checkpointing.py:302] Checkpoint manager created!
I0419 00:25:12.704803 137477519595328 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0419 00:25:12.704926 137477519595328 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 00:25:13.088533 137477519595328 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 00:25:13.088625 137477519595328 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 00:25:13.104962 137477519595328 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 00:25:13.105020 137477519595328 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 00:25:13.128668 137477519595328 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 00:25:13.128736 137477519595328 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 00:25:13.145119 137477519595328 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 00:25:13.145179 137477519595328 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 00:25:13.161451 137477519595328 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 00:25:13.161509 137477519595328 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 00:25:13.186204 137477519595328 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0419 00:25:13.186287 137477519595328 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 00:25:13.208198 137477519595328 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0419 00:25:13.208273 137477519595328 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0419 00:25:13.423631 137477519595328 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0419 00:25:13.423739 137477519595328 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0419 00:25:14.861812 137477519595328 maxtext_utils.py:1827]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0419 00:25:14.861939 137477519595328 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)
I0419 00:25:14.861993 137477519595328 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)
I0419 00:25:14.862051 137477519595328 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')
I0419 00:25:14.862108 137477519595328 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)
I0419 00:25:14.862148 137477519595328 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)
I0419 00:25:14.862206 137477519595328 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)
I0419 00:25:14.862270 137477519595328 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')
I0419 00:25:14.862314 137477519595328 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)
I0419 00:25:14.862353 137477519595328 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)
I0419 00:25:14.862402 137477519595328 maxtext_utils.py:1827]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0419 00:25:14.862449 137477519595328 maxtext_utils.py:1827]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0419 00:25:15.367803 137477519595328 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 00:25:15.367901 137477519595328 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 00:25:15.383123 137477519595328 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 00:25:15.383184 137477519595328 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 00:25:26.327809 137477519595328 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 00:25:26.328573 137477519595328 metric_logger.py:301] number parameters: 1.104 billion
I0419 00:25:37.594658 137477519595328 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0419 00:25:37.748263 137477519595328 checkpointing.py:798] Waited 0.1535661220550537 seconds for step 0 to finish before starting checkpointing.
I0419 00:25:37.750827 137477519595328 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 00:25:37.752488 137477519595328 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0419 00:25:37.753935 137477519595328 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints/0.
I0419 00:25:38.930906 137477519595328 signaling_client.py:364] Using JaxDistributedSignalingClient
I0419 00:25:38.931879 137477519595328 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0419 00:25:38.931944 137477519595328 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 00:25:39.209045 137477519595328 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.278217s
I0419 00:25:39.209226 137477519595328 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.434 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28386855125427246 s) (per-host)
I0419 00:25:39.209293 137477519595328 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283946s (batch_requests_ready=0.002332s, total_serialization_initiated=0.281528s, others=0.000085s)
I0419 00:25:39.209386 137477519595328 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.288725s (all_items=0.000034s, per_item={'items': '0.00003362'}, temp_paths=0.288691)
I0419 00:25:39.210142 137477519595328 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.46 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints/0.
I0419 00:25:39.210490 137349964060416 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-19 00:45:39.210451
I0419 00:25:39.216362 137477519595328 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 00:25:39.216612 137348855617280 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0419 00:25:39.216738 137477519595328 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776558337.7508087, 'wait_for_prev_duration_secs': 6.008148193359375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776558337.752527, 'checkpointer_blocking_duration_secs': 1.4581170082092285, 'get_old_steps_start_time': 1776558339.2106657, 'get_old_steps_duration_secs': 3.24249267578125e-05, 'checkpoint_manager_blocking_start_time': 1776558337.7488017, 'checkpoint_manager_blocking_duration_secs': 1.467897653579712}
I0419 00:25:39.216844 137477519595328 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0419 00:25:39.216892 137477519595328 max_utils.py:750] 
Memstats: After params initialized:
I0419 00:25:39.216945 137477519595328 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0419 00:25:39.216978 137477519595328 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0419 00:25:39.217004 137477519595328 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0419 00:25:39.217029 137477519595328 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0419 00:25:39.529786 137477519595328 metric_logger.py:196] completed step: 0, seconds: 11.266, TFLOP/s/device: 1.206, Tokens/s/device: 181.786, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0419 00:25:39.710642 137477519595328 metric_logger.py:196] completed step: 1, seconds: 1.934, TFLOP/s/device: 7.027, Tokens/s/device: 1059.154, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0419 00:25:40.118014 137477519595328 metric_logger.py:196] completed step: 2, seconds: 0.033, TFLOP/s/device: 406.119, Tokens/s/device: 61214.730, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0419 00:25:40.265338 137477519595328 metric_logger.py:196] completed step: 3, seconds: 0.407, TFLOP/s/device: 33.356, Tokens/s/device: 5027.753, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0419 00:25:40.560693 137477519595328 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.543, Tokens/s/device: 13346.106, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0419 00:25:40.566797 137477519595328 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.232, Tokens/s/device: 13902.277, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0419 00:25:43.820712    2794 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0419 00:25:46.194752 137348864009984 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_3
I0419 00:26:02.864227 137477519595328 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.917, Tokens/s/device: 6921.070, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0419 00:26:03.011727 137477519595328 metric_logger.py:196] completed step: 7, seconds: 22.151, TFLOP/s/device: 0.613, Tokens/s/device: 92.457, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0419 00:26:03.159409 137477519595328 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.202, Tokens/s/device: 13445.466, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0419 00:26:03.305888 137477519595328 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0419 00:26:03.306539 137477519595328 checkpointing.py:798] Waited 0.0006735324859619141 seconds for step 9 to finish before starting checkpointing.
I0419 00:26:03.308684 137477519595328 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 00:26:17.616183 137349964060416 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 40.826 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.69078826904297 s) (per-host)
I0419 00:26:17.616325 137349964060416 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.405722s.
I0419 00:26:28.036548 137349964060416 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 48.825928s.
I0419 00:26:28.036766 137348855617280 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 00:26:28.036828 137348855617280 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0419 00:26:28.036877 137348855617280 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0419 00:26:28.038645 137348855617280 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0419 00:26:28.038806 137477519595328 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0419 00:26:28.038946 137477519595328 checkpoint_manager.py:1452] Waiting for previous save to complete took 24.730260 seconds. If this number is high, consider checkpointing less frequently.
I0419 00:26:28.040928 137477519595328 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9
I0419 00:26:28.043046 137477519595328 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints/9.
I0419 00:26:28.752756 137477519595328 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0419 00:26:28.752851 137477519595328 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 00:26:28.795211 137477519595328 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.043527s
I0419 00:26:28.795388 137477519595328 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 32.776 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.047064781188964844 s) (per-host)
I0419 00:26:28.795439 137477519595328 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.047125s (batch_requests_ready=0.001889s, total_serialization_initiated=0.045167s, others=0.000069s)
I0419 00:26:28.795526 137477519595328 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.051427s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.051412)
I0419 00:26:28.796193 137477519595328 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints/9.
I0419 00:26:28.796555 137323853342464 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-19 00:46:28.796519
I0419 00:26:28.798600 137477519595328 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 00:26:28.798829 137348855617280 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0419 00:26:28.798943 137477519595328 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776558363.308654, 'wait_for_prev_duration_secs': 24.730259895324707, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776558388.0409667, 'checkpointer_blocking_duration_secs': 0.7557394504547119, 'get_old_steps_start_time': 1776558388.796728, 'get_old_steps_duration_secs': 3.337860107421875e-05, 'checkpoint_manager_blocking_start_time': 1776558363.3067675, 'checkpoint_manager_blocking_duration_secs': 25.49214267730713}
I0419 00:26:28.799103 137477519595328 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0419 00:26:28.799149 137477519595328 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 00:26:35.948621 137348864009984 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260418_235007/linen_xpk_feat_nnx_post_train_fixes_20260418_235007_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_3
I0419 00:27:11.526601 137323853342464 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 36.925 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.77823805809021 s) (per-host)
I0419 00:27:11.526723 137323853342464 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.730051s.
I0419 00:27:20.239513 137323853342464 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 51.442825s.
I0419 00:27:20.239737 137348855617280 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 00:27:20.239794 137348855617280 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0419 00:27:20.239852 137348855617280 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0419 00:27:20.242191 137348855617280 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0419 00:27:20.242449 137477519595328 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0419 00:27:20.242596 137477519595328 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 00:27:20.243595 137477519595328 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.201, Tokens/s/device: 13897.465, 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: Sun Apr 19 00:27:30 UTC 2026
EXIT_CODE=0