MaxView

‹ 09_pdb_lt_1Case: 10_shardy_false11_optimizer_offload_true ›

Metrics: main (59e0f1759) vs feat/nnx-post-train-fixes (28b1e4a16)

Metricmain  59e0f1759feat/nnx-post-train-fixes  28b1e4a16Diff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.24192.252+0.011
Tok/s13903.613905.3+1.699
Avg s/step2.7282.664-0.064
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 12:42:30 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 12:42:55.515140: 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 12:42:55.727649 135498659329856 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 12:43:04.769340 135498659329856 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 12:43:04.771615 135498659329856 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-0mzqy-slice-job-0-0.mt-10-shardy-false-0mzqy:8482
I0425 12:43:05.825458 135498659329856 max_utils.py:284] Jax distributed system initialized!
I0425 12:43:10.851499 135498659329856 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 12:43:10.851606 135498659329856 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 12:43:10.851648 135498659329856 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 12:43:10.851684 135498659329856 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 12:43:11.545324 135498659329856 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 12:43:11.545900 135498659329856 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 12:43:11.546078 135498659329856 checkpointing.py:688] Setting up checkpoint logger...
I0425 12:43:11.546143 135498659329856 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 12:43:11.546188 135498659329856 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 12:43:11.546537 135498659329856 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 0x7b3b9f718710>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 12:43:14.380624 135498659329856 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 12:43:14.380863 135498659329856 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 0x7b28103184a0>}, handler_registry=None
I0425 12:43:14.381182 135498659329856 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b28103184a0>` 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 12:43:14.381240 135498659329856 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b28100f8aa0>` 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 12:43:14.381279 135498659329856 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 0x7b28103184a0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b28103184a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b28100f8aa0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b28100f8aa0>}).
I0425 12:43:14.381870 135498659329856 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 12:43:14.381979 135498659329856 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b27d86c5e40> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 12:43:15.496752 135498659329856 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints
I0425 12:43:15.839745 135498659329856 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_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b28100fafc0>
I0425 12:43:15.839918 135498659329856 checkpointing.py:302] Checkpoint manager created!
I0425 12:43:16.783961 135498659329856 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 12:43:16.784070 135498659329856 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:43:17.163625 135498659329856 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 12:43:17.163723 135498659329856 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:43:17.180293 135498659329856 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 12:43:17.180361 135498659329856 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:43:17.204222 135498659329856 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 12:43:17.204291 135498659329856 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:43:17.220789 135498659329856 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 12:43:17.220851 135498659329856 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:43:17.237248 135498659329856 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 12:43:17.237313 135498659329856 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:43:17.262503 135498659329856 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0425 12:43:17.262580 135498659329856 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:43:17.283482 135498659329856 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 12:43:17.283548 135498659329856 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 12:43:17.501791 135498659329856 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 12:43:17.501903 135498659329856 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 12:43:18.894236 135498659329856 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 12:43:18.894372 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 12:43:18.894432 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 12:43:18.894491 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 12:43:18.894544 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 12:43:18.894584 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 12:43:18.894637 135498659329856 maxtext_utils.py:1880]  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 12:43:18.894690 135498659329856 maxtext_utils.py:1880]  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 12:43:18.894731 135498659329856 maxtext_utils.py:1880]  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 12:43:18.894767 135498659329856 maxtext_utils.py:1880]  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 12:43:18.894813 135498659329856 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0425 12:43:18.894864 135498659329856 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0425 12:43:19.394758 135498659329856 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 12:43:19.394857 135498659329856 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 12:43:19.410365 135498659329856 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 12:43:19.410426 135498659329856 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 12:43:30.465696 135498659329856 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 12:43:30.466506 135498659329856 metric_logger.py:301] number parameters: 1.104 billion
I0425 12:43:41.751713 135498659329856 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 12:43:41.904980 135498659329856 checkpointing.py:798] Waited 0.1532449722290039 seconds for step 0 to finish before starting checkpointing.
I0425 12:43:41.907361 135498659329856 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 12:43:41.909063 135498659329856 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0425 12:43:41.910874 135498659329856 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/0.
I0425 12:43:42.230421 135498659329856 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 12:43:42.231426 135498659329856 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 12:43:42.231484 135498659329856 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 12:43:42.506407 135498659329856 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276063s
I0425 12:43:42.506585 135498659329856 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.474 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2818019390106201 s) (per-host)
I0425 12:43:42.506637 135498659329856 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.281865s (batch_requests_ready=0.002218s, total_serialization_initiated=0.279577s, others=0.000071s)
I0425 12:43:42.506730 135498659329856 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.286397s (all_items=0.000019s, per_item={'items': '0.00001884'}, temp_paths=0.286378)
I0425 12:43:42.507591 135498659329856 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.60 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/0.
I0425 12:43:42.507876 135372618467072 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 13:03:42.507842
I0425 12:43:42.518786 135498659329856 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 12:43:42.519038 135369978799872 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 12:43:42.519178 135498659329856 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777121021.9073436, 'wait_for_prev_duration_secs': 6.0558319091796875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777121021.9091272, 'checkpointer_blocking_duration_secs': 0.5988962650299072, 'get_old_steps_start_time': 1777121022.508051, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1777121021.9055088, 'checkpoint_manager_blocking_duration_secs': 0.6136293411254883}
I0425 12:43:42.519286 135498659329856 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 12:43:42.519337 135498659329856 max_utils.py:750] 
Memstats: After params initialized:
I0425 12:43:42.519386 135498659329856 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0425 12:43:42.519430 135498659329856 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0425 12:43:42.519457 135498659329856 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0425 12:43:42.519482 135498659329856 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0425 12:43:42.832185 135498659329856 metric_logger.py:196] completed step: 0, seconds: 11.285, TFLOP/s/device: 1.204, Tokens/s/device: 181.478, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 12:43:43.007297 135498659329856 metric_logger.py:196] completed step: 1, seconds: 1.079, TFLOP/s/device: 12.593, Tokens/s/device: 1898.080, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 12:43:43.389656 135498659329856 metric_logger.py:196] completed step: 2, seconds: 0.028, TFLOP/s/device: 487.099, Tokens/s/device: 73420.807, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0425 12:43:43.537017 135498659329856 metric_logger.py:196] completed step: 3, seconds: 0.382, TFLOP/s/device: 35.532, Tokens/s/device: 5355.775, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0425 12:43:43.832413 135498659329856 metric_logger.py:196] completed step: 4, seconds: 0.154, TFLOP/s/device: 88.450, Tokens/s/device: 13332.118, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0425 12:43:43.838602 135498659329856 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.209, Tokens/s/device: 13898.692, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0425 12:43:45.581267    2814 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 12:43:47.589805 135369987192576 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_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/0/items/array_metadatas/process_6
I0425 12:44:05.578770 135498659329856 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.956, Tokens/s/device: 6926.922, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0425 12:44:05.726051 135498659329856 metric_logger.py:196] completed step: 7, seconds: 21.593, TFLOP/s/device: 0.629, Tokens/s/device: 94.844, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0425 12:44:05.873287 135498659329856 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 89.024, Tokens/s/device: 13418.685, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0425 12:44:06.020047 135498659329856 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0425 12:44:06.020738 135498659329856 checkpointing.py:798] Waited 0.0007109642028808594 seconds for step 9 to finish before starting checkpointing.
I0425 12:44:06.022847 135498659329856 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 12:44:19.451090 135372618467072 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 42.432 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.22626733779907 s) (per-host)
I0425 12:44:19.451225 135372618467072 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.943243s.
I0425 12:44:25.520024 135372618467072 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 43.012024s.
I0425 12:44:25.520282 135369978799872 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 12:44:25.520351 135369978799872 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 12:44:25.520411 135369978799872 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 12:44:25.521905 135369978799872 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 12:44:25.522083 135498659329856 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 12:44:25.522263 135498659329856 checkpoint_manager.py:1452] Waiting for previous save to complete took 19.499402 seconds. If this number is high, consider checkpointing less frequently.
I0425 12:44:25.524228 135498659329856 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0425 12:44:25.526408 135498659329856 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/9.
I0425 12:44:26.257198 135498659329856 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 12:44:26.257294 135498659329856 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 12:44:26.291357 135498659329856 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035262s
I0425 12:44:26.291532 135498659329856 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 3.273 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.4713566303253174 s) (per-host)
I0425 12:44:26.291586 135498659329856 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.471420s (batch_requests_ready=0.434320s, total_serialization_initiated=0.037028s, others=0.000072s)
I0425 12:44:26.291678 135498659329856 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.475589s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.475572)
I0425 12:44:26.292376 135498659329856 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.77 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/9.
I0425 12:44:26.292718 135369987192576 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 13:04:26.292682
I0425 12:44:26.296315 135498659329856 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 12:44:26.296616 135369978799872 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 12:44:26.296778 135498659329856 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777121046.0228162, 'wait_for_prev_duration_secs': 19.499402284622192, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777121065.5242746, 'checkpointer_blocking_duration_secs': 0.7685894966125488, 'get_old_steps_start_time': 1777121066.2928886, 'get_old_steps_duration_secs': 2.8848648071289062e-05, 'checkpoint_manager_blocking_start_time': 1777121046.020963, 'checkpoint_manager_blocking_duration_secs': 20.275779247283936}
I0425 12:44:26.296890 135498659329856 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0425 12:44:26.296937 135498659329856 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 12:44:30.940480 135365770921728 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_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/9/items/array_metadatas/process_6
I0425 12:45:07.236240 135369987192576 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 38.140 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.41602301597595 s) (per-host)
I0425 12:45:07.236378 135369987192576 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 40.943547s.
I0425 12:45:13.752504 135369987192576 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 47.459658s.
I0425 12:45:13.752795 135369978799872 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 12:45:13.752917 135369978799872 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 12:45:13.752968 135369978799872 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 12:45:13.754481 135369978799872 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 12:45:13.754652 135498659329856 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 12:45:13.754806 135498659329856 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 12:45:13.755711 135498659329856 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.252, Tokens/s/device: 13905.297, 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 12:45:25 UTC 2026
EXIT_CODE=0