MaxView

‹ 06_grad_accumCase: 07_eval08_checkpoint_async_true_resume ›

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.25991.786-0.473
Tok/s13906.313835.0-71.303
Avg s/step2.6692.716+0.047
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:21:09 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:21:34.626713: 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:21:34.841646 137067711661888 max_utils.py:273] Attempting to initialize the jax distributed system...
I0424 12:21:43.883840 137067711661888 distributed.py:149] Starting JAX distributed service on [::]:8482
I0424 12:21:43.886141 137067711661888 distributed.py:172] Connecting to JAX distributed service on mt-07-eval-yjtbo-slice-job-0-0.mt-07-eval-yjtbo:8482
I0424 12:21:45.165859 137067711661888 max_utils.py:284] Jax distributed system initialized!
I0424 12:21:50.242563 137067711661888 max_utils.py:800] System Information: Jax Version: 0.9.2
I0424 12:21:50.242671 137067711661888 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0424 12:21:50.242710 137067711661888 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:21:50.242745 137067711661888 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0424 12:21:50.951351 137067711661888 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 12:21:50.951946 137067711661888 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 12:21:50.952143 137067711661888 checkpointing.py:688] Setting up checkpoint logger...
I0424 12:21:50.952193 137067711661888 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0424 12:21:50.952237 137067711661888 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0424 12:21:50.952609 137067711661888 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 0x7ca8d894cce0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0424 12:21:53.833204 137067711661888 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0424 12:21:53.833444 137067711661888 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 0x7c955436bfe0>}, handler_registry=None
I0424 12:21:53.833683 137067711661888 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c955436bfe0>` 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:21:53.833733 137067711661888 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c955436dfd0>` 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:21:53.833771 137067711661888 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 0x7c955436bfe0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c955436bfe0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c955436dfd0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c955436dfd0>}).
I0424 12:21:53.834113 137067711661888 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0424 12:21:53.834187 137067711661888 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c945866dd00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0424 12:21:54.763429 137067711661888 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_07_eval/checkpoints
I0424 12:21:54.777839 137067711661888 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_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c955436dac0>
I0424 12:21:54.777961 137067711661888 checkpointing.py:302] Checkpoint manager created!
I0424 12:21:55.723216 137067711661888 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 12:21:55.723327 137067711661888 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 12:21:56.116297 137067711661888 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 12:21:56.116389 137067711661888 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 12:21:56.132848 137067711661888 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 12:21:56.132909 137067711661888 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 12:21:56.157020 137067711661888 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:21:56.157089 137067711661888 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:21:56.173631 137067711661888 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:21:56.173692 137067711661888 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:21:56.190167 137067711661888 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:21:56.190226 137067711661888 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:21:56.214920 137067711661888 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0424 12:21:56.214989 137067711661888 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 12:21:56.235909 137067711661888 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0424 12:21:56.235973 137067711661888 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0424 12:21:56.458308 137067711661888 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0424 12:21:56.458417 137067711661888 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0424 12:21:57.899561 137067711661888 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0424 12:21:57.899693 137067711661888 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:21:57.899748 137067711661888 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:21:57.899806 137067711661888 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:21:57.899859 137067711661888 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:21:57.899899 137067711661888 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:21:57.899951 137067711661888 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:21:57.900003 137067711661888 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:21:57.900043 137067711661888 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:21:57.900079 137067711661888 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:21:57.900141 137067711661888 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0424 12:21:57.900194 137067711661888 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0424 12:21:58.398997 137067711661888 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 12:21:58.399091 137067711661888 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 12:21:58.414954 137067711661888 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 12:21:58.415014 137067711661888 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 12:22:09.494306 137067711661888 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:22:09.495149 137067711661888 metric_logger.py:301] number parameters: 1.104 billion
I0424 12:22:20.928627 137067711661888 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0424 12:22:21.084446 137067711661888 checkpointing.py:798] Waited 0.15580272674560547 seconds for step 0 to finish before starting checkpointing.
I0424 12:22:21.088546 137067711661888 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 12:22:21.090082 137067711661888 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0424 12:22:21.091676 137067711661888 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_07_eval/checkpoints/0.
I0424 12:22:21.397583 137067711661888 signaling_client.py:364] Using JaxDistributedSignalingClient
I0424 12:22:21.398606 137067711661888 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 12:22:21.398679 137067711661888 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:22:21.678745 137067711661888 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.281246s
I0424 12:22:21.678921 137067711661888 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.372 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28716039657592773 s) (per-host)
I0424 12:22:21.678976 137067711661888 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.287225s (batch_requests_ready=0.002296s, total_serialization_initiated=0.284855s, others=0.000074s)
I0424 12:22:21.679066 137067711661888 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.291499s (all_items=0.000023s, per_item={'items': '0.00002265'}, temp_paths=0.291476)
I0424 12:22:21.679905 137067711661888 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.59 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_07_eval/checkpoints/0.
I0424 12:22:21.680250 136942380640000 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 12:42:21.680212
I0424 12:22:21.686320 137067711661888 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 12:22:21.686636 136939722237696 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0424 12:22:21.686792 137067711661888 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_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777033341.0885258, 'wait_for_prev_duration_secs': 7.104873657226562e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777033341.0901382, 'checkpointer_blocking_duration_secs': 0.5902657508850098, 'get_old_steps_start_time': 1777033341.6804314, 'get_old_steps_duration_secs': 2.9087066650390625e-05, 'checkpoint_manager_blocking_start_time': 1777033341.0849435, 'checkpoint_manager_blocking_duration_secs': 0.6018099784851074}
I0424 12:22:21.686895 137067711661888 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0424 12:22:21.686943 137067711661888 max_utils.py:750] 
Memstats: After params initialized:
I0424 12:22:21.686992 137067711661888 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0424 12:22:21.687024 137067711661888 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0424 12:22:21.687052 137067711661888 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0424 12:22:21.687075 137067711661888 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0424 12:22:22.005984 137067711661888 metric_logger.py:196] completed step: 0, seconds: 11.433, TFLOP/s/device: 1.188, Tokens/s/device: 179.125, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0424 12:22:22.174569 137067711661888 metric_logger.py:196] completed step: 1, seconds: 1.076, TFLOP/s/device: 12.629, Tokens/s/device: 1903.641, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0424 12:22:22.599981 137067711661888 metric_logger.py:196] completed step: 2, seconds: 0.021, TFLOP/s/device: 640.510, Tokens/s/device: 96544.572, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0424 12:22:22.747179 137067711661888 metric_logger.py:196] completed step: 3, seconds: 0.425, TFLOP/s/device: 31.950, Tokens/s/device: 4815.821, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0424 12:22:23.042087 137067711661888 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.612, Tokens/s/device: 13356.638, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0424 12:22:23.047779 137067711661888 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.340, Tokens/s/device: 13918.528, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0424 12:22:29.571316    2767 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0424 12:22:31.604780 136939730630400 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_07_eval/checkpoints/0/items/array_metadatas/process_6
I0424 12:22:44.803610 137067711661888 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.004, Tokens/s/device: 6934.216, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0424 12:22:44.951048 137067711661888 metric_logger.py:196] completed step: 7, seconds: 21.609, TFLOP/s/device: 0.629, Tokens/s/device: 94.775, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0424 12:22:45.098358 137067711661888 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.219, Tokens/s/device: 13448.027, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0424 12:22:45.244930 137067711661888 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0424 12:22:45.245596 137067711661888 checkpointing.py:798] Waited 0.0006873607635498047 seconds for step 9 to finish before starting checkpointing.
I0424 12:22:45.247691 137067711661888 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 12:23:03.342448 136942380640000 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.654 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.950663566589355 s) (per-host)
I0424 12:23:03.342551 136942380640000 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.662184s.
I0424 12:23:13.025286 136942380640000 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.344902s.
I0424 12:23:13.025577 136939722237696 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 12:23:13.025703 136939722237696 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0424 12:23:13.025755 136939722237696 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0424 12:23:13.027582 136939722237696 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0424 12:23:13.027739 137067711661888 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:23:13.027884 137067711661888 checkpoint_manager.py:1452] Waiting for previous save to complete took 27.780195 seconds. If this number is high, consider checkpointing less frequently.
I0424 12:23:13.029751 137067711661888 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0424 12:23:13.031821 137067711661888 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_07_eval/checkpoints/9.
I0424 12:23:13.320155 137067711661888 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 12:23:13.320248 137067711661888 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:23:13.356091 137067711661888 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037105s
I0424 12:23:13.356267 137067711661888 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 38.056 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.040534019470214844 s) (per-host)
I0424 12:23:13.356319 137067711661888 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040595s (batch_requests_ready=0.001794s, total_serialization_initiated=0.038731s, others=0.000069s)
I0424 12:23:13.356408 137067711661888 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044590s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.044575)
I0424 12:23:13.357088 137067711661888 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.33 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_07_eval/checkpoints/9.
I0424 12:23:13.357474 136939722237696 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 12:43:13.357435
I0424 12:23:13.359391 137067711661888 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 12:23:13.359617 136914430588672 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0424 12:23:13.359748 137067711661888 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_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777033365.24766, 'wait_for_prev_duration_secs': 27.780194759368896, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777033393.0297897, 'checkpointer_blocking_duration_secs': 0.3278326988220215, 'get_old_steps_start_time': 1777033393.3576467, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1777033365.2458184, 'checkpoint_manager_blocking_duration_secs': 28.11389684677124}
I0424 12:23:13.359907 137067711661888 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0424 12:23:13.359952 137067711661888 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 12:23:19.335560 136939730630400 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_07_eval/checkpoints/9/items/array_metadatas/process_6
I0424 12:23:55.246150 136939722237696 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.672 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.93036079406738 s) (per-host)
I0424 12:23:55.246279 136939722237696 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.888691s.
I0424 12:24:04.090341 136939722237696 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.732726s.
I0424 12:24:04.090646 136914430588672 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 12:24:04.090764 136914430588672 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0424 12:24:04.090811 136914430588672 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0424 12:24:04.093214 136914430588672 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0424 12:24:04.093425 137067711661888 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:24:04.093584 137067711661888 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 12:24:04.094589 137067711661888 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.259, Tokens/s/device: 13906.336, 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:24:14 UTC 2026
EXIT_CODE=0
NNX  ·  28b1e4a16  ·  feat_nnx_post_train_fixes_20260424_120657  ·  full log
XPK Start: Fri Apr 24 13:45:22 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:45:47.791432: 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:45:48.006944 136819279845184 max_utils.py:273] Attempting to initialize the jax distributed system...
I0424 13:45:57.049212 136819279845184 distributed.py:149] Starting JAX distributed service on [::]:8482
I0424 13:45:57.051586 136819279845184 distributed.py:172] Connecting to JAX distributed service on mt-07-eval-k0pkc-slice-job-0-0.mt-07-eval-k0pkc:8482
I0424 13:45:58.105948 136819279845184 max_utils.py:284] Jax distributed system initialized!
I0424 13:46:04.254676 136819279845184 max_utils.py:800] System Information: Jax Version: 0.9.2
I0424 13:46:04.254780 136819279845184 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0424 13:46:04.254820 136819279845184 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:46:04.254857 136819279845184 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0424 13:46:04.967071 136819279845184 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 13:46:05.080654 136819279845184 checkpointing.py:688] Setting up checkpoint logger...
I0424 13:46:05.080774 136819279845184 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0424 13:46:05.080820 136819279845184 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0424 13:46:05.081034 136819279845184 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 0x7c6f1fb1c740>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0424 13:46:08.010887 136819279845184 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0424 13:46:08.011141 136819279845184 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c59e475a270>}, handler_registry=None
I0424 13:46:08.011385 136819279845184 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c59e475a270>` 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:46:08.011434 136819279845184 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c5a6c6bc680>` 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:46:08.011471 136819279845184 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 0x7c59e475a270>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c59e475a270>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c5a6c6bc680>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c5a6c6bc680>}).
I0424 13:46:08.011792 136819279845184 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0424 13:46:08.011864 136819279845184 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c59e474f6a0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0424 13:46:09.086548 136819279845184 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_07_eval/checkpoints
I0424 13:46:09.150024 136819279845184 checkpoint_manager.py:929] [process=3][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260424_120657/nnx_xpk_feat_nnx_post_train_fixes_20260424_120657_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c59e42dfef0>
I0424 13:46:09.150180 136819279845184 checkpointing.py:302] Checkpoint manager created!
I0424 13:46:10.118846 136819279845184 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0424 13:46:10.118979 136819279845184 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0424 13:46:11.489564 136819279845184 maxtext_utils.py:1889]  decoder/decoder_norm/scale/value
    Shape:     float32[2048]
    Physical:  (None,)
I0424 13:46:11.489714 136819279845184 maxtext_utils.py:1889]  decoder/layers/mlp/wi_0/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0424 13:46:11.489807 136819279845184 maxtext_utils.py:1889]  decoder/layers/mlp/wi_1/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0424 13:46:11.489886 136819279845184 maxtext_utils.py:1889]  decoder/layers/mlp/wo/kernel/value
    Shape:     float32[7168,16,2048]

    Physical:  (None, None, 'fsdp')
I0424 13:46:11.489953 136819279845184 maxtext_utils.py:1889]  decoder/layers/post_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0424 13:46:11.489994 136819279845184 maxtext_utils.py:1889]  decoder/layers/pre_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0424 13:46:11.490032 136819279845184 maxtext_utils.py:1889]  decoder/layers/self_attention/key/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0424 13:46:11.490068 136819279845184 maxtext_utils.py:1889]  decoder/layers/self_attention/out/kernel/value
    Shape:     float32[16,16,128,2048]
    Physical:  (None, None, None, 'fsdp')
I0424 13:46:11.490103 136819279845184 maxtext_utils.py:1889]  decoder/layers/self_attention/query/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0424 13:46:11.490136 136819279845184 maxtext_utils.py:1889]  decoder/layers/self_attention/value/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0424 13:46:11.490169 136819279845184 maxtext_utils.py:1889]  decoder/logits_dense/kernel/value
    Shape:     float32[2048,32000]
    Physical:  ('fsdp', None)
I0424 13:46:11.490200 136819279845184 maxtext_utils.py:1889]  token_embedder/embedding/value
    Shape:     float32[32000,2048]
    Physical:  (None, 'fsdp')
I0424 13:46:11.896912 136819279845184 nnx_decoders.py:465] nnx_decoders/carry Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 13:46:11.897016 136819279845184 nnx_decoders.py:465] nnx_decoders/carry Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 13:46:11.902511 136819279845184 nnx_decoders.py:465] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 13:46:11.902575 136819279845184 nnx_decoders.py:465] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 13:46:11.919194 136819279845184 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 13:46:11.919254 136819279845184 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 13:46:11.935150 136819279845184 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0424 13:46:11.935211 136819279845184 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 13:46:11.960736 136819279845184 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:46:11.960811 136819279845184 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 13:46:11.976863 136819279845184 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:46:11.976934 136819279845184 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 13:46:11.992872 136819279845184 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:46:11.992945 136819279845184 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 13:46:12.023272 136819279845184 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0424 13:46:12.023345 136819279845184 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 13:46:12.043553 136819279845184 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0424 13:46:12.043616 136819279845184 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0424 13:46:23.457375 136819279845184 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:46:23.459604 136819279845184 metric_logger.py:301] number parameters: 1.104 billion
I0424 13:46:34.713640 136819279845184 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0424 13:46:34.865461 136819279845184 checkpointing.py:798] Waited 0.15180540084838867 seconds for step 0 to finish before starting checkpointing.
I0424 13:46:34.867713 136819279845184 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 13:46:34.869268 136819279845184 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0424 13:46:34.870679 136819279845184 event_tracking.py:70] [process=3] [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_07_eval/checkpoints/0.
I0424 13:46:35.213826 136819279845184 signaling_client.py:364] Using JaxDistributedSignalingClient
I0424 13:46:35.214741 136819279845184 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0424 13:46:35.214797 136819279845184 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:46:35.490082 136819279845184 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.277040s
I0424 13:46:35.490264 136819279845184 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.388 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2862975597381592 s) (per-host)
I0424 13:46:35.490316 136819279845184 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286359s (batch_requests_ready=0.003153s, total_serialization_initiated=0.283136s, others=0.000069s)
I0424 13:46:35.490410 136819279845184 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.290546s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.290529)
I0424 13:46:35.491257 136819279845184 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.62 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_07_eval/checkpoints/0.
I0424 13:46:35.491522 136690756744960 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 14:06:35.491495
I0424 13:46:35.501371 136819279845184 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 13:46:35.501629 136688072390400 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0424 13:46:35.501785 136819279845184 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_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777038394.867695, 'wait_for_prev_duration_secs': 6.0558319091796875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777038394.8693085, 'checkpointer_blocking_duration_secs': 0.6223118305206299, 'get_old_steps_start_time': 1777038395.4916487, 'get_old_steps_duration_secs': 2.9087066650390625e-05, 'checkpoint_manager_blocking_start_time': 1777038394.8658712, 'checkpoint_manager_blocking_duration_secs': 0.6358761787414551}
I0424 13:46:35.501894 136819279845184 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0424 13:46:35.501977 136819279845184 max_utils.py:750] 
Memstats: After params initialized:
I0424 13:46:35.502028 136819279845184 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0424 13:46:35.502062 136819279845184 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0424 13:46:35.502091 136819279845184 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0424 13:46:35.502117 136819279845184 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0424 13:46:35.815897 136819279845184 metric_logger.py:196] completed step: 0, seconds: 11.253, TFLOP/s/device: 1.207, Tokens/s/device: 181.997, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0424 13:46:35.999356 136819279845184 metric_logger.py:196] completed step: 1, seconds: 1.101, TFLOP/s/device: 12.346, Tokens/s/device: 1860.938, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0424 13:46:36.438072 136819279845184 metric_logger.py:196] completed step: 2, seconds: 0.037, TFLOP/s/device: 364.745, Tokens/s/device: 54978.390, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28632.133
I0424 13:46:36.585963 136819279845184 metric_logger.py:196] completed step: 3, seconds: 0.429, TFLOP/s/device: 31.694, Tokens/s/device: 4777.278, total_weights: 65536, loss: 9.732, lm_loss: 9.732, perplexity: 16855.789
I0424 13:46:36.881670 136819279845184 metric_logger.py:196] completed step: 4, seconds: 0.164, TFLOP/s/device: 82.853, Tokens/s/device: 12488.490, total_weights: 65536, loss: 9.274, lm_loss: 9.274, perplexity: 10661.594
I0424 13:46:36.888938 136819279845184 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.158, Tokens/s/device: 13891.056, total_weights: 65536, loss: 8.888, lm_loss: 8.888, perplexity: 7245.978
I0424 13:46:38.539271    2796 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0424 13:46:40.603662 136689130854144 array_metadata_store.py:203] [process=3][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_07_eval/checkpoints/0/items/array_metadatas/process_3
I0424 13:46:59.004780 136819279845184 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.855, Tokens/s/device: 6911.820, total_weights: 65536, loss: 8.589, lm_loss: 8.589, perplexity: 5371.156
I0424 13:46:59.152503 136819279845184 metric_logger.py:196] completed step: 7, seconds: 21.970, TFLOP/s/device: 0.618, Tokens/s/device: 93.219, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4360.465
I0424 13:46:59.299794 136819279845184 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.779, Tokens/s/device: 13381.685, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.256
I0424 13:46:59.448411 136819279845184 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0424 13:46:59.449083 136819279845184 checkpointing.py:798] Waited 0.0006840229034423828 seconds for step 9 to finish before starting checkpointing.
I0424 13:46:59.451297 136819279845184 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 13:47:12.446937 136690756744960 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 42.413 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.24292016029358 s) (per-host)
I0424 13:47:12.447045 136690756744960 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.955453s.
I0424 13:47:20.156792 136690756744960 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 44.665174s.
I0424 13:47:20.157121 136688072390400 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 13:47:20.157245 136688072390400 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0424 13:47:20.157296 136688072390400 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0424 13:47:20.158959 136688072390400 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0424 13:47:20.159149 136819279845184 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0424 13:47:20.159287 136819279845184 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.707989 seconds. If this number is high, consider checkpointing less frequently.
I0424 13:47:20.161064 136819279845184 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9
I0424 13:47:20.163105 136819279845184 event_tracking.py:70] [process=3] [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_07_eval/checkpoints/9.
I0424 13:47:20.463646 136819279845184 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0424 13:47:20.463746 136819279845184 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:47:20.499058 136819279845184 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037057s
I0424 13:47:20.499226 136819279845184 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 34.712 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.044438838958740234 s) (per-host)
I0424 13:47:20.499279 136819279845184 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.044501s (batch_requests_ready=0.002978s, total_serialization_initiated=0.041453s, others=0.000070s)
I0424 13:47:20.499408 136819279845184 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.048540s (all_items=0.000014s, per_item={'items': '0.00001407'}, temp_paths=0.048526)
I0424 13:47:20.500160 136819279845184 event_tracking.py:125] [process=3] [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_07_eval/checkpoints/9.
I0424 13:47:20.500490 136688072390400 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 14:07:20.500452
I0424 13:47:20.508782 136819279845184 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 13:47:20.509043 136690211481344 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0424 13:47:20.509173 136819279845184 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_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777038419.451267, 'wait_for_prev_duration_secs': 20.70798945426941, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777038440.1611032, 'checkpointer_blocking_duration_secs': 0.33953332901000977, 'get_old_steps_start_time': 1777038440.500661, 'get_old_steps_duration_secs': 3.0994415283203125e-05, 'checkpoint_manager_blocking_start_time': 1777038419.4493093, 'checkpoint_manager_blocking_duration_secs': 21.05982732772827}
I0424 13:47:20.509286 136819279845184 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0424 13:47:20.509331 136819279845184 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 13:47:25.989450 136690219874048 array_metadata_store.py:203] [process=3][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_07_eval/checkpoints/9/items/array_metadatas/process_3
I0424 13:48:03.633124 136688072390400 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 36.583 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.1782968044281 s) (per-host)
I0424 13:48:03.633246 136688072390400 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.132644s.
I0424 13:48:11.367505 136688072390400 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 50.866887s.
I0424 13:48:11.367749 136690211481344 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 13:48:11.367820 136690211481344 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0424 13:48:11.367884 136690211481344 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0424 13:48:11.369655 136690211481344 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0424 13:48:11.369840 136819279845184 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0424 13:48:11.370028 136819279845184 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 13:48:11.371134 136819279845184 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.786, Tokens/s/device: 13835.033, 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:48:23 UTC 2026
EXIT_CODE=0