MaxView

‹ 01_baseCase: 02_synthetic03_dropout ›

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 loss8.17908.17900
TFLOP/s92.36392.350-0.013
Tok/s13921.913920.0-1.893
Avg s/step2.8662.760-0.106
Memory %1.381.380
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:19:29 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:19:55.067334: 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:19:55.275804 139655908058944 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 07:20:04.318543 139655908058944 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 07:20:04.321019 139655908058944 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-0ykmm-slice-job-0-0.mt-02-synthetic-0ykmm:8482
I0423 07:20:05.030613 139655908058944 max_utils.py:284] Jax distributed system initialized!
I0423 07:20:11.148716 139655908058944 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 07:20:11.148824 139655908058944 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 07:20:11.148865 139655908058944 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:20:11.148901 139655908058944 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 07:20:11.841292 139655908058944 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 07:20:11.841568 139655908058944 checkpointing.py:677] Setting up checkpoint logger...
I0423 07:20:11.841624 139655908058944 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 07:20:11.841680 139655908058944 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 07:20:11.842014 139655908058944 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 0x7f0375247680>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 07:20:14.733174 139655908058944 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0423 07:20:14.733413 139655908058944 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 0x7eefe4209c10>}, handler_registry=None
I0423 07:20:14.733668 139655908058944 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7eefe4209c10>` 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:20:14.733718 139655908058944 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7eefe4208140>` 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:20:14.733754 139655908058944 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 0x7eefe4209c10>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7eefe4209c10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7eefe4208140>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7eefe4208140>}).
I0423 07:20:14.734077 139655908058944 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 07:20:14.734149 139655908058944 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7eef1457da80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 07:20:16.020326 139655908058944 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints
I0423 07:20:16.452138 139655908058944 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_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7eefe420a6c0>
I0423 07:20:16.452325 139655908058944 checkpointing.py:301] Checkpoint manager created!
I0423 07:20:17.379390 139655908058944 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 07:20:17.379505 139655908058944 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 07:20:17.763822 139655908058944 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 07:20:17.763913 139655908058944 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 07:20:17.780490 139655908058944 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 07:20:17.780547 139655908058944 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 07:20:17.804631 139655908058944 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:20:17.804714 139655908058944 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:20:17.821276 139655908058944 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:20:17.821336 139655908058944 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:20:17.837745 139655908058944 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:20:17.837804 139655908058944 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:20:17.862611 139655908058944 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 07:20:17.862692 139655908058944 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:20:17.883814 139655908058944 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 07:20:17.883880 139655908058944 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 07:20:18.091413 139655908058944 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 07:20:18.091522 139655908058944 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 07:20:19.519151 139655908058944 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 07:20:19.519281 139655908058944 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:20:19.519335 139655908058944 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:20:19.519392 139655908058944 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:20:19.519443 139655908058944 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:20:19.519481 139655908058944 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:20:19.519532 139655908058944 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:20:19.519581 139655908058944 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:20:19.519620 139655908058944 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:20:19.519667 139655908058944 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:20:19.519718 139655908058944 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0423 07:20:19.519766 139655908058944 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0423 07:20:20.013900 139655908058944 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 07:20:20.013997 139655908058944 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 07:20:20.029515 139655908058944 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 07:20:20.029575 139655908058944 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 07:20:30.845520 139655908058944 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.
I0423 07:20:30.846318 139655908058944 metric_logger.py:301] number parameters: 1.104 billion
I0423 07:20:42.550024 139655908058944 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0423 07:20:42.781255 139655908058944 checkpointing.py:776] Waited 0.23120713233947754 seconds for step 0 to finish before starting checkpointing.
I0423 07:20:42.784219 139655908058944 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 07:20:42.785632 139655908058944 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0423 07:20:42.787039 139655908058944 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints/0.
I0423 07:20:43.550182 139655908058944 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 07:20:43.551042 139655908058944 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 07:20:43.551099 139655908058944 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:20:43.830645 139655908058944 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.280530s
I0423 07:20:43.830833 139655908058944 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.392 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2860729694366455 s) (per-host)
I0423 07:20:43.830886 139655908058944 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286136s (batch_requests_ready=0.002266s, total_serialization_initiated=0.283798s, others=0.000072s)
I0423 07:20:43.830981 139655908058944 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.290475s (all_items=0.000035s, per_item={'items': '0.00003505'}, temp_paths=0.290440)
I0423 07:20:43.831795 139655908058944 event_tracking.py:125] [process=5] [async] Finished blocking save in 1.05 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints/0.
I0423 07:20:43.832066 139531032622848 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 07:40:43.832035
I0423 07:20:43.834102 139655908058944 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 07:20:43.834341 139529408280320 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 07:20:43.834455 139655908058944 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776928842.7841992, 'wait_for_prev_duration_secs': 8.749961853027344e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776928842.7856824, 'checkpointer_blocking_duration_secs': 1.0465281009674072, 'get_old_steps_start_time': 1776928843.832237, 'get_old_steps_duration_secs': 3.4332275390625e-05, 'checkpoint_manager_blocking_start_time': 1776928842.7817867, 'checkpoint_manager_blocking_duration_secs': 1.0526270866394043}
I0423 07:20:43.834566 139655908058944 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0423 07:20:43.834616 139655908058944 max_utils.py:750] 
Memstats: After params initialized:
I0423 07:20:43.834678 139655908058944 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0423 07:20:43.834713 139655908058944 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0423 07:20:43.834739 139655908058944 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0423 07:20:43.834765 139655908058944 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0423 07:20:44.145758 139655908058944 metric_logger.py:196] completed step: 0, seconds: 11.704, TFLOP/s/device: 1.161, Tokens/s/device: 174.989, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 07:20:44.319493 139655908058944 metric_logger.py:196] completed step: 1, seconds: 1.594, TFLOP/s/device: 8.523, Tokens/s/device: 1284.664, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 07:20:44.775850 139655908058944 metric_logger.py:196] completed step: 2, seconds: 0.027, TFLOP/s/device: 512.470, Tokens/s/device: 77245.125, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0423 07:20:44.923059 139655908058944 metric_logger.py:196] completed step: 3, seconds: 0.456, TFLOP/s/device: 29.775, Tokens/s/device: 4488.000, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0423 07:20:45.217923 139655908058944 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.584, Tokens/s/device: 13352.371, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0423 07:20:45.223979 139655908058944 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.387, Tokens/s/device: 13925.626, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0423 07:20:47.272935    2750 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 07:20:49.745506 139529432327936 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints/0/items/array_metadatas/process_5
I0423 07:21:08.195535 139655908058944 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.988, Tokens/s/device: 6931.752, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0423 07:21:08.342704 139655908058944 metric_logger.py:196] completed step: 7, seconds: 22.825, TFLOP/s/device: 0.595, Tokens/s/device: 89.727, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0423 07:21:08.490156 139655908058944 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.123, Tokens/s/device: 13433.648, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0423 07:21:08.636679 139655908058944 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0423 07:21:08.637365 139655908058944 checkpointing.py:776] Waited 0.0007276535034179688 seconds for step 9 to finish before starting checkpointing.
I0423 07:21:08.639459 139655908058944 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 07:21:20.084813 139531032622848 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 43.229 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.54001307487488 s) (per-host)
I0423 07:21:20.084940 139531032622848 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.252766s.
I0423 07:21:29.967640 139531032622848 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 46.135448s.
I0423 07:21:29.967874 139529408280320 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 07:21:29.967930 139529408280320 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 07:21:29.967984 139529408280320 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 07:21:29.970126 139529408280320 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 07:21:29.970277 139655908058944 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.
W0423 07:21:29.970407 139655908058944 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.330949 seconds. If this number is high, consider checkpointing less frequently.
I0423 07:21:29.972363 139655908058944 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0423 07:21:29.974469 139655908058944 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints/9.
I0423 07:21:30.686305 139655908058944 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 07:21:30.686399 139655908058944 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:21:30.727968 139655908058944 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.042744s
I0423 07:21:30.728131 139655908058944 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 33.381 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04621148109436035 s) (per-host)
I0423 07:21:30.728179 139655908058944 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.046268s (batch_requests_ready=0.001805s, total_serialization_initiated=0.044401s, others=0.000062s)
I0423 07:21:30.728268 139655908058944 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.050361s (all_items=0.000016s, per_item={'items': '0.00001597'}, temp_paths=0.050345)
I0423 07:21:30.728916 139655908058944 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints/9.
I0423 07:21:30.729275 139529408280320 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 07:41:30.729237
I0423 07:21:30.731273 139655908058944 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 07:21:30.731512 139529432327936 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 07:21:30.731616 139655908058944 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776928868.6394284, 'wait_for_prev_duration_secs': 21.330949068069458, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776928889.9724047, 'checkpointer_blocking_duration_secs': 0.7570161819458008, 'get_old_steps_start_time': 1776928890.7294452, 'get_old_steps_duration_secs': 3.409385681152344e-05, 'checkpoint_manager_blocking_start_time': 1776928868.6375947, 'checkpoint_manager_blocking_duration_secs': 22.09398651123047}
I0423 07:21:30.731788 139655908058944 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0423 07:21:30.731833 139655908058944 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 07:21:37.114936 139507831654144 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_02_synthetic/checkpoints/9/items/array_metadatas/process_5
I0423 07:22:13.359817 139529408280320 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.012 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.6778564453125 s) (per-host)
I0423 07:22:13.359938 139529408280320 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.630550s.
I0423 07:22:22.374758 139529408280320 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 51.645355s.
I0423 07:22:22.375072 139529432327936 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 07:22:22.375187 139529432327936 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 07:22:22.375235 139529432327936 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 07:22:22.376902 139529432327936 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 07:22:22.377092 139655908058944 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.
I0423 07:22:22.377234 139655908058944 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 07:22:22.378117 139655908058944 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.363, Tokens/s/device: 13921.934, 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: Thu Apr 23 07:22:34 UTC 2026
EXIT_CODE=0
XPK Start: Thu Apr 23 09:41:53 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:42:18.655744: 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:42:18.864134 132110935381824 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 09:42:27.903835 132110935381824 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 09:42:27.906140 132110935381824 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-aa5k1-slice-job-0-0.mt-02-synthetic-aa5k1:8482
I0423 09:42:29.725693 132110935381824 max_utils.py:284] Jax distributed system initialized!
I0423 09:42:34.909036 132110935381824 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 09:42:34.909141 132110935381824 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 09:42:34.909181 132110935381824 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:42:34.909216 132110935381824 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 09:42:35.604347 132110935381824 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 09:42:35.604951 132110935381824 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 09:42:35.605130 132110935381824 checkpointing.py:688] Setting up checkpoint logger...
I0423 09:42:35.605182 132110935381824 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 09:42:35.605225 132110935381824 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 09:42:35.605560 132110935381824 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 0x7826db71eff0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 09:42:38.581309 132110935381824 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 09:42:38.581493 132110935381824 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 0x7813186664b0>}, handler_registry=None
I0423 09:42:38.581737 132110935381824 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7813186664b0>` 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:42:38.581787 132110935381824 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78131866e1e0>` 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:42:38.581823 132110935381824 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 0x7813186664b0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7813186664b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78131866e1e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78131866e1e0>}).
I0423 09:42:38.582142 132110935381824 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 09:42:38.582218 132110935381824 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x78123c285d00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 09:42:40.120764 132110935381824 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_02_synthetic/checkpoints
I0423 09:42:40.570385 132110935381824 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_feat_nnx_trainstate_and_training_loop_20260423_093806/linen_xpk_feat_nnx_trainstate_and_training_loop_20260423_093806_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x781318665820>
I0423 09:42:40.570559 132110935381824 checkpointing.py:302] Checkpoint manager created!
I0423 09:42:41.516196 132110935381824 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 09:42:41.516305 132110935381824 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 09:42:41.891775 132110935381824 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 09:42:41.891873 132110935381824 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 09:42:41.908343 132110935381824 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 09:42:41.908405 132110935381824 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 09:42:41.932173 132110935381824 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 09:42:41.932245 132110935381824 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 09:42:41.948736 132110935381824 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 09:42:41.948793 132110935381824 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 09:42:41.965143 132110935381824 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 09:42:41.965207 132110935381824 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 09:42:41.989688 132110935381824 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 09:42:41.989760 132110935381824 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 09:42:42.010607 132110935381824 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 09:42:42.010685 132110935381824 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 09:42:42.230922 132110935381824 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 09:42:42.231032 132110935381824 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 09:42:43.644267 132110935381824 maxtext_utils.py:1835]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 09:42:43.644393 132110935381824 maxtext_utils.py:1835]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 09:42:43.644450 132110935381824 maxtext_utils.py:1835]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 09:42:43.644510 132110935381824 maxtext_utils.py:1835]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0423 09:42:43.644563 132110935381824 maxtext_utils.py:1835]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 09:42:43.644602 132110935381824 maxtext_utils.py:1835]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 09:42:43.644666 132110935381824 maxtext_utils.py:1835]  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:42:43.644721 132110935381824 maxtext_utils.py:1835]  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:42:43.644762 132110935381824 maxtext_utils.py:1835]  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:42:43.644798 132110935381824 maxtext_utils.py:1835]  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:42:43.644845 132110935381824 maxtext_utils.py:1835]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0423 09:42:43.644895 132110935381824 maxtext_utils.py:1835]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0423 09:42:44.137668 132110935381824 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 09:42:44.137758 132110935381824 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 09:42:44.153311 132110935381824 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 09:42:44.153372 132110935381824 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 09:42:54.984044 132110935381824 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.
I0423 09:42:54.984863 132110935381824 metric_logger.py:301] number parameters: 1.104 billion
I0423 09:43:06.251476 132110935381824 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 09:43:06.405703 132110935381824 checkpointing.py:798] Waited 0.1541900634765625 seconds for step 0 to finish before starting checkpointing.
I0423 09:43:06.408155 132110935381824 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 09:43:06.409816 132110935381824 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0423 09:43:06.411139 132110935381824 event_tracking.py:70] [process=5] [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_02_synthetic/checkpoints/0.
I0423 09:43:07.144440 132110935381824 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 09:43:07.145352 132110935381824 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 09:43:07.145409 132110935381824 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:43:07.421848 132110935381824 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.277482s
I0423 09:43:07.422024 132110935381824 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.447 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28321385383605957 s) (per-host)
I0423 09:43:07.422077 132110935381824 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283278s (batch_requests_ready=0.002464s, total_serialization_initiated=0.280742s, others=0.000072s)
I0423 09:43:07.422170 132110935381824 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.287417s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.287400)
I0423 09:43:07.423151 132110935381824 event_tracking.py:125] [process=5] [async] Finished blocking save in 1.01 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_02_synthetic/checkpoints/0.
I0423 09:43:07.423442 131984982521600 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 10:03:07.423417
I0423 09:43:07.436371 132110935381824 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 09:43:07.436672 131980712732416 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 09:43:07.436830 132110935381824 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_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776937386.4081373, 'wait_for_prev_duration_secs': 6.580352783203125e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776937386.4098537, 'checkpointer_blocking_duration_secs': 1.0137102603912354, 'get_old_steps_start_time': 1776937387.4235902, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1776937386.4062064, 'checkpoint_manager_blocking_duration_secs': 1.030585765838623}
I0423 09:43:07.436938 132110935381824 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 09:43:07.436988 132110935381824 max_utils.py:750] 
Memstats: After params initialized:
I0423 09:43:07.437039 132110935381824 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0423 09:43:07.437074 132110935381824 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0423 09:43:07.437101 132110935381824 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0423 09:43:07.437127 132110935381824 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0423 09:43:07.752802 132110935381824 metric_logger.py:196] completed step: 0, seconds: 11.266, TFLOP/s/device: 1.206, Tokens/s/device: 181.778, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 09:43:07.936992 132110935381824 metric_logger.py:196] completed step: 1, seconds: 1.500, TFLOP/s/device: 9.059, Tokens/s/device: 1365.524, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 09:43:08.353782 132110935381824 metric_logger.py:196] completed step: 2, seconds: 0.037, TFLOP/s/device: 367.408, Tokens/s/device: 55379.790, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0423 09:43:08.501135 132110935381824 metric_logger.py:196] completed step: 3, seconds: 0.417, TFLOP/s/device: 32.577, Tokens/s/device: 4910.388, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0423 09:43:08.796231 132110935381824 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.746, Tokens/s/device: 13376.790, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0423 09:43:08.802067 132110935381824 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.293, Tokens/s/device: 13911.437, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0423 09:43:10.683858    2793 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 09:43:13.057017 131980721125120 array_metadata_store.py:203] [process=5][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_02_synthetic/checkpoints/0/items/array_metadatas/process_5
I0423 09:43:30.937224 132110935381824 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.984, Tokens/s/device: 6931.212, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0423 09:43:31.084594 132110935381824 metric_logger.py:196] completed step: 7, seconds: 21.989, TFLOP/s/device: 0.618, Tokens/s/device: 93.139, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0423 09:43:31.231928 132110935381824 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.336, Tokens/s/device: 13465.623, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0423 09:43:31.378818 132110935381824 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 09:43:31.379412 132110935381824 checkpointing.py:798] Waited 0.0006160736083984375 seconds for step 9 to finish before starting checkpointing.
I0423 09:43:31.381615 132110935381824 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 09:43:44.449368 131984982521600 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.336 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.31052088737488 s) (per-host)
I0423 09:43:44.449486 131984982521600 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.025961s.
I0423 09:43:53.653137 131984982521600 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 46.229595s.
I0423 09:43:53.653411 131980712732416 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 09:43:53.653538 131980712732416 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 09:43:53.653588 131980712732416 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 09:43:53.662885 131980712732416 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 09:43:53.663050 132110935381824 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.
W0423 09:43:53.663180 132110935381824 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.281564 seconds. If this number is high, consider checkpointing less frequently.
I0423 09:43:53.665090 132110935381824 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0423 09:43:53.667094 132110935381824 event_tracking.py:70] [process=5] [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_02_synthetic/checkpoints/9.
I0423 09:43:54.373488 132110935381824 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 09:43:54.373581 132110935381824 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:43:54.408643 132110935381824 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.036043s
I0423 09:43:54.408828 132110935381824 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 38.983 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03957080841064453 s) (per-host)
I0423 09:43:54.408880 132110935381824 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.039633s (batch_requests_ready=0.001790s, total_serialization_initiated=0.037773s, others=0.000070s)
I0423 09:43:54.408971 132110935381824 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044019s (all_items=0.000016s, per_item={'items': '0.00001574'}, temp_paths=0.044003)
I0423 09:43:54.409703 132110935381824 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.74 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_02_synthetic/checkpoints/9.
I0423 09:43:54.409970 131980712732416 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 10:03:54.409948
I0423 09:43:54.415250 132110935381824 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 09:43:54.415538 131957476280064 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 09:43:54.415714 132110935381824 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_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776937411.3815863, 'wait_for_prev_duration_secs': 22.281564474105835, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776937433.6651297, 'checkpointer_blocking_duration_secs': 0.7449338436126709, 'get_old_steps_start_time': 1776937434.410089, 'get_old_steps_duration_secs': 2.9325485229492188e-05, 'checkpoint_manager_blocking_start_time': 1776937411.379634, 'checkpoint_manager_blocking_duration_secs': 23.0360426902771}
I0423 09:43:54.415834 132110935381824 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 09:43:54.415882 132110935381824 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 09:44:00.847908 131980721125120 array_metadata_store.py:203] [process=5][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_02_synthetic/checkpoints/9/items/array_metadatas/process_5
I0423 09:44:37.092400 131980712732416 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 36.973 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.7231080532074 s) (per-host)
I0423 09:44:37.092510 131980712732416 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.682470s.
I0423 09:44:44.532556 131980712732416 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 50.122499s.
I0423 09:44:44.532868 131957476280064 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 09:44:44.532983 131957476280064 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 09:44:44.533140 131957476280064 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 09:44:44.534545 131957476280064 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 09:44:44.534733 132110935381824 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.
I0423 09:44:44.534880 132110935381824 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 09:44:44.535857 132110935381824 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.350, Tokens/s/device: 13920.041, 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: Thu Apr 23 09:44:53 UTC 2026
EXIT_CODE=0