MaxView

‹ 10_shardy_trueCase: 11_optimizer_offload_false11_optimizer_offload_true ›

Metrics: main (586e69205) vs feat/nnx-set-defaults-true (73213e044)

Metricmain  586e69205feat/nnx-set-defaults-true  73213e044Diff (feat/nnx-set-defaults-true − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.37591.985-0.39
Tok/s13923.813864.9-58.915
Avg s/step2.7842.397-0.387
Memory %1.381.380
JAX0.9.20.8.1

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

main  ·  586e69205  ·  main_20260423_071538  ·  full log
XPK Start: Thu Apr 23 07:58:23 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:58:47.759642: 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:58:47.968879 138282882754368 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 07:58:57.010268 138282882754368 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 07:58:57.012517 138282882754368 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-8bt1g-slice-job-0-0.mt-11-optimizer-offload-8bt1g:8482
I0423 07:58:58.048617 138282882754368 max_utils.py:284] Jax distributed system initialized!
I0423 07:59:04.536403 138282882754368 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 07:59:04.536511 138282882754368 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 07:59:04.536551 138282882754368 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:59:04.536587 138282882754368 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 07:59:05.232386 138282882754368 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 07:59:05.232669 138282882754368 checkpointing.py:677] Setting up checkpoint logger...
I0423 07:59:05.232728 138282882754368 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 07:59:05.232773 138282882754368 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 07:59:05.233125 138282882754368 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 0x7dc3e2b77530>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 07:59:08.085808 138282882754368 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0423 07:59:08.086071 138282882754368 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 0x7dafb80f6ff0>}, handler_registry=None
I0423 07:59:08.086309 138282882754368 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dafb80f6ff0>` 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:59:08.086359 138282882754368 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dc2ba3692b0>` 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:59:08.086392 138282882754368 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 0x7dafb80f6ff0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dafb80f6ff0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dc2ba3692b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7dc2ba3692b0>}).
I0423 07:59:08.086712 138282882754368 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 07:59:08.086781 138282882754368 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7dafb0185440> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 07:59:10.151107 138282882754368 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints
I0423 07:59:10.601426 138282882754368 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_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7dafb80f4d40>
I0423 07:59:10.601602 138282882754368 checkpointing.py:301] Checkpoint manager created!
I0423 07:59:11.532901 138282882754368 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 07:59:11.533035 138282882754368 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 07:59:11.909739 138282882754368 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0423 07:59:11.909834 138282882754368 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 07:59:11.926379 138282882754368 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0423 07:59:11.926440 138282882754368 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 07:59:11.950085 138282882754368 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:59:11.950151 138282882754368 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:59:11.966778 138282882754368 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:59:11.966842 138282882754368 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:59:11.983308 138282882754368 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 07:59:11.983372 138282882754368 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:59:12.008208 138282882754368 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0423 07:59:12.008281 138282882754368 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 07:59:12.029311 138282882754368 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 07:59:12.029374 138282882754368 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 07:59:12.240905 138282882754368 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 07:59:12.241026 138282882754368 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 07:59:13.672551 138282882754368 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 07:59:13.672681 138282882754368 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:59:13.672735 138282882754368 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:59:13.672792 138282882754368 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:59:13.672844 138282882754368 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:59:13.672883 138282882754368 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:59:13.672950 138282882754368 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:59:13.673008 138282882754368 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:59:13.673050 138282882754368 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:59:13.673086 138282882754368 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:59:13.673150 138282882754368 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 07:59:13.673222 138282882754368 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0423 07:59:14.169177 138282882754368 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 07:59:14.169275 138282882754368 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 07:59:14.184760 138282882754368 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 07:59:14.184820 138282882754368 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 07:59:24.970413 138282882754368 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:59:24.971152 138282882754368 metric_logger.py:301] number parameters: 1.104 billion
I0423 07:59:36.246854 138282882754368 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0423 07:59:36.722437 138282882754368 checkpointing.py:776] Waited 0.47556233406066895 seconds for step 0 to finish before starting checkpointing.
I0423 07:59:36.724829 138282882754368 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 07:59:36.726472 138282882754368 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0423 07:59:36.727979 138282882754368 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/0.
I0423 07:59:37.478754 138282882754368 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 07:59:37.479861 138282882754368 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 07:59:37.479917 138282882754368 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:59:37.752116 138282882754368 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.273440s
I0423 07:59:37.752294 138282882754368 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.533 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27881932258605957 s) (per-host)
I0423 07:59:37.752346 138282882754368 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.278883s (batch_requests_ready=0.002213s, total_serialization_initiated=0.276599s, others=0.000071s)
I0423 07:59:37.752438 138282882754368 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.282991s (all_items=0.000019s, per_item={'items': '0.00001884'}, temp_paths=0.282973)
I0423 07:59:37.753175 138282882754368 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.03 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/0.
I0423 07:59:37.753505 138153490896640 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 08:19:37.753464
I0423 07:59:37.763900 138282882754368 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 07:59:37.764156 138154596284160 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0423 07:59:37.764306 138282882754368 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776931176.7248085, 'wait_for_prev_duration_secs': 7.963180541992188e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776931176.726512, 'checkpointer_blocking_duration_secs': 1.0271618366241455, 'get_old_steps_start_time': 1776931177.7536945, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1776931176.7229962, 'checkpoint_manager_blocking_duration_secs': 1.041274070739746}
I0423 07:59:37.764405 138282882754368 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0423 07:59:37.764453 138282882754368 max_utils.py:750] 
Memstats: After params initialized:
I0423 07:59:37.764501 138282882754368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0423 07:59:37.764532 138282882754368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0423 07:59:37.764558 138282882754368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0423 07:59:37.764583 138282882754368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0423 07:59:38.073732 138282882754368 metric_logger.py:196] completed step: 0, seconds: 11.276, TFLOP/s/device: 1.205, Tokens/s/device: 181.631, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 07:59:38.256573 138282882754368 metric_logger.py:196] completed step: 1, seconds: 1.825, TFLOP/s/device: 7.444, Tokens/s/device: 1121.996, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 07:59:38.700686 138282882754368 metric_logger.py:196] completed step: 2, seconds: 0.036, TFLOP/s/device: 380.709, Tokens/s/device: 57384.628, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0423 07:59:38.848111 138282882754368 metric_logger.py:196] completed step: 3, seconds: 0.444, TFLOP/s/device: 30.575, Tokens/s/device: 4608.533, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0423 07:59:39.143039 138282882754368 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.837, Tokens/s/device: 13390.434, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0423 07:59:39.149029 138282882754368 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.257, Tokens/s/device: 13905.958, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0423 07:59:40.951197    2825 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 07:59:43.945910 138153499289344 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_3
I0423 08:00:01.154106 138282882754368 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.966, Tokens/s/device: 6928.539, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0423 08:00:01.301170 138282882754368 metric_logger.py:196] completed step: 7, seconds: 21.858, TFLOP/s/device: 0.622, Tokens/s/device: 93.695, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0423 08:00:01.448388 138282882754368 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.170, Tokens/s/device: 13440.701, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0423 08:00:01.595021 138282882754368 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0423 08:00:01.595700 138282882754368 checkpointing.py:776] Waited 0.0006988048553466797 seconds for step 9 to finish before starting checkpointing.
I0423 08:00:01.597770 138282882754368 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 08:00:15.118090 138153490896640 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 41.961 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.64459681510925 s) (per-host)
I0423 08:00:15.118193 138153490896640 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.364559s.
I0423 08:00:22.802615 138153490896640 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 45.048965s.
I0423 08:00:22.802956 138154596284160 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 08:00:22.803079 138154596284160 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0423 08:00:22.803130 138154596284160 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 08:00:22.804571 138154596284160 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 08:00:22.804752 138282882754368 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.
W0423 08:00:22.804893 138282882754368 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.207123 seconds. If this number is high, consider checkpointing less frequently.
I0423 08:00:22.806501 138282882754368 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9
I0423 08:00:22.808574 138282882754368 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/9.
I0423 08:00:23.523546 138282882754368 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 08:00:23.523642 138282882754368 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 08:00:23.559739 138282882754368 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037125s
I0423 08:00:23.559911 138282882754368 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 37.323 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04133009910583496 s) (per-host)
I0423 08:00:23.559975 138282882754368 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.041404s (batch_requests_ready=0.002488s, total_serialization_initiated=0.038834s, others=0.000082s)
I0423 08:00:23.560072 138282882754368 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.045505s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.045490)
I0423 08:00:23.560815 138282882754368 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/9.
I0423 08:00:23.561136 138154596284160 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 08:20:23.561103
I0423 08:00:23.563201 138282882754368 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 08:00:23.563516 138132758398720 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0423 08:00:23.563677 138282882754368 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776931201.5977397, 'wait_for_prev_duration_secs': 21.207123279571533, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776931222.8065364, 'checkpointer_blocking_duration_secs': 0.7547457218170166, 'get_old_steps_start_time': 1776931223.561304, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776931201.595969, 'checkpoint_manager_blocking_duration_secs': 21.967674493789673}
I0423 08:00:23.563789 138282882754368 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0423 08:00:23.563834 138282882754368 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 08:00:30.421655 138153499289344 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_3
I0423 08:01:05.590566 138154596284160 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.545 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.07194662094116 s) (per-host)
I0423 08:01:05.590690 138154596284160 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.029440s.
I0423 08:01:12.558425 138154596284160 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 48.997161s.
I0423 08:01:12.558713 138132758398720 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 08:01:12.558837 138132758398720 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0423 08:01:12.558887 138132758398720 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 08:01:12.560327 138132758398720 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 08:01:12.560450 138282882754368 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.
I0423 08:01:12.560558 138282882754368 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 08:01:12.561430 138282882754368 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.375, Tokens/s/device: 13923.827, 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 08:01:23 UTC 2026
EXIT_CODE=0
XPK Start: Thu Apr 23 16:32:56 UTC 2026
2026-04-23 16:33:00.418905: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776961980.431827      10 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776961980.435815      10 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776961980.447276      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776961980.447296      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776961980.447299      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776961980.447301      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-23 16:33:19.658010: 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 16:33:20.185155 133694201706304 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-23 16:33:29,225:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0423 16:33:29.225794 133694201706304 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-23 16:33:29,228:jax._src.distributed:157: Connecting to JAX distributed service on mt-11-optimizer-offload-txkqz-slice-job-0-0.mt-11-optimizer-offload-txkqz:8482
I0423 16:33:29.228200 133694201706304 distributed.py:157] Connecting to JAX distributed service on mt-11-optimizer-offload-txkqz-slice-job-0-0.mt-11-optimizer-offload-txkqz:8482
I0423 16:33:30.310710 133694201706304 max_utils.py:284] Jax distributed system initialized!
I0423 16:33:36.209433 133694201706304 max_utils.py:800] System Information: Jax Version: 0.8.1
I0423 16:33:36.209539 133694201706304 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0423 16:33:36.209579 133694201706304 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0423 16:33:36.209613 133694201706304 train_utils.py:377] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 16:33:36.831671 133694201706304 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 16:33:36.832518 133694201706304 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 16:33:36.832751 133694201706304 checkpointing.py:688] Setting up checkpoint logger...
I0423 16:33:36.832811 133694201706304 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 16:33:36.832865 133694201706304 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0423 16:33:36.833273 133694201706304 base_pytree_checkpoint_handler.py:415] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x79979c975070>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 16:33:39.775850 133694201706304 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 16:33:39.776247 133694201706304 checkpoint_manager.py:709] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7984aef72000>}, handler_registry=None
I0423 16:33:39.776504 133694201706304 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7984aef72000>` 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 16:33:39.776557 133694201706304 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7984af00aba0>` 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 16:33:39.776595 133694201706304 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 0x7984aef72000>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7984aef72000>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7984af00aba0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7984af00aba0>}).
I0423 16:33:39.777108 133694201706304 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0423 16:33:39.777190 133694201706304 async_checkpointer.py:177] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7984504fc180> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0423 16:33:40.883853 133694201706304 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints
I0423 16:33:40.886636 133694201706304 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7984af00b4d0>
I0423 16:33:40.886752 133694201706304 checkpointing.py:302] Checkpoint manager created!
I0423 16:33:41.780565 133694201706304 nnx_wrappers.py:455] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 16:33:41.780672 133694201706304 nnx_wrappers.py:455] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 16:33:42.154793 133694201706304 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 16:33:42.154891 133694201706304 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 16:33:42.171125 133694201706304 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 16:33:42.171184 133694201706304 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 16:33:42.194365 133694201706304 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 16:33:42.194433 133694201706304 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 16:33:42.210687 133694201706304 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 16:33:42.210750 133694201706304 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 16:33:42.226804 133694201706304 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 16:33:42.226867 133694201706304 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 16:33:42.251857 133694201706304 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 16:33:42.251925 133694201706304 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 16:33:42.271814 133694201706304 linears.py:541] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 16:33:42.271880 133694201706304 linears.py:541] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 16:33:42.463402 133694201706304 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 16:33:42.463515 133694201706304 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 16:33:43.910197 133694201706304 maxtext_utils.py:1740]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0423 16:33:43.910332 133694201706304 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 16:33:43.910388 133694201706304 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 16:33:43.910448 133694201706304 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0423 16:33:43.910501 133694201706304 maxtext_utils.py:1740]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0423 16:33:43.910540 133694201706304 maxtext_utils.py:1740]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0423 16:33:43.910600 133694201706304 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0423 16:33:43.910658 133694201706304 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0423 16:33:43.910702 133694201706304 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0423 16:33:43.910742 133694201706304 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0423 16:33:43.910792 133694201706304 maxtext_utils.py:1740]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)

I0423 16:33:43.910840 133694201706304 maxtext_utils.py:1740]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0423 16:33:44.418781 133694201706304 train.py:158] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 16:33:44.418879 133694201706304 train.py:158] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 16:33:44.434003 133694201706304 train.py:165] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 16:33:44.434064 133694201706304 train.py:165] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 16:33:55.291489 133694201706304 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 16:33:55.292349 133694201706304 metric_logger.py:289] number parameters: 1.104 billion
I0423 16:34:06.492503 133694201706304 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 16:34:06.648331 133694201706304 checkpointing.py:798] Waited 0.15581464767456055 seconds for step 0 to finish before starting checkpointing.
I0423 16:34:06.651029 133694201706304 checkpoint_manager.py:2013] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 16:34:06.652812 133694201706304 checkpoint_manager.py:1518] [process=6] Saving checkpoint at step 0
I0423 16:34:06.655539 133694201706304 async_checkpointer.py:452] [process=6] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints/0.
I0423 16:34:07.235621 133694201706304 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 16:34:07.236654 133694201706304 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0423 16:34:07.236709 133694201706304 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 16:34:07.483089 133694201706304 base_pytree_checkpoint_handler.py:153] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.247553s
I0423 16:34:07.483282 133694201706304 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.905 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5310413837432861 s) (per-host)
I0423 16:34:07.483336 133694201706304 base_pytree_checkpoint_handler.py:737] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.531106s (batch_requests_ready=0.279947s, total_serialization_initiated=0.251086s, others=0.000073s)
I0423 16:34:07.483427 133694201706304 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.535203s (all_items=0.000019s, per_item={'items': '0.00001884'}, temp_paths=0.535184)
I0423 16:34:07.484387 133572049516288 async_checkpointer.py:79] [process=6][thread=async_save] Background save thread started.
I0423 16:34:07.484557 133694201706304 async_checkpointer.py:561] Finished blocking save. Time taken: 0.831676s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints/0.
I0423 16:34:07.604732 133694201706304 checkpoint_manager.py:1566] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 16:34:07.605133 133570949519104 async_checkpointer.py:265] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 16:34:07.605306 133694201706304 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776962046.6510105, 'wait_for_prev_duration_secs': 6.389617919921875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776962046.6528502, 'checkpointer_blocking_duration_secs': 0.8318166732788086, 'get_old_steps_start_time': 1776962047.4846869, 'get_old_steps_duration_secs': 2.5272369384765625e-05, 'checkpoint_manager_blocking_start_time': 1776962046.6488943, 'checkpoint_manager_blocking_duration_secs': 0.956369161605835}
I0423 16:34:07.605414 133694201706304 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 16:34:07.605467 133694201706304 max_utils.py:750] 
Memstats: After params initialized:
I0423 16:34:07.605525 133694201706304 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0423 16:34:07.605559 133694201706304 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0423 16:34:07.605595 133694201706304 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0423 16:34:07.605622 133694201706304 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0423 16:34:07.866454 133694201706304 metric_logger.py:185] completed step: 0, seconds: 11.200, TFLOP/s/device: 1.213, Tokens/s/device: 182.856, total_weights: 65536, loss: 10.874
I0423 16:34:08.042018 133694201706304 metric_logger.py:185] completed step: 1, seconds: 1.373, TFLOP/s/device: 9.898, Tokens/s/device: 1491.982, total_weights: 65536, loss: 10.874
I0423 16:34:08.486516 133694201706304 metric_logger.py:185] completed step: 2, seconds: 0.028, TFLOP/s/device: 478.471, Tokens/s/device: 72120.294, total_weights: 65536, loss: 10.263
I0423 16:34:08.633933 133694201706304 metric_logger.py:185] completed step: 3, seconds: 0.445, TFLOP/s/device: 30.521, Tokens/s/device: 4600.428, total_weights: 65536, loss: 9.734
I0423 16:34:08.929221 133694201706304 metric_logger.py:185] completed step: 4, seconds: 0.152, TFLOP/s/device: 89.223, Tokens/s/device: 13448.645, total_weights: 65536, loss: 9.278
I0423 16:34:08.934689 133694201706304 metric_logger.py:185] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.323, Tokens/s/device: 13915.974, total_weights: 65536, loss: 8.892
I0423 16:34:27.916116 133694201706304 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.939, Tokens/s/device: 6924.393, total_weights: 65536, loss: 8.592
I0423 16:34:28.063771 133694201706304 metric_logger.py:185] completed step: 7, seconds: 18.835, TFLOP/s/device: 0.721, Tokens/s/device: 108.735, total_weights: 65536, loss: 8.384
I0423 16:34:28.211123 133694201706304 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.476, Tokens/s/device: 13486.727, total_weights: 65536, loss: 8.255
I0423 16:34:28.358212 133694201706304 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 16:34:28.358864 133694201706304 checkpointing.py:798] Waited 0.0006709098815917969 seconds for step 9 to finish before starting checkpointing.
I0423 16:34:28.360897 133694201706304 checkpoint_manager.py:2024] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 16:34:29.554565    2558 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 16:34:31.481290 133572057908992 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_6
I0423 16:35:01.568536 133572049516288 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/gbytes_per_sec: 28.922 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 54.61625647544861 s) (per-host)
I0423 16:35:01.568655 133572049516288 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 54.084156s.
I0423 16:35:10.999173 133572049516288 async_checkpointer.py:144] [process=6][thread=async_save] Background save thread done. Time taken: 63.514660s.
I0423 16:35:10.999467 133570949519104 async_checkpointer.py:273] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 16:35:10.999583 133570949519104 async_checkpointer.py:283] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 16:35:10.999633 133570949519104 checkpoint_manager.py:2133] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 16:35:11.001835 133570949519104 checkpoint_manager.py:2142] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 16:35:11.001995 133694201706304 checkpoint_manager.py:2036] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0423 16:35:11.002076 133694201706304 checkpoint_manager.py:1458] Waiting for previous save to complete took 42.641186 seconds. If this number is high, consider checkpointing less frequently.
I0423 16:35:11.004069 133694201706304 checkpoint_manager.py:1518] [process=6] Saving checkpoint at step 9
I0423 16:35:11.007445 133694201706304 async_checkpointer.py:452] [process=6] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints/9.
I0423 16:35:11.549868 133694201706304 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0423 16:35:11.549966 133694201706304 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 16:35:11.594777 133694201706304 base_pytree_checkpoint_handler.py:153] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.045807s
I0423 16:35:11.594926 133694201706304 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.015 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.3075985908508301 s) (per-host)
I0423 16:35:11.594976 133694201706304 base_pytree_checkpoint_handler.py:737] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.307658s (batch_requests_ready=0.259910s, total_serialization_initiated=0.047683s, others=0.000065s)
I0423 16:35:11.595058 133694201706304 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.311574s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.311559)
I0423 16:35:11.595961 133571478873856 async_checkpointer.py:79] [process=6][thread=async_save] Background save thread started.
I0423 16:35:11.596130 133694201706304 async_checkpointer.py:561] Finished blocking save. Time taken: 0.591965s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints/9.
I0423 16:35:11.608383 133694201706304 checkpoint_manager.py:1566] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 16:35:11.608650 133570949519104 async_checkpointer.py:265] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 16:35:11.608813 133694201706304 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776962068.3608692, 'wait_for_prev_duration_secs': 42.641186475753784, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776962111.0041227, 'checkpointer_blocking_duration_secs': 0.5921149253845215, 'get_old_steps_start_time': 1776962111.596257, 'get_old_steps_duration_secs': 2.4318695068359375e-05, 'checkpoint_manager_blocking_start_time': 1776962068.3590822, 'checkpoint_manager_blocking_duration_secs': 43.24969482421875}
I0423 16:35:11.608921 133694201706304 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 16:35:11.608967 133694201706304 checkpoint_manager.py:2024] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 16:35:16.486967 133572057908992 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260423_155242/linen_xpk_feat_nnx_set_defaults_true_20260423_155242_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_6
I0423 16:35:53.665942 133571478873856 base_pytree_checkpoint_handler.py:129] [process=6] /jax/checkpoint/write/gbytes_per_sec: 37.273 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.37857151031494 s) (per-host)
I0423 16:35:53.666060 133571478873856 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.069990s.
I0423 16:36:03.217746 133571478873856 async_checkpointer.py:144] [process=6][thread=async_save] Background save thread done. Time taken: 51.621661s.
I0423 16:36:03.218037 133570949519104 async_checkpointer.py:273] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 16:36:03.218192 133570949519104 async_checkpointer.py:283] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 16:36:03.218239 133570949519104 checkpoint_manager.py:2133] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 16:36:03.219860 133570949519104 checkpoint_manager.py:2142] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 16:36:03.220027 133694201706304 checkpoint_manager.py:2036] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0423 16:36:03.220180 133694201706304 checkpoint_manager.py:2013] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 16:36:03.220809 133694201706304 metric_logger.py:185] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.985, Tokens/s/device: 13864.912, total_weights: 65536, loss: 8.179
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Thu Apr 23 16:36:16 UTC 2026
EXIT_CODE=0