MaxView

‹ 01_baseCase: 02_synthetic03_dropout ›

Metrics: Linen vs NNX  ·  feat/nnx-trainstate-and-training-loop

MetricLinen  77202a8e9NNX  77202a8e9Diff (NNX − Linen)
Parameters1.104 billion1.104 billion
Final loss8.17908.1750-0.004
TFLOP/s91.96691.674-0.292
Tok/s13862.213818.1-44.052
Avg s/step2.7042.717+0.013
Memory %1.381.380
JAX0.9.20.9.2

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

XPK Start: Sat Apr 25 09:23:26 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-25 09:23:51.100062: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0425 09:23:51.311281 136468588263232 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 09:24:00.351734 136468588263232 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 09:24:00.354102 136468588263232 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-cym27-slice-job-0-0.mt-02-synthetic-cym27:8482
I0425 09:24:01.886766 136468588263232 max_utils.py:284] Jax distributed system initialized!
I0425 09:24:08.033360 136468588263232 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 09:24:08.033467 136468588263232 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 09:24:08.033511 136468588263232 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0425 09:24:08.033546 136468588263232 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 09:24:08.727207 136468588263232 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 09:24:08.727829 136468588263232 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 09:24:08.728035 136468588263232 checkpointing.py:688] Setting up checkpoint logger...
I0425 09:24:08.728101 136468588263232 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 09:24:08.728163 136468588263232 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 09:24:08.728516 136468588263232 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 0x7c1d5a138710>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 09:24:11.579792 136468588263232 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 09:24:11.580001 136468588263232 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 0x7c09186d9760>}, handler_registry=None
I0425 09:24:11.580240 136468588263232 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c09186d9760>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0425 09:24:11.580295 136468588263232 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c09185761e0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0425 09:24:11.580332 136468588263232 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 0x7c09186d9760>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c09186d9760>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c09185761e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c09185761e0>}).
I0425 09:24:11.580663 136468588263232 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 09:24:11.580734 136468588263232 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c08f8155e40> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 09:24:12.714571 136468588263232 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints
I0425 09:24:13.062240 136468588263232 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/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c0918575d00>
I0425 09:24:13.062414 136468588263232 checkpointing.py:302] Checkpoint manager created!
I0425 09:24:13.994350 136468588263232 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 09:24:13.994458 136468588263232 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 09:24:14.375114 136468588263232 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 09:24:14.375208 136468588263232 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 09:24:14.391710 136468588263232 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 09:24:14.391769 136468588263232 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 09:24:14.415550 136468588263232 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 09:24:14.415616 136468588263232 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:24:14.432181 136468588263232 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 09:24:14.432244 136468588263232 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:24:14.449023 136468588263232 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 09:24:14.449087 136468588263232 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:24:14.473861 136468588263232 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0425 09:24:14.473943 136468588263232 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 09:24:14.494829 136468588263232 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 09:24:14.494895 136468588263232 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 09:24:14.714256 136468588263232 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 09:24:14.714364 136468588263232 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 09:24:16.182892 136468588263232 maxtext_utils.py:1874]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 09:24:16.183034 136468588263232 maxtext_utils.py:1874]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 09:24:16.183089 136468588263232 maxtext_utils.py:1874]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 09:24:16.183148 136468588263232 maxtext_utils.py:1874]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 09:24:16.183201 136468588263232 maxtext_utils.py:1874]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 09:24:16.183240 136468588263232 maxtext_utils.py:1874]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 09:24:16.183292 136468588263232 maxtext_utils.py:1874]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 09:24:16.183343 136468588263232 maxtext_utils.py:1874]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0425 09:24:16.183382 136468588263232 maxtext_utils.py:1874]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0425 09:24:16.183418 136468588263232 maxtext_utils.py:1874]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 09:24:16.183465 136468588263232 maxtext_utils.py:1874]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0425 09:24:16.183521 136468588263232 maxtext_utils.py:1874]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0425 09:24:16.684063 136468588263232 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 09:24:16.684156 136468588263232 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 09:24:16.699796 136468588263232 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 09:24:16.699857 136468588263232 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 09:24:27.797347 136468588263232 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0425 09:24:27.798159 136468588263232 metric_logger.py:301] number parameters: 1.104 billion
I0425 09:24:39.239365 136468588263232 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 09:24:39.393776 136468588263232 checkpointing.py:798] Waited 0.1543891429901123 seconds for step 0 to finish before starting checkpointing.
I0425 09:24:39.396062 136468588263232 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 09:24:39.397526 136468588263232 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0425 09:24:39.398884 136468588263232 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/0.
I0425 09:24:40.006319 136468588263232 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 09:24:40.007335 136468588263232 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 09:24:40.007449 136468588263232 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 09:24:40.287015 136468588263232 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.280766s
I0425 09:24:40.287192 136468588263232 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.387 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2863302230834961 s) (per-host)
I0425 09:24:40.287247 136468588263232 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286396s (batch_requests_ready=0.002167s, total_serialization_initiated=0.284156s, others=0.000073s)
I0425 09:24:40.287336 136468588263232 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.291276s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.291260)
I0425 09:24:40.288115 136468588263232 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.89 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/0.
I0425 09:24:40.288379 136340216592128 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:44:40.288355
I0425 09:24:40.295807 136468588263232 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 09:24:40.296126 136339655149312 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0425 09:24:40.296302 136468588263232 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109079.3960438, 'wait_for_prev_duration_secs': 5.984306335449219e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777109079.3975635, 'checkpointer_blocking_duration_secs': 0.8909482955932617, 'get_old_steps_start_time': 1777109080.2885365, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1777109079.3943264, 'checkpoint_manager_blocking_duration_secs': 0.9019360542297363}
I0425 09:24:40.296406 136468588263232 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 09:24:40.296458 136468588263232 max_utils.py:750] 
Memstats: After params initialized:
I0425 09:24:40.296508 136468588263232 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0425 09:24:40.296542 136468588263232 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0425 09:24:40.296571 136468588263232 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0425 09:24:40.296595 136468588263232 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0425 09:24:40.607529 136468588263232 metric_logger.py:196] completed step: 0, seconds: 11.441, TFLOP/s/device: 1.188, Tokens/s/device: 179.004, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 09:24:40.783399 136468588263232 metric_logger.py:196] completed step: 1, seconds: 1.367, TFLOP/s/device: 9.941, Tokens/s/device: 1498.457, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 09:24:41.189279 136468588263232 metric_logger.py:196] completed step: 2, seconds: 0.028, TFLOP/s/device: 480.416, Tokens/s/device: 72413.549, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0425 09:24:41.336607 136468588263232 metric_logger.py:196] completed step: 3, seconds: 0.406, TFLOP/s/device: 33.461, Tokens/s/device: 5043.565, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0425 09:24:41.631428 136468588263232 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.630, Tokens/s/device: 13359.252, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0425 09:24:41.636981 136468588263232 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.365, Tokens/s/device: 13922.312, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0425 09:24:43.349108    2781 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 09:24:45.360867 136339663542016 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/0/items/array_metadatas/process_3
I0425 09:25:03.427033 136468588263232 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.044, Tokens/s/device: 6940.185, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0425 09:25:03.574371 136468588263232 metric_logger.py:196] completed step: 7, seconds: 21.643, TFLOP/s/device: 0.628, Tokens/s/device: 94.625, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0425 09:25:03.721662 136468588263232 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.363, Tokens/s/device: 13469.696, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0425 09:25:03.868260 136468588263232 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0425 09:25:03.868959 136468588263232 checkpointing.py:798] Waited 0.0006988048553466797 seconds for step 9 to finish before starting checkpointing.
I0425 09:25:03.871024 136468588263232 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 09:25:17.262227 136340216592128 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 42.392 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.261329889297485 s) (per-host)
I0425 09:25:17.262331 136340216592128 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.973875s.
I0425 09:25:25.237848 136340216592128 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 44.949372s.
I0425 09:25:25.238157 136339655149312 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 09:25:25.238297 136339655149312 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0425 09:25:25.238357 136339655149312 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 09:25:25.239847 136339655149312 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 09:25:25.240072 136468588263232 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.
W0425 09:25:25.240222 136468588263232 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.369197 seconds. If this number is high, consider checkpointing less frequently.
I0425 09:25:25.242070 136468588263232 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9
I0425 09:25:25.244119 136468588263232 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/9.
I0425 09:25:26.380461 136468588263232 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 09:25:26.380561 136468588263232 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 09:25:26.423779 136468588263232 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044602s
I0425 09:25:26.423968 136468588263232 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 32.114 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04803466796875 s) (per-host)
I0425 09:25:26.424023 136468588263232 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.048100s (batch_requests_ready=0.001755s, total_serialization_initiated=0.046254s, others=0.000091s)
I0425 09:25:26.424110 136468588263232 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.052194s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.052179)
I0425 09:25:26.424833 136468588263232 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.18 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/9.
I0425 09:25:26.425175 136339701884672 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 09:45:26.425139
I0425 09:25:26.427097 136468588263232 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 09:25:26.427380 136339655149312 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0425 09:25:26.427535 136468588263232 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777109103.8709931, 'wait_for_prev_duration_secs': 21.369197368621826, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777109125.24211, 'checkpointer_blocking_duration_secs': 1.1832094192504883, 'get_old_steps_start_time': 1777109126.4253426, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1777109103.8691847, 'checkpoint_manager_blocking_duration_secs': 22.5583176612854}
I0425 09:25:26.427636 136468588263232 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0425 09:25:26.427679 136468588263232 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 09:25:32.245870 136340208199424 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/linen_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/9/items/array_metadatas/process_3
I0425 09:26:08.394783 136339701884672 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.593 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.01883006095886 s) (per-host)
I0425 09:26:08.394887 136339701884672 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.969600s.
I0425 09:26:17.019177 136339701884672 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 50.593852s.
I0425 09:26:17.019485 136339655149312 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 09:26:17.019602 136339655149312 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0425 09:26:17.019649 136339655149312 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 09:26:17.021032 136339655149312 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 09:26:17.021218 136468588263232 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.
I0425 09:26:17.021370 136468588263232 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 09:26:17.022423 136468588263232 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.966, Tokens/s/device: 13862.190, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 09:26:26 UTC 2026
EXIT_CODE=0
XPK Start: Sat Apr 25 10:51:00 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-25 10:51:25.262546: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0425 10:51:25.472775 134244720191296 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 10:51:34.514112 134244720191296 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 10:51:34.516747 134244720191296 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-6yy7d-slice-job-0-0.mt-02-synthetic-6yy7d:8482
I0425 10:51:35.458498 134244720191296 max_utils.py:284] Jax distributed system initialized!
I0425 10:51:41.752511 134244720191296 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 10:51:41.752619 134244720191296 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 10:51:41.752679 134244720191296 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0425 10:51:41.752722 134244720191296 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 10:51:42.450082 134244720191296 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 10:51:42.563543 134244720191296 checkpointing.py:688] Setting up checkpoint logger...
I0425 10:51:42.563672 134244720191296 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 10:51:42.563721 134244720191296 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 10:51:42.563926 134244720191296 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 0x7a17b51ea600>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 10:51:45.323873 134244720191296 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 10:51:45.324071 134244720191296 checkpoint_manager.py:708] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a03604fa030>}, handler_registry=None
I0425 10:51:45.324306 134244720191296 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a03604fa030>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0425 10:51:45.324354 134244720191296 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a1790eaebd0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0425 10:51:45.324390 134244720191296 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 0x7a03604fa030>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a03604fa030>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a1790eaebd0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a1790eaebd0>}).
I0425 10:51:45.324731 134244720191296 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 10:51:45.324800 134244720191296 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a03605db4c0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 10:51:46.236183 134244720191296 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints
I0425 10:51:46.269715 134244720191296 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a0380515130>
I0425 10:51:46.269847 134244720191296 checkpointing.py:302] Checkpoint manager created!
I0425 10:51:47.229776 134244720191296 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 10:51:47.229893 134244720191296 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32

I0425 10:51:48.982254 134244720191296 nnx_decoders.py:465] nnx_decoders/carry Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 10:51:48.982356 134244720191296 nnx_decoders.py:465] nnx_decoders/carry Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 10:51:48.987920 134244720191296 nnx_decoders.py:465] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 10:51:48.987978 134244720191296 nnx_decoders.py:465] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 10:51:49.004784 134244720191296 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 10:51:49.004842 134244720191296 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 10:51:49.021055 134244720191296 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 10:51:49.021117 134244720191296 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 10:51:49.045482 134244720191296 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 10:51:49.045552 134244720191296 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 10:51:49.061743 134244720191296 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 10:51:49.061806 134244720191296 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 10:51:49.077952 134244720191296 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 10:51:49.078010 134244720191296 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 10:51:49.110571 134244720191296 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0425 10:51:49.110645 134244720191296 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 10:51:49.130959 134244720191296 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 10:51:49.131026 134244720191296 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 10:52:00.286808 134244720191296 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0425 10:52:00.289283 134244720191296 metric_logger.py:301] number parameters: 1.104 billion
I0425 10:52:11.697151 134244720191296 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 10:52:11.849403 134244720191296 checkpointing.py:798] Waited 0.15224099159240723 seconds for step 0 to finish before starting checkpointing.
I0425 10:52:11.851788 134244720191296 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 10:52:11.853498 134244720191296 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0425 10:52:11.855106 134244720191296 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/0.
I0425 10:52:12.184974 134244720191296 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 10:52:12.185849 134244720191296 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0425 10:52:12.185909 134244720191296 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 10:52:12.460227 134244720191296 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276004s
I0425 10:52:12.460404 134244720191296 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.407 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2852966785430908 s) (per-host)
I0425 10:52:12.460457 134244720191296 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285362s (batch_requests_ready=0.003246s, total_serialization_initiated=0.282043s, others=0.000074s)
I0425 10:52:12.460553 134244720191296 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289514s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.289497)
I0425 10:52:12.461397 134244720191296 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.61 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/0.
I0425 10:52:12.461692 134115923851008 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 11:12:12.461647
I0425 10:52:12.473553 134244720191296 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 10:52:12.473885 134114275481344 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0425 10:52:12.474043 134244720191296 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777114331.851765, 'wait_for_prev_duration_secs': 6.937980651855469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777114331.8535392, 'checkpointer_blocking_duration_secs': 0.608302116394043, 'get_old_steps_start_time': 1777114332.461869, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1777114331.849803, 'checkpoint_manager_blocking_duration_secs': 0.6241991519927979}
I0425 10:52:12.474154 134244720191296 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 10:52:12.474230 134244720191296 max_utils.py:750] 
Memstats: After params initialized:
I0425 10:52:12.474282 134244720191296 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0425 10:52:12.474315 134244720191296 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0425 10:52:12.474343 134244720191296 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0425 10:52:12.474369 134244720191296 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0425 10:52:12.789745 134244720191296 metric_logger.py:196] completed step: 0, seconds: 11.407, TFLOP/s/device: 1.191, Tokens/s/device: 179.542, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0425 10:52:12.970933 134244720191296 metric_logger.py:196] completed step: 1, seconds: 1.091, TFLOP/s/device: 12.457, Tokens/s/device: 1877.705, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0425 10:52:13.398880 134244720191296 metric_logger.py:196] completed step: 2, seconds: 0.035, TFLOP/s/device: 389.986, Tokens/s/device: 58783.008, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28632.133
I0425 10:52:13.546598 134244720191296 metric_logger.py:196] completed step: 3, seconds: 0.418, TFLOP/s/device: 32.531, Tokens/s/device: 4903.475, total_weights: 65536, loss: 9.732, lm_loss: 9.732, perplexity: 16855.789
I0425 10:52:13.842751 134244720191296 metric_logger.py:196] completed step: 4, seconds: 0.166, TFLOP/s/device: 82.030, Tokens/s/device: 12364.462, total_weights: 65536, loss: 9.274, lm_loss: 9.274, perplexity: 10661.594
I0425 10:52:13.850138 134244720191296 metric_logger.py:196] completed step: 5, seconds: 0.146, TFLOP/s/device: 92.899, Tokens/s/device: 14002.749, total_weights: 65536, loss: 8.888, lm_loss: 8.888, perplexity: 7245.978
I0425 10:52:15.332912    2797 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 10:52:17.359804 134114797745920 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/0/items/array_metadatas/process_5
I0425 10:52:35.991997 134244720191296 metric_logger.py:196] completed step: 6, seconds: 0.297, TFLOP/s/device: 45.780, Tokens/s/device: 6900.502, total_weights: 65536, loss: 8.589, lm_loss: 8.589, perplexity: 5371.156
I0425 10:52:36.139575 134244720191296 metric_logger.py:196] completed step: 7, seconds: 21.995, TFLOP/s/device: 0.618, Tokens/s/device: 93.111, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4360.465
I0425 10:52:36.287229 134244720191296 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.615, Tokens/s/device: 13356.986, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.256
I0425 10:52:36.435393 134244720191296 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0425 10:52:36.436073 134244720191296 checkpointing.py:798] Waited 0.0006926059722900391 seconds for step 9 to finish before starting checkpointing.
I0425 10:52:36.438057 134244720191296 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 10:52:49.315573 134115923851008 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.530 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.14043593406677 s) (per-host)
I0425 10:52:49.315692 134115923851008 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.853888s.
I0425 10:52:57.168470 134115923851008 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 44.706649s.
I0425 10:52:57.168798 134114275481344 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 10:52:57.168917 134114275481344 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0425 10:52:57.168968 134114275481344 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 10:52:57.170910 134114275481344 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 10:52:57.171085 134244720191296 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0425 10:52:57.171216 134244720191296 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.733158 seconds. If this number is high, consider checkpointing less frequently.
I0425 10:52:57.173025 134244720191296 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0425 10:52:57.175010 134244720191296 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/9.
I0425 10:52:57.471050 134244720191296 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0425 10:52:57.471146 134244720191296 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 10:52:57.507581 134244720191296 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.038213s
I0425 10:52:57.507763 134244720191296 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 34.157 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04516172409057617 s) (per-host)
I0425 10:52:57.507817 134244720191296 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.045227s (batch_requests_ready=0.002656s, total_serialization_initiated=0.042497s, others=0.000074s)
I0425 10:52:57.507908 134244720191296 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.049351s (all_items=0.000014s, per_item={'items': '0.00001359'}, temp_paths=0.049337)
I0425 10:52:57.508617 134244720191296 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/9.
I0425 10:52:57.508912 134114275481344 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 11:12:57.508881
I0425 10:52:57.510842 134244720191296 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 10:52:57.511116 134115915458304 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0425 10:52:57.511250 134244720191296 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777114356.438028, 'wait_for_prev_duration_secs': 20.733157634735107, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777114377.1730623, 'checkpointer_blocking_duration_secs': 0.33598804473876953, 'get_old_steps_start_time': 1777114377.5090752, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1777114356.436304, 'checkpoint_manager_blocking_duration_secs': 21.07491183280945}
I0425 10:52:57.511411 134244720191296 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0425 10:52:57.511456 134244720191296 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 10:53:03.683685 134114797745920 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260425_092114_02_synthetic/checkpoints/9/items/array_metadatas/process_5
I0425 10:53:40.050079 134114275481344 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.091 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.58743333816528 s) (per-host)
I0425 10:53:40.050206 134114275481344 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.541186s.
I0425 10:53:46.872697 134114275481344 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.363656s.
I0425 10:53:46.872980 134115915458304 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 10:53:46.873095 134115915458304 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0425 10:53:46.873152 134115915458304 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 10:53:46.874634 134115915458304 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 10:53:46.874790 134244720191296 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0425 10:53:46.874897 134244720191296 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 10:53:46.875821 134244720191296 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.674, Tokens/s/device: 13818.138, total_weights: 65536, loss: 8.175, lm_loss: 8.175, perplexity: 3551.438
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 10:53:55 UTC 2026
EXIT_CODE=0