MaxView

‹ 09_pdb_lt_1Case: 10_shardy_false11_optimizer_offload_true ›

Metrics: main (59e0f1759) vs feat/nnx-trainstate-and-training-loop (77202a8e9)

Metricmain  59e0f1759feat/nnx-trainstate-and-training-loop  77202a8e9Diff (feat/nnx-trainstate-and-training-loop − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.24192.117-0.124
Tok/s13903.613884.8-18.758
Avg s/step2.7282.666-0.062
Memory %1.381.380
JAX0.9.20.9.2

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

main  ·  59e0f1759  ·  main_20260425_071456  ·  full log
XPK Start: Sat Apr 25 07:46:56 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-25 07:47:21.267773: 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)
I0425 07:47:21.477220 135379629762368 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 07:47:30.517835 135379629762368 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 07:47:30.520167 135379629762368 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-2gfn1-slice-job-0-0.mt-10-shardy-false-2gfn1:8482
I0425 07:47:31.800594 135379629762368 max_utils.py:284] Jax distributed system initialized!
I0425 07:47:36.916332 135379629762368 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 07:47:36.916436 135379629762368 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 07:47:36.916477 135379629762368 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
I0425 07:47:36.916514 135379629762368 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 07:47:37.614609 135379629762368 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 07:47:37.614897 135379629762368 checkpointing.py:677] Setting up checkpoint logger...
I0425 07:47:37.614953 135379629762368 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 07:47:37.614998 135379629762368 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 07:47:37.615333 135379629762368 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 0x7b1fe3b14140>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 07:47:40.538362 135379629762368 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0425 07:47:40.538655 135379629762368 checkpoint_manager.py:708] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b0c383d98b0>}, handler_registry=None
I0425 07:47:40.538909 135379629762368 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b0c383d98b0>` 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`.
I0425 07:47:40.538960 135379629762368 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b0c383dae70>` 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`.
I0425 07:47:40.538996 135379629762368 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 0x7b0c383d98b0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b0c383d98b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b0c383dae70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b0c383dae70>}).
I0425 07:47:40.539324 135379629762368 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 07:47:40.539394 135379629762368 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b0b2874d800> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 07:47:41.226478 135379629762368 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints
I0425 07:47:41.370240 135379629762368 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_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b0c385fe4b0>
I0425 07:47:41.370409 135379629762368 checkpointing.py:301] Checkpoint manager created!
I0425 07:47:42.338371 135379629762368 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 07:47:42.338489 135379629762368 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 07:47:42.717695 135379629762368 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 07:47:42.717784 135379629762368 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 07:47:42.734222 135379629762368 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 07:47:42.734280 135379629762368 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 07:47:42.758165 135379629762368 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 07:47:42.758234 135379629762368 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:47:42.774929 135379629762368 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 07:47:42.774989 135379629762368 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:47:42.791528 135379629762368 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 07:47:42.791587 135379629762368 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:47:42.816250 135379629762368 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0425 07:47:42.816318 135379629762368 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:47:42.837651 135379629762368 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 07:47:42.837715 135379629762368 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 07:47:43.047374 135379629762368 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 07:47:43.047480 135379629762368 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 07:47:44.432560 135379629762368 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 07:47:44.432682 135379629762368 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)
I0425 07:47:44.432734 135379629762368 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)
I0425 07:47:44.432790 135379629762368 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')
I0425 07:47:44.432841 135379629762368 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)
I0425 07:47:44.432900 135379629762368 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)
I0425 07:47:44.432958 135379629762368 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)
I0425 07:47:44.433010 135379629762368 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')
I0425 07:47:44.433049 135379629762368 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)
I0425 07:47:44.433084 135379629762368 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)
I0425 07:47:44.433130 135379629762368 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0425 07:47:44.433177 135379629762368 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')

    Physical:  (None, 'fsdp')
I0425 07:47:44.921638 135379629762368 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 07:47:44.921730 135379629762368 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 07:47:44.937569 135379629762368 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 07:47:44.937635 135379629762368 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 07:47:55.659672 135379629762368 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.
I0425 07:47:55.660467 135379629762368 metric_logger.py:301] number parameters: 1.104 billion
I0425 07:48:06.617445 135379629762368 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0425 07:48:07.480184 135379629762368 checkpointing.py:776] Waited 0.862717866897583 seconds for step 0 to finish before starting checkpointing.
I0425 07:48:07.484290 135379629762368 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 07:48:07.485629 135379629762368 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0
I0425 07:48:07.487043 135379629762368 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints/0.
I0425 07:48:07.768981 135379629762368 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 07:48:07.769939 135379629762368 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 07:48:07.769996 135379629762368 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
I0425 07:48:08.056205 135379629762368 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.287296s
I0425 07:48:08.056377 135379629762368 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.268 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2927978038787842 s) (per-host)
I0425 07:48:08.056432 135379629762368 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.292864s (batch_requests_ready=0.002303s, total_serialization_initiated=0.290486s, others=0.000074s)
I0425 07:48:08.056539 135379629762368 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.297461s (all_items=0.000018s, per_item={'items': '0.00001836'}, temp_paths=0.297442)
I0425 07:48:08.057380 135379629762368 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.57 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints/0.
I0425 07:48:08.057715 135254193846016 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 08:08:08.057676
I0425 07:48:08.061488 135379629762368 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 07:48:08.061729 135252560336640 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0425 07:48:08.061854 135379629762368 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777103287.484271, 'wait_for_prev_duration_secs': 6.222724914550781e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777103287.485666, 'checkpointer_blocking_duration_secs': 0.5722157955169678, 'get_old_steps_start_time': 1777103288.0579066, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1777103287.4807022, 'checkpoint_manager_blocking_duration_secs': 0.5811111927032471}
I0425 07:48:08.061981 135379629762368 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0425 07:48:08.062031 135379629762368 max_utils.py:750] 
Memstats: After params initialized:
I0425 07:48:08.062081 135379629762368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0425 07:48:08.062113 135379629762368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0425 07:48:08.062141 135379629762368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0425 07:48:08.062166 135379629762368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0425 07:48:08.378576 135379629762368 metric_logger.py:196] completed step: 0, seconds: 10.957, TFLOP/s/device: 1.240, Tokens/s/device: 186.915, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 07:48:08.549315 135379629762368 metric_logger.py:196] completed step: 1, seconds: 1.760, TFLOP/s/device: 7.721, Tokens/s/device: 1163.866, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 07:48:08.946773 135379629762368 metric_logger.py:196] completed step: 2, seconds: 0.023, TFLOP/s/device: 581.442, Tokens/s/device: 87641.219, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0425 07:48:09.094144 135379629762368 metric_logger.py:196] completed step: 3, seconds: 0.398, TFLOP/s/device: 34.149, Tokens/s/device: 5147.281, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0425 07:48:09.389454 135379629762368 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.717, Tokens/s/device: 13372.423, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0425 07:48:09.395136 135379629762368 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.474, Tokens/s/device: 13938.705, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0425 07:48:16.485436    2747 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 07:48:18.389842 135252568729344 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints/0/items/array_metadatas/process_4
I0425 07:48:31.017835 135379629762368 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.946, Tokens/s/device: 6925.517, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0425 07:48:31.165260 135379629762368 metric_logger.py:196] completed step: 7, seconds: 21.476, TFLOP/s/device: 0.633, Tokens/s/device: 95.364, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0425 07:48:31.312661 135379629762368 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.118, Tokens/s/device: 13432.855, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0425 07:48:31.459189 135379629762368 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0425 07:48:31.459842 135379629762368 checkpointing.py:776] Waited 0.0006737709045410156 seconds for step 9 to finish before starting checkpointing.
I0425 07:48:31.461975 135379629762368 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 07:48:49.580753 135254193846016 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.774 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.81713604927063 s) (per-host)
I0425 07:48:49.580896 135254193846016 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.523067s.
I0425 07:48:58.644487 135254193846016 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 50.586642s.
I0425 07:48:58.644797 135252560336640 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 07:48:58.644946 135252560336640 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0425 07:48:58.645012 135252560336640 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 07:48:58.646472 135252560336640 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 07:48:58.646631 135379629762368 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0425 07:48:58.646757 135379629762368 checkpoint_manager.py:1452] Waiting for previous save to complete took 27.184784 seconds. If this number is high, consider checkpointing less frequently.
I0425 07:48:58.648523 135379629762368 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9
I0425 07:48:58.650680 135379629762368 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints/9.
I0425 07:48:58.934998 135379629762368 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 07:48:58.935089 135379629762368 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
I0425 07:48:58.970600 135379629762368 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.036761s
I0425 07:48:58.970769 135379629762368 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 38.317 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.040258169174194336 s) (per-host)
I0425 07:48:58.970821 135379629762368 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040318s (batch_requests_ready=0.001873s, total_serialization_initiated=0.038378s, others=0.000068s)
I0425 07:48:58.970927 135379629762368 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044387s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.044370)
I0425 07:48:58.971591 135379629762368 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.32 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints/9.
I0425 07:48:58.971922 135231575144192 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 08:08:58.971886
I0425 07:48:58.973765 135379629762368 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 07:48:58.974073 135252560336640 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0425 07:48:58.974230 135379629762368 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777103311.461944, 'wait_for_prev_duration_secs': 27.184783935546875, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777103338.6485605, 'checkpointer_blocking_duration_secs': 0.32350802421569824, 'get_old_steps_start_time': 1777103338.9720912, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1777103311.4600816, 'checkpoint_manager_blocking_duration_secs': 27.51411533355713}
I0425 07:48:58.974337 135379629762368 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0425 07:48:58.974381 135379629762368 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 07:49:04.453830 135247063734016 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_10_shardy_false/checkpoints/9/items/array_metadatas/process_4
I0425 07:49:40.374290 135231575144192 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 38.114 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.44373369216919 s) (per-host)
I0425 07:49:40.374405 135231575144192 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.402366s.
I0425 07:49:47.829248 135231575144192 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 48.857194s.
I0425 07:49:47.829539 135252560336640 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 07:49:47.829661 135252560336640 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0425 07:49:47.829712 135252560336640 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 07:49:47.831162 135252560336640 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 07:49:47.831372 135379629762368 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0425 07:49:47.831524 135379629762368 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 07:49:47.832726 135379629762368 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.241, Tokens/s/device: 13903.598, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 07:49:56 UTC 2026
EXIT_CODE=0
XPK Start: Sat Apr 25 09:52:58 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-25 09:53:23.333940: 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)
I0425 09:53:23.547672 134327447582528 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 09:53:32.589952 134327447582528 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 09:53:32.592322 134327447582528 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-nq4q1-slice-job-0-0.mt-10-shardy-false-nq4q1:8482
I0425 09:53:33.842148 134327447582528 max_utils.py:284] Jax distributed system initialized!
I0425 09:53:40.015784 134327447582528 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 09:53:40.015886 134327447582528 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 09:53:40.015925 134327447582528 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
I0425 09:53:40.015963 134327447582528 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 09:53:40.713428 134327447582528 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 09:53:40.714014 134327447582528 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 09:53:40.714230 134327447582528 checkpointing.py:688] Setting up checkpoint logger...
I0425 09:53:40.714296 134327447582528 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 09:53:40.714351 134327447582528 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 09:53:40.714691 134327447582528 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 0x7a2af2d141a0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 09:53:43.554656 134327447582528 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 09:53:43.554843 134327447582528 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 0x7a16ac2b7770>}, handler_registry=None
I0425 09:53:43.555067 134327447582528 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a16ac2b7770>` 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`.
I0425 09:53:43.555133 134327447582528 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a16ac2b9670>` 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`.
I0425 09:53:43.555172 134327447582528 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 0x7a16ac2b7770>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a16ac2b7770>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a16ac2b9670>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a16ac2b9670>}).
I0425 09:53:43.555490 134327447582528 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 09:53:43.555559 134327447582528 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a1694395f80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 09:53:44.661936 134327447582528 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints
I0425 09:53:44.923447 134327447582528 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a16ac2b60f0>
I0425 09:53:44.923619 134327447582528 checkpointing.py:302] Checkpoint manager created!
I0425 09:53:45.863771 134327447582528 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 09:53:45.863878 134327447582528 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 09:53:46.245935 134327447582528 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 09:53:46.246031 134327447582528 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 09:53:46.262603 134327447582528 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 09:53:46.262662 134327447582528 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 09:53:46.286446 134327447582528 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 09:53:46.286518 134327447582528 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:53:46.303079 134327447582528 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 09:53:46.303167 134327447582528 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:53:46.319603 134327447582528 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 09:53:46.319664 134327447582528 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:53:46.344293 134327447582528 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0425 09:53:46.344363 134327447582528 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:53:46.365088 134327447582528 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 09:53:46.365166 134327447582528 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 09:53:46.584919 134327447582528 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 09:53:46.585026 134327447582528 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 09:53:47.976639 134327447582528 maxtext_utils.py:1874]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 09:53:47.976773 134327447582528 maxtext_utils.py:1874]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 09:53:47.976835 134327447582528 maxtext_utils.py:1874]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 09:53:47.976895 134327447582528 maxtext_utils.py:1874]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 09:53:47.976947 134327447582528 maxtext_utils.py:1874]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 09:53:47.976984 134327447582528 maxtext_utils.py:1874]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 09:53:47.977036 134327447582528 maxtext_utils.py:1874]  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)
I0425 09:53:47.977089 134327447582528 maxtext_utils.py:1874]  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')
I0425 09:53:47.977148 134327447582528 maxtext_utils.py:1874]  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)
I0425 09:53:47.977187 134327447582528 maxtext_utils.py:1874]  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)
I0425 09:53:47.977236 134327447582528 maxtext_utils.py:1874]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0425 09:53:47.977292 134327447582528 maxtext_utils.py:1874]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0425 09:53:48.469663 134327447582528 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 09:53:48.469757 134327447582528 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 09:53:48.485298 134327447582528 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 09:53:48.485359 134327447582528 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 09:53:59.546292 134327447582528 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.
I0425 09:53:59.547059 134327447582528 metric_logger.py:301] number parameters: 1.104 billion
I0425 09:54:10.794907 134327447582528 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 09:54:10.948333 134327447582528 checkpointing.py:798] Waited 0.15340948104858398 seconds for step 0 to finish before starting checkpointing.
I0425 09:54:10.950810 134327447582528 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 09:54:10.952464 134327447582528 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0425 09:54:10.953915 134327447582528 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints/0.
I0425 09:54:11.263727 134327447582528 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 09:54:11.264760 134327447582528 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 09:54:11.264818 134327447582528 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
I0425 09:54:11.535814 134327447582528 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.272156s
I0425 09:54:11.535982 134327447582528 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.555 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27768373489379883 s) (per-host)
I0425 09:54:11.536035 134327447582528 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.277746s (batch_requests_ready=0.002147s, total_serialization_initiated=0.275529s, others=0.000070s)
I0425 09:54:11.536138 134327447582528 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.281799s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.281780)
I0425 09:54:11.536880 134327447582528 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.58 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints/0.
I0425 09:54:11.537220 134198934460160 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 10:14:11.537181
I0425 09:54:11.547497 134327447582528 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 09:54:11.547766 134196223796992 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 09:54:11.547893 134327447582528 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777110850.9507911, 'wait_for_prev_duration_secs': 6.270408630371094e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777110850.9525032, 'checkpointer_blocking_duration_secs': 0.5848298072814941, 'get_old_steps_start_time': 1777110851.5373576, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1777110850.9488268, 'checkpoint_manager_blocking_duration_secs': 0.5990262031555176}
I0425 09:54:11.548004 134327447582528 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 09:54:11.548052 134327447582528 max_utils.py:750] 
Memstats: After params initialized:
I0425 09:54:11.548113 134327447582528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0425 09:54:11.548148 134327447582528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0425 09:54:11.548176 134327447582528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0425 09:54:11.548200 134327447582528 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0425 09:54:11.861225 134327447582528 metric_logger.py:196] completed step: 0, seconds: 11.248, TFLOP/s/device: 1.208, Tokens/s/device: 182.081, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 09:54:12.033631 134327447582528 metric_logger.py:196] completed step: 1, seconds: 1.065, TFLOP/s/device: 12.760, Tokens/s/device: 1923.371, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 09:54:12.441459 134327447582528 metric_logger.py:196] completed step: 2, seconds: 0.025, TFLOP/s/device: 539.793, Tokens/s/device: 81363.474, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0425 09:54:12.588876 134327447582528 metric_logger.py:196] completed step: 3, seconds: 0.408, TFLOP/s/device: 33.309, Tokens/s/device: 5020.765, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0425 09:54:12.883781 134327447582528 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.825, Tokens/s/device: 13388.596, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0425 09:54:12.889869 134327447582528 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.253, Tokens/s/device: 13905.392, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0425 09:54:14.445141    2815 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 09:54:16.188786 134197273458432 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints/0/items/array_metadatas/process_6
I0425 09:54:34.638967 134327447582528 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.936, Tokens/s/device: 6923.995, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0425 09:54:34.786450 134327447582528 metric_logger.py:196] completed step: 7, seconds: 21.603, TFLOP/s/device: 0.629, Tokens/s/device: 94.804, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0425 09:54:34.933578 134327447582528 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.392, Tokens/s/device: 13474.127, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0425 09:54:35.080091 134327447582528 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0425 09:54:35.080749 134327447582528 checkpointing.py:798] Waited 0.0006799697875976562 seconds for step 9 to finish before starting checkpointing.
I0425 09:54:35.082805 134327447582528 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 09:54:48.068411 134198934460160 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 42.912 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.81007671356201 s) (per-host)
I0425 09:54:48.068517 134198934460160 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.530667s.
I0425 09:54:56.634179 134198934460160 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 45.096312s.
I0425 09:54:56.634400 134196223796992 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 09:54:56.634471 134196223796992 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 09:54:56.634519 134196223796992 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 09:54:56.636012 134196223796992 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 09:54:56.636202 134327447582528 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.
W0425 09:54:56.636344 134327447582528 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.553535 seconds. If this number is high, consider checkpointing less frequently.
I0425 09:54:56.638308 134327447582528 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0425 09:54:56.640464 134327447582528 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints/9.
I0425 09:54:57.354176 134327447582528 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 09:54:57.354272 134327447582528 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
I0425 09:54:57.388071 134327447582528 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034962s
I0425 09:54:57.388246 134327447582528 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 3.251 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.4744868278503418 s) (per-host)
I0425 09:54:57.388296 134327447582528 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.474547s (batch_requests_ready=0.437787s, total_serialization_initiated=0.036693s, others=0.000067s)
I0425 09:54:57.388391 134327447582528 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.478717s (all_items=0.000015s, per_item={'items': '0.00001454'}, temp_paths=0.478702)
I0425 09:54:57.389115 134327447582528 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints/9.
I0425 09:54:57.389474 134176732862208 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 10:14:57.389438
I0425 09:54:57.391396 134327447582528 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 09:54:57.391671 134196223796992 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 09:54:57.391801 134327447582528 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777110875.082776, 'wait_for_prev_duration_secs': 21.553534984588623, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777110896.6383479, 'checkpointer_blocking_duration_secs': 0.7512757778167725, 'get_old_steps_start_time': 1777110897.3896465, 'get_old_steps_duration_secs': 2.9325485229492188e-05, 'checkpoint_manager_blocking_start_time': 1777110875.0809696, 'checkpoint_manager_blocking_duration_secs': 22.310798406600952}
I0425 09:54:57.391941 134327447582528 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0425 09:54:57.391984 134327447582528 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 09:55:02.274943 134197273458432 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_10_shardy_false/checkpoints/9/items/array_metadatas/process_6
I0425 09:55:40.144341 134176732862208 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.539 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.23052477836609 s) (per-host)
I0425 09:55:40.144469 134176732862208 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.754875s.
I0425 09:55:45.774000 134176732862208 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 48.384390s.
I0425 09:55:45.774295 134196223796992 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 09:55:45.774405 134196223796992 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 09:55:45.774452 134196223796992 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 09:55:45.776053 134196223796992 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 09:55:45.776216 134327447582528 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.
I0425 09:55:45.776367 134327447582528 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 09:55:45.777314 134327447582528 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.117, Tokens/s/device: 13884.840, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 09:55:58 UTC 2026
EXIT_CODE=0