MaxView

‹ —Case: 01_base02_synthetic ›

Metrics: Linen vs NNX  ·  feat/nnx-post-train-fixes

MetricLinen  7f06c99acNNX  7f06c99acDiff (NNX − Linen)
Parameters1.104 billion1.104 billion
Final loss8.17908.1750-0.004
TFLOP/s92.28891.865-0.423
Tok/s13910.713846.9-63.768
Avg s/step2.8302.725-0.105
Memory %1.381.380
JAX0.9.20.9.2

Diff = NNX value − Linen value. Green = NNX improved. Red = NNX regressed.

Linen  ·  7f06c99ac  ·  feat_nnx_post_train_fixes_20260423_124541  ·  full log
XPK Start: Thu Apr 23 12:46:18 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 12:46:43.247805: 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 12:46:43.461756 138360049030976 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 12:46:52.501971 138360049030976 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 12:46:52.504337 138360049030976 distributed.py:172] Connecting to JAX distributed service on mt-01-base-1onft-slice-job-0-0.mt-01-base-1onft:8482
I0423 12:46:53.446048 138360049030976 max_utils.py:284] Jax distributed system initialized!
I0423 12:46:59.640933 138360049030976 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 12:46:59.641038 138360049030976 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 12:46:59.641078 138360049030976 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 12:46:59.641114 138360049030976 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 12:47:00.338434 138360049030976 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 12:47:00.339063 138360049030976 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 12:47:00.339247 138360049030976 checkpointing.py:688] Setting up checkpoint logger...
I0423 12:47:00.339303 138360049030976 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 12:47:00.339350 138360049030976 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 12:47:00.339720 138360049030976 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 0x7dd5bdc50350>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 12:47:04.157485 138360049030976 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 12:47:04.157732 138360049030976 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 0x7dc204213140>}, handler_registry=None
I0423 12:47:04.157981 138360049030976 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dc204213140>` 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 12:47:04.158030 138360049030976 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dc1ec3d4b00>` 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 12:47:04.158066 138360049030976 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 0x7dc204213140>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dc204213140>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dc1ec3d4b00>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dc1ec3d4b00>}).
I0423 12:47:04.158420 138360049030976 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 12:47:04.158496 138360049030976 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7dc1cc1d9d00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 12:47:05.251433 138360049030976 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_01_base/checkpoints
I0423 12:47:06.125706 138360049030976 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7dc1ec3d01d0>
I0423 12:47:06.125876 138360049030976 checkpointing.py:302] Checkpoint manager created!
I0423 12:47:07.055278 138360049030976 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 12:47:07.055382 138360049030976 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 12:47:07.444941 138360049030976 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 12:47:07.445035 138360049030976 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 12:47:07.461712 138360049030976 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 12:47:07.461768 138360049030976 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 12:47:07.485787 138360049030976 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 12:47:07.485855 138360049030976 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 12:47:07.502567 138360049030976 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 12:47:07.502628 138360049030976 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 12:47:07.519295 138360049030976 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 12:47:07.519354 138360049030976 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 12:47:07.544469 138360049030976 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 12:47:07.544536 138360049030976 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 12:47:07.565605 138360049030976 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 12:47:07.565680 138360049030976 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 12:47:07.790363 138360049030976 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 12:47:07.790466 138360049030976 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 12:47:09.221309 138360049030976 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 12:47:09.221437 138360049030976 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 12:47:09.221492 138360049030976 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 12:47:09.221549 138360049030976 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 12:47:09.221604 138360049030976 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 12:47:09.221643 138360049030976 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 12:47:09.221715 138360049030976 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 12:47:09.221770 138360049030976 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 12:47:09.221811 138360049030976 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 12:47:09.221847 138360049030976 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 12:47:09.221895 138360049030976 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]

    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 12:47:09.221946 138360049030976 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0423 12:47:09.728187 138360049030976 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 12:47:09.728277 138360049030976 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 12:47:09.744003 138360049030976 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 12:47:09.744070 138360049030976 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 12:47:20.482141 138360049030976 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 12:47:20.482923 138360049030976 metric_logger.py:301] number parameters: 1.104 billion
I0423 12:47:31.810184 138360049030976 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 12:47:32.115255 138360049030976 checkpointing.py:798] Waited 0.3050520420074463 seconds for step 0 to finish before starting checkpointing.
I0423 12:47:32.117734 138360049030976 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 12:47:32.119327 138360049030976 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0423 12:47:32.120684 138360049030976 event_tracking.py:70] [process=5] [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_01_base/checkpoints/0.
I0423 12:47:33.291269 138360049030976 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 12:47:33.292281 138360049030976 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 12:47:33.292337 138360049030976 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 12:47:33.565006 138360049030976 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.273811s
I0423 12:47:33.565176 138360049030976 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.515 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2796952724456787 s) (per-host)
I0423 12:47:33.565231 138360049030976 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.279761s (batch_requests_ready=0.002400s, total_serialization_initiated=0.277287s, others=0.000073s)
I0423 12:47:33.565330 138360049030976 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.285042s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.285024)
I0423 12:47:33.566119 138360049030976 event_tracking.py:125] [process=5] [async] Finished blocking save in 1.45 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_01_base/checkpoints/0.
I0423 12:47:33.566452 138232381568768 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:07:33.566414
I0423 12:47:34.008030 138360049030976 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 12:47:34.008446 138232327026432 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 12:47:34.008614 138360049030976 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_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776948452.1177156, 'wait_for_prev_duration_secs': 5.936622619628906e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776948452.119366, 'checkpointer_blocking_duration_secs': 1.447235345840454, 'get_old_steps_start_time': 1776948453.5666263, 'get_old_steps_duration_secs': 3.9577484130859375e-05, 'checkpoint_manager_blocking_start_time': 1776948452.1157978, 'checkpoint_manager_blocking_duration_secs': 1.8927757740020752}
I0423 12:47:34.008737 138360049030976 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 12:47:34.008790 138360049030976 max_utils.py:750] 
Memstats: After params initialized:
I0423 12:47:34.008849 138360049030976 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0423 12:47:34.008882 138360049030976 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0423 12:47:34.008911 138360049030976 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0423 12:47:34.008937 138360049030976 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0423 12:47:34.317307 138360049030976 metric_logger.py:196] completed step: 0, seconds: 11.327, TFLOP/s/device: 1.200, Tokens/s/device: 180.805, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 12:47:34.486689 138360049030976 metric_logger.py:196] completed step: 1, seconds: 2.506, TFLOP/s/device: 5.423, Tokens/s/device: 817.362, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 12:47:34.895627 138360049030976 metric_logger.py:196] completed step: 2, seconds: 0.022, TFLOP/s/device: 619.399, Tokens/s/device: 93362.509, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0423 12:47:35.043041 138360049030976 metric_logger.py:196] completed step: 3, seconds: 0.410, TFLOP/s/device: 33.171, Tokens/s/device: 4999.915, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0423 12:47:35.338078 138360049030976 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.792, Tokens/s/device: 13383.696, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0423 12:47:35.343995 138360049030976 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.153, Tokens/s/device: 13890.302, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0423 12:47:36.292438    2780 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 12:47:38.852822 138232335419136 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints/0/items/array_metadatas/process_5
I0423 12:47:57.128875 138360049030976 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.036, Tokens/s/device: 6938.986, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0423 12:47:57.276171 138360049030976 metric_logger.py:196] completed step: 7, seconds: 21.638, TFLOP/s/device: 0.628, Tokens/s/device: 94.648, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0423 12:47:57.423582 138360049030976 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.262, Tokens/s/device: 13454.565, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0423 12:47:57.572457 138360049030976 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 12:47:57.573100 138360049030976 checkpointing.py:798] Waited 0.0006625652313232422 seconds for step 9 to finish before starting checkpointing.
I0423 12:47:57.575250 138360049030976 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 12:48:08.666940 138232381568768 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 44.645 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 35.38142108917236 s) (per-host)
I0423 12:48:08.667070 138232381568768 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 35.100507s.
I0423 12:48:17.179415 138232381568768 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 43.612836s.
I0423 12:48:17.179725 138232327026432 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 12:48:17.179846 138232327026432 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 12:48:17.179896 138232327026432 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 12:48:17.181367 138232327026432 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 12:48:17.181544 138360049030976 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.
W0423 12:48:17.181689 138360049030976 checkpoint_manager.py:1452] Waiting for previous save to complete took 19.606440 seconds. If this number is high, consider checkpointing less frequently.
I0423 12:48:17.183502 138360049030976 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0423 12:48:17.185673 138360049030976 event_tracking.py:70] [process=5] [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_01_base/checkpoints/9.
I0423 12:48:17.547322 138360049030976 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 12:48:17.547446 138360049030976 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 12:48:17.587823 138360049030976 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.041551s
I0423 12:48:17.587996 138360049030976 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 34.127 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04520058631896973 s) (per-host)
I0423 12:48:17.588048 138360049030976 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.045268s (batch_requests_ready=0.001959s, total_serialization_initiated=0.043235s, others=0.000074s)
I0423 12:48:17.588138 138360049030976 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.049387s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.049371)
I0423 12:48:17.588820 138360049030976 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.41 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_01_base/checkpoints/9.
I0423 12:48:17.589168 138232327026432 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:08:17.589131
I0423 12:48:17.591244 138360049030976 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 12:48:17.591572 138206435583744 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 12:48:17.591718 138360049030976 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_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776948477.5752208, 'wait_for_prev_duration_secs': 19.6064395904541, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776948497.1835423, 'checkpointer_blocking_duration_secs': 0.40577149391174316, 'get_old_steps_start_time': 1776948497.589337, 'get_old_steps_duration_secs': 2.8133392333984375e-05, 'checkpoint_manager_blocking_start_time': 1776948477.573326, 'checkpoint_manager_blocking_duration_secs': 20.01835870742798}
I0423 12:48:17.591874 138360049030976 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 12:48:17.591923 138360049030976 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 12:48:22.719273 138232335419136 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints/9/items/array_metadatas/process_5
I0423 12:49:00.194352 138232327026432 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.035 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.65152311325073 s) (per-host)
I0423 12:49:00.194478 138232327026432 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.605195s.
I0423 12:49:06.444632 138232327026432 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 48.855335s.
I0423 12:49:06.444923 138206435583744 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 12:49:06.445052 138206435583744 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 12:49:06.445102 138206435583744 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 12:49:06.446292 138206435583744 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 12:49:06.446467 138360049030976 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.
I0423 12:49:06.446612 138360049030976 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 12:49:06.447553 138360049030976 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.288, Tokens/s/device: 13910.681, 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 12:49:18 UTC 2026
EXIT_CODE=0
NNX  ·  7f06c99ac  ·  feat_nnx_post_train_fixes_20260423_124541  ·  full log
XPK Start: Thu Apr 23 14:23:00 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 14:23:25.302276: 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 14:23:25.510897 132899254191936 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 14:23:34.553303 132899254191936 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 14:23:34.555795 132899254191936 distributed.py:172] Connecting to JAX distributed service on mt-01-base-wrdw3-slice-job-0-0.mt-01-base-wrdw3:8482
I0423 14:23:36.135176 132899254191936 max_utils.py:284] Jax distributed system initialized!
I0423 14:23:41.223244 132899254191936 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 14:23:41.223344 132899254191936 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 14:23:41.223384 132899254191936 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 14:23:41.223419 132899254191936 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 14:23:41.927077 132899254191936 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 14:23:42.040771 132899254191936 checkpointing.py:688] Setting up checkpoint logger...
I0423 14:23:42.040890 132899254191936 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 14:23:42.040935 132899254191936 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 14:23:42.041141 132899254191936 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 0x78de4d735550>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 14:23:46.136565 132899254191936 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 14:23:46.136805 132899254191936 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 0x78cac8787470>}, handler_registry=None
I0423 14:23:46.137041 132899254191936 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78cac8787470>` 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 14:23:46.137089 132899254191936 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78cac8287260>` 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 14:23:46.137135 132899254191936 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 0x78cac8787470>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78cac8787470>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78cac8287260>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78cac8287260>}).
I0423 14:23:46.137459 132899254191936 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 14:23:46.137527 132899254191936 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x78cac82a7560> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 14:23:46.838670 132899254191936 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints
I0423 14:23:46.869341 132899254191936 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/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x78cac8262570>
I0423 14:23:46.869480 132899254191936 checkpointing.py:302] Checkpoint manager created!
I0423 14:23:47.859236 132899254191936 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 14:23:47.859357 132899254191936 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 14:23:49.229950 132899254191936 maxtext_utils.py:1889]  decoder/decoder_norm/scale/value
    Shape:     float32[2048]
    Physical:  (None,)
I0423 14:23:49.230065 132899254191936 maxtext_utils.py:1889]  decoder/layers/mlp/wi_0/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0423 14:23:49.230129 132899254191936 maxtext_utils.py:1889]  decoder/layers/mlp/wi_1/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0423 14:23:49.230174 132899254191936 maxtext_utils.py:1889]  decoder/layers/mlp/wo/kernel/value
    Shape:     float32[7168,16,2048]
    Physical:  (None, None, 'fsdp')
I0423 14:23:49.230211 132899254191936 maxtext_utils.py:1889]  decoder/layers/post_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0423 14:23:49.230249 132899254191936 maxtext_utils.py:1889]  decoder/layers/pre_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0423 14:23:49.230285 132899254191936 maxtext_utils.py:1889]  decoder/layers/self_attention/key/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0423 14:23:49.230319 132899254191936 maxtext_utils.py:1889]  decoder/layers/self_attention/out/kernel/value
    Shape:     float32[16,16,128,2048]
    Physical:  (None, None, None, 'fsdp')
I0423 14:23:49.230352 132899254191936 maxtext_utils.py:1889]  decoder/layers/self_attention/query/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0423 14:23:49.230384 132899254191936 maxtext_utils.py:1889]  decoder/layers/self_attention/value/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0423 14:23:49.230416 132899254191936 maxtext_utils.py:1889]  decoder/logits_dense/kernel/value
    Shape:     float32[2048,32000]
    Physical:  ('fsdp', None)
I0423 14:23:49.230446 132899254191936 maxtext_utils.py:1889]  token_embedder/embedding/value
    Shape:     float32[32000,2048]
    Physical:  (None, 'fsdp')

I0423 14:23:49.633553 132899254191936 nnx_decoders.py:465] nnx_decoders/carry Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 14:23:49.633642 132899254191936 nnx_decoders.py:465] nnx_decoders/carry Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 14:23:49.638881 132899254191936 nnx_decoders.py:465] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 14:23:49.638937 132899254191936 nnx_decoders.py:465] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 14:23:49.655545 132899254191936 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 14:23:49.655604 132899254191936 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 14:23:49.671544 132899254191936 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 14:23:49.671603 132899254191936 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 14:23:49.695898 132899254191936 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 14:23:49.695970 132899254191936 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 14:23:49.712112 132899254191936 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 14:23:49.712174 132899254191936 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 14:23:49.728156 132899254191936 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 14:23:49.728214 132899254191936 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 14:23:49.765365 132899254191936 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 14:23:49.765475 132899254191936 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 14:23:49.786383 132899254191936 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 14:23:49.786446 132899254191936 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 14:24:00.555016 132899254191936 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 14:24:00.557477 132899254191936 metric_logger.py:301] number parameters: 1.104 billion
I0423 14:24:11.877578 132899254191936 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 14:24:12.155564 132899254191936 checkpointing.py:798] Waited 0.2779707908630371 seconds for step 0 to finish before starting checkpointing.
I0423 14:24:12.157831 132899254191936 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 14:24:12.159591 132899254191936 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0423 14:24:12.161026 132899254191936 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints/0.
I0423 14:24:12.467921 132899254191936 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 14:24:12.468976 132899254191936 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0423 14:24:12.469033 132899254191936 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 14:24:12.746965 132899254191936 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279803s
I0423 14:24:12.747170 132899254191936 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.338 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28899550437927246 s) (per-host)
I0423 14:24:12.747239 132899254191936 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.289076s (batch_requests_ready=0.003041s, total_serialization_initiated=0.285944s, others=0.000092s)
I0423 14:24:12.747363 132899254191936 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.293317s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.293300)
I0423 14:24:12.748232 132899254191936 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.59 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints/0.
I0423 14:24:12.748532 132773926508288 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 14:44:12.748497
I0423 14:24:12.761405 132899254191936 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 14:24:12.761699 132772291135232 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 14:24:12.761852 132899254191936 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776954252.1578128, 'wait_for_prev_duration_secs': 6.031990051269531e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776954252.1596286, 'checkpointer_blocking_duration_secs': 0.5890495777130127, 'get_old_steps_start_time': 1776954252.748704, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1776954252.155963, 'checkpoint_manager_blocking_duration_secs': 0.6058521270751953}
I0423 14:24:12.761965 132899254191936 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 14:24:12.762029 132899254191936 max_utils.py:750] 
Memstats: After params initialized:
I0423 14:24:12.762077 132899254191936 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0423 14:24:12.762121 132899254191936 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0423 14:24:12.762148 132899254191936 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0423 14:24:12.762171 132899254191936 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0423 14:24:13.076484 132899254191936 metric_logger.py:196] completed step: 0, seconds: 11.319, TFLOP/s/device: 1.200, Tokens/s/device: 180.935, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0423 14:24:13.255479 132899254191936 metric_logger.py:196] completed step: 1, seconds: 1.197, TFLOP/s/device: 11.351, Tokens/s/device: 1710.964, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0423 14:24:13.683782 132899254191936 metric_logger.py:196] completed step: 2, seconds: 0.034, TFLOP/s/device: 405.259, Tokens/s/device: 61085.096, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28632.133
I0423 14:24:13.831358 132899254191936 metric_logger.py:196] completed step: 3, seconds: 0.417, TFLOP/s/device: 32.566, Tokens/s/device: 4908.717, total_weights: 65536, loss: 9.732, lm_loss: 9.732, perplexity: 16855.789
I0423 14:24:14.127275 132899254191936 metric_logger.py:196] completed step: 4, seconds: 0.165, TFLOP/s/device: 82.498, Tokens/s/device: 12434.956, total_weights: 65536, loss: 9.274, lm_loss: 9.274, perplexity: 10661.594
I0423 14:24:14.135122 132899254191936 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.389, Tokens/s/device: 13925.815, total_weights: 65536, loss: 8.888, lm_loss: 8.888, perplexity: 7245.978
I0423 14:24:15.929353    2743 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 14:24:18.293978 132772337284864 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints/0/items/array_metadatas/process_6
I0423 14:24:36.248647 132899254191936 metric_logger.py:196] completed step: 6, seconds: 0.297, TFLOP/s/device: 45.782, Tokens/s/device: 6900.804, total_weights: 65536, loss: 8.589, lm_loss: 8.589, perplexity: 5371.156
I0423 14:24:36.396129 132899254191936 metric_logger.py:196] completed step: 7, seconds: 21.967, TFLOP/s/device: 0.619, Tokens/s/device: 93.229, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4360.465
I0423 14:24:36.543701 132899254191936 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.624, Tokens/s/device: 13358.380, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.256
I0423 14:24:36.837775 132899254191936 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 14:24:36.838454 132899254191936 checkpointing.py:798] Waited 0.0006892681121826172 seconds for step 9 to finish before starting checkpointing.
I0423 14:24:36.840718 132899254191936 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 14:24:49.430147 132773926508288 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 42.724 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.97192168235779 s) (per-host)
I0423 14:24:49.430250 132773926508288 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.681609s.
I0423 14:24:57.532838 132773926508288 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 44.784180s.
I0423 14:24:57.533123 132772291135232 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 14:24:57.533238 132772291135232 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 14:24:57.533289 132772291135232 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 14:24:57.534908 132772291135232 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 14:24:57.535108 132899254191936 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.
W0423 14:24:57.535240 132899254191936 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.694525 seconds. If this number is high, consider checkpointing less frequently.
I0423 14:24:57.537334 132899254191936 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0423 14:24:57.539420 132899254191936 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints/9.
I0423 14:24:57.826279 132899254191936 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0423 14:24:57.826369 132899254191936 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 14:24:57.874426 132899254191936 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.049741s
I0423 14:24:57.874594 132899254191936 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 27.110 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.056900978088378906 s) (per-host)
I0423 14:24:57.874644 132899254191936 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.056960s (batch_requests_ready=0.002628s, total_serialization_initiated=0.054267s, others=0.000064s)
I0423 14:24:57.874732 132899254191936 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.060960s (all_items=0.000016s, per_item={'items': '0.00001597'}, temp_paths=0.060944)
I0423 14:24:57.875449 132899254191936 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints/9.
I0423 14:24:57.875827 132772291135232 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 14:44:57.875790
I0423 14:24:57.877871 132899254191936 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 14:24:57.878168 132745938323200 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 14:24:57.878330 132899254191936 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776954276.8406868, 'wait_for_prev_duration_secs': 20.69452476501465, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776954297.5373716, 'checkpointer_blocking_duration_secs': 0.33860301971435547, 'get_old_steps_start_time': 1776954297.8759964, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776954276.8386903, 'checkpoint_manager_blocking_duration_secs': 21.03960394859314}
I0423 14:24:57.878441 132899254191936 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 14:24:57.878487 132899254191936 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 14:25:03.822149 132772337284864 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_01_base/checkpoints/9/items/array_metadatas/process_6
I0423 14:25:39.863298 132772291135232 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.569 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.04557180404663 s) (per-host)
I0423 14:25:39.863402 132772291135232 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.987463s.
I0423 14:25:48.826825 132772291135232 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.950871s.
I0423 14:25:48.827145 132745938323200 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 14:25:48.827262 132745938323200 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 14:25:48.827314 132745938323200 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 14:25:48.828747 132745938323200 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 14:25:48.828911 132899254191936 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.
I0423 14:25:48.829092 132899254191936 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 14:25:48.830068 132899254191936 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.865, Tokens/s/device: 13846.913, total_weights: 65536, loss: 8.175, lm_loss: 8.175, perplexity: 3551.438
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Thu Apr 23 14:26:00 UTC 2026
EXIT_CODE=0