MaxView

‹ 09_pdb_lt_1Case: 10_shardy_false10_shardy_true ›

Metrics: main (8a17c3d19) vs feat/nnx-set-defaults-true (73213e044)

Metricmain  8a17c3d19feat/nnx-set-defaults-true  73213e044Diff (feat/nnx-set-defaults-true − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.04691.942-0.104
Tok/s13874.113858.5-15.585
Avg s/step2.7522.536-0.216
Memory %1.381.380
JAX0.9.20.8.1

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

main  ·  8a17c3d19  ·  main_20260422_071422  ·  full log
XPK Start: Wed Apr 22 07:50:02 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-22 07:50:27.098788: 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)
I0422 07:50:27.308084 138998026590016 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 07:50:36.348429 138998026590016 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 07:50:36.350665 138998026590016 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-cz91t-slice-job-0-0.mt-10-shardy-false-cz91t:8482
I0422 07:50:37.426687 138998026590016 max_utils.py:284] Jax distributed system initialized!
I0422 07:50:43.442518 138998026590016 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 07:50:43.442624 138998026590016 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 07:50:43.442666 138998026590016 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
I0422 07:50:43.442704 138998026590016 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 07:50:44.130838 138998026590016 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 07:50:44.131112 138998026590016 checkpointing.py:677] Setting up checkpoint logger...
I0422 07:50:44.131163 138998026590016 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 07:50:44.131207 138998026590016 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0422 07:50:44.131562 138998026590016 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 0x7e6a69b1cf50>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 07:50:47.009638 138998026590016 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0422 07:50:47.009870 138998026590016 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e563c4416a0>}, handler_registry=None
I0422 07:50:47.010105 138998026590016 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e563c4416a0>` 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`.
I0422 07:50:47.010153 138998026590016 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e563c4413a0>` 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`.
I0422 07:50:47.010190 138998026590016 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 0x7e563c4416a0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e563c4416a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e563c4413a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e563c4413a0>}).
I0422 07:50:47.010527 138998026590016 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0422 07:50:47.010597 138998026590016 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e563c1c1a80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0422 07:50:48.266421 138998026590016 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints
I0422 07:50:49.107980 138998026590016 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7e563c443110>
I0422 07:50:49.108150 138998026590016 checkpointing.py:301] Checkpoint manager created!
I0422 07:50:50.049199 138998026590016 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 07:50:50.049341 138998026590016 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 07:50:50.430925 138998026590016 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 07:50:50.431017 138998026590016 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 07:50:50.447249 138998026590016 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 07:50:50.447328 138998026590016 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 07:50:50.470760 138998026590016 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 07:50:50.470832 138998026590016 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 07:50:50.487092 138998026590016 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 07:50:50.487153 138998026590016 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 07:50:50.503450 138998026590016 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 07:50:50.503511 138998026590016 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 07:50:50.528014 138998026590016 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 07:50:50.528084 138998026590016 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 07:50:50.548865 138998026590016 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 07:50:50.548929 138998026590016 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 07:50:50.757617 138998026590016 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 07:50:50.757724 138998026590016 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0422 07:50:52.146946 138998026590016 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0422 07:50:52.147075 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 07:50:52.147130 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 07:50:52.147189 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0422 07:50:52.147243 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0422 07:50:52.147302 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0422 07:50:52.147364 138998026590016 maxtext_utils.py:1707]  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)
I0422 07:50:52.147419 138998026590016 maxtext_utils.py:1707]  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')
I0422 07:50:52.147462 138998026590016 maxtext_utils.py:1707]  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)
I0422 07:50:52.147499 138998026590016 maxtext_utils.py:1707]  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)
I0422 07:50:52.147545 138998026590016 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0422 07:50:52.147595 138998026590016 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0422 07:50:52.637266 138998026590016 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 07:50:52.637381 138998026590016 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 07:50:52.652625 138998026590016 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 07:50:52.652685 138998026590016 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 07:51:03.413404 138998026590016 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.
I0422 07:51:03.414227 138998026590016 metric_logger.py:301] number parameters: 1.104 billion
I0422 07:51:14.980646 138998026590016 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0422 07:51:15.233411 138998026590016 checkpointing.py:776] Waited 0.2527437210083008 seconds for step 0 to finish before starting checkpointing.
I0422 07:51:15.235844 138998026590016 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 07:51:15.237479 138998026590016 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0422 07:51:15.238872 138998026590016 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/0.
I0422 07:51:15.967998 138998026590016 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 07:51:15.968997 138998026590016 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 07:51:15.969055 138998026590016 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
I0422 07:51:16.246981 138998026590016 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279058s
I0422 07:51:16.247161 138998026590016 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.417 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2847757339477539 s) (per-host)
I0422 07:51:16.247211 138998026590016 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.284837s (batch_requests_ready=0.002432s, total_serialization_initiated=0.282337s, others=0.000068s)
I0422 07:51:16.247318 138998026590016 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289592s (all_items=0.000035s, per_item={'items': '0.00003505'}, temp_paths=0.289557)
I0422 07:51:16.248072 138998026590016 event_tracking.py:125] [process=6] [async] Finished blocking save in 1.01 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/0.
I0422 07:51:16.248423 138869416232704 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:11:16.248380
I0422 07:51:16.676732 138998026590016 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 07:51:16.677151 138869391054592 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0422 07:51:16.677345 138998026590016 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776844275.2358265, 'wait_for_prev_duration_secs': 6.008148193359375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776844275.2375183, 'checkpointer_blocking_duration_secs': 1.0110564231872559, 'get_old_steps_start_time': 1776844276.2485998, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1776844275.2339368, 'checkpoint_manager_blocking_duration_secs': 1.44333815574646}
I0422 07:51:16.677464 138998026590016 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0422 07:51:16.677518 138998026590016 max_utils.py:750] 
Memstats: After params initialized:
I0422 07:51:16.677577 138998026590016 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0422 07:51:16.677612 138998026590016 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0422 07:51:16.677641 138998026590016 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0422 07:51:16.677667 138998026590016 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0422 07:51:16.994930 138998026590016 metric_logger.py:196] completed step: 0, seconds: 11.566, TFLOP/s/device: 1.175, Tokens/s/device: 177.066, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0422 07:51:17.179444 138998026590016 metric_logger.py:196] completed step: 1, seconds: 2.013, TFLOP/s/device: 6.751, Tokens/s/device: 1017.525, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0422 07:51:17.586036 138998026590016 metric_logger.py:196] completed step: 2, seconds: 0.037, TFLOP/s/device: 365.973, Tokens/s/device: 55163.497, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0422 07:51:17.733328 138998026590016 metric_logger.py:196] completed step: 3, seconds: 0.407, TFLOP/s/device: 33.386, Tokens/s/device: 5032.275, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0422 07:51:18.028408 138998026590016 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.745, Tokens/s/device: 13376.616, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0422 07:51:18.034329 138998026590016 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.296, Tokens/s/device: 13911.815, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0422 07:51:19.149062    2783 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 07:51:21.178099 138869399447296 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/0/items/array_metadatas/process_6
I0422 07:51:39.600589 138998026590016 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.988, Tokens/s/device: 6931.822, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0422 07:51:39.748280 138998026590016 metric_logger.py:196] completed step: 7, seconds: 21.420, TFLOP/s/device: 0.634, Tokens/s/device: 95.613, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0422 07:51:39.895572 138998026590016 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.209, Tokens/s/device: 13446.526, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0422 07:51:40.042186 138998026590016 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0422 07:51:40.042866 138998026590016 checkpointing.py:776] Waited 0.0006992816925048828 seconds for step 9 to finish before starting checkpointing.
I0422 07:51:40.045037 138998026590016 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 07:51:53.804172 138869416232704 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 41.742 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.841736793518066 s) (per-host)
I0422 07:51:53.804408 138869416232704 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.555870s.
I0422 07:52:01.316468 138869416232704 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 45.067915s.
I0422 07:52:01.316805 138869391054592 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 07:52:01.316924 138869391054592 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0422 07:52:01.316975 138869391054592 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0422 07:52:01.319416 138869391054592 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0422 07:52:01.319576 138998026590016 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0422 07:52:01.319710 138998026590016 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.274676 seconds. If this number is high, consider checkpointing less frequently.
I0422 07:52:01.322572 138998026590016 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0422 07:52:01.324666 138998026590016 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/9.
I0422 07:52:02.045537 138998026590016 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 07:52:02.045631 138998026590016 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
I0422 07:52:02.079162 138998026590016 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034714s
I0422 07:52:02.079347 138998026590016 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 40.199 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.038373470306396484 s) (per-host)
I0422 07:52:02.079401 138998026590016 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038437s (batch_requests_ready=0.001946s, total_serialization_initiated=0.036420s, others=0.000072s)
I0422 07:52:02.079494 138998026590016 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042605s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.042590)
I0422 07:52:02.080183 138998026590016 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/9.
I0422 07:52:02.080521 138869391054592 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:12:02.080485
I0422 07:52:02.082560 138998026590016 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 07:52:02.082837 138869399447296 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0422 07:52:02.082973 138998026590016 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776844300.045006, 'wait_for_prev_duration_secs': 21.274675607681274, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776844321.3226104, 'checkpointer_blocking_duration_secs': 0.7580583095550537, 'get_old_steps_start_time': 1776844322.0806932, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1776844300.0430965, 'checkpoint_manager_blocking_duration_secs': 22.039843797683716}
I0422 07:52:02.083136 138998026590016 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0422 07:52:02.083183 138998026590016 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 07:52:08.466346 138863090652928 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/9/items/array_metadatas/process_6
I0422 07:52:43.696827 138869391054592 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.920 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.65580940246582 s) (per-host)
I0422 07:52:43.696953 138869391054592 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.616319s.
I0422 07:52:52.334321 138869391054592 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.253655s.
I0422 07:52:52.334593 138869399447296 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 07:52:52.334714 138869399447296 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0422 07:52:52.334764 138869399447296 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0422 07:52:52.336167 138869399447296 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0422 07:52:52.336357 138998026590016 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0422 07:52:52.336499 138998026590016 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 07:52:52.337537 138998026590016 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 92.046, Tokens/s/device: 13874.117, 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: Wed Apr 22 07:53:02 UTC 2026
EXIT_CODE=0
XPK Start: Wed Apr 22 16:26:29 UTC 2026
2026-04-22 16:26:33.518591: 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:1776875193.531103      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:1776875193.534751      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:1776875193.545918      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776875193.545937      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776875193.545939      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776875193.545941      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-22 16:26:52.659073: 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)
I0422 16:26:53.184142 137983096088384 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-22 16:27:02,225:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0422 16:27:02.225820 137983096088384 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-22 16:27:02,228:jax._src.distributed:157: Connecting to JAX distributed service on mt-10-shardy-false-ajp01-slice-job-0-0.mt-10-shardy-false-ajp01:8482
I0422 16:27:02.228128 137983096088384 distributed.py:157] Connecting to JAX distributed service on mt-10-shardy-false-ajp01-slice-job-0-0.mt-10-shardy-false-ajp01:8482
I0422 16:27:03.132904 137983096088384 max_utils.py:284] Jax distributed system initialized!
I0422 16:27:10.040101 137983096088384 max_utils.py:800] System Information: Jax Version: 0.8.1
I0422 16:27:10.040206 137983096088384 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0422 16:27:10.040246 137983096088384 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
I0422 16:27:10.040282 137983096088384 train_utils.py:377] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 16:27:10.660392 137983096088384 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 16:27:10.661007 137983096088384 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 16:27:10.661194 137983096088384 checkpointing.py:688] Setting up checkpoint logger...
I0422 16:27:10.661245 137983096088384 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 16:27:10.661289 137983096088384 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0422 16:27:10.661622 137983096088384 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 0x7d7e3716d100>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 16:27:13.721049 137983096088384 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0422 16:27:13.721289 137983096088384 checkpoint_manager.py:709] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d6bbb55db80>}, handler_registry=None
I0422 16:27:13.721523 137983096088384 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d6bbb55db80>` 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`.
I0422 16:27:13.721572 137983096088384 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d6bbb562a50>` 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`.
I0422 16:27:13.721609 137983096088384 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 0x7d6bbb55db80>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d6bbb55db80>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d6bbb562a50>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d6bbb562a50>}).
I0422 16:27:13.722132 137983096088384 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0422 16:27:13.722213 137983096088384 async_checkpointer.py:177] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7d6bbac64180> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0422 16:27:14.794959 137983096088384 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints
I0422 16:27:14.797120 137983096088384 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7d6bbb4c08f0>
I0422 16:27:14.797234 137983096088384 checkpointing.py:302] Checkpoint manager created!
I0422 16:27:15.683481 137983096088384 nnx_wrappers.py:455] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 16:27:15.683584 137983096088384 nnx_wrappers.py:455] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 16:27:16.050937 137983096088384 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 16:27:16.051027 137983096088384 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 16:27:16.067007 137983096088384 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 16:27:16.067064 137983096088384 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 16:27:16.089759 137983096088384 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 16:27:16.089826 137983096088384 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 16:27:16.105762 137983096088384 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 16:27:16.105825 137983096088384 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 16:27:16.121747 137983096088384 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 16:27:16.121805 137983096088384 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 16:27:16.146718 137983096088384 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 16:27:16.146783 137983096088384 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 16:27:16.166397 137983096088384 linears.py:541] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 16:27:16.166463 137983096088384 linears.py:541] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 16:27:16.359201 137983096088384 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 16:27:16.359311 137983096088384 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0422 16:27:17.759937 137983096088384 maxtext_utils.py:1740]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0422 16:27:17.760078 137983096088384 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 16:27:17.760135 137983096088384 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 16:27:17.760195 137983096088384 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0422 16:27:17.760247 137983096088384 maxtext_utils.py:1740]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0422 16:27:17.760292 137983096088384 maxtext_utils.py:1740]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0422 16:27:17.760350 137983096088384 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0422 16:27:17.760407 137983096088384 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0422 16:27:17.760450 137983096088384 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0422 16:27:17.760488 137983096088384 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0422 16:27:17.760538 137983096088384 maxtext_utils.py:1740]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)

I0422 16:27:17.760587 137983096088384 maxtext_utils.py:1740]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0422 16:27:18.255928 137983096088384 train.py:158] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 16:27:18.256021 137983096088384 train.py:158] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 16:27:18.270984 137983096088384 train.py:165] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 16:27:18.271045 137983096088384 train.py:165] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 16:27:28.990761 137983096088384 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.
I0422 16:27:28.991609 137983096088384 metric_logger.py:289] number parameters: 1.104 billion
I0422 16:27:39.986252 137983096088384 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0422 16:27:40.254198 137983096088384 checkpointing.py:798] Waited 0.26793503761291504 seconds for step 0 to finish before starting checkpointing.
I0422 16:27:40.256580 137983096088384 checkpoint_manager.py:2013] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 16:27:40.258208 137983096088384 checkpoint_manager.py:1518] [process=5] Saving checkpoint at step 0
I0422 16:27:40.260917 137983096088384 async_checkpointer.py:452] [process=5] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints/0.
I0422 16:27:41.240067 137983096088384 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 16:27:41.241029 137983096088384 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0422 16:27:41.241089 137983096088384 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
I0422 16:27:41.485728 137983096088384 base_pytree_checkpoint_handler.py:153] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.245739s
I0422 16:27:41.485899 137983096088384 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.941 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5244388580322266 s) (per-host)
I0422 16:27:41.485957 137983096088384 base_pytree_checkpoint_handler.py:737] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.524506s (batch_requests_ready=0.275064s, total_serialization_initiated=0.249366s, others=0.000076s)
I0422 16:27:41.486047 137983096088384 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.528525s (all_items=0.000019s, per_item={'items': '0.00001931'}, temp_paths=0.528505)
I0422 16:27:41.487038 137859986089728 async_checkpointer.py:79] [process=5][thread=async_save] Background save thread started.
I0422 16:27:41.487212 137983096088384 async_checkpointer.py:561] Finished blocking save. Time taken: 1.228929s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints/0.
I0422 16:27:41.581784 137983096088384 checkpoint_manager.py:1566] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 16:27:41.582152 137855674337024 async_checkpointer.py:265] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0422 16:27:41.582317 137983096088384 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776875260.2565618, 'wait_for_prev_duration_secs': 6.222724914550781e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776875260.2582505, 'checkpointer_blocking_duration_secs': 1.229069471359253, 'get_old_steps_start_time': 1776875261.48734, 'get_old_steps_duration_secs': 2.4080276489257812e-05, 'checkpoint_manager_blocking_start_time': 1776875260.2547045, 'checkpoint_manager_blocking_duration_secs': 1.3275721073150635}
I0422 16:27:41.582425 137983096088384 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0422 16:27:41.582479 137983096088384 max_utils.py:750] 
Memstats: After params initialized:
I0422 16:27:41.582535 137983096088384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0422 16:27:41.582570 137983096088384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0422 16:27:41.582596 137983096088384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0422 16:27:41.582622 137983096088384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0422 16:27:41.847489 137983096088384 metric_logger.py:185] completed step: 0, seconds: 10.995, TFLOP/s/device: 1.236, Tokens/s/device: 186.275, total_weights: 65536, loss: 10.874
I0422 16:27:42.015884 137983096088384 metric_logger.py:185] completed step: 1, seconds: 1.860, TFLOP/s/device: 7.305, Tokens/s/device: 1101.151, total_weights: 65536, loss: 10.874
I0422 16:27:42.416666 137983096088384 metric_logger.py:185] completed step: 2, seconds: 0.021, TFLOP/s/device: 642.782, Tokens/s/device: 96887.123, total_weights: 65536, loss: 10.263
I0422 16:27:42.564398 137983096088384 metric_logger.py:185] completed step: 3, seconds: 0.401, TFLOP/s/device: 33.870, Tokens/s/device: 5105.309, total_weights: 65536, loss: 9.734
I0422 16:27:42.859880 137983096088384 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.847, Tokens/s/device: 13392.011, total_weights: 65536, loss: 9.278
I0422 16:27:42.865754 137983096088384 metric_logger.py:185] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.106, Tokens/s/device: 13883.146, total_weights: 65536, loss: 8.892
I0422 16:28:02.658953 137983096088384 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.888, Tokens/s/device: 6916.746, total_weights: 65536, loss: 8.592
I0422 16:28:02.806688 137983096088384 metric_logger.py:185] completed step: 7, seconds: 19.646, TFLOP/s/device: 0.692, Tokens/s/device: 104.243, total_weights: 65536, loss: 8.384
I0422 16:28:02.954114 137983096088384 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.384, Tokens/s/device: 13472.886, total_weights: 65536, loss: 8.255
I0422 16:28:03.101175 137983096088384 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0422 16:28:03.101838 137983096088384 checkpointing.py:798] Waited 0.0006854534149169922 seconds for step 9 to finish before starting checkpointing.
I0422 16:28:03.103763 137983096088384 checkpoint_manager.py:2024] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 16:28:04.080481    2642 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 16:28:06.022377 137859994482432 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints/0/items/array_metadatas/process_5
I0422 16:28:38.082841 137859986089728 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/gbytes_per_sec: 27.653 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 57.12134337425232 s) (per-host)
I0422 16:28:38.082941 137859986089728 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 56.595790s.
I0422 16:28:46.037692 137859986089728 async_checkpointer.py:144] [process=5][thread=async_save] Background save thread done. Time taken: 64.550524s.
I0422 16:28:46.038008 137855674337024 async_checkpointer.py:273] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 16:28:46.038142 137855674337024 async_checkpointer.py:283] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0422 16:28:46.038200 137855674337024 checkpoint_manager.py:2133] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0422 16:28:46.039610 137855674337024 checkpoint_manager.py:2142] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0422 16:28:46.039814 137983096088384 checkpoint_manager.py:2036] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0422 16:28:46.039960 137983096088384 checkpoint_manager.py:1458] Waiting for previous save to complete took 42.936200 seconds. If this number is high, consider checkpointing less frequently.
I0422 16:28:46.041670 137983096088384 checkpoint_manager.py:1518] [process=5] Saving checkpoint at step 9
I0422 16:28:46.045141 137983096088384 async_checkpointer.py:452] [process=5] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints/9.
I0422 16:28:46.619083 137983096088384 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0422 16:28:46.619182 137983096088384 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
I0422 16:28:46.663125 137983096088384 base_pytree_checkpoint_handler.py:153] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.045233s
I0422 16:28:46.663295 137983096088384 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.074 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.30402565002441406 s) (per-host)
I0422 16:28:46.663344 137983096088384 base_pytree_checkpoint_handler.py:737] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.304083s (batch_requests_ready=0.256910s, total_serialization_initiated=0.047107s, others=0.000066s)
I0422 16:28:46.663431 137983096088384 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.307893s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.307878)
I0422 16:28:46.664283 137856236386048 async_checkpointer.py:79] [process=5][thread=async_save] Background save thread started.
I0422 16:28:46.664439 137983096088384 async_checkpointer.py:561] Finished blocking save. Time taken: 0.622697s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints/9.
I0422 16:28:46.694015 137983096088384 checkpoint_manager.py:1566] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 16:28:46.694310 137855674337024 async_checkpointer.py:265] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0422 16:28:46.694452 137983096088384 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776875283.103735, 'wait_for_prev_duration_secs': 42.93619966506958, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776875326.0417094, 'checkpointer_blocking_duration_secs': 0.622838020324707, 'get_old_steps_start_time': 1776875326.6645656, 'get_old_steps_duration_secs': 2.5510787963867188e-05, 'checkpoint_manager_blocking_start_time': 1776875283.1020617, 'checkpoint_manager_blocking_duration_secs': 43.5923535823822}
I0422 16:28:46.694557 137983096088384 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0422 16:28:46.694604 137983096088384 checkpoint_manager.py:2024] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 16:28:51.376443 137859994482432 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_10_shardy_false/checkpoints/9/items/array_metadatas/process_5
I0422 16:29:28.201958 137856236386048 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/gbytes_per_sec: 37.751 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.8426456451416 s) (per-host)
I0422 16:29:28.202073 137856236386048 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.537681s.
I0422 16:29:35.105921 137856236386048 async_checkpointer.py:144] [process=5][thread=async_save] Background save thread done. Time taken: 48.441514s.
I0422 16:29:35.106171 137855674337024 async_checkpointer.py:273] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 16:29:35.106235 137855674337024 async_checkpointer.py:283] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0422 16:29:35.106280 137855674337024 checkpoint_manager.py:2133] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0422 16:29:35.107958 137855674337024 checkpoint_manager.py:2142] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0422 16:29:35.108121 137983096088384 checkpoint_manager.py:2036] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0422 16:29:35.108264 137983096088384 checkpoint_manager.py:2013] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 16:29:35.108889 137983096088384 metric_logger.py:185] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.942, Tokens/s/device: 13858.532, 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: Wed Apr 22 16:29:45 UTC 2026
EXIT_CODE=0