MaxView

‹ 10_shardy_trueCase: 11_optimizer_offload_false11_optimizer_offload_true ›

Metrics: main (586e69205) vs feat/nnx-post-train-fixes (7f06c99ac)

Metricmain  586e69205feat/nnx-post-train-fixes  7f06c99acDiff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.37592.457+0.082
Tok/s13923.813936.1+12.317
Avg s/step2.7842.699-0.085
Memory %1.381.380
JAX0.9.20.9.2

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

main  ·  586e69205  ·  main_20260423_071538  ·  full log
XPK Start: Thu Apr 23 07:58:23 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-23 07:58:47.759642: 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)
I0423 07:58:47.968879 138282882754368 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 07:58:57.010268 138282882754368 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 07:58:57.012517 138282882754368 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-8bt1g-slice-job-0-0.mt-11-optimizer-offload-8bt1g:8482
I0423 07:58:58.048617 138282882754368 max_utils.py:284] Jax distributed system initialized!
I0423 07:59:04.536403 138282882754368 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 07:59:04.536511 138282882754368 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 07:59:04.536551 138282882754368 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
I0423 07:59:04.536587 138282882754368 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 07:59:05.232386 138282882754368 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 07:59:05.232669 138282882754368 checkpointing.py:677] Setting up checkpoint logger...
I0423 07:59:05.232728 138282882754368 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 07:59:05.232773 138282882754368 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 07:59:05.233125 138282882754368 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 0x7dc3e2b77530>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 07:59:08.085808 138282882754368 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0423 07:59:08.086071 138282882754368 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dafb80f6ff0>}, handler_registry=None
I0423 07:59:08.086309 138282882754368 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dafb80f6ff0>` 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`.
I0423 07:59:08.086359 138282882754368 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dc2ba3692b0>` 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`.
I0423 07:59:08.086392 138282882754368 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 0x7dafb80f6ff0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dafb80f6ff0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dc2ba3692b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dc2ba3692b0>}).
I0423 07:59:08.086712 138282882754368 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 07:59:08.086781 138282882754368 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7dafb0185440> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 07:59:10.151107 138282882754368 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints
I0423 07:59:10.601426 138282882754368 checkpoint_manager.py:929] [process=3][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7dafb80f4d40>
I0423 07:59:10.601602 138282882754368 checkpointing.py:301] Checkpoint manager created!
I0423 07:59:11.532901 138282882754368 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 07:59:11.533035 138282882754368 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 07:59:11.909739 138282882754368 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0423 07:59:11.909834 138282882754368 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 07:59:11.926379 138282882754368 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0423 07:59:11.926440 138282882754368 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 07:59:11.950085 138282882754368 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:59:11.950151 138282882754368 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:59:11.966778 138282882754368 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:59:11.966842 138282882754368 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:59:11.983308 138282882754368 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:59:11.983372 138282882754368 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:59:12.008208 138282882754368 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0423 07:59:12.008281 138282882754368 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:59:12.029311 138282882754368 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 07:59:12.029374 138282882754368 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 07:59:12.240905 138282882754368 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 07:59:12.241026 138282882754368 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 07:59:13.672551 138282882754368 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 07:59:13.672681 138282882754368 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)
I0423 07:59:13.672735 138282882754368 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)
I0423 07:59:13.672792 138282882754368 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')
I0423 07:59:13.672844 138282882754368 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)
I0423 07:59:13.672883 138282882754368 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)
I0423 07:59:13.672950 138282882754368 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)
I0423 07:59:13.673008 138282882754368 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')
I0423 07:59:13.673050 138282882754368 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)
I0423 07:59:13.673086 138282882754368 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)
I0423 07:59:13.673150 138282882754368 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 07:59:13.673222 138282882754368 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0423 07:59:14.169177 138282882754368 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 07:59:14.169275 138282882754368 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 07:59:14.184760 138282882754368 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 07:59:14.184820 138282882754368 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 07:59:24.970413 138282882754368 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.
I0423 07:59:24.971152 138282882754368 metric_logger.py:301] number parameters: 1.104 billion
I0423 07:59:36.246854 138282882754368 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0423 07:59:36.722437 138282882754368 checkpointing.py:776] Waited 0.47556233406066895 seconds for step 0 to finish before starting checkpointing.
I0423 07:59:36.724829 138282882754368 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 07:59:36.726472 138282882754368 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0423 07:59:36.727979 138282882754368 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/0.
I0423 07:59:37.478754 138282882754368 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 07:59:37.479861 138282882754368 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 07:59:37.479917 138282882754368 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
I0423 07:59:37.752116 138282882754368 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.273440s
I0423 07:59:37.752294 138282882754368 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.533 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27881932258605957 s) (per-host)
I0423 07:59:37.752346 138282882754368 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.278883s (batch_requests_ready=0.002213s, total_serialization_initiated=0.276599s, others=0.000071s)
I0423 07:59:37.752438 138282882754368 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.282991s (all_items=0.000019s, per_item={'items': '0.00001884'}, temp_paths=0.282973)
I0423 07:59:37.753175 138282882754368 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.03 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/0.
I0423 07:59:37.753505 138153490896640 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 08:19:37.753464
I0423 07:59:37.763900 138282882754368 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 07:59:37.764156 138154596284160 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0423 07:59:37.764306 138282882754368 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776931176.7248085, 'wait_for_prev_duration_secs': 7.963180541992188e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776931176.726512, 'checkpointer_blocking_duration_secs': 1.0271618366241455, 'get_old_steps_start_time': 1776931177.7536945, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1776931176.7229962, 'checkpoint_manager_blocking_duration_secs': 1.041274070739746}
I0423 07:59:37.764405 138282882754368 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0423 07:59:37.764453 138282882754368 max_utils.py:750] 
Memstats: After params initialized:
I0423 07:59:37.764501 138282882754368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0423 07:59:37.764532 138282882754368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0423 07:59:37.764558 138282882754368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0423 07:59:37.764583 138282882754368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0423 07:59:38.073732 138282882754368 metric_logger.py:196] completed step: 0, seconds: 11.276, TFLOP/s/device: 1.205, Tokens/s/device: 181.631, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 07:59:38.256573 138282882754368 metric_logger.py:196] completed step: 1, seconds: 1.825, TFLOP/s/device: 7.444, Tokens/s/device: 1121.996, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 07:59:38.700686 138282882754368 metric_logger.py:196] completed step: 2, seconds: 0.036, TFLOP/s/device: 380.709, Tokens/s/device: 57384.628, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0423 07:59:38.848111 138282882754368 metric_logger.py:196] completed step: 3, seconds: 0.444, TFLOP/s/device: 30.575, Tokens/s/device: 4608.533, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0423 07:59:39.143039 138282882754368 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.837, Tokens/s/device: 13390.434, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0423 07:59:39.149029 138282882754368 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.257, Tokens/s/device: 13905.958, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0423 07:59:40.951197    2825 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 07:59:43.945910 138153499289344 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_3
I0423 08:00:01.154106 138282882754368 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.966, Tokens/s/device: 6928.539, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0423 08:00:01.301170 138282882754368 metric_logger.py:196] completed step: 7, seconds: 21.858, TFLOP/s/device: 0.622, Tokens/s/device: 93.695, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0423 08:00:01.448388 138282882754368 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.170, Tokens/s/device: 13440.701, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0423 08:00:01.595021 138282882754368 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0423 08:00:01.595700 138282882754368 checkpointing.py:776] Waited 0.0006988048553466797 seconds for step 9 to finish before starting checkpointing.
I0423 08:00:01.597770 138282882754368 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 08:00:15.118090 138153490896640 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 41.961 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.64459681510925 s) (per-host)
I0423 08:00:15.118193 138153490896640 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.364559s.
I0423 08:00:22.802615 138153490896640 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 45.048965s.
I0423 08:00:22.802956 138154596284160 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 08:00:22.803079 138154596284160 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0423 08:00:22.803130 138154596284160 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 08:00:22.804571 138154596284160 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 08:00:22.804752 138282882754368 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0423 08:00:22.804893 138282882754368 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.207123 seconds. If this number is high, consider checkpointing less frequently.
I0423 08:00:22.806501 138282882754368 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9
I0423 08:00:22.808574 138282882754368 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/9.
I0423 08:00:23.523546 138282882754368 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 08:00:23.523642 138282882754368 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
I0423 08:00:23.559739 138282882754368 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037125s
I0423 08:00:23.559911 138282882754368 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 37.323 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04133009910583496 s) (per-host)
I0423 08:00:23.559975 138282882754368 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.041404s (batch_requests_ready=0.002488s, total_serialization_initiated=0.038834s, others=0.000082s)
I0423 08:00:23.560072 138282882754368 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.045505s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.045490)
I0423 08:00:23.560815 138282882754368 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/9.
I0423 08:00:23.561136 138154596284160 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 08:20:23.561103
I0423 08:00:23.563201 138282882754368 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 08:00:23.563516 138132758398720 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0423 08:00:23.563677 138282882754368 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776931201.5977397, 'wait_for_prev_duration_secs': 21.207123279571533, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776931222.8065364, 'checkpointer_blocking_duration_secs': 0.7547457218170166, 'get_old_steps_start_time': 1776931223.561304, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776931201.595969, 'checkpoint_manager_blocking_duration_secs': 21.967674493789673}
I0423 08:00:23.563789 138282882754368 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0423 08:00:23.563834 138282882754368 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 08:00:30.421655 138153499289344 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_3
I0423 08:01:05.590566 138154596284160 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.545 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.07194662094116 s) (per-host)
I0423 08:01:05.590690 138154596284160 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.029440s.
I0423 08:01:12.558425 138154596284160 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 48.997161s.
I0423 08:01:12.558713 138132758398720 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 08:01:12.558837 138132758398720 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0423 08:01:12.558887 138132758398720 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 08:01:12.560327 138132758398720 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 08:01:12.560450 138282882754368 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0423 08:01:12.560558 138282882754368 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 08:01:12.561430 138282882754368 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.375, Tokens/s/device: 13923.827, 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: Thu Apr 23 08:01:23 UTC 2026
EXIT_CODE=0
XPK Start: Thu Apr 23 13:24:43 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-23 13:25:08.320613: 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)
I0423 13:25:08.530162 138653819410240 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 13:25:17.571757 138653819410240 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 13:25:17.574201 138653819410240 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-x7ubc-slice-job-0-0.mt-11-optimizer-offload-x7ubc:8482
I0423 13:25:18.808834 138653819410240 max_utils.py:284] Jax distributed system initialized!
I0423 13:25:25.072407 138653819410240 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 13:25:25.072512 138653819410240 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 13:25:25.072553 138653819410240 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
I0423 13:25:25.072590 138653819410240 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 13:25:25.770534 138653819410240 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 13:25:25.771132 138653819410240 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 13:25:25.771312 138653819410240 checkpointing.py:688] Setting up checkpoint logger...
I0423 13:25:25.771361 138653819410240 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 13:25:25.771403 138653819410240 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 13:25:25.771743 138653819410240 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 0x7e1a4317e5d0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 13:25:28.934371 138653819410240 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 13:25:28.934612 138653819410240 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e06046b2540>}, handler_registry=None
I0423 13:25:28.934856 138653819410240 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e06046b2540>` 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`.
I0423 13:25:28.934905 138653819410240 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e0604554a10>` 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`.
I0423 13:25:28.934950 138653819410240 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 0x7e06046b2540>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e06046b2540>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e0604554a10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e0604554a10>}).
I0423 13:25:28.935270 138653819410240 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 13:25:28.935340 138653819410240 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e06042f1d00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 13:25:29.631469 138653819410240 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints
I0423 13:25:29.696688 138653819410240 checkpoint_manager.py:929] [process=3][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7e0604751370>
I0423 13:25:29.696851 138653819410240 checkpointing.py:302] Checkpoint manager created!
I0423 13:25:30.638435 138653819410240 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 13:25:30.638549 138653819410240 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 13:25:31.021014 138653819410240 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 13:25:31.021106 138653819410240 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 13:25:31.038499 138653819410240 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 13:25:31.038561 138653819410240 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 13:25:31.063276 138653819410240 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 13:25:31.063344 138653819410240 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 13:25:31.080749 138653819410240 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 13:25:31.080811 138653819410240 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 13:25:31.098164 138653819410240 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 13:25:31.098223 138653819410240 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 13:25:31.123862 138653819410240 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 13:25:31.123945 138653819410240 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 13:25:31.145265 138653819410240 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 13:25:31.145330 138653819410240 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 13:25:31.369661 138653819410240 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 13:25:31.369772 138653819410240 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 13:25:32.787377 138653819410240 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 13:25:32.787538 138653819410240 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)
I0423 13:25:32.787616 138653819410240 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)
I0423 13:25:32.787706 138653819410240 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')
I0423 13:25:32.787791 138653819410240 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)
I0423 13:25:32.787855 138653819410240 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)
I0423 13:25:32.787945 138653819410240 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)
I0423 13:25:32.788031 138653819410240 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')
I0423 13:25:32.788096 138653819410240 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)
I0423 13:25:32.788154 138653819410240 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)
I0423 13:25:32.788228 138653819410240 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0423 13:25:32.788304 138653819410240 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0423 13:25:33.277909 138653819410240 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 13:25:33.278014 138653819410240 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 13:25:33.293672 138653819410240 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 13:25:33.293735 138653819410240 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 13:25:44.215810 138653819410240 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.
I0423 13:25:44.216661 138653819410240 metric_logger.py:301] number parameters: 1.104 billion
I0423 13:25:55.672760 138653819410240 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 13:25:55.825443 138653819410240 checkpointing.py:798] Waited 0.1526641845703125 seconds for step 0 to finish before starting checkpointing.
I0423 13:25:55.827706 138653819410240 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 13:25:55.829576 138653819410240 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0423 13:25:55.830832 138653819410240 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints/0.
I0423 13:25:56.357744 138653819410240 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 13:25:56.358588 138653819410240 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 13:25:56.358644 138653819410240 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
I0423 13:25:56.631847 138653819410240 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.274174s
I0423 13:25:56.632038 138653819410240 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.511 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27988648414611816 s) (per-host)
I0423 13:25:56.632097 138653819410240 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.279955s (batch_requests_ready=0.002306s, total_serialization_initiated=0.277572s, others=0.000077s)
I0423 13:25:56.632194 138653819410240 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.284067s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.284050)
I0423 13:25:56.633002 138653819410240 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.80 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints/0.
I0423 13:25:56.633370 138525089044224 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:45:56.633332
I0423 13:25:56.645056 138653819410240 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 13:25:56.645316 138521313806080 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0423 13:25:56.645452 138653819410240 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776950755.827689, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776950755.8296142, 'checkpointer_blocking_duration_secs': 0.8039240837097168, 'get_old_steps_start_time': 1776950756.6335618, 'get_old_steps_duration_secs': 2.574920654296875e-05, 'checkpoint_manager_blocking_start_time': 1776950755.8258517, 'checkpoint_manager_blocking_duration_secs': 0.8195614814758301}
I0423 13:25:56.645554 138653819410240 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 13:25:56.645602 138653819410240 max_utils.py:750] 
Memstats: After params initialized:
I0423 13:25:56.645652 138653819410240 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0423 13:25:56.645685 138653819410240 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0423 13:25:56.645720 138653819410240 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0423 13:25:56.645745 138653819410240 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0423 13:25:56.956641 138653819410240 metric_logger.py:196] completed step: 0, seconds: 11.456, TFLOP/s/device: 1.186, Tokens/s/device: 178.771, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 13:25:57.131750 138653819410240 metric_logger.py:196] completed step: 1, seconds: 1.282, TFLOP/s/device: 10.595, Tokens/s/device: 1597.026, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 13:25:57.552423 138653819410240 metric_logger.py:196] completed step: 2, seconds: 0.028, TFLOP/s/device: 487.606, Tokens/s/device: 73497.219, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0423 13:25:57.699706 138653819410240 metric_logger.py:196] completed step: 3, seconds: 0.421, TFLOP/s/device: 32.272, Tokens/s/device: 4864.389, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0423 13:25:57.994538 138653819410240 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.740, Tokens/s/device: 13375.917, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0423 13:25:58.000714 138653819410240 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.441, Tokens/s/device: 13933.774, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0423 13:26:00.033556    2821 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 13:26:02.088322 138521859843840 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_3
I0423 13:26:19.811501 138653819410240 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.967, Tokens/s/device: 6928.586, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0423 13:26:19.958575 138653819410240 metric_logger.py:196] completed step: 7, seconds: 21.664, TFLOP/s/device: 0.627, Tokens/s/device: 94.536, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0423 13:26:20.106250 138653819410240 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.899, Tokens/s/device: 13399.897, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0423 13:26:20.252964 138653819410240 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 13:26:20.253633 138653819410240 checkpointing.py:798] Waited 0.0007162094116210938 seconds for step 9 to finish before starting checkpointing.
I0423 13:26:20.256217 138653819410240 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 13:26:33.291264 138525089044224 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 42.762 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.93907380104065 s) (per-host)
I0423 13:26:33.291385 138525089044224 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.657888s.
I0423 13:26:43.563178 138525089044224 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 46.929664s.
I0423 13:26:43.563388 138521313806080 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 13:26:43.563459 138521313806080 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0423 13:26:43.563507 138521313806080 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 13:26:43.565217 138521313806080 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 13:26:43.565379 138653819410240 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0423 13:26:43.565513 138653819410240 checkpoint_manager.py:1452] Waiting for previous save to complete took 23.309296 seconds. If this number is high, consider checkpointing less frequently.
I0423 13:26:43.567317 138653819410240 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9
I0423 13:26:43.569379 138653819410240 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints/9.
I0423 13:26:44.142356 138653819410240 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 13:26:44.142452 138653819410240 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
I0423 13:26:44.175852 138653819410240 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034541s
I0423 13:26:44.176032 138653819410240 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 40.547 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.038043975830078125 s) (per-host)
I0423 13:26:44.176085 138653819410240 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038106s (batch_requests_ready=0.001867s, total_serialization_initiated=0.036170s, others=0.000070s)
I0423 13:26:44.176176 138653819410240 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042165s (all_items=0.000015s, per_item={'items': '0.00001454'}, temp_paths=0.042151)
I0423 13:26:44.176887 138653819410240 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.61 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints/9.
I0423 13:26:44.177192 138521313806080 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:46:44.177160
I0423 13:26:44.179105 138653819410240 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 13:26:44.179388 138500280153856 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0423 13:26:44.179548 138653819410240 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776950780.256187, 'wait_for_prev_duration_secs': 23.309296369552612, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776950803.5673559, 'checkpointer_blocking_duration_secs': 0.6099722385406494, 'get_old_steps_start_time': 1776950804.1773517, 'get_old_steps_duration_secs': 2.7894973754882812e-05, 'checkpoint_manager_blocking_start_time': 1776950780.2538974, 'checkpoint_manager_blocking_duration_secs': 23.92561650276184}
I0423 13:26:44.179661 138653819410240 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 13:26:44.179708 138653819410240 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 13:26:49.858150 138521859843840 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_3
I0423 13:27:26.104249 138521313806080 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.640 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.966235637664795 s) (per-host)
I0423 13:27:26.104355 138521313806080 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.927050s.
I0423 13:27:35.184454 138521313806080 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 51.007134s.
I0423 13:27:35.184761 138500280153856 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 13:27:35.184881 138500280153856 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0423 13:27:35.184951 138500280153856 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 13:27:35.186760 138500280153856 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 13:27:35.186954 138653819410240 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0423 13:27:35.187099 138653819410240 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 13:27:35.188107 138653819410240 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.457, Tokens/s/device: 13936.144, 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: Thu Apr 23 13:27:43 UTC 2026
EXIT_CODE=0