MaxView

‹ —Case: 01_base02_synthetic ›

Metrics: main (59e0f1759) vs feat/nnx-post-train-fixes (28b1e4a16)

Metricmain  59e0f1759feat/nnx-post-train-fixes  28b1e4a16Diff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.25292.132-0.12
Tok/s13905.313887.1-18.197
Avg s/step2.6712.723+0.052
Memory %1.381.380
JAX0.9.20.9.2

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 12:14:33 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-25 12:14:58.518207: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0425 12:14:58.729672 140266451482432 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 12:15:07.771921 140266451482432 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 12:15:07.774360 140266451482432 distributed.py:172] Connecting to JAX distributed service on mt-01-base-dpt3a-slice-job-0-0.mt-01-base-dpt3a:8482
I0425 12:15:08.929489 140266451482432 max_utils.py:284] Jax distributed system initialized!
I0425 12:15:15.174540 140266451482432 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 12:15:15.174644 140266451482432 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 12:15:15.174683 140266451482432 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0425 12:15:15.174719 140266451482432 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 12:15:15.870858 140266451482432 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 12:15:15.871471 140266451482432 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 12:15:15.871655 140266451482432 checkpointing.py:688] Setting up checkpoint logger...
I0425 12:15:15.871706 140266451482432 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 12:15:15.871756 140266451482432 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 12:15:15.872101 140266451482432 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 0x7f91b8b18050>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 12:15:19.617673 140266451482432 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 12:15:19.617929 140266451482432 checkpoint_manager.py:708] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f7d4874e3f0>}, handler_registry=None
I0425 12:15:19.618164 140266451482432 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f7d4874e3f0>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0425 12:15:19.618220 140266451482432 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f7d48750740>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0425 12:15:19.618256 140266451482432 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 0x7f7d4874e3f0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f7d4874e3f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f7d48750740>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f7d48750740>}).
I0425 12:15:19.618575 140266451482432 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 12:15:19.618644 140266451482432 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7f7d484ede40> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 12:15:20.310911 140266451482432 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints
I0425 12:15:20.751512 140266451482432 checkpoint_manager.py:929] [process=4][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7f7d4874d640>
I0425 12:15:20.751693 140266451482432 checkpointing.py:302] Checkpoint manager created!
I0425 12:15:21.686505 140266451482432 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 12:15:21.686620 140266451482432 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:15:22.070327 140266451482432 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 12:15:22.070424 140266451482432 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:15:22.086856 140266451482432 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 12:15:22.086931 140266451482432 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:15:22.116150 140266451482432 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 12:15:22.116250 140266451482432 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:15:22.132784 140266451482432 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 12:15:22.132841 140266451482432 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:15:22.149308 140266451482432 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 12:15:22.149367 140266451482432 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:15:22.174280 140266451482432 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0425 12:15:22.174356 140266451482432 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:15:22.195277 140266451482432 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 12:15:22.195349 140266451482432 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 12:15:22.416965 140266451482432 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 12:15:22.417075 140266451482432 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 12:15:23.850214 140266451482432 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 12:15:23.850349 140266451482432 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 12:15:23.850403 140266451482432 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 12:15:23.850459 140266451482432 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 12:15:23.850511 140266451482432 maxtext_utils.py:1880]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 12:15:23.850548 140266451482432 maxtext_utils.py:1880]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 12:15:23.850599 140266451482432 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 12:15:23.850649 140266451482432 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0425 12:15:23.850688 140266451482432 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0425 12:15:23.850723 140266451482432 maxtext_utils.py:1880]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0425 12:15:23.850768 140266451482432 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0425 12:15:23.850820 140266451482432 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0425 12:15:24.364702 140266451482432 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 12:15:24.364800 140266451482432 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 12:15:24.380375 140266451482432 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 12:15:24.380434 140266451482432 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 12:15:35.355315 140266451482432 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0425 12:15:35.356137 140266451482432 metric_logger.py:301] number parameters: 1.104 billion
I0425 12:15:46.682192 140266451482432 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 12:15:46.835555 140266451482432 checkpointing.py:798] Waited 0.15334367752075195 seconds for step 0 to finish before starting checkpointing.
I0425 12:15:46.838017 140266451482432 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 12:15:46.839683 140266451482432 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0
I0425 12:15:46.841128 140266451482432 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints/0.
I0425 12:15:47.593420 140266451482432 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 12:15:47.594549 140266451482432 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 12:15:47.594609 140266451482432 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 12:15:47.869853 140266451482432 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276519s
I0425 12:15:47.870038 140266451482432 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 2.177 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.7086927890777588 s) (per-host)
I0425 12:15:47.870090 140266451482432 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.708755s (batch_requests_ready=0.428878s, total_serialization_initiated=0.279808s, others=0.000070s)
I0425 12:15:47.870183 140266451482432 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.713183s (all_items=0.000022s, per_item={'items': '0.00002170'}, temp_paths=0.713161)
I0425 12:15:47.870976 140266451482432 event_tracking.py:125] [process=4] [async] Finished blocking save in 1.03 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints/0.
I0425 12:15:47.871234 140137196508928 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 12:35:47.871211
I0425 12:15:47.885241 140266451482432 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 12:15:47.885503 140133969946368 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0425 12:15:47.885658 140266451482432 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777119346.837998, 'wait_for_prev_duration_secs': 6.461143493652344e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777119346.8397207, 'checkpointer_blocking_duration_secs': 1.0316228866577148, 'get_old_steps_start_time': 1777119347.871372, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1777119346.8360822, 'checkpoint_manager_blocking_duration_secs': 1.0495376586914062}
I0425 12:15:47.885766 140266451482432 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 12:15:47.885816 140266451482432 max_utils.py:750] 
Memstats: After params initialized:
I0425 12:15:47.885865 140266451482432 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0425 12:15:47.885915 140266451482432 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0425 12:15:47.885948 140266451482432 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0425 12:15:47.885971 140266451482432 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0425 12:15:48.201670 140266451482432 metric_logger.py:196] completed step: 0, seconds: 11.326, TFLOP/s/device: 1.200, Tokens/s/device: 180.824, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 12:15:48.378947 140266451482432 metric_logger.py:196] completed step: 1, seconds: 1.518, TFLOP/s/device: 8.951, Tokens/s/device: 1349.121, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 12:15:48.794424 140266451482432 metric_logger.py:196] completed step: 2, seconds: 0.030, TFLOP/s/device: 455.898, Tokens/s/device: 68717.914, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0425 12:15:48.941907 140266451482432 metric_logger.py:196] completed step: 3, seconds: 0.416, TFLOP/s/device: 32.681, Tokens/s/device: 4926.014, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0425 12:15:49.236852 140266451482432 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.696, Tokens/s/device: 13369.193, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0425 12:15:49.242535 140266451482432 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.184, Tokens/s/device: 13894.920, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0425 12:15:50.387043    2814 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 12:15:52.428930 140133978339072 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints/0/items/array_metadatas/process_4
I0425 12:16:11.035702 140266451482432 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.028, Tokens/s/device: 6937.881, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0425 12:16:11.183259 140266451482432 metric_logger.py:196] completed step: 7, seconds: 21.646, TFLOP/s/device: 0.628, Tokens/s/device: 94.612, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0425 12:16:11.330609 140266451482432 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.175, Tokens/s/device: 13441.407, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0425 12:16:11.477517 140266451482432 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0425 12:16:11.478176 140266451482432 checkpointing.py:798] Waited 0.0006852149963378906 seconds for step 9 to finish before starting checkpointing.
I0425 12:16:11.480437 140266451482432 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 12:16:24.406275 140137196508928 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 42.411 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.24489164352417 s) (per-host)
I0425 12:16:24.406407 140137196508928 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.535092s.
I0425 12:16:31.519055 140137196508928 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 43.647724s.
I0425 12:16:31.519336 140133969946368 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 12:16:31.519458 140133969946368 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0425 12:16:31.519510 140133969946368 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 12:16:31.522394 140133969946368 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 12:16:31.522584 140266451482432 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0425 12:16:31.522717 140266451482432 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.042279 seconds. If this number is high, consider checkpointing less frequently.
I0425 12:16:31.524577 140266451482432 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9
I0425 12:16:31.526767 140266451482432 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints/9.
I0425 12:16:31.976492 140266451482432 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 12:16:31.976590 140266451482432 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0425 12:16:32.012465 140266451482432 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037064s
I0425 12:16:32.012630 140266451482432 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 38.036 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04055523872375488 s) (per-host)
I0425 12:16:32.012682 140266451482432 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040617s (batch_requests_ready=0.001811s, total_serialization_initiated=0.038737s, others=0.000070s)
I0425 12:16:32.012776 140266451482432 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044775s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.044760)
I0425 12:16:32.013524 140266451482432 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.49 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints/9.
I0425 12:16:32.013816 140133969946368 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 12:36:32.013783
I0425 12:16:32.015828 140266451482432 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 12:16:32.016087 140133978339072 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0425 12:16:32.016215 140266451482432 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777119371.4804075, 'wait_for_prev_duration_secs': 20.04227876663208, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777119391.5246181, 'checkpointer_blocking_duration_secs': 0.4893608093261719, 'get_old_steps_start_time': 1777119392.0140042, 'get_old_steps_duration_secs': 3.266334533691406e-05, 'checkpoint_manager_blocking_start_time': 1777119371.478402, 'checkpoint_manager_blocking_duration_secs': 20.5377779006958}
I0425 12:16:32.016361 140266451482432 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0425 12:16:32.016406 140266451482432 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 12:16:37.562939 140130852595456 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_01_base/checkpoints/9/items/array_metadatas/process_4
I0425 12:17:14.974831 140133969946368 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 36.732 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.00273633003235 s) (per-host)
I0425 12:17:14.974946 140133969946368 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.961002s.
I0425 12:17:21.077189 140133969946368 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 49.063203s.
I0425 12:17:21.077534 140133978339072 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 12:17:21.077667 140133978339072 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0425 12:17:21.077718 140133978339072 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 12:17:21.079331 140133978339072 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 12:17:21.079517 140266451482432 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0425 12:17:21.079666 140266451482432 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 12:17:21.080604 140266451482432 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.132, Tokens/s/device: 13887.100, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 12:17:33 UTC 2026
EXIT_CODE=0