MaxView

‹ —Case: 01_base02_synthetic ›

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.26491.794-0.47
Tok/s13907.013836.2-70.842
Avg s/step2.7322.744+0.012
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_20260424_120657  ·  full log
XPK Start: Fri Apr 24 12:07:42 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-24 12:08:07.996198: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0424 12:08:08.207959 135447414552384 max_utils.py:273] Attempting to initialize the jax distributed system...
I0424 12:08:17.249581 135447414552384 distributed.py:149] Starting JAX distributed service on [::]:8482
I0424 12:08:17.251905 135447414552384 distributed.py:172] Connecting to JAX distributed service on mt-01-base-043tl-slice-job-0-0.mt-01-base-043tl:8482
I0424 12:08:20.268970 135447414552384 max_utils.py:284] Jax distributed system initialized!
I0424 12:08:25.485445 135447414552384 max_utils.py:800] System Information: Jax Version: 0.9.2
I0424 12:08:25.485553 135447414552384 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0424 12:08:25.485593 135447414552384 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0424 12:08:25.485628 135447414552384 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0424 12:08:26.184050 135447414552384 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 12:08:26.184665 135447414552384 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 12:08:26.184845 135447414552384 checkpointing.py:688] Setting up checkpoint logger...
I0424 12:08:26.184892 135447414552384 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0424 12:08:26.184936 135447414552384 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0424 12:08:26.185291 135447414552384 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 0x7b2fbd1104d0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0424 12:08:29.912375 135447414552384 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0424 12:08:29.912622 135447414552384 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 0x7b1bf421ee70>}, handler_registry=None
I0424 12:08:29.912860 135447414552384 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b1bf421ee70>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0424 12:08:29.912919 135447414552384 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b1bf42210a0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0424 12:08:29.912957 135447414552384 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 0x7b1bf421ee70>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b1bf421ee70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b1bf42210a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b1bf42210a0>}).
I0424 12:08:29.913316 135447414552384 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0424 12:08:29.913387 135447414552384 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b1b2c7ddd00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0424 12:08:30.668022 135447414552384 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints
I0424 12:08:30.716328 135447414552384 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b1bf4237410>
I0424 12:08:30.716479 135447414552384 checkpointing.py:302] Checkpoint manager created!
I0424 12:08:31.658870 135447414552384 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 12:08:31.658980 135447414552384 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 12:08:32.051540 135447414552384 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 12:08:32.051631 135447414552384 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 12:08:32.068415 135447414552384 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 12:08:32.068478 135447414552384 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 12:08:32.092421 135447414552384 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 12:08:32.092492 135447414552384 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:08:32.109357 135447414552384 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 12:08:32.109419 135447414552384 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:08:32.126492 135447414552384 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 12:08:32.126556 135447414552384 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:08:32.151720 135447414552384 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0424 12:08:32.151791 135447414552384 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:08:32.172845 135447414552384 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0424 12:08:32.172909 135447414552384 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0424 12:08:32.394625 135447414552384 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0424 12:08:32.394746 135447414552384 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0424 12:08:33.829553 135447414552384 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0424 12:08:33.829680 135447414552384 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0424 12:08:33.829734 135447414552384 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0424 12:08:33.829792 135447414552384 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0424 12:08:33.829844 135447414552384 maxtext_utils.py:1880]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0424 12:08:33.829881 135447414552384 maxtext_utils.py:1880]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0424 12:08:33.829932 135447414552384 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0424 12:08:33.829983 135447414552384 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0424 12:08:33.830024 135447414552384 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0424 12:08:33.830061 135447414552384 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0424 12:08:33.830121 135447414552384 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0424 12:08:33.830175 135447414552384 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0424 12:08:34.321810 135447414552384 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 12:08:34.321905 135447414552384 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 12:08:34.337599 135447414552384 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 12:08:34.337659 135447414552384 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 12:08:45.301888 135447414552384 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0424 12:08:45.302645 135447414552384 metric_logger.py:301] number parameters: 1.104 billion
I0424 12:08:56.757283 135447414552384 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0424 12:08:56.910495 135447414552384 checkpointing.py:798] Waited 0.15319180488586426 seconds for step 0 to finish before starting checkpointing.
I0424 12:08:56.913086 135447414552384 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 12:08:56.914679 135447414552384 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0424 12:08:56.916161 135447414552384 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/0.
I0424 12:08:57.408934 135447414552384 signaling_client.py:364] Using JaxDistributedSignalingClient
I0424 12:08:57.409875 135447414552384 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 12:08:57.409933 135447414552384 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0424 12:08:57.685587 135447414552384 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276723s
I0424 12:08:57.685746 135447414552384 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.463 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2823817729949951 s) (per-host)
I0424 12:08:57.685795 135447414552384 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.282440s (batch_requests_ready=0.002299s, total_serialization_initiated=0.280076s, others=0.000064s)
I0424 12:08:57.685885 135447414552384 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.286573s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.286555)
I0424 12:08:57.686698 135447414552384 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_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/0.
I0424 12:08:57.686983 135321318762240 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 12:28:57.686951
I0424 12:08:57.706126 135447414552384 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 12:08:57.706382 135318103648000 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0424 12:08:57.706527 135447414552384 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777032536.9130676, 'wait_for_prev_duration_secs': 7.939338684082031e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777032536.9147172, 'checkpointer_blocking_duration_secs': 0.7724225521087646, 'get_old_steps_start_time': 1777032537.6871676, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1777032536.91101, 'checkpoint_manager_blocking_duration_secs': 0.795478105545044}
I0424 12:08:57.706638 135447414552384 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0424 12:08:57.706688 135447414552384 max_utils.py:750] 
Memstats: After params initialized:
I0424 12:08:57.706735 135447414552384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0424 12:08:57.706765 135447414552384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0424 12:08:57.706792 135447414552384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0424 12:08:57.706814 135447414552384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0424 12:08:58.019868 135447414552384 metric_logger.py:196] completed step: 0, seconds: 11.455, TFLOP/s/device: 1.186, Tokens/s/device: 178.794, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0424 12:08:58.205537 135447414552384 metric_logger.py:196] completed step: 1, seconds: 1.261, TFLOP/s/device: 10.774, Tokens/s/device: 1624.005, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0424 12:08:58.622574 135447414552384 metric_logger.py:196] completed step: 2, seconds: 0.038, TFLOP/s/device: 353.105, Tokens/s/device: 53223.836, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0424 12:08:58.770020 135447414552384 metric_logger.py:196] completed step: 3, seconds: 0.417, TFLOP/s/device: 32.576, Tokens/s/device: 4910.199, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0424 12:08:59.065006 135447414552384 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.782, Tokens/s/device: 13382.210, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0424 12:08:59.070771 135447414552384 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.120, Tokens/s/device: 13885.311, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0424 12:09:05.621483    2760 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0424 12:09:07.655240 135318112040704 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/0/items/array_metadatas/process_6
I0424 12:09:21.193623 135447414552384 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.012, Tokens/s/device: 6935.461, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0424 12:09:21.341144 135447414552384 metric_logger.py:196] completed step: 7, seconds: 21.976, TFLOP/s/device: 0.618, Tokens/s/device: 93.193, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0424 12:09:21.488347 135447414552384 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 89.066, Tokens/s/device: 13425.019, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0424 12:09:21.634896 135447414552384 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0424 12:09:21.635613 135447414552384 checkpointing.py:798] Waited 0.0007367134094238281 seconds for step 9 to finish before starting checkpointing.
I0424 12:09:21.637628 135447414552384 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 12:09:39.544394 135321318762240 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.484 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.14098834991455 s) (per-host)
I0424 12:09:39.544514 135321318762240 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.857422s.
I0424 12:09:50.963788 135321318762240 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 53.276682s.
I0424 12:09:50.964065 135318103648000 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 12:09:50.964236 135318103648000 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0424 12:09:50.964300 135318103648000 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0424 12:09:50.965936 135318103648000 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0424 12:09:50.966110 135447414552384 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0424 12:09:50.966238 135447414552384 checkpoint_manager.py:1452] Waiting for previous save to complete took 29.328611 seconds. If this number is high, consider checkpointing less frequently.
I0424 12:09:50.968080 135447414552384 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0424 12:09:50.970128 135447414552384 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/9.
I0424 12:09:51.616977 135447414552384 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 12:09:51.617069 135447414552384 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0424 12:09:51.650712 135447414552384 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034902s
I0424 12:09:51.650877 135447414552384 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 40.155 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03841567039489746 s) (per-host)
I0424 12:09:51.650925 135447414552384 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038471s (batch_requests_ready=0.001901s, total_serialization_initiated=0.036507s, others=0.000063s)
I0424 12:09:51.651029 135447414552384 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042842s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.042828)
I0424 12:09:51.651773 135447414552384 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.68 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/9.
I0424 12:09:51.652119 135318103648000 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 12:29:51.652070
I0424 12:09:51.654042 135447414552384 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 12:09:51.654345 135293986387712 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0424 12:09:51.654479 135447414552384 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777032561.6375988, 'wait_for_prev_duration_secs': 29.328611135482788, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777032590.9681334, 'checkpointer_blocking_duration_secs': 0.6841232776641846, 'get_old_steps_start_time': 1777032591.6522808, 'get_old_steps_duration_secs': 3.0994415283203125e-05, 'checkpoint_manager_blocking_start_time': 1777032561.6358542, 'checkpoint_manager_blocking_duration_secs': 30.01859188079834}
I0424 12:09:51.654645 135447414552384 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0424 12:09:51.654689 135447414552384 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 12:09:56.772952 135318112040704 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/linen_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/9/items/array_metadatas/process_6
I0424 12:10:34.066145 135318103648000 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.208 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.45362734794617 s) (per-host)
I0424 12:10:34.066256 135318103648000 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.414029s.
I0424 12:10:42.580841 135318103648000 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.928598s.
I0424 12:10:42.581123 135293986387712 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 12:10:42.581244 135293986387712 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0424 12:10:42.581289 135293986387712 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0424 12:10:42.587362 135293986387712 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0424 12:10:42.587546 135447414552384 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0424 12:10:42.587704 135447414552384 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 12:10:42.588627 135447414552384 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.264, Tokens/s/device: 13906.997, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Fri Apr 24 12:10:53 UTC 2026
EXIT_CODE=0
NNX  ·  28b1e4a16  ·  feat_nnx_post_train_fixes_20260424_120657  ·  full log
XPK Start: Fri Apr 24 13:33:42 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-24 13:34:06.855962: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0424 13:34:07.067532 134742055122752 max_utils.py:273] Attempting to initialize the jax distributed system...
I0424 13:34:16.109767 134742055122752 distributed.py:149] Starting JAX distributed service on [::]:8482
I0424 13:34:16.112156 134742055122752 distributed.py:172] Connecting to JAX distributed service on mt-01-base-vcu1b-slice-job-0-0.mt-01-base-vcu1b:8482
I0424 13:34:16.956216 134742055122752 max_utils.py:284] Jax distributed system initialized!
I0424 13:34:23.154636 134742055122752 max_utils.py:800] System Information: Jax Version: 0.9.2
I0424 13:34:23.154742 134742055122752 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0424 13:34:23.154783 134742055122752 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0424 13:34:23.154819 134742055122752 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0424 13:34:23.857481 134742055122752 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 13:34:23.969533 134742055122752 checkpointing.py:688] Setting up checkpoint logger...
I0424 13:34:23.969650 134742055122752 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0424 13:34:23.969694 134742055122752 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0424 13:34:23.969896 134742055122752 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 0x7a8b5cf39d00>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0424 13:34:27.659782 134742055122752 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0424 13:34:27.660022 134742055122752 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 0x7a77281d4dd0>}, handler_registry=None
I0424 13:34:27.660282 134742055122752 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a77281d4dd0>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0424 13:34:27.660333 134742055122752 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a76407f0200>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0424 13:34:27.660369 134742055122752 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 0x7a77281d4dd0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a77281d4dd0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a76407f0200>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a76407f0200>}).
I0424 13:34:27.660691 134742055122752 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0424 13:34:27.660761 134742055122752 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a76406336a0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0424 13:34:28.428642 134742055122752 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints
I0424 13:34:28.461301 134742055122752 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_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a76402ca1e0>
I0424 13:34:28.461441 134742055122752 checkpointing.py:302] Checkpoint manager created!
I0424 13:34:29.437110 134742055122752 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0424 13:34:29.437233 134742055122752 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0424 13:34:30.825133 134742055122752 maxtext_utils.py:1889]  decoder/decoder_norm/scale/value
    Shape:     float32[2048]
    Physical:  (None,)
I0424 13:34:30.825254 134742055122752 maxtext_utils.py:1889]  decoder/layers/mlp/wi_0/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0424 13:34:30.825307 134742055122752 maxtext_utils.py:1889]  decoder/layers/mlp/wi_1/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0424 13:34:30.825354 134742055122752 maxtext_utils.py:1889]  decoder/layers/mlp/wo/kernel/value
    Shape:     float32[7168,16,2048]
    Physical:  (None, None, 'fsdp')
I0424 13:34:30.825392 134742055122752 maxtext_utils.py:1889]  decoder/layers/post_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0424 13:34:30.825428 134742055122752 maxtext_utils.py:1889]  decoder/layers/pre_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0424 13:34:30.825464 134742055122752 maxtext_utils.py:1889]  decoder/layers/self_attention/key/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0424 13:34:30.825499 134742055122752 maxtext_utils.py:1889]  decoder/layers/self_attention/out/kernel/value
    Shape:     float32[16,16,128,2048]
    Physical:  (None, None, None, 'fsdp')
I0424 13:34:30.825533 134742055122752 maxtext_utils.py:1889]  decoder/layers/self_attention/query/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0424 13:34:30.825566 134742055122752 maxtext_utils.py:1889]  decoder/layers/self_attention/value/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0424 13:34:30.825598 134742055122752 maxtext_utils.py:1889]  decoder/logits_dense/kernel/value
    Shape:     float32[2048,32000]
    Physical:  ('fsdp', None)
I0424 13:34:30.825629 134742055122752 maxtext_utils.py:1889]  token_embedder/embedding/value
    Shape:     float32[32000,2048]
    Physical:  (None, 'fsdp')

I0424 13:34:31.231867 134742055122752 nnx_decoders.py:465] nnx_decoders/carry Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 13:34:31.231969 134742055122752 nnx_decoders.py:465] nnx_decoders/carry Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 13:34:31.237370 134742055122752 nnx_decoders.py:465] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 13:34:31.237430 134742055122752 nnx_decoders.py:465] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 13:34:31.254183 134742055122752 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 13:34:31.254244 134742055122752 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 13:34:31.270324 134742055122752 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 13:34:31.270384 134742055122752 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 13:34:31.295690 134742055122752 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 13:34:31.295761 134742055122752 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 13:34:31.312071 134742055122752 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 13:34:31.312142 134742055122752 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 13:34:31.328359 134742055122752 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 13:34:31.328419 134742055122752 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 13:34:31.358631 134742055122752 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0424 13:34:31.358706 134742055122752 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 13:34:31.378797 134742055122752 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0424 13:34:31.378865 134742055122752 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0424 13:34:42.775201 134742055122752 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0424 13:34:42.777454 134742055122752 metric_logger.py:301] number parameters: 1.104 billion
I0424 13:34:54.252979 134742055122752 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0424 13:34:54.404650 134742055122752 checkpointing.py:798] Waited 0.1516554355621338 seconds for step 0 to finish before starting checkpointing.
I0424 13:34:54.406945 134742055122752 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 13:34:54.408605 134742055122752 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0424 13:34:54.409929 134742055122752 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/0.
I0424 13:34:54.758888 134742055122752 signaling_client.py:364] Using JaxDistributedSignalingClient
I0424 13:34:54.759932 134742055122752 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0424 13:34:54.759988 134742055122752 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0424 13:34:55.034202 134742055122752 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276092s
I0424 13:34:55.034390 134742055122752 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.412 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28504061698913574 s) (per-host)
I0424 13:34:55.034445 134742055122752 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285106s (batch_requests_ready=0.002938s, total_serialization_initiated=0.282096s, others=0.000073s)
I0424 13:34:55.034543 134742055122752 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289265s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.289247)
I0424 13:34:55.035361 134742055122752 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.63 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/0.
I0424 13:34:55.035695 134612957243136 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 13:54:55.035655
I0424 13:34:55.050084 134742055122752 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 13:34:55.050372 134611876574976 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0424 13:34:55.050507 134742055122752 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777037694.4069273, 'wait_for_prev_duration_secs': 6.0558319091796875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777037694.4086425, 'checkpointer_blocking_duration_secs': 0.6272091865539551, 'get_old_steps_start_time': 1777037695.0358791, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1777037694.4050362, 'checkpoint_manager_blocking_duration_secs': 0.6454308032989502}
I0424 13:34:55.050621 134742055122752 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0424 13:34:55.050688 134742055122752 max_utils.py:750] 
Memstats: After params initialized:
I0424 13:34:55.050739 134742055122752 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0424 13:34:55.050771 134742055122752 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0424 13:34:55.050797 134742055122752 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0424 13:34:55.050820 134742055122752 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0424 13:34:55.367628 134742055122752 metric_logger.py:196] completed step: 0, seconds: 11.474, TFLOP/s/device: 1.184, Tokens/s/device: 178.484, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0424 13:34:55.539480 134742055122752 metric_logger.py:196] completed step: 1, seconds: 1.113, TFLOP/s/device: 12.209, Tokens/s/device: 1840.327, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0424 13:34:55.981870 134742055122752 metric_logger.py:196] completed step: 2, seconds: 0.026, TFLOP/s/device: 530.872, Tokens/s/device: 80018.754, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28632.133
I0424 13:34:56.129789 134742055122752 metric_logger.py:196] completed step: 3, seconds: 0.432, TFLOP/s/device: 31.425, Tokens/s/device: 4736.793, total_weights: 65536, loss: 9.732, lm_loss: 9.732, perplexity: 16855.789
I0424 13:34:56.425139 134742055122752 metric_logger.py:196] completed step: 4, seconds: 0.164, TFLOP/s/device: 82.700, Tokens/s/device: 12465.382, total_weights: 65536, loss: 9.274, lm_loss: 9.274, perplexity: 10661.594
I0424 13:34:56.432841 134742055122752 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.181, Tokens/s/device: 13894.543, total_weights: 65536, loss: 8.888, lm_loss: 8.888, perplexity: 7245.978
I0424 13:34:58.026347    2796 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0424 13:35:00.071813 134611913119488 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_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/0/items/array_metadatas/process_6
I0424 13:35:18.795288 134742055122752 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.881, Tokens/s/device: 6915.741, total_weights: 65536, loss: 8.589, lm_loss: 8.589, perplexity: 5371.156
I0424 13:35:18.942842 134742055122752 metric_logger.py:196] completed step: 7, seconds: 22.216, TFLOP/s/device: 0.612, Tokens/s/device: 92.185, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4360.465
I0424 13:35:19.090466 134742055122752 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.765, Tokens/s/device: 13379.587, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.256
I0424 13:35:19.238551 134742055122752 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0424 13:35:19.239213 134742055122752 checkpointing.py:798] Waited 0.0006730556488037109 seconds for step 9 to finish before starting checkpointing.
I0424 13:35:19.241552 134742055122752 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 13:35:32.107381 134612957243136 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 42.283 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.358007192611694 s) (per-host)
I0424 13:35:32.107494 134612957243136 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.071685s.
I0424 13:35:38.868528 134612957243136 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 43.832704s.
I0424 13:35:38.868821 134611876574976 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 13:35:38.868956 134611876574976 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0424 13:35:38.869007 134611876574976 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0424 13:35:38.871193 134611876574976 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0424 13:35:38.871390 134742055122752 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0424 13:35:38.871519 134742055122752 checkpoint_manager.py:1452] Waiting for previous save to complete took 19.629968 seconds. If this number is high, consider checkpointing less frequently.
I0424 13:35:38.873402 134742055122752 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0424 13:35:38.875524 134742055122752 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/9.
I0424 13:35:39.173846 134742055122752 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0424 13:35:39.173943 134742055122752 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0424 13:35:39.209426 134742055122752 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037103s
I0424 13:35:39.209597 134742055122752 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 34.849 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.044264793395996094 s) (per-host)
I0424 13:35:39.209650 134742055122752 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.044328s (batch_requests_ready=0.002735s, total_serialization_initiated=0.041522s, others=0.000071s)
I0424 13:35:39.209744 134742055122752 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.048506s (all_items=0.000016s, per_item={'items': '0.00001597'}, temp_paths=0.048490)
I0424 13:35:39.210453 134742055122752 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_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/9.
I0424 13:35:39.210802 134611876574976 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 13:55:39.210765
I0424 13:35:39.212718 134742055122752 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 13:35:39.213005 134612431963904 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0424 13:35:39.213152 134742055122752 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777037719.2415204, 'wait_for_prev_duration_secs': 19.629968404769897, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777037738.873455, 'checkpointer_blocking_duration_secs': 0.3374934196472168, 'get_old_steps_start_time': 1777037739.210971, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1777037719.2394538, 'checkpoint_manager_blocking_duration_secs': 19.973663568496704}
I0424 13:35:39.213317 134742055122752 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0424 13:35:39.213371 134742055122752 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 13:35:44.877482 134612440356608 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_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_01_base/checkpoints/9/items/array_metadatas/process_6
I0424 13:36:21.463948 134611876574976 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.344 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.29859495162964 s) (per-host)
I0424 13:36:21.464054 134611876574976 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.253142s.
I0424 13:36:28.752951 134611876574976 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 49.542021s.
I0424 13:36:28.753267 134612431963904 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 13:36:28.753387 134612431963904 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0424 13:36:28.753437 134612431963904 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0424 13:36:28.755565 134612431963904 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0424 13:36:28.755754 134742055122752 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0424 13:36:28.755932 134742055122752 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 13:36:28.756976 134742055122752 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.794, Tokens/s/device: 13836.155, 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: Fri Apr 24 13:36:37 UTC 2026
EXIT_CODE=0