MaxView

‹ —Case: 01_base02_synthetic ›

Metrics: main (59e0f1759) vs feat/Migrate-Decoder-And-Tests-to-NNX (4f4617640)

Metricmain  59e0f1759feat/Migrate-Decoder-And-Tests-to-NNX  4f4617640Diff (feat/Migrate-Decoder-And-Tests-to-NNX − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.25292.066-0.186
Tok/s13905.313877.1-28.172
Avg s/step2.6712.344-0.327
Memory %1.381.380
JAX0.9.20.8.1

Diff = branch value − main value. Green = branch improved. Red = branch regressed.

main  ·  59e0f1759  ·  main_20260425_071456  ·  full log
XPK Start: Sat Apr 25 07:15:34 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 07:15:59.664669: 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 07:15:59.876697 136720174700352 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 07:16:08.917482 136720174700352 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 07:16:08.919811 136720174700352 distributed.py:172] Connecting to JAX distributed service on mt-01-base-23w1z-slice-job-0-0.mt-01-base-23w1z:8482
I0425 07:16:10.002111 136720174700352 max_utils.py:284] Jax distributed system initialized!
I0425 07:16:16.573598 136720174700352 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 07:16:16.573728 136720174700352 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 07:16:16.573770 136720174700352 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 07:16:16.573808 136720174700352 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 07:16:17.272421 136720174700352 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 07:16:17.272703 136720174700352 checkpointing.py:677] Setting up checkpoint logger...
I0425 07:16:17.272759 136720174700352 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 07:16:17.272803 136720174700352 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 07:16:17.273137 136720174700352 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 0x7c57eda50e30>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 07:16:21.089352 136720174700352 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0425 07:16:21.089579 136720174700352 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 0x7c42c07694c0>}, handler_registry=None
I0425 07:16:21.089836 136720174700352 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c42c07694c0>` 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 07:16:21.089887 136720174700352 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c42c0768a10>` 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 07:16:21.089924 136720174700352 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 0x7c42c07694c0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c42c07694c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c42c0768a10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c42c0768a10>}).
I0425 07:16:21.090299 136720174700352 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 07:16:21.090374 136720174700352 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c429c37d8a0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 07:16:22.261430 136720174700352 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints
I0425 07:16:22.572031 136720174700352 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c42c076a4b0>
I0425 07:16:22.572208 136720174700352 checkpointing.py:301] Checkpoint manager created!
I0425 07:16:23.499284 136720174700352 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 07:16:23.499397 136720174700352 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 07:16:23.878869 136720174700352 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 07:16:23.878961 136720174700352 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 07:16:23.895675 136720174700352 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 07:16:23.895748 136720174700352 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 07:16:23.919716 136720174700352 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 07:16:23.919779 136720174700352 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:16:23.936386 136720174700352 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 07:16:23.936447 136720174700352 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:16:23.952944 136720174700352 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 07:16:23.953008 136720174700352 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:16:23.978102 136720174700352 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0425 07:16:23.978171 136720174700352 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 07:16:23.999501 136720174700352 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 07:16:23.999561 136720174700352 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 07:16:24.209221 136720174700352 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 07:16:24.209327 136720174700352 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 07:16:25.638469 136720174700352 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 07:16:25.638598 136720174700352 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 07:16:25.638671 136720174700352 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 07:16:25.638737 136720174700352 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 07:16:25.638793 136720174700352 maxtext_utils.py:1707]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 07:16:25.638834 136720174700352 maxtext_utils.py:1707]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 07:16:25.638889 136720174700352 maxtext_utils.py:1707]  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 07:16:25.638943 136720174700352 maxtext_utils.py:1707]  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 07:16:25.638985 136720174700352 maxtext_utils.py:1707]  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 07:16:25.639022 136720174700352 maxtext_utils.py:1707]  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 07:16:25.639071 136720174700352 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0425 07:16:25.639120 136720174700352 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0425 07:16:26.130723 136720174700352 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 07:16:26.130817 136720174700352 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 07:16:26.146517 136720174700352 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 07:16:26.146577 136720174700352 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 07:16:37.023795 136720174700352 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 07:16:37.024572 136720174700352 metric_logger.py:301] number parameters: 1.104 billion
I0425 07:16:48.295384 136720174700352 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0425 07:16:48.722262 136720174700352 checkpointing.py:776] Waited 0.42685461044311523 seconds for step 0 to finish before starting checkpointing.
I0425 07:16:48.724732 136720174700352 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 07:16:48.726366 136720174700352 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0425 07:16:48.727822 136720174700352 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/0.
I0425 07:16:49.047800 136720174700352 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 07:16:49.048760 136720174700352 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 07:16:49.048816 136720174700352 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 07:16:49.322088 136720174700352 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.274362s
I0425 07:16:49.322278 136720174700352 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.499 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28049468994140625 s) (per-host)
I0425 07:16:49.322334 136720174700352 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.280563s (batch_requests_ready=0.002726s, total_serialization_initiated=0.277758s, others=0.000079s)
I0425 07:16:49.322427 136720174700352 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.284952s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.284935)
I0425 07:16:49.323286 136720174700352 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.60 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/0.
I0425 07:16:49.323611 136590807201536 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:36:49.323573
I0425 07:16:49.330451 136720174700352 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 07:16:49.330758 136588117927680 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0425 07:16:49.330912 136720174700352 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101408.7247136, 'wait_for_prev_duration_secs': 6.008148193359375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101408.7264066, 'checkpointer_blocking_duration_secs': 0.5973672866821289, 'get_old_steps_start_time': 1777101409.3237982, 'get_old_steps_duration_secs': 3.0994415283203125e-05, 'checkpoint_manager_blocking_start_time': 1777101408.7228954, 'checkpoint_manager_blocking_duration_secs': 0.6079776287078857}
I0425 07:16:49.331025 136720174700352 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0425 07:16:49.331074 136720174700352 max_utils.py:750] 
Memstats: After params initialized:
I0425 07:16:49.331121 136720174700352 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0425 07:16:49.331153 136720174700352 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0425 07:16:49.331180 136720174700352 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0425 07:16:49.331206 136720174700352 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0425 07:16:49.642321 136720174700352 metric_logger.py:196] completed step: 0, seconds: 11.271, TFLOP/s/device: 1.206, Tokens/s/device: 181.710, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 07:16:49.821124 136720174700352 metric_logger.py:196] completed step: 1, seconds: 1.345, TFLOP/s/device: 10.099, Tokens/s/device: 1522.256, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 07:16:50.240753 136720174700352 metric_logger.py:196] completed step: 2, seconds: 0.032, TFLOP/s/device: 427.955, Tokens/s/device: 64505.969, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0425 07:16:50.388281 136720174700352 metric_logger.py:196] completed step: 3, seconds: 0.420, TFLOP/s/device: 32.350, Tokens/s/device: 4876.214, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0425 07:16:50.683772 136720174700352 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.667, Tokens/s/device: 13364.831, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0425 07:16:50.689921 136720174700352 metric_logger.py:196] completed step: 5, seconds: 0.148, TFLOP/s/device: 91.853, Tokens/s/device: 13845.041, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0425 07:16:52.966022    2837 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 07:16:55.586963 136589163132672 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/0/items/array_metadatas/process_5
I0425 07:17:12.182455 136720174700352 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.027, Tokens/s/device: 6937.716, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0425 07:17:12.329796 136720174700352 metric_logger.py:196] completed step: 7, seconds: 21.346, TFLOP/s/device: 0.637, Tokens/s/device: 95.943, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0425 07:17:12.477079 136720174700352 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.253, Tokens/s/device: 13453.239, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0425 07:17:12.623819 136720174700352 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0425 07:17:12.624500 136720174700352 checkpointing.py:776] Waited 0.000701904296875 seconds for step 9 to finish before starting checkpointing.
I0425 07:17:12.626537 136720174700352 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 07:17:26.108608 136590807201536 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.615 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.06678819656372 s) (per-host)
I0425 07:17:26.108747 136590807201536 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.785011s.
I0425 07:17:35.651926 136590807201536 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 46.328174s.
I0425 07:17:35.652277 136588117927680 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 07:17:35.652398 136588117927680 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0425 07:17:35.652450 136588117927680 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 07:17:35.654011 136588117927680 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 07:17:35.654213 136720174700352 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 07:17:35.654363 136720174700352 checkpoint_manager.py:1452] Waiting for previous save to complete took 23.027824 seconds. If this number is high, consider checkpointing less frequently.
I0425 07:17:35.656279 136720174700352 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0425 07:17:35.658405 136720174700352 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/9.
I0425 07:17:35.957233 136720174700352 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 07:17:35.957325 136720174700352 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 07:17:35.991779 136720174700352 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035383s
I0425 07:17:35.991919 136720174700352 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 39.450 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.039101600646972656 s) (per-host)
I0425 07:17:35.991973 136720174700352 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039158s (batch_requests_ready=0.001980s, total_serialization_initiated=0.037115s, others=0.000064s)
I0425 07:17:35.992050 136720174700352 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.043057s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.043042)
I0425 07:17:35.992761 136720174700352 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/9.
I0425 07:17:35.993033 136588117927680 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 07:37:35.993010
I0425 07:17:35.994986 136720174700352 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 07:17:35.995268 136590798808832 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0425 07:17:35.995408 136720174700352 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777101432.626508, 'wait_for_prev_duration_secs': 23.02782392501831, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777101455.6563165, 'checkpointer_blocking_duration_secs': 0.33681583404541016, 'get_old_steps_start_time': 1777101455.9931562, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1777101432.624745, 'checkpoint_manager_blocking_duration_secs': 23.370628595352173}
I0425 07:17:35.995578 136720174700352 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0425 07:17:35.995624 136720174700352 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 07:17:41.024453 136589163132672 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_01_base/checkpoints/9/items/array_metadatas/process_5
I0425 07:18:17.816910 136588117927680 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.732 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.864049434661865 s) (per-host)
I0425 07:18:17.817029 136588117927680 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.823920s.
I0425 07:18:25.958503 136588117927680 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.965378s.
I0425 07:18:25.958805 136590798808832 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 07:18:25.958948 136590798808832 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0425 07:18:25.959009 136590798808832 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 07:18:25.960720 136590798808832 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 07:18:25.960899 136720174700352 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 07:18:25.961060 136720174700352 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 07:18:25.962000 136720174700352 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.252, Tokens/s/device: 13905.297, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 07:18:35 UTC 2026
EXIT_CODE=0
XPK Start: Sat Apr 25 18:05:10 UTC 2026
2026-04-25 18:05:14.766618: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1777140314.779870      10 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1777140314.783684      10 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1777140314.795371      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1777140314.795392      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1777140314.795395      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1777140314.795397      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-25 18:05:34.025513: 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 18:05:34.547650 134800053655360 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-25 18:05:43,589:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0425 18:05:43.589692 134800053655360 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-25 18:05:43,592:jax._src.distributed:157: Connecting to JAX distributed service on mt-01-base-zf1mn-slice-job-0-0.mt-01-base-zf1mn:8482
I0425 18:05:43.592057 134800053655360 distributed.py:157] Connecting to JAX distributed service on mt-01-base-zf1mn-slice-job-0-0.mt-01-base-zf1mn:8482
I0425 18:05:44.538712 134800053655360 max_utils.py:284] Jax distributed system initialized!
I0425 18:05:50.534961 134800053655360 max_utils.py:800] System Information: Jax Version: 0.8.1
I0425 18:05:50.535069 134800053655360 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0425 18:05:50.535232 134800053655360 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0425 18:05:50.535277 134800053655360 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 18:05:51.149687 134800053655360 maxtext_utils.py:1517] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 18:05:51.149983 134800053655360 checkpointing.py:677] Setting up checkpoint logger...
I0425 18:05:51.150038 134800053655360 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 18:05:51.150081 134800053655360 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0425 18:05:51.150493 134800053655360 base_pytree_checkpoint_handler.py:415] 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 0x7a990e779070>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 18:05:54.790087 134800053655360 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0425 18:05:54.790472 134800053655360 checkpoint_manager.py:709] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a8574370290>}, handler_registry=None
I0425 18:05:54.790718 134800053655360 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a8574370290>` 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 18:05:54.790769 134800053655360 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a8574373c20>` 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 18:05:54.790806 134800053655360 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 0x7a8574370290>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a8574370290>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a8574373c20>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a8574373c20>}).
I0425 18:05:54.791340 134800053655360 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0425 18:05:54.791423 134800053655360 async_checkpointer.py:177] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a84f438e840> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0425 18:05:55.536870 134800053655360 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints
I0425 18:05:55.968750 134800053655360 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_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a8574373d40>
I0425 18:05:55.968927 134800053655360 checkpointing.py:301] Checkpoint manager created!
I0425 18:05:56.863879 134800053655360 nnx_wrappers.py:442] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 18:05:56.863993 134800053655360 nnx_wrappers.py:442] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 18:05:57.233733 134800053655360 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 18:05:57.233832 134800053655360 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 18:05:57.250294 134800053655360 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 18:05:57.250357 134800053655360 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 18:05:57.274707 134800053655360 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 18:05:57.274784 134800053655360 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 18:05:57.291220 134800053655360 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 18:05:57.291284 134800053655360 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 18:05:57.307658 134800053655360 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 18:05:57.307721 134800053655360 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 18:05:57.332196 134800053655360 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0425 18:05:57.332268 134800053655360 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 18:05:57.351872 134800053655360 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 18:05:57.351941 134800053655360 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 18:05:57.541169 134800053655360 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 18:05:57.541281 134800053655360 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 18:05:58.967971 134800053655360 maxtext_utils.py:1620]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0425 18:05:58.968131 134800053655360 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 18:05:58.968186 134800053655360 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 18:05:58.968248 134800053655360 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 18:05:58.968301 134800053655360 maxtext_utils.py:1620]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0425 18:05:58.968341 134800053655360 maxtext_utils.py:1620]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0425 18:05:58.968396 134800053655360 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 18:05:58.968447 134800053655360 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0425 18:05:58.968489 134800053655360 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0425 18:05:58.968534 134800053655360 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 18:05:58.968591 134800053655360 maxtext_utils.py:1620]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0425 18:05:58.968641 134800053655360 maxtext_utils.py:1620]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')

I0425 18:05:59.470566 134800053655360 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 18:05:59.470670 134800053655360 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 18:05:59.485761 134800053655360 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 18:05:59.485823 134800053655360 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 18:06:10.187688 134800053655360 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 18:06:10.188517 134800053655360 metric_logger.py:289] number parameters: 1.104 billion
I0425 18:06:21.547203 134800053655360 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0425 18:06:21.702517 134800053655360 checkpointing.py:776] Waited 0.15529513359069824 seconds for step 0 to finish before starting checkpointing.
I0425 18:06:21.704909 134800053655360 checkpoint_manager.py:2013] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 18:06:21.706589 134800053655360 checkpoint_manager.py:1518] [process=6] Saving checkpoint at step 0
I0425 18:06:21.709254 134800053655360 async_checkpointer.py:452] [process=6] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints/0.
I0425 18:06:22.487635 134800053655360 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 18:06:22.488659 134800053655360 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0425 18:06:22.488718 134800053655360 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 18:06:22.742386 134800053655360 base_pytree_checkpoint_handler.py:153] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.254829s
I0425 18:06:22.742561 134800053655360 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.996 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5148048400878906 s) (per-host)
I0425 18:06:22.742612 134800053655360 base_pytree_checkpoint_handler.py:737] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.514867s (batch_requests_ready=0.256406s, total_serialization_initiated=0.258391s, others=0.000070s)
I0425 18:06:22.742702 134800053655360 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.518931s (all_items=0.000019s, per_item={'items': '0.00001931'}, temp_paths=0.518911)
I0425 18:06:22.743676 134676081538816 async_checkpointer.py:79] [process=6][thread=async_save] Background save thread started.
I0425 18:06:22.743847 134800053655360 async_checkpointer.py:561] Finished blocking save. Time taken: 1.037185s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints/0.
I0425 18:06:22.788189 134800053655360 checkpoint_manager.py:1566] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 18:06:22.788529 134674982618880 async_checkpointer.py:265] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 18:06:22.788693 134800053655360 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777140381.7048903, 'wait_for_prev_duration_secs': 6.365776062011719e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777140381.7066283, 'checkpointer_blocking_duration_secs': 1.0373291969299316, 'get_old_steps_start_time': 1777140382.7439787, 'get_old_steps_duration_secs': 2.5272369384765625e-05, 'checkpoint_manager_blocking_start_time': 1777140381.7030387, 'checkpoint_manager_blocking_duration_secs': 1.085615873336792}
I0425 18:06:22.788800 134800053655360 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0425 18:06:22.788853 134800053655360 max_utils.py:750] 
Memstats: After params initialized:
I0425 18:06:22.788905 134800053655360 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0425 18:06:22.788938 134800053655360 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0425 18:06:22.788964 134800053655360 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0425 18:06:22.788987 134800053655360 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0425 18:06:23.054973 134800053655360 metric_logger.py:185] completed step: 0, seconds: 11.359, TFLOP/s/device: 1.196, Tokens/s/device: 180.304, total_weights: 65536, loss: 10.874
I0425 18:06:23.231907 134800053655360 metric_logger.py:185] completed step: 1, seconds: 1.506, TFLOP/s/device: 9.019, Tokens/s/device: 1359.507, total_weights: 65536, loss: 10.874
I0425 18:06:23.640451 134800053655360 metric_logger.py:185] completed step: 2, seconds: 0.030, TFLOP/s/device: 453.403, Tokens/s/device: 68341.843, total_weights: 65536, loss: 10.263
I0425 18:06:23.787773 134800053655360 metric_logger.py:185] completed step: 3, seconds: 0.409, TFLOP/s/device: 33.244, Tokens/s/device: 5010.863, total_weights: 65536, loss: 9.734
I0425 18:06:24.083160 134800053655360 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 89.005, Tokens/s/device: 13415.785, total_weights: 65536, loss: 9.278
I0425 18:06:24.088848 134800053655360 metric_logger.py:185] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.237, Tokens/s/device: 13902.937, total_weights: 65536, loss: 8.892
I0425 18:06:42.486517 134800053655360 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.936, Tokens/s/device: 6923.925, total_weights: 65536, loss: 8.592
I0425 18:06:42.633973 134800053655360 metric_logger.py:185] completed step: 7, seconds: 18.251, TFLOP/s/device: 0.744, Tokens/s/device: 112.213, total_weights: 65536, loss: 8.384
I0425 18:06:42.781405 134800053655360 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.290, Tokens/s/device: 13458.809, total_weights: 65536, loss: 8.255
I0425 18:06:42.928373 134800053655360 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0425 18:06:42.929012 134800053655360 checkpointing.py:776] Waited 0.0006611347198486328 seconds for step 9 to finish before starting checkpointing.
I0425 18:06:42.930982 134800053655360 checkpoint_manager.py:2024] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 18:06:44.002285    2588 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 18:06:45.940541 134676568053504 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints/0/items/array_metadatas/process_6
I0425 18:07:17.766257 134676081538816 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/gbytes_per_sec: 28.441 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 55.538458824157715 s) (per-host)
I0425 18:07:17.766391 134676081538816 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 55.022604s.
I0425 18:07:26.050583 134676081538816 async_checkpointer.py:144] [process=6][thread=async_save] Background save thread done. Time taken: 63.306773s.
I0425 18:07:26.050882 134674982618880 async_checkpointer.py:273] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 18:07:26.051012 134674982618880 async_checkpointer.py:283] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 18:07:26.051064 134674982618880 checkpoint_manager.py:2133] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 18:07:26.052561 134674982618880 checkpoint_manager.py:2142] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 18:07:26.052751 134800053655360 checkpoint_manager.py:2036] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0425 18:07:26.052883 134800053655360 checkpoint_manager.py:1458] Waiting for previous save to complete took 43.121906 seconds. If this number is high, consider checkpointing less frequently.
I0425 18:07:26.054907 134800053655360 checkpoint_manager.py:1518] [process=6] Saving checkpoint at step 9
I0425 18:07:26.058429 134800053655360 async_checkpointer.py:452] [process=6] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints/9.
I0425 18:07:26.607161 134800053655360 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0425 18:07:26.607259 134800053655360 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 18:07:26.648685 134800053655360 base_pytree_checkpoint_handler.py:153] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.042729s
I0425 18:07:26.648856 134800053655360 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.153 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.29938316345214844 s) (per-host)
I0425 18:07:26.648910 134800053655360 base_pytree_checkpoint_handler.py:737] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.299445s (batch_requests_ready=0.254819s, total_serialization_initiated=0.044557s, others=0.000070s)
I0425 18:07:26.649001 134800053655360 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.303438s (all_items=0.000015s, per_item={'items': '0.00001454'}, temp_paths=0.303423)
I0425 18:07:26.649956 134676568053504 async_checkpointer.py:79] [process=6][thread=async_save] Background save thread started.
I0425 18:07:26.650087 134800053655360 async_checkpointer.py:561] Finished blocking save. Time taken: 0.595107s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints/9.
I0425 18:07:26.669668 134800053655360 checkpoint_manager.py:1566] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 18:07:26.669944 134674982618880 async_checkpointer.py:265] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 18:07:26.670120 134800053655360 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777140402.930954, 'wait_for_prev_duration_secs': 43.121906042099, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777140446.0549467, 'checkpointer_blocking_duration_secs': 0.5953407287597656, 'get_old_steps_start_time': 1777140446.6503072, 'get_old_steps_duration_secs': 2.6702880859375e-05, 'checkpoint_manager_blocking_start_time': 1777140402.9292557, 'checkpoint_manager_blocking_duration_secs': 43.74082088470459}
I0425 18:07:26.670234 134800053655360 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0425 18:07:26.670279 134800053655360 checkpoint_manager.py:2024] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 18:07:31.404603 134676576446208 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433/linen_xpk_feat_Migrate_Decoder_And_Tests_to_NNX_20260425_180433_01_base/checkpoints/9/items/array_metadatas/process_6
I0425 18:08:08.103988 134676568053504 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/gbytes_per_sec: 37.831 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.75447702407837 s) (per-host)
I0425 18:08:08.104119 134676568053504 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.453904s.
I0425 18:08:17.932845 134676568053504 async_checkpointer.py:144] [process=6][thread=async_save] Background save thread done. Time taken: 51.282636s.
I0425 18:08:17.933158 134674982618880 async_checkpointer.py:273] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 18:08:17.933278 134674982618880 async_checkpointer.py:283] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 18:08:17.933334 134674982618880 checkpoint_manager.py:2133] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 18:08:17.934638 134674982618880 checkpoint_manager.py:2142] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 18:08:17.934820 134800053655360 checkpoint_manager.py:2036] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0425 18:08:17.934957 134800053655360 checkpoint_manager.py:2013] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 18:08:17.935706 134800053655360 metric_logger.py:185] completed step: 9, seconds: 0.148, TFLOP/s/device: 92.066, Tokens/s/device: 13877.125, total_weights: 65536, loss: 8.179
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 18:08:31 UTC 2026
EXIT_CODE=0