MaxView

‹ 10_shardy_trueCase: 11_optimizer_offload_false11_optimizer_offload_true ›

Metrics: main (574ad3fb9) vs test/pipeline-scan-nnx (e27fc1e97)

Metricmain  574ad3fb9test/pipeline-scan-nnx  e27fc1e97Diff (test/pipeline-scan-nnx − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.14792.287+0.14
Tok/s13889.413910.5+21.132
Avg s/step2.6292.455-0.174
Memory %1.381.380
JAX0.9.20.8.1

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

main  ·  574ad3fb9  ·  main_20260420_060028  ·  full log
XPK Start: Mon Apr 20 06:37:40 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-20 06:38:04.271430: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0420 06:38:04.803016 133850766444352 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 06:38:13.844983 133850766444352 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 06:38:13.847442 133850766444352 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-r7w4l-slice-job-0-0.mt-11-optimizer-offload-r7w4l:8482
I0420 06:38:15.375527 133850766444352 max_utils.py:284] Jax distributed system initialized!
I0420 06:38:21.609901 133850766444352 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 06:38:21.610003 133850766444352 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 06:38:21.610043 133850766444352 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0420 06:38:21.610075 133850766444352 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 06:38:22.325386 133850766444352 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 06:38:22.325662 133850766444352 checkpointing.py:677] Setting up checkpoint logger...
I0420 06:38:22.325732 133850766444352 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 06:38:22.325783 133850766444352 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 06:38:22.326121 133850766444352 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 0x79bbd7b44350>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 06:38:25.164854 133850766444352 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0420 06:38:25.165088 133850766444352 checkpoint_manager.py:708] [process=1][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79a78020fa70>}, handler_registry=None
I0420 06:38:25.165325 133850766444352 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79a78020fa70>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0420 06:38:25.165373 133850766444352 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79a7800b26f0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0420 06:38:25.165409 133850766444352 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 0x79a78020fa70>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79a78020fa70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79a7800b26f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79a7800b26f0>}).
I0420 06:38:25.165796 133850766444352 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 06:38:25.165877 133850766444352 async_checkpointer.py:192] [process=1][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x79a6a84b74c0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 06:38:26.167106 133850766444352 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints
I0420 06:38:26.170365 133850766444352 checkpoint_manager.py:929] [process=1][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x79a7800afda0>
I0420 06:38:26.170475 133850766444352 checkpointing.py:301] Checkpoint manager created!
I0420 06:38:27.098231 133850766444352 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 06:38:27.098342 133850766444352 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:38:27.476880 133850766444352 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:38:27.476968 133850766444352 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:38:27.493181 133850766444352 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:38:27.493239 133850766444352 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:38:27.516764 133850766444352 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:38:27.516832 133850766444352 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:38:27.533142 133850766444352 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:38:27.533210 133850766444352 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:38:27.549524 133850766444352 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:38:27.549585 133850766444352 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:38:27.574867 133850766444352 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 06:38:27.574933 133850766444352 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:38:27.595827 133850766444352 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 06:38:27.595889 133850766444352 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 06:38:27.820962 133850766444352 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 06:38:27.821072 133850766444352 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 06:38:29.237607 133850766444352 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 06:38:29.237790 133850766444352 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 06:38:29.237854 133850766444352 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 06:38:29.237910 133850766444352 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0420 06:38:29.237966 133850766444352 maxtext_utils.py:1654]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 06:38:29.238006 133850766444352 maxtext_utils.py:1654]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 06:38:29.238058 133850766444352 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0420 06:38:29.238107 133850766444352 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0420 06:38:29.238146 133850766444352 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0420 06:38:29.238181 133850766444352 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0420 06:38:29.238228 133850766444352 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0420 06:38:29.238275 133850766444352 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0420 06:38:29.728820 133850766444352 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:38:29.728919 133850766444352 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:38:29.744220 133850766444352 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:38:29.744279 133850766444352 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:38:40.972719 133850766444352 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0420 06:38:40.973523 133850766444352 metric_logger.py:301] number parameters: 1.104 billion
I0420 06:38:52.304891 133850766444352 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0420 06:38:52.459173 133850766444352 checkpointing.py:776] Waited 0.15425682067871094 seconds for step 0 to finish before starting checkpointing.
I0420 06:38:52.461521 133850766444352 checkpoint_manager.py:2009] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:38:52.463309 133850766444352 checkpoint_manager.py:1512] [process=1] Saving checkpoint at step 0
I0420 06:38:52.464788 133850766444352 event_tracking.py:70] [process=1] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints/0.
I0420 06:38:52.822982 133850766444352 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 06:38:52.823974 133850766444352 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:38:52.824028 133850766444352 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0420 06:38:53.099250 133850766444352 base_pytree_checkpoint_handler.py:154] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276341s
I0420 06:38:53.099425 133850766444352 base_pytree_checkpoint_handler.py:130] [process=1] /jax/orbax/write/blocking_gbytes_per_sec: 5.473 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2818479537963867 s) (per-host)
I0420 06:38:53.099477 133850766444352 base_pytree_checkpoint_handler.py:768] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.281910s (batch_requests_ready=0.002311s, total_serialization_initiated=0.279529s, others=0.000071s)
I0420 06:38:53.099568 133850766444352 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.285997s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.285980)
I0420 06:38:53.100413 133850766444352 event_tracking.py:125] [process=1] [async] Finished blocking save in 0.64 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints/0.
I0420 06:38:53.100717 133721902532352 async_checkpointer.py:76] [process=1][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:58:53.100669
I0420 06:38:53.107834 133850766444352 checkpoint_manager.py:1560] [process=1][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:38:53.108087 133719226394368 async_checkpointer.py:280] [process=1][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:38:53.108208 133850766444352 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776667132.4615018, 'wait_for_prev_duration_secs': 6.341934204101562e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776667132.463348, 'checkpointer_blocking_duration_secs': 0.6375217437744141, 'get_old_steps_start_time': 1776667133.1008947, 'get_old_steps_duration_secs': 2.8848648071289062e-05, 'checkpoint_manager_blocking_start_time': 1776667132.45977, 'checkpoint_manager_blocking_duration_secs': 0.6484036445617676}
I0420 06:38:53.108311 133850766444352 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0420 06:38:53.108361 133850766444352 max_utils.py:750] 
Memstats: After params initialized:
I0420 06:38:53.108408 133850766444352 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_2(process=1,(2,0,0,0))
I0420 06:38:53.108442 133850766444352 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_3(process=1,(3,0,0,0))
I0420 06:38:53.108467 133850766444352 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_6(process=1,(2,1,0,0))
I0420 06:38:53.108491 133850766444352 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_7(process=1,(3,1,0,0))
I0420 06:38:53.426672 133850766444352 metric_logger.py:196] completed step: 0, seconds: 11.331, TFLOP/s/device: 1.199, Tokens/s/device: 180.739, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:38:53.598692 133850766444352 metric_logger.py:196] completed step: 1, seconds: 1.120, TFLOP/s/device: 12.129, Tokens/s/device: 1828.225, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0420 06:38:54.017419 133850766444352 metric_logger.py:196] completed step: 2, seconds: 0.025, TFLOP/s/device: 550.242, Tokens/s/device: 82938.485, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0420 06:38:54.165002 133850766444352 metric_logger.py:196] completed step: 3, seconds: 0.419, TFLOP/s/device: 32.403, Tokens/s/device: 4884.075, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0420 06:38:54.460390 133850766444352 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.938, Tokens/s/device: 13405.686, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0420 06:38:54.466172 133850766444352 metric_logger.py:196] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.093, Tokens/s/device: 13881.264, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0420 06:38:56.268175    2873 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 06:38:58.287758 133719234787072 array_metadata_store.py:203] [process=1][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_1
I0420 06:39:15.818199 133850766444352 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.947, Tokens/s/device: 6925.704, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0420 06:39:15.965620 133850766444352 metric_logger.py:196] completed step: 7, seconds: 21.205, TFLOP/s/device: 0.641, Tokens/s/device: 96.579, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0420 06:39:16.112946 133850766444352 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.323, Tokens/s/device: 13463.764, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0420 06:39:16.259617 133850766444352 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0420 06:39:16.260305 133850766444352 checkpointing.py:776] Waited 0.0007100105285644531 seconds for step 9 to finish before starting checkpointing.
I0420 06:39:16.262212 133850766444352 checkpoint_manager.py:2020] [process=1][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:39:30.246805 133721902532352 base_pytree_checkpoint_handler.py:130] [process=1] /jax/orbax/write/gbytes_per_sec: 42.202 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.429192781448364 s) (per-host)
I0420 06:39:30.246927 133721902532352 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.146098s.
I0420 06:39:38.418346 133721902532352 async_checkpointer.py:160] [process=1][thread=async_save] Background save thread done. Time taken: 45.317501s.
I0420 06:39:38.418615 133719226394368 async_checkpointer.py:288] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:39:38.418757 133719226394368 async_checkpointer.py:298] [process=1][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:39:38.418821 133719226394368 checkpoint_manager.py:2137] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:39:38.421205 133719226394368 checkpoint_manager.py:2146] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 06:39:38.421413 133850766444352 checkpoint_manager.py:2032] [process=1][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 06:39:38.421552 133850766444352 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.159342 seconds. If this number is high, consider checkpointing less frequently.
I0420 06:39:38.423417 133850766444352 checkpoint_manager.py:1512] [process=1] Saving checkpoint at step 9
I0420 06:39:38.425458 133850766444352 event_tracking.py:70] [process=1] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints/9.
I0420 06:39:39.137102 133850766444352 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:39:39.137198 133850766444352 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0420 06:39:39.173065 133850766444352 base_pytree_checkpoint_handler.py:154] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.036984s
I0420 06:39:39.173230 133850766444352 base_pytree_checkpoint_handler.py:130] [process=1] /jax/orbax/write/blocking_gbytes_per_sec: 38.053 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.040537357330322266 s) (per-host)
I0420 06:39:39.173281 133850766444352 base_pytree_checkpoint_handler.py:768] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040597s (batch_requests_ready=0.001893s, total_serialization_initiated=0.038636s, others=0.000068s)
I0420 06:39:39.173370 133850766444352 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044778s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.044762)
I0420 06:39:39.174116 133850766444352 event_tracking.py:125] [process=1] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints/9.
I0420 06:39:39.174404 133719226394368 async_checkpointer.py:76] [process=1][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:59:39.174371
I0420 06:39:39.178852 133850766444352 checkpoint_manager.py:1560] [process=1][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:39:39.179140 133697013536512 async_checkpointer.py:280] [process=1][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:39:39.179299 133850766444352 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776667156.2621825, 'wait_for_prev_duration_secs': 22.159342288970947, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776667178.4234552, 'checkpointer_blocking_duration_secs': 0.7510881423950195, 'get_old_steps_start_time': 1776667179.1745658, 'get_old_steps_duration_secs': 2.8371810913085938e-05, 'checkpoint_manager_blocking_start_time': 1776667156.2605343, 'checkpoint_manager_blocking_duration_secs': 22.91873264312744}
I0420 06:39:39.179399 133850766444352 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0420 06:39:39.179440 133850766444352 checkpoint_manager.py:2020] [process=1][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:39:44.305533 133719234787072 array_metadata_store.py:203] [process=1][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_1
I0420 06:40:20.503435 133719226394368 base_pytree_checkpoint_handler.py:130] [process=1] /jax/orbax/write/gbytes_per_sec: 38.182 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.370702028274536 s) (per-host)
I0420 06:40:20.503564 133719226394368 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.329047s.
I0420 06:40:30.396619 133719226394368 async_checkpointer.py:160] [process=1][thread=async_save] Background save thread done. Time taken: 51.222086s.
I0420 06:40:30.396929 133697013536512 async_checkpointer.py:288] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:40:30.397065 133697013536512 async_checkpointer.py:298] [process=1][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:40:30.397113 133697013536512 checkpoint_manager.py:2137] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:40:30.398746 133697013536512 checkpoint_manager.py:2146] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 06:40:30.398934 133850766444352 checkpoint_manager.py:2032] [process=1][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 06:40:30.399095 133850766444352 checkpoint_manager.py:2009] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:40:30.400219 133850766444352 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.147, Tokens/s/device: 13889.360, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Mon Apr 20 06:40:40 UTC 2026
EXIT_CODE=0
XPK Start: Tue Apr 21 01:30:15 UTC 2026
2026-04-21 01:30:19.933747: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776735019.946479      10 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776735019.950231      10 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776735019.961551      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776735019.961571      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776735019.961574      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776735019.961575      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-21 01:30:39.032752: 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)
I0421 01:30:39.548457 140639728219968 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-21 01:30:48,590:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0421 01:30:48.590326 140639728219968 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-21 01:30:48,592:jax._src.distributed:157: Connecting to JAX distributed service on mt-11-optimizer-offload-2k6el-slice-job-0-0.mt-11-optimizer-offload-2k6el:8482
I0421 01:30:48.592599 140639728219968 distributed.py:157] Connecting to JAX distributed service on mt-11-optimizer-offload-2k6el-slice-job-0-0.mt-11-optimizer-offload-2k6el:8482
I0421 01:30:49.875068 140639728219968 max_utils.py:284] Jax distributed system initialized!
I0421 01:30:56.646463 140639728219968 max_utils.py:800] System Information: Jax Version: 0.8.1
I0421 01:30:56.646570 140639728219968 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0421 01:30:56.646610 140639728219968 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0421 01:30:56.646644 140639728219968 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 01:30:57.263751 140639728219968 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 01:30:57.264034 140639728219968 checkpointing.py:677] Setting up checkpoint logger...
I0421 01:30:57.264088 140639728219968 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0421 01:30:57.264132 140639728219968 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0421 01:30:57.264487 140639728219968 base_pytree_checkpoint_handler.py:415] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7fe8c8353770>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 01:31:00.138077 140639728219968 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 01:31:00.138321 140639728219968 checkpoint_manager.py:709] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7fe777b85d60>}, handler_registry=None
I0421 01:31:00.138557 140639728219968 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7fe777b85d60>` 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`.
I0421 01:31:00.138607 140639728219968 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7fd57f2defc0>` 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`.
I0421 01:31:00.138642 140639728219968 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 0x7fe777b85d60>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7fe777b85d60>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7fd57f2defc0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7fd57f2defc0>}).
I0421 01:31:00.139155 140639728219968 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0421 01:31:00.139234 140639728219968 async_checkpointer.py:177] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7fd57dc14040> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0421 01:31:02.092967 140639728219968 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints
I0421 01:31:02.526802 140639728219968 checkpoint_manager.py:929] [process=4][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_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7fd64cf36d50>
I0421 01:31:02.526978 140639728219968 checkpointing.py:301] Checkpoint manager created!
I0421 01:31:03.437876 140639728219968 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 01:31:03.437983 140639728219968 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:31:03.811774 140639728219968 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 01:31:03.811869 140639728219968 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:31:03.827532 140639728219968 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 01:31:03.827594 140639728219968 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:31:03.850120 140639728219968 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 01:31:03.850191 140639728219968 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:31:03.866073 140639728219968 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 01:31:03.866134 140639728219968 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:31:03.881821 140639728219968 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 01:31:03.881881 140639728219968 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:31:03.906228 140639728219968 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 01:31:03.906302 140639728219968 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:31:03.925443 140639728219968 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 01:31:03.925509 140639728219968 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 01:31:04.114471 140639728219968 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 01:31:04.114583 140639728219968 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0421 01:31:05.538030 140639728219968 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0421 01:31:05.538164 140639728219968 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0421 01:31:05.538219 140639728219968 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0421 01:31:05.538277 140639728219968 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0421 01:31:05.538328 140639728219968 maxtext_utils.py:1501]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0421 01:31:05.538366 140639728219968 maxtext_utils.py:1501]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0421 01:31:05.538419 140639728219968 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0421 01:31:05.538471 140639728219968 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0421 01:31:05.538511 140639728219968 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0421 01:31:05.538546 140639728219968 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0421 01:31:05.538592 140639728219968 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)

I0421 01:31:05.538638 140639728219968 maxtext_utils.py:1501]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0421 01:31:06.035491 140639728219968 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 01:31:06.035592 140639728219968 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 01:31:06.050321 140639728219968 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 01:31:06.050383 140639728219968 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 01:31:16.619591 140639728219968 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.
I0421 01:31:16.620453 140639728219968 metric_logger.py:289] number parameters: 1.104 billion
I0421 01:31:27.621938 140639728219968 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0421 01:31:28.177966 140639728219968 checkpointing.py:776] Waited 0.5560004711151123 seconds for step 0 to finish before starting checkpointing.
I0421 01:31:28.180666 140639728219968 checkpoint_manager.py:2013] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:31:28.182323 140639728219968 checkpoint_manager.py:1518] [process=4] Saving checkpoint at step 0
I0421 01:31:28.185128 140639728219968 async_checkpointer.py:452] [process=4] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints/0.
I0421 01:31:29.195653 140639728219968 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 01:31:29.196664 140639728219968 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 01:31:29.196736 140639728219968 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
I0421 01:31:29.444915 140639728219968 base_pytree_checkpoint_handler.py:153] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.249337s
I0421 01:31:29.445086 140639728219968 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.883 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.535020112991333 s) (per-host)
I0421 01:31:29.445150 140639728219968 base_pytree_checkpoint_handler.py:737] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.535090s (batch_requests_ready=0.282158s, total_serialization_initiated=0.252854s, others=0.000078s)
I0421 01:31:29.445269 140639728219968 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.539049s (all_items=0.000019s, per_item={'items': '0.00001931'}, temp_paths=0.539029)
I0421 01:31:29.446227 140516414969600 async_checkpointer.py:79] [process=4][thread=async_save] Background save thread started.
I0421 01:31:29.446354 140639728219968 async_checkpointer.py:561] Finished blocking save. Time taken: 1.263962s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints/0.
I0421 01:31:29.869461 140639728219968 checkpoint_manager.py:1566] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 01:31:29.869868 140512631695104 async_checkpointer.py:265] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0421 01:31:29.870032 140639728219968 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776735088.1806474, 'wait_for_prev_duration_secs': 7.557868957519531e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776735088.1823618, 'checkpointer_blocking_duration_secs': 1.2641680240631104, 'get_old_steps_start_time': 1776735089.4465506, 'get_old_steps_duration_secs': 2.47955322265625e-05, 'checkpoint_manager_blocking_start_time': 1776735088.178744, 'checkpoint_manager_blocking_duration_secs': 1.6912455558776855}
I0421 01:31:29.870137 140639728219968 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0421 01:31:29.870191 140639728219968 max_utils.py:750] 
Memstats: After params initialized:
I0421 01:31:29.870247 140639728219968 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0421 01:31:29.870281 140639728219968 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0421 01:31:29.870311 140639728219968 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0421 01:31:29.870336 140639728219968 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0421 01:31:30.134211 140639728219968 metric_logger.py:185] completed step: 0, seconds: 11.001, TFLOP/s/device: 1.235, Tokens/s/device: 186.159, total_weights: 65536, loss: 10.874
I0421 01:31:30.321234 140639728219968 metric_logger.py:185] completed step: 1, seconds: 2.511, TFLOP/s/device: 5.411, Tokens/s/device: 815.621, total_weights: 65536, loss: 10.874
I0421 01:31:30.727269 140639728219968 metric_logger.py:185] completed step: 2, seconds: 0.040, TFLOP/s/device: 340.965, Tokens/s/device: 51394.012, total_weights: 65536, loss: 10.263
I0421 01:31:30.874572 140639728219968 metric_logger.py:185] completed step: 3, seconds: 0.406, TFLOP/s/device: 33.453, Tokens/s/device: 5042.348, total_weights: 65536, loss: 9.734
I0421 01:31:31.170095 140639728219968 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.990, Tokens/s/device: 13413.588, total_weights: 65536, loss: 9.278
I0421 01:31:31.175415 140639728219968 metric_logger.py:185] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.309, Tokens/s/device: 13913.800, total_weights: 65536, loss: 8.892
I0421 01:31:49.566962 140639728219968 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.920, Tokens/s/device: 6921.608, total_weights: 65536, loss: 8.592
I0421 01:31:49.714329 140639728219968 metric_logger.py:185] completed step: 7, seconds: 18.245, TFLOP/s/device: 0.745, Tokens/s/device: 112.252, total_weights: 65536, loss: 8.384
I0421 01:31:49.861818 140639728219968 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.457, Tokens/s/device: 13483.975, total_weights: 65536, loss: 8.255
I0421 01:31:50.008938 140639728219968 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0421 01:31:50.009529 140639728219968 checkpointing.py:776] Waited 0.0006124973297119141 seconds for step 9 to finish before starting checkpointing.
I0421 01:31:50.011650 140639728219968 checkpoint_manager.py:2024] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 01:31:50.681198    2617 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 01:31:52.512411 140516423362304 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_4
I0421 01:32:24.919062 140516414969600 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/gbytes_per_sec: 28.203 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 56.00895428657532 s) (per-host)
I0421 01:32:24.919191 140516414969600 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 55.472755s.
I0421 01:32:32.970677 140516414969600 async_checkpointer.py:144] [process=4][thread=async_save] Background save thread done. Time taken: 63.524227s.
I0421 01:32:32.971019 140512631695104 async_checkpointer.py:273] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 01:32:32.971158 140512631695104 async_checkpointer.py:283] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0421 01:32:32.971210 140512631695104 checkpoint_manager.py:2133] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0421 01:32:32.972662 140512631695104 checkpoint_manager.py:2142] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0421 01:32:32.972853 140639728219968 checkpoint_manager.py:2036] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0421 01:32:32.972984 140639728219968 checkpoint_manager.py:1458] Waiting for previous save to complete took 42.961339 seconds. If this number is high, consider checkpointing less frequently.
I0421 01:32:32.974761 140639728219968 checkpoint_manager.py:1518] [process=4] Saving checkpoint at step 9
I0421 01:32:32.978130 140639728219968 async_checkpointer.py:452] [process=4] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints/9.
I0421 01:32:33.939047 140639728219968 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 01:32:33.939144 140639728219968 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
I0421 01:32:33.983287 140639728219968 base_pytree_checkpoint_handler.py:153] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.045453s
I0421 01:32:33.983451 140639728219968 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.000 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.3085052967071533 s) (per-host)
I0421 01:32:33.983500 140639728219968 base_pytree_checkpoint_handler.py:737] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.308562s (batch_requests_ready=0.261194s, total_serialization_initiated=0.047304s, others=0.000065s)
I0421 01:32:33.983587 140639728219968 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.313077s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.313062)
I0421 01:32:33.984412 140513713829632 async_checkpointer.py:79] [process=4][thread=async_save] Background save thread started.
I0421 01:32:33.984587 140639728219968 async_checkpointer.py:561] Finished blocking save. Time taken: 1.009756s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints/9.
I0421 01:32:34.410004 140639728219968 checkpoint_manager.py:1566] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 01:32:34.410363 140512631695104 async_checkpointer.py:265] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0421 01:32:34.410537 140639728219968 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776735110.011622, 'wait_for_prev_duration_secs': 42.96133875846863, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776735152.9748023, 'checkpointer_blocking_duration_secs': 1.0099077224731445, 'get_old_steps_start_time': 1776735153.9847324, 'get_old_steps_duration_secs': 2.7179718017578125e-05, 'checkpoint_manager_blocking_start_time': 1776735110.0097752, 'checkpoint_manager_blocking_duration_secs': 44.40072321891785}
I0421 01:32:34.410642 140639728219968 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0421 01:32:34.410686 140639728219968 checkpoint_manager.py:2024] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 01:32:39.044104 140516423362304 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_4
I0421 01:33:16.439636 140513713829632 base_pytree_checkpoint_handler.py:129] [process=4] /jax/checkpoint/write/gbytes_per_sec: 36.937 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.76464557647705 s) (per-host)
I0421 01:33:16.439773 140513713829632 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.455238s.
I0421 01:33:22.491970 140513713829632 async_checkpointer.py:144] [process=4][thread=async_save] Background save thread done. Time taken: 48.507421s.
I0421 01:33:22.492248 140512631695104 async_checkpointer.py:273] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 01:33:22.492368 140512631695104 async_checkpointer.py:283] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0421 01:33:22.492431 140512631695104 checkpoint_manager.py:2133] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0421 01:33:22.493878 140512631695104 checkpoint_manager.py:2142] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0421 01:33:22.494045 140639728219968 checkpoint_manager.py:2036] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0421 01:33:22.494184 140639728219968 checkpoint_manager.py:2013] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:33:22.494789 140639728219968 metric_logger.py:185] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.287, Tokens/s/device: 13910.492, total_weights: 65536, loss: 8.179
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Tue Apr 21 01:33:31 UTC 2026
EXIT_CODE=0