MaxView

‹ 09_pdb_lt_1Case: 10_shardy_false11_optimizer_offload_true ›

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

MetricLinen  28b1e4a16NNX  28b1e4a16Diff (NNX − Linen)
Parameters1.104 billion1.104 billion
Final loss8.17908.1750-0.004
TFLOP/s92.25291.878-0.374
Tok/s13905.313848.9-56.417
Avg s/step2.6642.812+0.148
Memory %1.381.380
JAX0.9.20.9.2

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

Linen  ·  28b1e4a16  ·  feat_nnx_post_train_fixes_20260425_121355  ·  full log
XPK Start: Sat Apr 25 12:42:30 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-25 12:42:55.515140: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0425 12:42:55.727649 135498659329856 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 12:43:04.769340 135498659329856 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 12:43:04.771615 135498659329856 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-0mzqy-slice-job-0-0.mt-10-shardy-false-0mzqy:8482
I0425 12:43:05.825458 135498659329856 max_utils.py:284] Jax distributed system initialized!
I0425 12:43:10.851499 135498659329856 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 12:43:10.851606 135498659329856 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 12:43:10.851648 135498659329856 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0425 12:43:10.851684 135498659329856 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 12:43:11.545324 135498659329856 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 12:43:11.545900 135498659329856 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 12:43:11.546078 135498659329856 checkpointing.py:688] Setting up checkpoint logger...
I0425 12:43:11.546143 135498659329856 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 12:43:11.546188 135498659329856 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 12:43:11.546537 135498659329856 base_pytree_checkpoint_handler.py:441] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7b3b9f718710>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 12:43:14.380624 135498659329856 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 12:43:14.380863 135498659329856 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b28103184a0>}, handler_registry=None
I0425 12:43:14.381182 135498659329856 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b28103184a0>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0425 12:43:14.381240 135498659329856 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b28100f8aa0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0425 12:43:14.381279 135498659329856 composite_checkpoint_handler.py:505] Initialized registry DefaultCheckpointHandlerRegistry({('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b28103184a0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b28103184a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b28100f8aa0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b28100f8aa0>}).
I0425 12:43:14.381870 135498659329856 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 12:43:14.381979 135498659329856 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b27d86c5e40> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 12:43:15.496752 135498659329856 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints
I0425 12:43:15.839745 135498659329856 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b28100fafc0>
I0425 12:43:15.839918 135498659329856 checkpointing.py:302] Checkpoint manager created!
I0425 12:43:16.783961 135498659329856 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 12:43:16.784070 135498659329856 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:43:17.163625 135498659329856 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 12:43:17.163723 135498659329856 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:43:17.180293 135498659329856 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 12:43:17.180361 135498659329856 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:43:17.204222 135498659329856 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 12:43:17.204291 135498659329856 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:43:17.220789 135498659329856 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 12:43:17.220851 135498659329856 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:43:17.237248 135498659329856 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 12:43:17.237313 135498659329856 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:43:17.262503 135498659329856 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0425 12:43:17.262580 135498659329856 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:43:17.283482 135498659329856 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 12:43:17.283548 135498659329856 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 12:43:17.501791 135498659329856 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 12:43:17.501903 135498659329856 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 12:43:18.894236 135498659329856 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 12:43:18.894372 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 12:43:18.894432 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 12:43:18.894491 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 12:43:18.894544 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 12:43:18.894584 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 12:43:18.894637 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 12:43:18.894690 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0425 12:43:18.894731 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0425 12:43:18.894767 135498659329856 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 12:43:18.894813 135498659329856 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0425 12:43:18.894864 135498659329856 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0425 12:43:19.394758 135498659329856 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 12:43:19.394857 135498659329856 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 12:43:19.410365 135498659329856 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 12:43:19.410426 135498659329856 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 12:43:30.465696 135498659329856 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0425 12:43:30.466506 135498659329856 metric_logger.py:301] number parameters: 1.104 billion
I0425 12:43:41.751713 135498659329856 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 12:43:41.904980 135498659329856 checkpointing.py:798] Waited 0.1532449722290039 seconds for step 0 to finish before starting checkpointing.
I0425 12:43:41.907361 135498659329856 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 12:43:41.909063 135498659329856 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0425 12:43:41.910874 135498659329856 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/0.
I0425 12:43:42.230421 135498659329856 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 12:43:42.231426 135498659329856 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 12:43:42.231484 135498659329856 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 12:43:42.506407 135498659329856 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276063s
I0425 12:43:42.506585 135498659329856 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.474 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2818019390106201 s) (per-host)
I0425 12:43:42.506637 135498659329856 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.281865s (batch_requests_ready=0.002218s, total_serialization_initiated=0.279577s, others=0.000071s)
I0425 12:43:42.506730 135498659329856 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.286397s (all_items=0.000019s, per_item={'items': '0.00001884'}, temp_paths=0.286378)
I0425 12:43:42.507591 135498659329856 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.60 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/0.
I0425 12:43:42.507876 135372618467072 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 13:03:42.507842
I0425 12:43:42.518786 135498659329856 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 12:43:42.519038 135369978799872 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 12:43:42.519178 135498659329856 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777121021.9073436, 'wait_for_prev_duration_secs': 6.0558319091796875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777121021.9091272, 'checkpointer_blocking_duration_secs': 0.5988962650299072, 'get_old_steps_start_time': 1777121022.508051, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1777121021.9055088, 'checkpoint_manager_blocking_duration_secs': 0.6136293411254883}
I0425 12:43:42.519286 135498659329856 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 12:43:42.519337 135498659329856 max_utils.py:750] 
Memstats: After params initialized:
I0425 12:43:42.519386 135498659329856 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0425 12:43:42.519430 135498659329856 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0425 12:43:42.519457 135498659329856 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0425 12:43:42.519482 135498659329856 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0425 12:43:42.832185 135498659329856 metric_logger.py:196] completed step: 0, seconds: 11.285, TFLOP/s/device: 1.204, Tokens/s/device: 181.478, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 12:43:43.007297 135498659329856 metric_logger.py:196] completed step: 1, seconds: 1.079, TFLOP/s/device: 12.593, Tokens/s/device: 1898.080, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 12:43:43.389656 135498659329856 metric_logger.py:196] completed step: 2, seconds: 0.028, TFLOP/s/device: 487.099, Tokens/s/device: 73420.807, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0425 12:43:43.537017 135498659329856 metric_logger.py:196] completed step: 3, seconds: 0.382, TFLOP/s/device: 35.532, Tokens/s/device: 5355.775, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0425 12:43:43.832413 135498659329856 metric_logger.py:196] completed step: 4, seconds: 0.154, TFLOP/s/device: 88.450, Tokens/s/device: 13332.118, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0425 12:43:43.838602 135498659329856 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.209, Tokens/s/device: 13898.692, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0425 12:43:45.581267    2814 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 12:43:47.589805 135369987192576 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/0/items/array_metadatas/process_6
I0425 12:44:05.578770 135498659329856 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.956, Tokens/s/device: 6926.922, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0425 12:44:05.726051 135498659329856 metric_logger.py:196] completed step: 7, seconds: 21.593, TFLOP/s/device: 0.629, Tokens/s/device: 94.844, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0425 12:44:05.873287 135498659329856 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 89.024, Tokens/s/device: 13418.685, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0425 12:44:06.020047 135498659329856 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0425 12:44:06.020738 135498659329856 checkpointing.py:798] Waited 0.0007109642028808594 seconds for step 9 to finish before starting checkpointing.
I0425 12:44:06.022847 135498659329856 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 12:44:19.451090 135372618467072 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 42.432 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.22626733779907 s) (per-host)
I0425 12:44:19.451225 135372618467072 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.943243s.
I0425 12:44:25.520024 135372618467072 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 43.012024s.
I0425 12:44:25.520282 135369978799872 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 12:44:25.520351 135369978799872 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 12:44:25.520411 135369978799872 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 12:44:25.521905 135369978799872 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 12:44:25.522083 135498659329856 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0425 12:44:25.522263 135498659329856 checkpoint_manager.py:1452] Waiting for previous save to complete took 19.499402 seconds. If this number is high, consider checkpointing less frequently.
I0425 12:44:25.524228 135498659329856 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0425 12:44:25.526408 135498659329856 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/9.
I0425 12:44:26.257198 135498659329856 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 12:44:26.257294 135498659329856 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 12:44:26.291357 135498659329856 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035262s
I0425 12:44:26.291532 135498659329856 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 3.273 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.4713566303253174 s) (per-host)
I0425 12:44:26.291586 135498659329856 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.471420s (batch_requests_ready=0.434320s, total_serialization_initiated=0.037028s, others=0.000072s)
I0425 12:44:26.291678 135498659329856 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.475589s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.475572)
I0425 12:44:26.292376 135498659329856 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.77 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/9.
I0425 12:44:26.292718 135369987192576 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 13:04:26.292682
I0425 12:44:26.296315 135498659329856 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 12:44:26.296616 135369978799872 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 12:44:26.296778 135498659329856 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777121046.0228162, 'wait_for_prev_duration_secs': 19.499402284622192, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777121065.5242746, 'checkpointer_blocking_duration_secs': 0.7685894966125488, 'get_old_steps_start_time': 1777121066.2928886, 'get_old_steps_duration_secs': 2.8848648071289062e-05, 'checkpoint_manager_blocking_start_time': 1777121046.020963, 'checkpoint_manager_blocking_duration_secs': 20.275779247283936}
I0425 12:44:26.296890 135498659329856 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0425 12:44:26.296937 135498659329856 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 12:44:30.940480 135365770921728 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/9/items/array_metadatas/process_6
I0425 12:45:07.236240 135369987192576 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 38.140 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.41602301597595 s) (per-host)
I0425 12:45:07.236378 135369987192576 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 40.943547s.
I0425 12:45:13.752504 135369987192576 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 47.459658s.
I0425 12:45:13.752795 135369978799872 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 12:45:13.752917 135369978799872 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 12:45:13.752968 135369978799872 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 12:45:13.754481 135369978799872 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 12:45:13.754652 135498659329856 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0425 12:45:13.754806 135498659329856 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 12:45:13.755711 135498659329856 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.252, Tokens/s/device: 13905.297, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 12:45:25 UTC 2026
EXIT_CODE=0
NNX  ·  28b1e4a16  ·  feat_nnx_post_train_fixes_20260425_121355  ·  full log
XPK Start: Sat Apr 25 14:06:36 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-25 14:07:01.142426: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0425 14:07:01.351794 134706853001024 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 14:07:10.392218 134706853001024 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 14:07:10.394509 134706853001024 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-3jtyv-slice-job-0-0.mt-10-shardy-false-3jtyv:8482
I0425 14:07:11.189137 134706853001024 max_utils.py:284] Jax distributed system initialized!
I0425 14:07:17.361312 134706853001024 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 14:07:17.361416 134706853001024 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 14:07:17.361457 134706853001024 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0425 14:07:17.361493 134706853001024 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 14:07:18.068414 134706853001024 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 14:07:18.184846 134706853001024 checkpointing.py:688] Setting up checkpoint logger...
I0425 14:07:18.184970 134706853001024 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 14:07:18.185021 134706853001024 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 14:07:18.185224 134706853001024 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 0x7a832a650b90>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 14:07:21.184447 134706853001024 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 14:07:21.184690 134706853001024 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 0x7a6dd4439400>}, handler_registry=None
I0425 14:07:21.184929 134706853001024 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a6dd4439400>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0425 14:07:21.184977 134706853001024 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a6dd44a5b50>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0425 14:07:21.185017 134706853001024 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 0x7a6dd4439400>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a6dd4439400>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a6dd44a5b50>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a6dd44a5b50>}).
I0425 14:07:21.185353 134706853001024 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 14:07:21.185420 134706853001024 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a6dd444f6a0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 14:07:22.240322 134706853001024 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints
I0425 14:07:22.267335 134706853001024 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/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a821e381910>
I0425 14:07:22.267468 134706853001024 checkpointing.py:302] Checkpoint manager created!
I0425 14:07:23.236734 134706853001024 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 14:07:23.236853 134706853001024 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 14:07:24.566312 134706853001024 maxtext_utils.py:1889]  decoder/decoder_norm/scale/value
    Shape:     float32[2048]
    Physical:  (None,)
I0425 14:07:24.566432 134706853001024 maxtext_utils.py:1889]  decoder/layers/mlp/wi_0/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0425 14:07:24.566486 134706853001024 maxtext_utils.py:1889]  decoder/layers/mlp/wi_1/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0425 14:07:24.566531 134706853001024 maxtext_utils.py:1889]  decoder/layers/mlp/wo/kernel/value
    Shape:     float32[7168,16,2048]
    Physical:  (None, None, 'fsdp')
I0425 14:07:24.566568 134706853001024 maxtext_utils.py:1889]  decoder/layers/post_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0425 14:07:24.566603 134706853001024 maxtext_utils.py:1889]  decoder/layers/pre_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0425 14:07:24.566639 134706853001024 maxtext_utils.py:1889]  decoder/layers/self_attention/key/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0425 14:07:24.566689 134706853001024 maxtext_utils.py:1889]  decoder/layers/self_attention/out/kernel/value
    Shape:     float32[16,16,128,2048]
    Physical:  (None, None, None, 'fsdp')
I0425 14:07:24.566725 134706853001024 maxtext_utils.py:1889]  decoder/layers/self_attention/query/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0425 14:07:24.566758 134706853001024 maxtext_utils.py:1889]  decoder/layers/self_attention/value/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0425 14:07:24.566791 134706853001024 maxtext_utils.py:1889]  decoder/logits_dense/kernel/value
    Shape:     float32[2048,32000]
    Physical:  ('fsdp', None)
I0425 14:07:24.566823 134706853001024 maxtext_utils.py:1889]  token_embedder/embedding/value
    Shape:     float32[32000,2048]
    Physical:  (None, 'fsdp')

I0425 14:07:24.967554 134706853001024 nnx_decoders.py:465] nnx_decoders/carry Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 14:07:24.967659 134706853001024 nnx_decoders.py:465] nnx_decoders/carry Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 14:07:24.973015 134706853001024 nnx_decoders.py:465] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 14:07:24.973072 134706853001024 nnx_decoders.py:465] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 14:07:24.989598 134706853001024 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 14:07:24.989670 134706853001024 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 14:07:25.005668 134706853001024 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 14:07:25.005726 134706853001024 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 14:07:25.029983 134706853001024 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 14:07:25.030049 134706853001024 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 14:07:25.046103 134706853001024 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 14:07:25.046164 134706853001024 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 14:07:25.062080 134706853001024 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 14:07:25.062143 134706853001024 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 14:07:25.097988 134706853001024 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0425 14:07:25.098086 134706853001024 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 14:07:25.118475 134706853001024 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 14:07:25.118542 134706853001024 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 14:07:36.161574 134706853001024 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0425 14:07:36.163970 134706853001024 metric_logger.py:301] number parameters: 1.104 billion
I0425 14:07:47.299926 134706853001024 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 14:07:47.596431 134706853001024 checkpointing.py:798] Waited 0.29648876190185547 seconds for step 0 to finish before starting checkpointing.
I0425 14:07:47.598754 134706853001024 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 14:07:47.600371 134706853001024 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0425 14:07:47.601810 134706853001024 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/0.
I0425 14:07:47.889214 134706853001024 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 14:07:47.890204 134706853001024 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0425 14:07:47.890261 134706853001024 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 14:07:48.159770 134706853001024 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.271330s
I0425 14:07:48.159944 134706853001024 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.498 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28057336807250977 s) (per-host)
I0425 14:07:48.159998 134706853001024 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.280638s (batch_requests_ready=0.002948s, total_serialization_initiated=0.277618s, others=0.000073s)
I0425 14:07:48.160106 134706853001024 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.284763s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.284745)
I0425 14:07:48.160875 134706853001024 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.56 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/0.
I0425 14:07:48.161163 134577920792320 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 14:27:48.161137
I0425 14:07:48.177394 134706853001024 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 14:07:48.177668 134575774746368 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0425 14:07:48.177792 134706853001024 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777126067.5987349, 'wait_for_prev_duration_secs': 6.0558319091796875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777126067.6004083, 'checkpointer_blocking_duration_secs': 0.5608720779418945, 'get_old_steps_start_time': 1777126068.1613042, 'get_old_steps_duration_secs': 2.9325485229492188e-05, 'checkpoint_manager_blocking_start_time': 1777126067.5968292, 'checkpoint_manager_blocking_duration_secs': 0.5809237957000732}
I0425 14:07:48.177901 134706853001024 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 14:07:48.177973 134706853001024 max_utils.py:750] 
Memstats: After params initialized:
I0425 14:07:48.178022 134706853001024 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0425 14:07:48.178053 134706853001024 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0425 14:07:48.178090 134706853001024 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0425 14:07:48.178112 134706853001024 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0425 14:07:48.486235 134706853001024 metric_logger.py:196] completed step: 0, seconds: 11.135, TFLOP/s/device: 1.220, Tokens/s/device: 183.926, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0425 14:07:48.672308 134706853001024 metric_logger.py:196] completed step: 1, seconds: 1.184, TFLOP/s/device: 11.472, Tokens/s/device: 1729.121, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0425 14:07:49.074005 134706853001024 metric_logger.py:196] completed step: 2, seconds: 0.040, TFLOP/s/device: 340.436, Tokens/s/device: 51314.174, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28632.133
I0425 14:07:49.221447 134706853001024 metric_logger.py:196] completed step: 3, seconds: 0.392, TFLOP/s/device: 34.702, Tokens/s/device: 5230.695, total_weights: 65536, loss: 9.732, lm_loss: 9.732, perplexity: 16855.789
I0425 14:07:49.517164 134706853001024 metric_logger.py:196] completed step: 4, seconds: 0.164, TFLOP/s/device: 82.614, Tokens/s/device: 12452.422, total_weights: 65536, loss: 9.274, lm_loss: 9.274, perplexity: 10661.594
I0425 14:07:49.525398 134706853001024 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.467, Tokens/s/device: 13937.662, total_weights: 65536, loss: 8.888, lm_loss: 8.888, perplexity: 7245.978
I0425 14:07:51.768247    2837 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 14:07:53.778197 134575783139072 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/0/items/array_metadatas/process_5
I0425 14:08:12.459066 134706853001024 metric_logger.py:196] completed step: 6, seconds: 0.297, TFLOP/s/device: 45.739, Tokens/s/device: 6894.300, total_weights: 65536, loss: 8.589, lm_loss: 8.589, perplexity: 5371.156
I0425 14:08:12.606434 134706853001024 metric_logger.py:196] completed step: 7, seconds: 22.787, TFLOP/s/device: 0.596, Tokens/s/device: 89.875, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4360.465
I0425 14:08:12.754069 134706853001024 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.546, Tokens/s/device: 13346.628, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.256
I0425 14:08:12.902351 134706853001024 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0425 14:08:12.903063 134706853001024 checkpointing.py:798] Waited 0.0007195472717285156 seconds for step 9 to finish before starting checkpointing.
I0425 14:08:12.905272 134706853001024 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 14:08:24.990433 134577920792320 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.564 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.111037254333496 s) (per-host)
I0425 14:08:24.990535 134577920792320 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.829293s.
I0425 14:08:35.376318 134577920792320 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 47.215059s.
I0425 14:08:35.376537 134575774746368 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 14:08:35.376602 134575774746368 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0425 14:08:35.376673 134575774746368 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 14:08:35.378364 134575774746368 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 14:08:35.378524 134706853001024 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.
W0425 14:08:35.378671 134706853001024 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.473386 seconds. If this number is high, consider checkpointing less frequently.
I0425 14:08:35.380439 134706853001024 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0425 14:08:35.382677 134706853001024 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/9.
I0425 14:08:35.669345 134706853001024 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0425 14:08:35.669437 134706853001024 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 14:08:35.709867 134706853001024 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.042131s
I0425 14:08:35.710028 134706853001024 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 31.369 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04917573928833008 s) (per-host)
I0425 14:08:35.710078 134706853001024 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.049236s (batch_requests_ready=0.002647s, total_serialization_initiated=0.046523s, others=0.000065s)
I0425 14:08:35.710171 134706853001024 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.053264s (all_items=0.000015s, per_item={'items': '0.00001454'}, temp_paths=0.053249)
I0425 14:08:35.710900 134706853001024 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.33 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/9.
I0425 14:08:35.711212 134575774746368 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 14:28:35.711176
I0425 14:08:35.713190 134706853001024 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 14:08:35.713421 134575783139072 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0425 14:08:35.713521 134706853001024 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777126092.905243, 'wait_for_prev_duration_secs': 22.47338628768921, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777126115.3804772, 'checkpointer_blocking_duration_secs': 0.33087658882141113, 'get_old_steps_start_time': 1777126115.7113774, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1777126092.903323, 'checkpoint_manager_blocking_duration_secs': 22.810166358947754}
I0425 14:08:35.713691 134706853001024 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0425 14:08:35.713739 134706853001024 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 14:08:41.413386 134555298150144 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_10_shardy_false/checkpoints/9/items/array_metadatas/process_5
I0425 14:09:18.041743 134575774746368 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.271 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.380849838256836 s) (per-host)
I0425 14:09:18.041862 134575774746368 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.330540s.
I0425 14:09:25.408895 134575774746368 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.697557s.
I0425 14:09:25.409168 134575783139072 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 14:09:25.409231 134575783139072 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0425 14:09:25.409276 134575783139072 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 14:09:25.410928 134575783139072 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 14:09:25.411108 134706853001024 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.
I0425 14:09:25.411284 134706853001024 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 14:09:25.412261 134706853001024 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.878, Tokens/s/device: 13848.880, 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: Sat Apr 25 14:09:37 UTC 2026
EXIT_CODE=0