MaxView

‹ 09_pdb_lt_1Case: 10_shardy_false11_optimizer_offload_true ›

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

Metricmain  b117f50cffeat/nnx-post-train-fixes  28b1e4a16Diff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.39792.224-0.173
Tok/s13927.013901.0-26.09
Avg s/step2.7372.700-0.037
Memory %1.381.380
JAX0.9.20.9.2

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

main  ·  b117f50cf  ·  main_20260424_070227  ·  full log
XPK Start: Fri Apr 24 07:38:47 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-24 07:39:12.538972: 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)
I0424 07:39:12.750144 138411120113472 max_utils.py:273] Attempting to initialize the jax distributed system...
I0424 07:39:21.790947 138411120113472 distributed.py:149] Starting JAX distributed service on [::]:8482
I0424 07:39:21.793248 138411120113472 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-1ubfd-slice-job-0-0.mt-10-shardy-false-1ubfd:8482
I0424 07:39:23.169116 138411120113472 max_utils.py:284] Jax distributed system initialized!
I0424 07:39:29.398111 138411120113472 max_utils.py:800] System Information: Jax Version: 0.9.2
I0424 07:39:29.398216 138411120113472 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0424 07:39:29.398257 138411120113472 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
I0424 07:39:29.398293 138411120113472 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0424 07:39:30.094225 138411120113472 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 07:39:30.094512 138411120113472 checkpointing.py:677] Setting up checkpoint logger...
I0424 07:39:30.094568 138411120113472 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0424 07:39:30.094610 138411120113472 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0424 07:39:30.094970 138411120113472 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 0x7de1c2b1c080>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0424 07:39:33.022744 138411120113472 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0424 07:39:33.022990 138411120113472 checkpoint_manager.py:708] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dcd7c1f9fd0>}, handler_registry=None
I0424 07:39:33.023224 138411120113472 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dcd7c1f9fd0>` 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`.
I0424 07:39:33.023274 138411120113472 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dcd7c3f5730>` 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`.
I0424 07:39:33.023310 138411120113472 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 0x7dcd7c1f9fd0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dcd7c1f9fd0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dcd7c3f5730>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dcd7c3f5730>}).
I0424 07:39:33.023627 138411120113472 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0424 07:39:33.023710 138411120113472 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7dcd643a1a80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0424 07:39:34.078434 138411120113472 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints
I0424 07:39:34.114173 138411120113472 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7dcd7c1fbda0>
I0424 07:39:34.114344 138411120113472 checkpointing.py:301] Checkpoint manager created!
I0424 07:39:35.053183 138411120113472 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 07:39:35.053304 138411120113472 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 07:39:35.435963 138411120113472 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0424 07:39:35.436056 138411120113472 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 07:39:35.452497 138411120113472 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0424 07:39:35.452556 138411120113472 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 07:39:35.476729 138411120113472 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 07:39:35.476795 138411120113472 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 07:39:35.493172 138411120113472 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 07:39:35.493236 138411120113472 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 07:39:35.509510 138411120113472 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 07:39:35.509571 138411120113472 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 07:39:35.534181 138411120113472 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0424 07:39:35.534256 138411120113472 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 07:39:35.555304 138411120113472 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0424 07:39:35.555366 138411120113472 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0424 07:39:35.770153 138411120113472 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0424 07:39:35.770264 138411120113472 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0424 07:39:37.181834 138411120113472 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0424 07:39:37.181959 138411120113472 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)
I0424 07:39:37.182016 138411120113472 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)
I0424 07:39:37.182075 138411120113472 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')
I0424 07:39:37.182127 138411120113472 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)
I0424 07:39:37.182165 138411120113472 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)
I0424 07:39:37.182215 138411120113472 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)
I0424 07:39:37.182265 138411120113472 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')
I0424 07:39:37.182303 138411120113472 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)
I0424 07:39:37.182338 138411120113472 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)
I0424 07:39:37.182383 138411120113472 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0424 07:39:37.182430 138411120113472 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0424 07:39:37.670079 138411120113472 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 07:39:37.670168 138411120113472 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 07:39:37.686027 138411120113472 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 07:39:37.686088 138411120113472 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 07:39:48.608884 138411120113472 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.
I0424 07:39:48.609716 138411120113472 metric_logger.py:301] number parameters: 1.104 billion
I0424 07:40:00.097942 138411120113472 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0424 07:40:00.277922 138411120113472 checkpointing.py:776] Waited 0.17995238304138184 seconds for step 0 to finish before starting checkpointing.
I0424 07:40:00.280550 138411120113472 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 07:40:00.282358 138411120113472 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0424 07:40:00.283863 138411120113472 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints/0.
I0424 07:40:00.598110 138411120113472 signaling_client.py:364] Using JaxDistributedSignalingClient
I0424 07:40:00.599143 138411120113472 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 07:40:00.599204 138411120113472 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
I0424 07:40:00.870079 138411120113472 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.272042s
I0424 07:40:00.870256 138411120113472 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.556 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27762436866760254 s) (per-host)
I0424 07:40:00.870311 138411120113472 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.277694s (batch_requests_ready=0.002331s, total_serialization_initiated=0.275285s, others=0.000079s)
I0424 07:40:00.870405 138411120113472 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.282004s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.281986)
I0424 07:40:00.871283 138411120113472 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.59 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints/0.
I0424 07:40:00.871614 138282444781312 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 08:00:00.871577
I0424 07:40:01.317759 138411120113472 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 07:40:01.318146 138279717648128 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0424 07:40:01.318313 138411120113472 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777016400.2805312, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777016400.2823956, 'checkpointer_blocking_duration_secs': 0.5893909931182861, 'get_old_steps_start_time': 1777016400.871813, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1777016400.2784798, 'checkpoint_manager_blocking_duration_secs': 1.0397922992706299}
I0424 07:40:01.318427 138411120113472 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0424 07:40:01.318478 138411120113472 max_utils.py:750] 
Memstats: After params initialized:
I0424 07:40:01.318532 138411120113472 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0424 07:40:01.318564 138411120113472 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0424 07:40:01.318591 138411120113472 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0424 07:40:01.318616 138411120113472 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0424 07:40:01.633461 138411120113472 metric_logger.py:196] completed step: 0, seconds: 11.488, TFLOP/s/device: 1.183, Tokens/s/device: 178.271, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0424 07:40:01.818990 138411120113472 metric_logger.py:196] completed step: 1, seconds: 1.534, TFLOP/s/device: 8.859, Tokens/s/device: 1335.395, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0424 07:40:02.275708 138411120113472 metric_logger.py:196] completed step: 2, seconds: 0.039, TFLOP/s/device: 352.080, Tokens/s/device: 53069.369, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0424 07:40:02.422853 138411120113472 metric_logger.py:196] completed step: 3, seconds: 0.457, TFLOP/s/device: 29.740, Tokens/s/device: 4482.685, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0424 07:40:02.717979 138411120113472 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.550, Tokens/s/device: 13347.237, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0424 07:40:02.723958 138411120113472 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.525, Tokens/s/device: 13946.394, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0424 07:40:03.923209    2828 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0424 07:40:06.385799 138279760426752 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints/0/items/array_metadatas/process_5
I0424 07:40:24.574975 138411120113472 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.964, Tokens/s/device: 6928.235, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0424 07:40:24.722224 138411120113472 metric_logger.py:196] completed step: 7, seconds: 21.704, TFLOP/s/device: 0.626, Tokens/s/device: 94.359, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0424 07:40:24.869506 138411120113472 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.189, Tokens/s/device: 13443.525, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0424 07:40:25.016248 138411120113472 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0424 07:40:25.016910 138411120113472 checkpointing.py:776] Waited 0.0006840229034423828 seconds for step 9 to finish before starting checkpointing.
I0424 07:40:25.019034 138411120113472 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 07:40:37.508049 138282444781312 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.790 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.91538429260254 s) (per-host)
I0424 07:40:37.508175 138282444781312 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.636420s.
I0424 07:40:47.441344 138282444781312 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 46.569580s.
I0424 07:40:47.441637 138279717648128 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 07:40:47.441761 138279717648128 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0424 07:40:47.441811 138279717648128 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0424 07:40:47.444147 138279717648128 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0424 07:40:47.444291 138411120113472 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0424 07:40:47.444378 138411120113472 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.425347 seconds. If this number is high, consider checkpointing less frequently.
I0424 07:40:47.446234 138411120113472 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0424 07:40:47.448367 138411120113472 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints/9.
I0424 07:40:47.758399 138411120113472 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 07:40:47.758489 138411120113472 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
I0424 07:40:47.792888 138411120113472 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035667s
I0424 07:40:47.793013 138411120113472 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 39.444 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.0391082763671875 s) (per-host)
I0424 07:40:47.793061 138411120113472 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039164s (batch_requests_ready=0.001811s, total_serialization_initiated=0.037291s, others=0.000062s)
I0424 07:40:47.793139 138411120113472 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043432s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.043416)
I0424 07:40:47.793831 138411120113472 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.35 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints/9.
I0424 07:40:47.794155 138279717648128 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 08:00:47.794118
I0424 07:40:47.796082 138411120113472 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 07:40:47.796315 138262421161728 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0424 07:40:47.796447 138411120113472 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777016425.0190036, 'wait_for_prev_duration_secs': 22.425346612930298, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777016447.446272, 'checkpointer_blocking_duration_secs': 0.34803295135498047, 'get_old_steps_start_time': 1777016447.7943318, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1777016425.0171356, 'checkpoint_manager_blocking_duration_secs': 22.77927803993225}
I0424 07:40:47.796617 138411120113472 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0424 07:40:47.796673 138411120113472 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 07:40:53.026312 138262446339840 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_10_shardy_false/checkpoints/9/items/array_metadatas/process_5
I0424 07:41:29.265553 138279717648128 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 38.052 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.51160669326782 s) (per-host)
I0424 07:41:29.265703 138279717648128 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.471432s.
I0424 07:41:38.897273 138279717648128 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 51.102986s.
I0424 07:41:38.897547 138262421161728 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 07:41:38.897699 138262421161728 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0424 07:41:38.897759 138262421161728 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0424 07:41:38.900094 138262421161728 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0424 07:41:38.900279 138411120113472 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0424 07:41:38.900425 138411120113472 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 07:41:38.901467 138411120113472 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.397, Tokens/s/device: 13927.046, 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: Fri Apr 24 07:41:47 UTC 2026
EXIT_CODE=0
XPK Start: Fri Apr 24 12:35:44 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-24 12:36:09.445390: 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)
I0424 12:36:09.657183 139295885817664 max_utils.py:273] Attempting to initialize the jax distributed system...
I0424 12:36:18.699178 139295885817664 distributed.py:149] Starting JAX distributed service on [::]:8482
I0424 12:36:18.701483 139295885817664 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-7o0i0-slice-job-0-0.mt-10-shardy-false-7o0i0:8482
I0424 12:36:19.908085 139295885817664 max_utils.py:284] Jax distributed system initialized!
I0424 12:36:25.036972 139295885817664 max_utils.py:800] System Information: Jax Version: 0.9.2
I0424 12:36:25.037077 139295885817664 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0424 12:36:25.037147 139295885817664 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
I0424 12:36:25.037187 139295885817664 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0424 12:36:25.730792 139295885817664 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 12:36:25.731389 139295885817664 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 12:36:25.731572 139295885817664 checkpointing.py:688] Setting up checkpoint logger...
I0424 12:36:25.731619 139295885817664 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0424 12:36:25.731661 139295885817664 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0424 12:36:25.731991 139295885817664 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 0x7eafa21505f0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0424 12:36:28.619325 139295885817664 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0424 12:36:28.619556 139295885817664 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 0x7e9c2c7c39e0>}, handler_registry=None
I0424 12:36:28.619807 139295885817664 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e9c2c7c39e0>` 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`.
I0424 12:36:28.619857 139295885817664 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e9c2c7c7290>` 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`.
I0424 12:36:28.619892 139295885817664 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 0x7e9c2c7c39e0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e9c2c7c39e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e9c2c7c7290>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e9c2c7c7290>}).
I0424 12:36:28.620244 139295885817664 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0424 12:36:28.620313 139295885817664 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e9c2c1a9e40> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0424 12:36:29.306397 139295885817664 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints
I0424 12:36:29.728084 139295885817664 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_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7e9c2c7c3110>
I0424 12:36:29.728288 139295885817664 checkpointing.py:302] Checkpoint manager created!
I0424 12:36:30.674307 139295885817664 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 12:36:30.674415 139295885817664 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 12:36:31.057537 139295885817664 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 12:36:31.057631 139295885817664 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 12:36:31.074188 139295885817664 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 12:36:31.074250 139295885817664 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 12:36:31.098050 139295885817664 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 12:36:31.098128 139295885817664 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:36:31.114678 139295885817664 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 12:36:31.114742 139295885817664 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:36:31.131241 139295885817664 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 12:36:31.131301 139295885817664 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:36:31.156369 139295885817664 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0424 12:36:31.156439 139295885817664 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:36:31.177531 139295885817664 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0424 12:36:31.177594 139295885817664 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0424 12:36:31.401728 139295885817664 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0424 12:36:31.401836 139295885817664 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0424 12:36:32.795023 139295885817664 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0424 12:36:32.795161 139295885817664 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)
I0424 12:36:32.795222 139295885817664 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)
I0424 12:36:32.795281 139295885817664 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')
I0424 12:36:32.795334 139295885817664 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)
I0424 12:36:32.795373 139295885817664 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)
I0424 12:36:32.795425 139295885817664 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)
I0424 12:36:32.795478 139295885817664 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')
I0424 12:36:32.795518 139295885817664 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)
I0424 12:36:32.795555 139295885817664 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)
I0424 12:36:32.795608 139295885817664 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0424 12:36:32.795658 139295885817664 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0424 12:36:33.290585 139295885817664 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 12:36:33.290678 139295885817664 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 12:36:33.306456 139295885817664 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 12:36:33.306519 139295885817664 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 12:36:44.235601 139295885817664 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.
I0424 12:36:44.236429 139295885817664 metric_logger.py:301] number parameters: 1.104 billion
I0424 12:36:55.584059 139295885817664 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0424 12:36:55.738055 139295885817664 checkpointing.py:798] Waited 0.1539778709411621 seconds for step 0 to finish before starting checkpointing.
I0424 12:36:55.740489 139295885817664 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 12:36:55.742363 139295885817664 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0424 12:36:55.743909 139295885817664 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints/0.
I0424 12:36:56.298160 139295885817664 signaling_client.py:364] Using JaxDistributedSignalingClient
I0424 12:36:56.299124 139295885817664 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 12:36:56.299179 139295885817664 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
I0424 12:36:56.571697 139295885817664 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.273664s
I0424 12:36:56.571865 139295885817664 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.522 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27936768531799316 s) (per-host)
I0424 12:36:56.571915 139295885817664 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.279429s (batch_requests_ready=0.002309s, total_serialization_initiated=0.277052s, others=0.000068s)
I0424 12:36:56.572007 139295885817664 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.283484s (all_items=0.000018s, per_item={'items': '0.00001836'}, temp_paths=0.283466)
I0424 12:36:56.572835 139295885817664 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.83 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints/0.
I0424 12:36:56.573187 139170546702080 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 12:56:56.573148
I0424 12:36:56.587987 139295885817664 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 12:36:56.588287 139168684439296 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0424 12:36:56.588451 139295885817664 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777034215.74047, 'wait_for_prev_duration_secs': 6.198883056640625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777034215.7424026, 'checkpointer_blocking_duration_secs': 0.8309342861175537, 'get_old_steps_start_time': 1777034216.573359, 'get_old_steps_duration_secs': 3.075599670410156e-05, 'checkpoint_manager_blocking_start_time': 1777034215.7386117, 'checkpoint_manager_blocking_duration_secs': 0.8497984409332275}
I0424 12:36:56.588562 139295885817664 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0424 12:36:56.588611 139295885817664 max_utils.py:750] 
Memstats: After params initialized:
I0424 12:36:56.588660 139295885817664 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0424 12:36:56.588700 139295885817664 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0424 12:36:56.588729 139295885817664 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0424 12:36:56.588754 139295885817664 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0424 12:36:56.896662 139295885817664 metric_logger.py:196] completed step: 0, seconds: 11.348, TFLOP/s/device: 1.197, Tokens/s/device: 180.480, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0424 12:36:57.089433 139295885817664 metric_logger.py:196] completed step: 1, seconds: 1.311, TFLOP/s/device: 10.363, Tokens/s/device: 1561.995, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0424 12:36:57.535553 139295885817664 metric_logger.py:196] completed step: 2, seconds: 0.045, TFLOP/s/device: 301.106, Tokens/s/device: 45386.047, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0424 12:36:57.683077 139295885817664 metric_logger.py:196] completed step: 3, seconds: 0.446, TFLOP/s/device: 30.436, Tokens/s/device: 4587.701, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0424 12:36:57.980077 139295885817664 metric_logger.py:196] completed step: 4, seconds: 0.154, TFLOP/s/device: 88.490, Tokens/s/device: 13338.196, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0424 12:36:57.986063 139295885817664 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.239, Tokens/s/device: 13903.221, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0424 12:37:04.652284    2743 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0424 12:37:06.704264 139169170749184 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_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints/0/items/array_metadatas/process_6
I0424 12:37:19.732381 139295885817664 metric_logger.py:196] completed step: 6, seconds: 0.297, TFLOP/s/device: 45.692, Tokens/s/device: 6887.228, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0424 12:37:19.879693 139295885817664 metric_logger.py:196] completed step: 7, seconds: 21.600, TFLOP/s/device: 0.629, Tokens/s/device: 94.816, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0424 12:37:20.027112 139295885817664 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.348, Tokens/s/device: 13467.571, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0424 12:37:20.173570 139295885817664 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0424 12:37:20.174180 139295885817664 checkpointing.py:798] Waited 0.0006322860717773438 seconds for step 9 to finish before starting checkpointing.
I0424 12:37:20.176415 139295885817664 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 12:37:38.786271 139170546702080 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.172 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.49373769760132 s) (per-host)
I0424 12:37:38.786396 139170546702080 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.213099s.
I0424 12:37:47.945743 139170546702080 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.372429s.
I0424 12:37:47.946027 139168684439296 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 12:37:47.946173 139168684439296 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0424 12:37:47.946226 139168684439296 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0424 12:37:47.948497 139168684439296 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0424 12:37:47.948659 139295885817664 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.
W0424 12:37:47.948790 139295885817664 checkpoint_manager.py:1452] Waiting for previous save to complete took 27.772375 seconds. If this number is high, consider checkpointing less frequently.
I0424 12:37:47.950537 139295885817664 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0424 12:37:47.952492 139295885817664 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints/9.
I0424 12:37:48.899465 139295885817664 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 12:37:48.899566 139295885817664 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
I0424 12:37:48.942943 139295885817664 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044579s
I0424 12:37:48.943109 139295885817664 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 3.228 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.4778900146484375 s) (per-host)
I0424 12:37:48.943159 139295885817664 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.477961s (batch_requests_ready=0.431576s, total_serialization_initiated=0.046307s, others=0.000078s)
I0424 12:37:48.943244 139295885817664 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.482261s (all_items=0.000032s, per_item={'items': '0.00003171'}, temp_paths=0.482229)
I0424 12:37:48.943942 139295885817664 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.99 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints/9.
I0424 12:37:48.944227 139168684439296 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 12:57:48.944195
I0424 12:37:48.946113 139295885817664 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 12:37:48.946329 139142646200064 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0424 12:37:48.946450 139295885817664 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777034240.1763852, 'wait_for_prev_duration_secs': 27.772375106811523, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777034267.9505765, 'checkpointer_blocking_duration_secs': 0.99379563331604, 'get_old_steps_start_time': 1777034268.9443946, 'get_old_steps_duration_secs': 2.9325485229492188e-05, 'checkpoint_manager_blocking_start_time': 1777034240.1744072, 'checkpoint_manager_blocking_duration_secs': 28.772008180618286}
I0424 12:37:48.946558 139295885817664 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0424 12:37:48.946601 139295885817664 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 12:37:53.658208 139169170749184 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_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_10_shardy_false/checkpoints/9/items/array_metadatas/process_6
I0424 12:38:30.635980 139168684439296 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.457 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.17073345184326 s) (per-host)
I0424 12:38:30.636120 139168684439296 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.691780s.
I0424 12:38:38.014784 139168684439296 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 49.070430s.
I0424 12:38:38.014999 139142646200064 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 12:38:38.015066 139142646200064 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0424 12:38:38.015136 139142646200064 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0424 12:38:38.017068 139142646200064 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0424 12:38:38.017271 139295885817664 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.
I0424 12:38:38.017420 139295885817664 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 12:38:38.018392 139295885817664 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.224, Tokens/s/device: 13900.956, 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: Fri Apr 24 12:38:50 UTC 2026
EXIT_CODE=0