MaxView

‹ 02_syntheticCase: 03_dropout04_int8 ›

Metrics: main (586e69205) vs feat/nnx-trainstate-and-training-loop (1abe20691)

Metricmain  586e69205feat/nnx-trainstate-and-training-loop  1abe20691Diff (feat/nnx-trainstate-and-training-loop − main)
Parameters1.104 billion1.104 billion
Final loss6.98106.98100
TFLOP/s11.31211.373+0.061
Tok/s1807.91817.6+9.704
Avg s/step1.4651.454-0.011
Memory %1.311.310
JAX0.9.20.9.2

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

main  ·  586e69205  ·  main_20260423_071538  ·  full log
XPK Start: Thu Apr 23 07:23:38 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-23 07:24:12.112707: 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)
I0423 07:24:12.327553 137695362717504 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 07:24:21.369910 137695362717504 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 07:24:21.372273 137695362717504 distributed.py:172] Connecting to JAX distributed service on mt-03-dropout-1qzac-slice-job-0-0.mt-03-dropout-1qzac:8482
I0423 07:27:08.319933 137695362717504 max_utils.py:284] Jax distributed system initialized!
I0423 07:27:14.538051 137695362717504 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 07:27:14.538174 137695362717504 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 07:27:14.538217 137695362717504 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
I0423 07:27:14.538252 137695362717504 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 07:27:15.233934 137695362717504 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 07:27:15.234220 137695362717504 checkpointing.py:677] Setting up checkpoint logger...
I0423 07:27:15.234276 137695362717504 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 07:27:15.234320 137695362717504 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 07:27:15.234661 137695362717504 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 0x7d3b1a31ffb0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 07:27:18.081327 137695362717504 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0423 07:27:18.081564 137695362717504 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d25a872b5f0>}, handler_registry=None
I0423 07:27:18.081799 137695362717504 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d25a872b5f0>` 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`.
I0423 07:27:18.081849 137695362717504 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d25a872f020>` 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`.
I0423 07:27:18.081883 137695362717504 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 0x7d25a872b5f0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d25a872b5f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d25a872f020>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d25a872f020>}).
I0423 07:27:18.082204 137695362717504 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 07:27:18.082275 137695362717504 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7d25a86d5b20> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 07:27:19.690536 137695362717504 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints
I0423 07:27:20.128229 137695362717504 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_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7d25a872d4f0>
I0423 07:27:20.128398 137695362717504 checkpointing.py:301] Checkpoint manager created!
I0423 07:27:20.477376 137695362717504 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 07:27:20.477490 137695362717504 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 07:27:20.863691 137695362717504 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,128,2048]....................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0423 07:27:20.863788 137695362717504 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 07:27:20.880234 137695362717504 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,128,2048]....................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0423 07:27:20.880295 137695362717504 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 07:27:20.903953 137695362717504 attentions.py:1154] attentions/query Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:27:20.904021 137695362717504 attentions.py:1154] attentions/query Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 07:27:20.920228 137695362717504 attentions.py:1155] attentions/key Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:27:20.920288 137695362717504 attentions.py:1155] attentions/key Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 07:27:20.936294 137695362717504 attentions.py:1156] attentions/value Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:27:20.936355 137695362717504 attentions.py:1156] attentions/value Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 07:27:20.960750 137695362717504 attentions.py:1198] attentions/out Logical: bfloat16[32,128,16,128]..................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0423 07:27:20.960824 137695362717504 attentions.py:1198] attentions/out Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 07:27:20.987699 137695362717504 linears.py:525] linears/x Logical: bfloat16[32,128,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 07:27:20.987769 137695362717504 linears.py:525] linears/x Physical: bfloat16[32,128,7168]....................................... ('fsdp', None, None).
I0423 07:27:21.204517 137695362717504 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 07:27:21.204629 137695362717504 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 07:27:22.662479 137695362717504 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 07:27:22.662636 137695362717504 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)
I0423 07:27:22.662710 137695362717504 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)
I0423 07:27:22.662805 137695362717504 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')
I0423 07:27:22.662897 137695362717504 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)
I0423 07:27:22.662977 137695362717504 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)
I0423 07:27:22.663074 137695362717504 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)
I0423 07:27:22.663192 137695362717504 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')
I0423 07:27:22.663272 137695362717504 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)
I0423 07:27:22.663344 137695362717504 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)
I0423 07:27:22.663438 137695362717504 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 07:27:22.663538 137695362717504 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0423 07:27:23.181473 137695362717504 train.py:155] train/xent Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0423 07:27:23.181568 137695362717504 train.py:155] train/xent Physical: float32[32,128]............................................. ('fsdp', None).
I0423 07:27:23.196985 137695362717504 train.py:162] train/z_loss Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0423 07:27:23.197047 137695362717504 train.py:162] train/z_loss Physical: float32[32,128]............................................. ('fsdp', None).
I0423 07:27:26.828001 137695362717504 max_utils.py:791] Total memory size: 0.8 GB, Output size: 0.4 GB, Temp size: 0.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0423 07:27:26.828735 137695362717504 metric_logger.py:301] number parameters: 1.104 billion
I0423 07:27:31.389015 137695362717504 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0423 07:27:31.463856 137695362717504 checkpointing.py:776] Waited 0.07482481002807617 seconds for step 0 to finish before starting checkpointing.
I0423 07:27:31.466519 137695362717504 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 07:27:31.468332 137695362717504 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0423 07:27:31.469736 137695362717504 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints/0.
I0423 07:27:32.184012 137695362717504 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 07:27:32.185111 137695362717504 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 07:27:32.185169 137695362717504 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
I0423 07:27:32.461966 137695362717504 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.278025s
I0423 07:27:32.462155 137695362717504 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.442 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2834818363189697 s) (per-host)
I0423 07:27:32.462211 137695362717504 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283548s (batch_requests_ready=0.002177s, total_serialization_initiated=0.281297s, others=0.000074s)
I0423 07:27:32.462304 137695362717504 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.287669s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.287652)
I0423 07:27:32.463088 137695362717504 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.99 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints/0.
I0423 07:27:32.463353 137565923440384 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 07:47:32.463316
I0423 07:27:32.911831 137695362717504 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 07:27:32.912237 137564801902336 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 07:27:32.912406 137695362717504 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776929251.4665015, 'wait_for_prev_duration_secs': 5.9604644775390625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776929251.4683702, 'checkpointer_blocking_duration_secs': 0.9951303005218506, 'get_old_steps_start_time': 1776929252.463522, 'get_old_steps_duration_secs': 2.6464462280273438e-05, 'checkpoint_manager_blocking_start_time': 1776929251.4644022, 'checkpoint_manager_blocking_duration_secs': 1.447960376739502}
I0423 07:27:32.912519 137695362717504 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0423 07:27:32.912581 137695362717504 max_utils.py:750] 
Memstats: After params initialized:
I0423 07:27:32.912642 137695362717504 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_24(process=6,(0,6,0,0))
I0423 07:27:32.912677 137695362717504 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_25(process=6,(1,6,0,0))
I0423 07:27:32.912706 137695362717504 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_28(process=6,(0,7,0,0))
I0423 07:27:32.912731 137695362717504 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_29(process=6,(1,7,0,0))
I0423 07:27:33.225879 137695362717504 metric_logger.py:196] completed step: 0, seconds: 4.560, TFLOP/s/device: 0.176, Tokens/s/device: 28.069, total_weights: 4096, loss: 10.889, lm_loss: 10.889, perplexity: 53560.699
I0423 07:27:33.323977 137695362717504 metric_logger.py:196] completed step: 1, seconds: 1.835, TFLOP/s/device: 0.436, Tokens/s/device: 69.748, total_weights: 4096, loss: 10.902, lm_loss: 10.902, perplexity: 54298.523
I0423 07:27:33.731970 137695362717504 metric_logger.py:196] completed step: 2, seconds: 0.028, TFLOP/s/device: 28.335, Tokens/s/device: 4528.569, total_weights: 4096, loss: 9.956, lm_loss: 9.956, perplexity: 21082.051
I0423 07:27:33.802659 137695362717504 metric_logger.py:196] completed step: 3, seconds: 0.408, TFLOP/s/device: 1.962, Tokens/s/device: 313.644, total_weights: 4096, loss: 9.139, lm_loss: 9.139, perplexity: 9314.691
I0423 07:27:33.944547 137695362717504 metric_logger.py:196] completed step: 4, seconds: 0.076, TFLOP/s/device: 10.546, Tokens/s/device: 1685.586, total_weights: 4096, loss: 8.459, lm_loss: 8.459, perplexity: 4715.493
I0423 07:27:33.950472 137695362717504 metric_logger.py:196] completed step: 5, seconds: 0.071, TFLOP/s/device: 11.329, Tokens/s/device: 1810.595, total_weights: 4096, loss: 7.924, lm_loss: 7.924, perplexity: 2762.373
I0423 07:27:36.865986    2857 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 07:27:38.889534 137564810295040 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints/0/items/array_metadatas/process_6
I0423 07:27:44.499533 137695362717504 metric_logger.py:196] completed step: 6, seconds: 0.142, TFLOP/s/device: 5.629, Tokens/s/device: 899.622, total_weights: 4096, loss: 7.553, lm_loss: 7.553, perplexity: 1906.617
I0423 07:27:44.570355 137695362717504 metric_logger.py:196] completed step: 7, seconds: 10.480, TFLOP/s/device: 0.076, Tokens/s/device: 12.214, total_weights: 4096, loss: 7.267, lm_loss: 7.267, perplexity: 1431.653
I0423 07:27:44.640942 137695362717504 metric_logger.py:196] completed step: 8, seconds: 0.075, TFLOP/s/device: 10.710, Tokens/s/device: 1711.733, total_weights: 4096, loss: 7.111, lm_loss: 7.111, perplexity: 1225.983
I0423 07:27:44.712214 137695362717504 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0423 07:27:44.712855 137695362717504 checkpointing.py:776] Waited 0.0006546974182128906 seconds for step 9 to finish before starting checkpointing.
I0423 07:27:44.714940 137695362717504 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 07:28:06.127242 137565923440384 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 46.529 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 33.948530197143555 s) (per-host)
I0423 07:28:06.127369 137565923440384 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 33.663904s.
I0423 07:28:16.901794 137565923440384 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 44.438312s.
I0423 07:28:16.902066 137564801902336 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 07:28:16.902198 137564801902336 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 07:28:16.902256 137564801902336 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 07:28:16.905006 137564801902336 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 07:28:16.905195 137695362717504 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0423 07:28:16.905321 137695362717504 checkpoint_manager.py:1452] Waiting for previous save to complete took 32.190382 seconds. If this number is high, consider checkpointing less frequently.
I0423 07:28:16.907179 137695362717504 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0423 07:28:16.910282 137695362717504 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints/9.
I0423 07:28:17.654159 137695362717504 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 07:28:17.654251 137695362717504 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
I0423 07:28:17.687867 137695362717504 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034898s
I0423 07:28:17.688027 137695362717504 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 40.223 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.038350582122802734 s) (per-host)
I0423 07:28:17.688076 137695362717504 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038410s (batch_requests_ready=0.001794s, total_serialization_initiated=0.036550s, others=0.000066s)
I0423 07:28:17.688176 137695362717504 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042612s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.042597)
I0423 07:28:17.688875 137695362717504 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.78 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints/9.
I0423 07:28:17.689182 137564801902336 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 07:48:17.689150
I0423 07:28:17.691946 137695362717504 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 07:28:17.692243 137564810295040 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 07:28:17.692413 137695362717504 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776929264.7149117, 'wait_for_prev_duration_secs': 32.19038224220276, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776929296.9072185, 'checkpointer_blocking_duration_secs': 0.7821056842803955, 'get_old_steps_start_time': 1776929297.6893463, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1776929264.7131162, 'checkpoint_manager_blocking_duration_secs': 32.979262351989746}
I0423 07:28:17.692530 137695362717504 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0423 07:28:17.692574 137695362717504 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 07:28:24.520203 137542808508160 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_03_dropout/checkpoints/9/items/array_metadatas/process_6
I0423 07:28:59.779388 137564801902336 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.494 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.12967276573181 s) (per-host)
I0423 07:28:59.779528 137564801902336 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.090234s.
I0423 07:29:08.206967 137564801902336 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.517657s.
I0423 07:29:08.207246 137564810295040 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 07:29:08.207304 137564810295040 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 07:29:08.207349 137564810295040 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 07:29:08.209121 137564810295040 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 07:29:08.209291 137695362717504 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0423 07:29:08.209454 137695362717504 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 07:29:08.210365 137695362717504 metric_logger.py:196] completed step: 9, seconds: 0.071, TFLOP/s/device: 11.312, Tokens/s/device: 1807.910, total_weights: 4096, loss: 6.981, lm_loss: 6.981, perplexity: 1075.867
Per train step:
 Total TFLOPs: 0.80 
 split as 99.60% learnable weight flops and 0.40% attention flops
XPK End: Thu Apr 23 07:29:19 UTC 2026
EXIT_CODE=0
XPK Start: Thu Apr 23 09:46:04 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-23 09:46:35.302966: 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)
I0423 09:46:35.512267 132413634778944 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 09:46:44.554508 132413634778944 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 09:46:44.556702 132413634778944 distributed.py:172] Connecting to JAX distributed service on mt-03-dropout-2qj8t-slice-job-0-0.mt-03-dropout-2qj8t:8482
I0423 09:46:52.386116 132413634778944 max_utils.py:284] Jax distributed system initialized!
I0423 09:46:58.739778 132413634778944 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 09:46:58.739883 132413634778944 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 09:46:58.739924 132413634778944 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
I0423 09:46:58.739960 132413634778944 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 09:46:59.430828 132413634778944 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 09:46:59.431430 132413634778944 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 09:46:59.431612 132413634778944 checkpointing.py:688] Setting up checkpoint logger...
I0423 09:46:59.431663 132413634778944 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 09:46:59.431706 132413634778944 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 09:46:59.432039 132413634778944 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 0x786d3c050080>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 09:47:02.261621 132413634778944 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 09:47:02.261898 132413634778944 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x785904186f90>}, handler_registry=None
I0423 09:47:02.262144 132413634778944 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x785904186f90>` 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`.
I0423 09:47:02.262194 132413634778944 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7858e46b83e0>` 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`.
I0423 09:47:02.262230 132413634778944 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 0x785904186f90>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x785904186f90>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7858e46b83e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7858e46b83e0>}).
I0423 09:47:02.262637 132413634778944 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 09:47:02.262712 132413634778944 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7857f4795f80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 09:47:03.907531 132413634778944 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints
I0423 09:47:04.316713 132413634778944 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7858e46b87a0>
I0423 09:47:04.316883 132413634778944 checkpointing.py:302] Checkpoint manager created!
I0423 09:47:04.669907 132413634778944 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 09:47:04.670012 132413634778944 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 09:47:05.055389 132413634778944 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 09:47:05.055482 132413634778944 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 09:47:05.071984 132413634778944 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 09:47:05.072042 132413634778944 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 09:47:05.095554 132413634778944 attentions.py:1154] attentions/query Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 09:47:05.095625 132413634778944 attentions.py:1154] attentions/query Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 09:47:05.112281 132413634778944 attentions.py:1155] attentions/key Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 09:47:05.112353 132413634778944 attentions.py:1155] attentions/key Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 09:47:05.128868 132413634778944 attentions.py:1156] attentions/value Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 09:47:05.128930 132413634778944 attentions.py:1156] attentions/value Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 09:47:05.153893 132413634778944 attentions.py:1198] attentions/out Logical: bfloat16[32,128,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 09:47:05.153961 132413634778944 attentions.py:1198] attentions/out Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 09:47:05.180726 132413634778944 linears.py:525] linears/x Logical: bfloat16[32,128,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 09:47:05.180793 132413634778944 linears.py:525] linears/x Physical: bfloat16[32,128,7168]....................................... ('fsdp', None, None).
I0423 09:47:05.415181 132413634778944 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 09:47:05.415292 132413634778944 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 09:47:06.853328 132413634778944 maxtext_utils.py:1874]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 09:47:06.853458 132413634778944 maxtext_utils.py:1874]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 09:47:06.853510 132413634778944 maxtext_utils.py:1874]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 09:47:06.853565 132413634778944 maxtext_utils.py:1874]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0423 09:47:06.853616 132413634778944 maxtext_utils.py:1874]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 09:47:06.853653 132413634778944 maxtext_utils.py:1874]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 09:47:06.853705 132413634778944 maxtext_utils.py:1874]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0423 09:47:06.853755 132413634778944 maxtext_utils.py:1874]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0423 09:47:06.853793 132413634778944 maxtext_utils.py:1874]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0423 09:47:06.853828 132413634778944 maxtext_utils.py:1874]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0423 09:47:06.853873 132413634778944 maxtext_utils.py:1874]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0423 09:47:06.853921 132413634778944 maxtext_utils.py:1874]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0423 09:47:07.380404 132413634778944 train.py:157] train/xent Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0423 09:47:07.380503 132413634778944 train.py:157] train/xent Physical: float32[32,128]............................................. ('fsdp', None).
I0423 09:47:07.396145 132413634778944 train.py:164] train/z_loss Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0423 09:47:07.396207 132413634778944 train.py:164] train/z_loss Physical: float32[32,128]............................................. ('fsdp', None).
I0423 09:47:11.031535 132413634778944 max_utils.py:791] Total memory size: 0.8 GB, Output size: 0.4 GB, Temp size: 0.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0423 09:47:11.032304 132413634778944 metric_logger.py:301] number parameters: 1.104 billion
I0423 09:47:15.696960 132413634778944 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 09:47:15.769665 132413634778944 checkpointing.py:798] Waited 0.07269024848937988 seconds for step 0 to finish before starting checkpointing.
I0423 09:47:15.772121 132413634778944 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 09:47:15.774253 132413634778944 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0423 09:47:15.775647 132413634778944 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints/0.
I0423 09:47:16.528782 132413634778944 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 09:47:16.529906 132413634778944 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 09:47:16.529965 132413634778944 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
I0423 09:47:16.808299 132413634778944 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279590s
I0423 09:47:16.808477 132413634778944 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.413 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.284987211227417 s) (per-host)
I0423 09:47:16.808533 132413634778944 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285054s (batch_requests_ready=0.002162s, total_serialization_initiated=0.282816s, others=0.000075s)
I0423 09:47:16.808634 132413634778944 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289162s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.289145)
I0423 09:47:16.809414 132413634778944 event_tracking.py:125] [process=6] [async] Finished blocking save in 1.04 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints/0.
I0423 09:47:16.809746 132282278995712 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 10:07:16.809707
I0423 09:47:17.244078 132413634778944 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 09:47:17.244457 132285479229184 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 09:47:17.244629 132413634778944 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776937635.7720814, 'wait_for_prev_duration_secs': 8.225440979003906e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776937635.7742913, 'checkpointer_blocking_duration_secs': 1.0356049537658691, 'get_old_steps_start_time': 1776937636.80992, 'get_old_steps_duration_secs': 2.9087066650390625e-05, 'checkpoint_manager_blocking_start_time': 1776937635.770179, 'checkpoint_manager_blocking_duration_secs': 1.474407434463501}
I0423 09:47:17.244739 132413634778944 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 09:47:17.244790 132413634778944 max_utils.py:750] 
Memstats: After params initialized:
I0423 09:47:17.244846 132413634778944 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_24(process=6,(0,6,0,0))
I0423 09:47:17.244879 132413634778944 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_25(process=6,(1,6,0,0))
I0423 09:47:17.244907 132413634778944 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_28(process=6,(0,7,0,0))
I0423 09:47:17.244931 132413634778944 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_29(process=6,(1,7,0,0))
I0423 09:47:17.560959 132413634778944 metric_logger.py:196] completed step: 0, seconds: 4.665, TFLOP/s/device: 0.172, Tokens/s/device: 27.441, total_weights: 4096, loss: 10.889, lm_loss: 10.889, perplexity: 53560.699
I0423 09:47:17.658612 132413634778944 metric_logger.py:196] completed step: 1, seconds: 1.863, TFLOP/s/device: 0.430, Tokens/s/device: 68.721, total_weights: 4096, loss: 10.902, lm_loss: 10.902, perplexity: 54298.523
I0423 09:47:18.077334 132413634778944 metric_logger.py:196] completed step: 2, seconds: 0.027, TFLOP/s/device: 29.360, Tokens/s/device: 4692.426, total_weights: 4096, loss: 9.956, lm_loss: 9.956, perplexity: 21082.051
I0423 09:47:18.148146 132413634778944 metric_logger.py:196] completed step: 3, seconds: 0.419, TFLOP/s/device: 1.911, Tokens/s/device: 305.494, total_weights: 4096, loss: 9.139, lm_loss: 9.139, perplexity: 9314.691
I0423 09:47:18.292713 132413634778944 metric_logger.py:196] completed step: 4, seconds: 0.076, TFLOP/s/device: 10.551, Tokens/s/device: 1686.385, total_weights: 4096, loss: 8.459, lm_loss: 8.459, perplexity: 4715.493
I0423 09:47:18.298300 132413634778944 metric_logger.py:196] completed step: 5, seconds: 0.071, TFLOP/s/device: 11.333, Tokens/s/device: 1811.235, total_weights: 4096, loss: 7.924, lm_loss: 7.924, perplexity: 2762.373
I0423 09:47:21.888012    2833 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 09:47:25.673598 132282794477312 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints/0/items/array_metadatas/process_6
I0423 09:47:28.706162 132413634778944 metric_logger.py:196] completed step: 6, seconds: 0.145, TFLOP/s/device: 5.527, Tokens/s/device: 883.289, total_weights: 4096, loss: 7.553, lm_loss: 7.553, perplexity: 1906.617
I0423 09:47:28.776778 132413634778944 metric_logger.py:196] completed step: 7, seconds: 10.338, TFLOP/s/device: 0.077, Tokens/s/device: 12.381, total_weights: 4096, loss: 7.267, lm_loss: 7.267, perplexity: 1431.653
I0423 09:47:28.847461 132413634778944 metric_logger.py:196] completed step: 8, seconds: 0.075, TFLOP/s/device: 10.686, Tokens/s/device: 1707.919, total_weights: 4096, loss: 7.111, lm_loss: 7.111, perplexity: 1225.983
I0423 09:47:28.917789 132413634778944 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 09:47:28.918497 132413634778944 checkpointing.py:798] Waited 0.0007236003875732422 seconds for step 9 to finish before starting checkpointing.
I0423 09:47:28.920498 132413634778944 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 09:47:51.185818 132282278995712 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 45.571 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 34.66229033470154 s) (per-host)
I0423 09:47:51.185941 132282278995712 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 34.376082s.
I0423 09:48:00.455721 132282278995712 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 43.645845s.
I0423 09:48:00.455982 132285479229184 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 09:48:00.456122 132285479229184 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 09:48:00.456174 132285479229184 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 09:48:00.458305 132285479229184 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 09:48:00.458434 132413634778944 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0423 09:48:00.458540 132413634778944 checkpoint_manager.py:1452] Waiting for previous save to complete took 31.538043 seconds. If this number is high, consider checkpointing less frequently.
I0423 09:48:00.460644 132413634778944 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0423 09:48:00.462740 132413634778944 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints/9.
I0423 09:48:01.181053 132413634778944 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 09:48:01.181161 132413634778944 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
I0423 09:48:01.213418 132413634778944 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.033534s
I0423 09:48:01.213604 132413634778944 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 41.692 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03699922561645508 s) (per-host)
I0423 09:48:01.213669 132413634778944 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.037083s (batch_requests_ready=0.001786s, total_serialization_initiated=0.035204s, others=0.000092s)
I0423 09:48:01.213796 132413634778944 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.041589s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.041574)
I0423 09:48:01.214584 132413634778944 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints/9.
I0423 09:48:01.214867 132285479229184 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 10:08:01.214834
I0423 09:48:01.222512 132413634778944 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 09:48:01.222787 132282794477312 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 09:48:01.222943 132413634778944 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776937648.9204636, 'wait_for_prev_duration_secs': 31.538042545318604, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776937680.460698, 'checkpointer_blocking_duration_secs': 0.7543065547943115, 'get_old_steps_start_time': 1776937681.215027, 'get_old_steps_duration_secs': 2.9087066650390625e-05, 'checkpoint_manager_blocking_start_time': 1776937648.9187257, 'checkpoint_manager_blocking_duration_secs': 32.30418419837952}
I0423 09:48:01.223048 132413634778944 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 09:48:01.223103 132413634778944 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 09:48:09.051711 132278092089088 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_03_dropout/checkpoints/9/items/array_metadatas/process_6
I0423 09:48:44.152600 132285479229184 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.755 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.97598052024841 s) (per-host)
I0423 09:48:44.152706 132285479229184 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.937733s.
I0423 09:48:52.305365 132285479229184 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.090376s.
I0423 09:48:52.305675 132282794477312 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 09:48:52.305798 132282794477312 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 09:48:52.305846 132282794477312 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 09:48:52.307068 132282794477312 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 09:48:52.307246 132413634778944 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0423 09:48:52.307389 132413634778944 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 09:48:52.308315 132413634778944 metric_logger.py:196] completed step: 9, seconds: 0.070, TFLOP/s/device: 11.373, Tokens/s/device: 1817.614, total_weights: 4096, loss: 6.981, lm_loss: 6.981, perplexity: 1075.867
Per train step:
 Total TFLOPs: 0.80 
 split as 99.60% learnable weight flops and 0.40% attention flops
XPK End: Thu Apr 23 09:49:04 UTC 2026
EXIT_CODE=0