MaxView

‹ 01_baseCase: 02_synthetic03_dropout ›

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

MetricLinen  29bbe47edNNX  29bbe47edDiff (NNX − Linen)
Parameters1.104 billion1.104 billion
Final loss8.17908.1750-0.004
TFLOP/s92.27691.850-0.426
Tok/s13908.813844.6-64.218
Avg s/step2.7152.793+0.078
Memory %1.381.380
JAX0.9.20.9.2

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

XPK Start: Wed Apr 22 09:33:16 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-22 09:33:40.828286: 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)
I0422 09:33:41.006136 132629932861248 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 09:33:50.046969 132629932861248 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 09:33:50.049252 132629932861248 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-3m77u-slice-job-0-0.mt-02-synthetic-3m77u:8482
I0422 09:33:51.950809 132629932861248 max_utils.py:284] Jax distributed system initialized!
I0422 09:33:58.012104 132629932861248 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 09:33:58.012208 132629932861248 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 09:33:58.012250 132629932861248 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
I0422 09:33:58.012284 132629932861248 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 09:33:59.078943 132629932861248 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 09:33:59.079522 132629932861248 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 09:33:59.079706 132629932861248 checkpointing.py:688] Setting up checkpoint logger...
I0422 09:33:59.079756 132629932861248 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 09:33:59.079798 132629932861248 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0422 09:33:59.080141 132629932861248 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 0x789fb9dae6c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 09:34:01.622598 132629932861248 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0422 09:34:01.622784 132629932861248 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x789e8c82b440>}, handler_registry=None
I0422 09:34:01.623032 132629932861248 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x789e8c82b440>` 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`.
I0422 09:34:01.623084 132629932861248 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x789e8c97fb00>` 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`.
I0422 09:34:01.623122 132629932861248 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 0x789e8c82b440>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x789e8c82b440>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x789e8c97fb00>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x789e8c97fb00>}).
I0422 09:34:01.623443 132629932861248 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0422 09:34:01.623513 132629932861248 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x788b581a7740> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0422 09:34:02.695920 132629932861248 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints
I0422 09:34:03.526724 132629932861248 checkpoint_manager.py:929] [process=3][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x789e8c829b50>
I0422 09:34:03.526898 132629932861248 checkpointing.py:302] Checkpoint manager created!
I0422 09:34:04.463008 132629932861248 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 09:34:04.463113 132629932861248 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 09:34:04.842882 132629932861248 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 09:34:04.842980 132629932861248 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 09:34:04.859462 132629932861248 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 09:34:04.859519 132629932861248 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 09:34:04.883288 132629932861248 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 09:34:04.883352 132629932861248 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 09:34:04.899913 132629932861248 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 09:34:04.899989 132629932861248 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 09:34:04.916561 132629932861248 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 09:34:04.916621 132629932861248 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 09:34:04.941317 132629932861248 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 09:34:04.941383 132629932861248 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 09:34:04.963361 132629932861248 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 09:34:04.963431 132629932861248 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 09:34:05.188559 132629932861248 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 09:34:05.188670 132629932861248 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0422 09:34:06.630803 132629932861248 maxtext_utils.py:1821]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0422 09:34:06.630944 132629932861248 maxtext_utils.py:1821]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 09:34:06.631002 132629932861248 maxtext_utils.py:1821]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 09:34:06.631067 132629932861248 maxtext_utils.py:1821]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0422 09:34:06.631131 132629932861248 maxtext_utils.py:1821]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0422 09:34:06.631172 132629932861248 maxtext_utils.py:1821]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0422 09:34:06.631226 132629932861248 maxtext_utils.py:1821]  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)
I0422 09:34:06.631278 132629932861248 maxtext_utils.py:1821]  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')
I0422 09:34:06.631318 132629932861248 maxtext_utils.py:1821]  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)
I0422 09:34:06.631354 132629932861248 maxtext_utils.py:1821]  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)
I0422 09:34:06.631402 132629932861248 maxtext_utils.py:1821]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0422 09:34:06.631453 132629932861248 maxtext_utils.py:1821]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0422 09:34:07.126085 132629932861248 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 09:34:07.126180 132629932861248 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 09:34:07.141842 132629932861248 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 09:34:07.141903 132629932861248 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 09:34:18.099386 132629932861248 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.
I0422 09:34:18.100202 132629932861248 metric_logger.py:301] number parameters: 1.104 billion
I0422 09:34:29.548830 132629932861248 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0422 09:34:29.702490 132629932861248 checkpointing.py:798] Waited 0.15363550186157227 seconds for step 0 to finish before starting checkpointing.
I0422 09:34:29.704722 132629932861248 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 09:34:29.706449 132629932861248 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0422 09:34:29.707895 132629932861248 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/0.
I0422 09:34:30.003360 132629932861248 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 09:34:30.004276 132629932861248 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 09:34:30.004333 132629932861248 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
I0422 09:34:30.281561 132629932861248 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.278271s
I0422 09:34:30.281735 132629932861248 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.437 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2837204933166504 s) (per-host)
I0422 09:34:30.281790 132629932861248 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283787s (batch_requests_ready=0.002282s, total_serialization_initiated=0.281430s, others=0.000075s)
I0422 09:34:30.281879 132629932861248 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.287959s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.287941)
I0422 09:34:30.282658 132629932861248 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.58 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/0.
I0422 09:34:30.283015 132500479276800 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 09:54:30.282978
I0422 09:34:30.291204 132629932861248 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 09:34:30.291490 132497786529536 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 09:34:30.291646 132629932861248 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776850469.7047038, 'wait_for_prev_duration_secs': 6.0558319091796875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776850469.7064927, 'checkpointer_blocking_duration_secs': 0.5766818523406982, 'get_old_steps_start_time': 1776850470.2831974, 'get_old_steps_duration_secs': 3.075599670410156e-05, 'checkpoint_manager_blocking_start_time': 1776850469.7029686, 'checkpoint_manager_blocking_duration_secs': 0.5886392593383789}
I0422 09:34:30.291747 132629932861248 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0422 09:34:30.291801 132629932861248 max_utils.py:750] 
Memstats: After params initialized:
I0422 09:34:30.291848 132629932861248 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0422 09:34:30.291880 132629932861248 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0422 09:34:30.291907 132629932861248 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0422 09:34:30.291949 132629932861248 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0422 09:34:30.602601 132629932861248 metric_logger.py:196] completed step: 0, seconds: 11.449, TFLOP/s/device: 1.187, Tokens/s/device: 178.888, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0422 09:34:30.793463 132629932861248 metric_logger.py:196] completed step: 1, seconds: 1.052, TFLOP/s/device: 12.914, Tokens/s/device: 1946.605, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0422 09:34:31.214190 132629932861248 metric_logger.py:196] completed step: 2, seconds: 0.044, TFLOP/s/device: 310.017, Tokens/s/device: 46729.185, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0422 09:34:31.361460 132629932861248 metric_logger.py:196] completed step: 3, seconds: 0.421, TFLOP/s/device: 32.298, Tokens/s/device: 4868.251, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0422 09:34:31.656337 132629932861248 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.842, Tokens/s/device: 13391.222, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0422 09:34:31.661953 132629932861248 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.244, Tokens/s/device: 13904.070, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0422 09:34:35.261281    2822 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 09:34:37.298336 132497794922240 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/0/items/array_metadatas/process_3
I0422 09:34:53.832972 132629932861248 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.015, Tokens/s/device: 6935.837, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0422 09:34:53.980180 132629932861248 metric_logger.py:196] completed step: 7, seconds: 22.024, TFLOP/s/device: 0.617, Tokens/s/device: 92.989, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0422 09:34:54.127604 132629932861248 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.253, Tokens/s/device: 13453.239, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0422 09:34:54.274097 132629932861248 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0422 09:34:54.274710 132629932861248 checkpointing.py:798] Waited 0.0006351470947265625 seconds for step 9 to finish before starting checkpointing.
I0422 09:34:54.276898 132629932861248 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 09:35:09.467818 132500479276800 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 40.020 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.469751596450806 s) (per-host)
I0422 09:35:09.467951 132500479276800 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 39.184821s.
I0422 09:35:17.218546 132500479276800 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 46.935400s.
I0422 09:35:17.218848 132497786529536 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 09:35:17.218997 132497786529536 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 09:35:17.219053 132497786529536 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0422 09:35:17.220792 132497786529536 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0422 09:35:17.221003 132629932861248 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0422 09:35:17.221087 132629932861248 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.944191 seconds. If this number is high, consider checkpointing less frequently.
I0422 09:35:17.222885 132629932861248 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9
I0422 09:35:17.224891 132629932861248 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/9.
I0422 09:35:17.504601 132629932861248 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 09:35:17.504692 132629932861248 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
I0422 09:35:17.540765 132629932861248 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037335s
I0422 09:35:17.540916 132629932861248 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 37.784 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.040825843811035156 s) (per-host)
I0422 09:35:17.540982 132629932861248 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040901s (batch_requests_ready=0.001893s, total_serialization_initiated=0.038927s, others=0.000081s)
I0422 09:35:17.541068 132629932861248 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.045007s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.044992)
I0422 09:35:17.541680 132629932861248 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.32 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/9.
I0422 09:35:17.541911 132497794922240 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 09:55:17.541877
I0422 09:35:17.543789 132629932861248 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 09:35:17.544036 132497786529536 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 09:35:17.544210 132629932861248 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776850494.2768679, 'wait_for_prev_duration_secs': 22.944191455841064, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776850517.2229378, 'checkpointer_blocking_duration_secs': 0.31913065910339355, 'get_old_steps_start_time': 1776850517.5420916, 'get_old_steps_duration_secs': 3.24249267578125e-05, 'checkpoint_manager_blocking_start_time': 1776850494.2749555, 'checkpoint_manager_blocking_duration_secs': 23.269210815429688}
I0422 09:35:17.544337 132629932861248 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0422 09:35:17.544401 132629932861248 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 09:35:23.244346 132476580128512 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/9/items/array_metadatas/process_3
I0422 09:35:59.636601 132497794922240 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.488 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.13646459579468 s) (per-host)
I0422 09:35:59.636726 132497794922240 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.094690s.
I0422 09:36:07.938504 132497794922240 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 50.396451s.
I0422 09:36:07.938838 132497786529536 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 09:36:07.938998 132497786529536 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 09:36:07.939049 132497786529536 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0422 09:36:07.940746 132497786529536 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0422 09:36:07.946797 132629932861248 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0422 09:36:07.946976 132629932861248 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 09:36:07.947916 132629932861248 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.276, Tokens/s/device: 13908.791, 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: Wed Apr 22 09:36:17 UTC 2026
EXIT_CODE=0
XPK Start: Wed Apr 22 11:10:16 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-22 11:10:41.083524: 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)
I0422 11:10:41.291544 134377666828096 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 11:10:50.333369 134377666828096 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 11:10:50.335794 134377666828096 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-mu9px-slice-job-0-0.mt-02-synthetic-mu9px:8482
I0422 11:10:51.356580 134377666828096 max_utils.py:284] Jax distributed system initialized!
I0422 11:10:57.602075 134377666828096 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 11:10:57.602181 134377666828096 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 11:10:57.602220 134377666828096 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
I0422 11:10:57.602255 134377666828096 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 11:10:58.294823 134377666828096 maxtext_utils.py:1732] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 11:10:58.407127 134377666828096 checkpointing.py:688] Setting up checkpoint logger...
I0422 11:10:58.407244 134377666828096 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 11:10:58.407289 134377666828096 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0422 11:10:58.407486 134377666828096 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 0x7a3685751190>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 11:11:01.769489 134377666828096 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0422 11:11:01.769692 134377666828096 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 0x7a22507bc980>}, handler_registry=None
I0422 11:11:01.769929 134377666828096 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a22507bc980>` 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`.
I0422 11:11:01.769977 134377666828096 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a22387f2b70>` 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`.
I0422 11:11:01.770014 134377666828096 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 0x7a22507bc980>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7a22507bc980>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a22387f2b70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7a22387f2b70>}).
I0422 11:11:01.770346 134377666828096 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0422 11:11:01.770415 134377666828096 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7a225012b4c0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0422 11:11:02.469628 134377666828096 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints
I0422 11:11:02.901142 134377666828096 checkpoint_manager.py:929] [process=5][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7a2250173590>
I0422 11:11:02.901316 134377666828096 checkpointing.py:302] Checkpoint manager created!
I0422 11:11:03.856141 134377666828096 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 11:11:03.856263 134377666828096 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32

I0422 11:11:05.615373 134377666828096 nnx_decoders.py:465] nnx_decoders/carry Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 11:11:05.615470 134377666828096 nnx_decoders.py:465] nnx_decoders/carry Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 11:11:05.621015 134377666828096 nnx_decoders.py:465] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 11:11:05.621072 134377666828096 nnx_decoders.py:465] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 11:11:05.637283 134377666828096 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 11:11:05.637347 134377666828096 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 11:11:05.652881 134377666828096 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 11:11:05.652943 134377666828096 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 11:11:05.676883 134377666828096 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 11:11:05.676952 134377666828096 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 11:11:05.693029 134377666828096 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 11:11:05.693090 134377666828096 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 11:11:05.708879 134377666828096 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 11:11:05.708937 134377666828096 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 11:11:05.739878 134377666828096 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 11:11:05.739957 134377666828096 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 11:11:05.760056 134377666828096 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 11:11:05.760122 134377666828096 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 11:11:17.035119 134377666828096 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.
I0422 11:11:17.037512 134377666828096 metric_logger.py:301] number parameters: 1.104 billion
I0422 11:11:28.172055 134377666828096 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0422 11:11:28.324037 134377666828096 checkpointing.py:798] Waited 0.1519637107849121 seconds for step 0 to finish before starting checkpointing.
I0422 11:11:28.326276 134377666828096 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 11:11:28.327892 134377666828096 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0422 11:11:28.330262 134377666828096 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/0.
I0422 11:11:29.083590 134377666828096 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 11:11:29.084528 134377666828096 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0422 11:11:29.084585 134377666828096 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
I0422 11:11:29.357016 134377666828096 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.274197s
I0422 11:11:29.357190 134377666828096 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.434 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28385496139526367 s) (per-host)
I0422 11:11:29.357242 134377666828096 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.283917s (batch_requests_ready=0.003593s, total_serialization_initiated=0.280254s, others=0.000070s)
I0422 11:11:29.357345 134377666828096 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.288025s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.288007)
I0422 11:11:29.358101 134377666828096 event_tracking.py:125] [process=5] [async] Finished blocking save in 1.03 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/0.
I0422 11:11:29.358521 134248983942912 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 11:31:29.358482
I0422 11:11:29.369702 134377666828096 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 11:11:29.370000 134247335573248 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0422 11:11:29.370151 134377666828096 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776856288.3262582, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776856288.3279324, 'checkpointer_blocking_duration_secs': 1.0307536125183105, 'get_old_steps_start_time': 1776856289.358711, 'get_old_steps_duration_secs': 2.86102294921875e-05, 'checkpoint_manager_blocking_start_time': 1776856288.324417, 'checkpoint_manager_blocking_duration_secs': 1.0456972122192383}
I0422 11:11:29.370260 134377666828096 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0422 11:11:29.370331 134377666828096 max_utils.py:750] 
Memstats: After params initialized:
I0422 11:11:29.370382 134377666828096 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0422 11:11:29.370415 134377666828096 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0422 11:11:29.370443 134377666828096 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0422 11:11:29.370466 134377666828096 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0422 11:11:29.684370 134377666828096 metric_logger.py:196] completed step: 0, seconds: 11.133, TFLOP/s/device: 1.220, Tokens/s/device: 183.950, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0422 11:11:29.857482 134377666828096 metric_logger.py:196] completed step: 1, seconds: 1.510, TFLOP/s/device: 8.995, Tokens/s/device: 1355.897, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0422 11:11:30.297061 134377666828096 metric_logger.py:196] completed step: 2, seconds: 0.027, TFLOP/s/device: 507.247, Tokens/s/device: 76457.851, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28632.133
I0422 11:11:30.445486 134377666828096 metric_logger.py:196] completed step: 3, seconds: 0.429, TFLOP/s/device: 31.646, Tokens/s/device: 4769.968, total_weights: 65536, loss: 9.732, lm_loss: 9.732, perplexity: 16855.789
I0422 11:11:30.741171 134377666828096 metric_logger.py:196] completed step: 4, seconds: 0.166, TFLOP/s/device: 81.890, Tokens/s/device: 12343.298, total_weights: 65536, loss: 9.274, lm_loss: 9.274, perplexity: 10661.594
I0422 11:11:30.749083 134377666828096 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.497, Tokens/s/device: 13942.121, total_weights: 65536, loss: 8.888, lm_loss: 8.888, perplexity: 7245.978
I0422 11:11:33.284835    2817 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 11:11:35.332406 134247385626368 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/0/items/array_metadatas/process_5
I0422 11:11:53.157290 134377666828096 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.837, Tokens/s/device: 6909.092, total_weights: 65536, loss: 8.589, lm_loss: 8.589, perplexity: 5371.156
I0422 11:11:53.304881 134377666828096 metric_logger.py:196] completed step: 7, seconds: 22.262, TFLOP/s/device: 0.610, Tokens/s/device: 91.995, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4360.465
I0422 11:11:53.452317 134377666828096 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.597, Tokens/s/device: 13354.286, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.256
I0422 11:11:53.600599 134377666828096 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0422 11:11:53.601293 134377666828096 checkpointing.py:798] Waited 0.0007050037384033203 seconds for step 9 to finish before starting checkpointing.
I0422 11:11:53.603311 134377666828096 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 11:12:07.398857 134248983942912 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 41.215 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.32546424865723 s) (per-host)
I0422 11:12:07.398979 134248983942912 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.040346s.
I0422 11:12:15.240142 134248983942912 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 45.881492s.
I0422 11:12:15.240444 134247335573248 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 11:12:15.240557 134247335573248 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0422 11:12:15.240607 134247335573248 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0422 11:12:15.242081 134247335573248 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0422 11:12:15.242241 134377666828096 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.
W0422 11:12:15.242380 134377666828096 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.639070 seconds. If this number is high, consider checkpointing less frequently.
I0422 11:12:15.244291 134377666828096 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0422 11:12:15.246332 134377666828096 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/9.
I0422 11:12:15.967803 134377666828096 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0422 11:12:15.967898 134377666828096 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
I0422 11:12:16.002645 134377666828096 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.036403s
I0422 11:12:16.002827 134377666828096 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 35.358 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04362773895263672 s) (per-host)
I0422 11:12:16.002879 134377666828096 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.043689s (batch_requests_ready=0.002884s, total_serialization_initiated=0.040735s, others=0.000070s)
I0422 11:12:16.002978 134377666828096 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.048097s (all_items=0.000016s, per_item={'items': '0.00001574'}, temp_paths=0.048081)
I0422 11:12:16.003707 134377666828096 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/9.
I0422 11:12:16.004004 134247335573248 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 11:32:16.003972
I0422 11:12:16.005965 134377666828096 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 11:12:16.006201 134247385626368 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0422 11:12:16.006305 134377666828096 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776856313.6032808, 'wait_for_prev_duration_secs': 21.63906955718994, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776856335.24433, 'checkpointer_blocking_duration_secs': 0.7598135471343994, 'get_old_steps_start_time': 1776856336.004166, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1776856313.6015344, 'checkpoint_manager_blocking_duration_secs': 22.404736518859863}
I0422 11:12:16.006457 134377666828096 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0422 11:12:16.006502 134377666828096 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 11:12:21.598231 134224405313280 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/nnx_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_02_synthetic/checkpoints/9/items/array_metadatas/process_5
I0422 11:12:57.634850 134247335573248 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.902 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.67561221122742 s) (per-host)
I0422 11:12:57.634983 134247335573248 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.630868s.
I0422 11:13:05.609329 134247335573248 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.605199s.
I0422 11:13:05.609583 134247385626368 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 11:13:05.609686 134247385626368 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0422 11:13:05.609757 134247385626368 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0422 11:13:05.611514 134247385626368 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0422 11:13:05.611704 134377666828096 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.
I0422 11:13:05.611873 134377666828096 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 11:13:05.612840 134377666828096 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.850, Tokens/s/device: 13844.573, total_weights: 65536, loss: 8.175, lm_loss: 8.175, perplexity: 3551.438
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Wed Apr 22 11:13:16 UTC 2026
EXIT_CODE=0