MaxView

‹ 10_shardy_trueCase: 11_optimizer_offload_false11_optimizer_offload_true ›

Metrics: main (7f7822822) vs feat/nnx-post-train-fixes (2fbc8c2f1)

Metricmain  7f7822822feat/nnx-post-train-fixes  2fbc8c2f1Diff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s92.15392.383+0.23
Tok/s13890.313925.0+34.661
Avg s/step2.7912.785-0.006
Memory %1.381.380
JAX0.9.20.9.2

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

main  ·  7f7822822  ·  main_20260417_125726  ·  full log
XPK Start: Fri Apr 17 14:00:26 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-17 14:00:50.527165: 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)
I0417 14:00:50.705930 139257267074880 max_utils.py:273] Attempting to initialize the jax distributed system...
I0417 14:00:59.745331 139257267074880 distributed.py:149] Starting JAX distributed service on [::]:8482
I0417 14:00:59.747707 139257267074880 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-fci5v-slice-job-0-0.mt-11-optimizer-offload-fci5v:8482
I0417 14:01:00.721423 139257267074880 max_utils.py:284] Jax distributed system initialized!
I0417 14:01:06.027784 139257267074880 max_utils.py:800] System Information: Jax Version: 0.9.2
I0417 14:01:06.027908 139257267074880 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0417 14:01:06.027959 139257267074880 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
I0417 14:01:06.027996 139257267074880 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0417 14:01:07.050941 139257267074880 maxtext_utils.py:1548] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0417 14:01:07.051244 139257267074880 checkpointing.py:677] Setting up checkpoint logger...
I0417 14:01:07.051310 139257267074880 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0417 14:01:07.051365 139257267074880 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0417 14:01:07.051726 139257267074880 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 0x7ea6a4550200>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0417 14:01:09.601776 139257267074880 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0417 14:01:09.602039 139257267074880 checkpoint_manager.py:708] [process=0][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e92d4506390>}, handler_registry=None
I0417 14:01:09.602332 139257267074880 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e92d4506390>` 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`.
I0417 14:01:09.602391 139257267074880 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ea59868a9c0>` 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`.
I0417 14:01:09.602441 139257267074880 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 0x7e92d4506390>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e92d4506390>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ea59868a9c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ea59868a9c0>}).
I0417 14:01:09.602816 139257267074880 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0417 14:01:09.602933 139257267074880 async_checkpointer.py:192] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e92d46e7d80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0417 14:01:11.297503 139257267074880 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints
I0417 14:01:11.695559 139257267074880 checkpoint_manager.py:929] [process=0][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_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7ea5986c6ba0>
I0417 14:01:11.695721 139257267074880 checkpointing.py:301] Checkpoint manager created!
I0417 14:01:12.602060 139257267074880 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0417 14:01:12.602172 139257267074880 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0417 14:01:12.980701 139257267074880 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0417 14:01:12.980792 139257267074880 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0417 14:01:12.997324 139257267074880 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0417 14:01:12.997388 139257267074880 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0417 14:01:13.020961 139257267074880 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0417 14:01:13.021026 139257267074880 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0417 14:01:13.037222 139257267074880 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0417 14:01:13.037281 139257267074880 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0417 14:01:13.053393 139257267074880 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0417 14:01:13.053454 139257267074880 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0417 14:01:13.078723 139257267074880 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0417 14:01:13.078794 139257267074880 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0417 14:01:13.099895 139257267074880 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0417 14:01:13.099963 139257267074880 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0417 14:01:13.316375 139257267074880 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0417 14:01:13.316482 139257267074880 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0417 14:01:14.751018 139257267074880 maxtext_utils.py:1651]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0417 14:01:14.751146 139257267074880 maxtext_utils.py:1651]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0417 14:01:14.751207 139257267074880 maxtext_utils.py:1651]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0417 14:01:14.751265 139257267074880 maxtext_utils.py:1651]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0417 14:01:14.751327 139257267074880 maxtext_utils.py:1651]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0417 14:01:14.751365 139257267074880 maxtext_utils.py:1651]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0417 14:01:14.751420 139257267074880 maxtext_utils.py:1651]  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)
I0417 14:01:14.751470 139257267074880 maxtext_utils.py:1651]  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')
I0417 14:01:14.751509 139257267074880 maxtext_utils.py:1651]  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)
I0417 14:01:14.751545 139257267074880 maxtext_utils.py:1651]  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)
I0417 14:01:14.751591 139257267074880 maxtext_utils.py:1651]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0417 14:01:14.751638 139257267074880 maxtext_utils.py:1651]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0417 14:01:15.237432 139257267074880 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0417 14:01:15.237527 139257267074880 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0417 14:01:15.252875 139257267074880 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0417 14:01:15.252940 139257267074880 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0417 14:01:25.992618 139257267074880 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.
I0417 14:01:26.000184 139257267074880 metric_logger.py:301] number parameters: 1.104 billion
I0417 14:01:37.911269 139257267074880 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0417 14:01:38.064226 139257267074880 checkpointing.py:776] Waited 0.15293407440185547 seconds for step 0 to finish before starting checkpointing.
I0417 14:01:38.066629 139257267074880 checkpoint_manager.py:2009] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0417 14:01:38.068175 139257267074880 checkpoint_manager.py:1512] [process=0] Saving checkpoint at step 0
I0417 14:01:38.069609 139257267074880 event_tracking.py:70] [process=0] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0.
I0417 14:01:38.791102 139257267074880 signaling_client.py:364] Using JaxDistributedSignalingClient
I0417 14:01:38.805302 139257267074880 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0417 14:01:38.805367 139257267074880 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
I0417 14:01:39.074592 139130043930368 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0
I0417 14:01:39.077299 139257267074880 base_pytree_checkpoint_handler.py:154] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.272793s
I0417 14:01:39.078090 139257267074880 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/blocking_gbytes_per_sec: 5.525 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2791872024536133 s) (per-host)
I0417 14:01:39.078166 139257267074880 base_pytree_checkpoint_handler.py:768] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.279283s (batch_requests_ready=0.002221s, total_serialization_initiated=0.276351s, others=0.000710s)
I0417 14:01:39.078250 139257267074880 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.283227s (all_items=0.000018s, per_item={'items': '0.00001836'}, temp_paths=0.283208)
I0417 14:01:39.078984 139257267074880 event_tracking.py:125] [process=0] [async] Finished blocking save in 1.01 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0.
I0417 14:01:39.079319 139130052323072 async_checkpointer.py:76] [process=0][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-17 14:21:39.079280
I0417 14:01:39.089448 139257267074880 checkpoint_manager.py:1560] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0417 14:01:39.089739 139128973645568 async_checkpointer.py:280] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0417 14:01:39.089914 139257267074880 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776434498.0666106, 'wait_for_prev_duration_secs': 6.103515625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776434498.0682158, 'checkpointer_blocking_duration_secs': 1.011260747909546, 'get_old_steps_start_time': 1776434499.0795016, 'get_old_steps_duration_secs': 2.86102294921875e-05, 'checkpoint_manager_blocking_start_time': 1776434498.064742, 'checkpoint_manager_blocking_duration_secs': 1.0251312255859375}
I0417 14:01:39.090018 139257267074880 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0417 14:01:39.090068 139257267074880 max_utils.py:750] 
Memstats: After params initialized:
I0417 14:01:39.090118 139257267074880 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_0(process=0,(0,0,0,0))
I0417 14:01:39.090150 139257267074880 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_1(process=0,(1,0,0,0))
I0417 14:01:39.090178 139257267074880 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_4(process=0,(0,1,0,0))
I0417 14:01:39.090203 139257267074880 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_5(process=0,(1,1,0,0))
I0417 14:01:39.424689 139257267074880 metric_logger.py:196] completed step: 0, seconds: 11.634, TFLOP/s/device: 1.168, Tokens/s/device: 176.035, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0417 14:01:39.427859 139257267074880 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/tensorboard/'
I0417 14:01:39.836882 139257267074880 metric_logger.py:196] completed step: 1, seconds: 1.512, TFLOP/s/device: 8.989, Tokens/s/device: 1354.932, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0417 14:01:39.982971 139257267074880 metric_logger.py:196] completed step: 2, seconds: 0.413, TFLOP/s/device: 32.906, Tokens/s/device: 4959.991, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0417 14:01:40.130274 139257267074880 metric_logger.py:196] completed step: 3, seconds: 0.009, TFLOP/s/device: 1522.197, Tokens/s/device: 229442.079, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0417 14:01:41.315544 139129551578880 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0/items
I0417 14:01:41.422083 139125235640064 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776434501005976492, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776434501005976492, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0/_CHECKPOINT_METADATA
I0417 14:01:42.545334    2839 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0417 14:01:44.312922 139129509615360 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_0
I0417 14:02:02.720863 139257267074880 metric_logger.py:196] completed step: 4, seconds: 0.148, TFLOP/s/device: 92.059, Tokens/s/device: 13876.185, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0417 14:02:02.729371 139257267074880 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.305, Tokens/s/device: 13913.233, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0417 14:02:02.875443 139257267074880 metric_logger.py:196] completed step: 6, seconds: 22.589, TFLOP/s/device: 0.601, Tokens/s/device: 90.664, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0417 14:02:03.022807 139257267074880 metric_logger.py:196] completed step: 7, seconds: 0.007, TFLOP/s/device: 2064.286, Tokens/s/device: 311151.626, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0417 14:02:03.170454 139257267074880 metric_logger.py:196] completed step: 8, seconds: 0.147, TFLOP/s/device: 92.574, Tokens/s/device: 13953.710, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0417 14:02:03.317182 139257267074880 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0417 14:02:03.317810 139257267074880 checkpointing.py:776] Waited 0.0006470680236816406 seconds for step 9 to finish before starting checkpointing.
I0417 14:02:03.319986 139257267074880 checkpoint_manager.py:2020] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0417 14:02:19.734312 139128982038272 base_pytree_checkpoint_handler.py:1282] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 37.197410s (commit=35.146507s, array_metadata_write=2.050903s)
I0417 14:02:19.735390 139130052323072 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/gbytes_per_sec: 38.587 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 40.936484575271606 s) (per-host)
I0417 14:02:19.735459 139130052323072 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 40.656022s.
I0417 14:02:20.943709 139130052323072 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776434501005976492, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0/_CHECKPOINT_METADATA
I0417 14:02:21.718716 139125235640064 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776434501005976492, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0/_CHECKPOINT_METADATA
I0417 14:02:21.962634 139130052323072 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000247s.
I0417 14:02:22.306059 139130052323072 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389).
I0417 14:02:23.238316 139130052323072 base_pytree_checkpoint_handler.py:1406] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 2.168958s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0/items
I0417 14:02:23.240014 139130052323072 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0/items
I0417 14:02:23.789714 139130052323072 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0
I0417 14:02:25.760290 139130052323072 atomicity.py:847] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0`.
I0417 14:02:25.761166 139130052323072 event_tracking.py:138] [process=0] [async] Finished save (blocking + background) in 47.69 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/0
I0417 14:02:25.762467 139130052323072 async_checkpointer.py:160] [process=0][thread=async_save] Background save thread done. Time taken: 46.683028s.
I0417 14:02:25.762588 139128973645568 async_checkpointer.py:288] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0417 14:02:25.762648 139128973645568 async_checkpointer.py:298] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0417 14:02:25.762711 139128973645568 checkpoint_manager.py:2137] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0417 14:02:25.765816 139128973645568 checkpoint_manager.py:2146] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0417 14:02:25.765988 139257267074880 checkpoint_manager.py:2032] [process=0][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0417 14:02:25.766125 139257267074880 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.446137 seconds. If this number is high, consider checkpointing less frequently.
I0417 14:02:25.767940 139257267074880 checkpoint_manager.py:1512] [process=0] Saving checkpoint at step 9
I0417 14:02:25.769889 139257267074880 event_tracking.py:70] [process=0] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9.
I0417 14:02:26.083292 139257267074880 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0417 14:02:26.083381 139257267074880 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
I0417 14:02:26.109075 139257267074880 base_pytree_checkpoint_handler.py:154] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.026475s
I0417 14:02:26.109849 139257267074880 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/blocking_gbytes_per_sec: 49.994 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.030855417251586914 s) (per-host)
I0417 14:02:26.109915 139257267074880 base_pytree_checkpoint_handler.py:768] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.030947s (batch_requests_ready=0.001790s, total_serialization_initiated=0.028444s, others=0.000713s)
I0417 14:02:26.109985 139257267074880 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.034775s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.034758)
I0417 14:02:26.110654 139257267074880 event_tracking.py:125] [process=0] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9.
I0417 14:02:26.110943 139128973645568 async_checkpointer.py:76] [process=0][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-17 14:22:26.110911
I0417 14:02:26.125160 139257267074880 checkpoint_manager.py:1560] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0417 14:02:26.125476 139127915788032 async_checkpointer.py:280] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0417 14:02:26.125652 139257267074880 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776434523.319955, 'wait_for_prev_duration_secs': 22.446137189865112, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776434545.7679787, 'checkpointer_blocking_duration_secs': 0.3430943489074707, 'get_old_steps_start_time': 1776434546.1110978, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1776434523.3180585, 'checkpoint_manager_blocking_duration_secs': 22.807557106018066}
I0417 14:02:26.125768 139257267074880 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0417 14:02:26.125814 139257267074880 checkpoint_manager.py:2020] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0417 14:02:26.738610 139130052323072 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9
I0417 14:02:28.508335 139129509615360 atomicity.py:140] Creating tmp directory gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9/items
I0417 14:02:32.015290 139127949358848 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_0
I0417 14:03:11.000582 139127924180736 base_pytree_checkpoint_handler.py:1282] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 41.376068s (commit=40.155769s, array_metadata_write=1.220299s)
I0417 14:03:11.001672 139128973645568 base_pytree_checkpoint_handler.py:130] [process=0] /jax/orbax/write/gbytes_per_sec: 35.163 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 44.922659158706665 s) (per-host)
I0417 14:03:11.001797 139128973645568 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 44.890746s.
I0417 14:03:13.258101 139128973645568 ocdbt_utils.py:49] Param validation support for Zarr3 will be added later (b/362328389).
I0417 14:03:13.310031 139128973645568 array_metadata_store.py:411] [process=0][thread=async_save] Validated ArrayMetadata from all 8 hosts. Time taken: 0.000252s.
I0417 14:03:14.217703 139128973645568 base_pytree_checkpoint_handler.py:1406] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 2.343421s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9/items
I0417 14:03:14.219373 139128973645568 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9/items
I0417 14:03:14.823962 139128973645568 atomicity.py:666] Finalizing gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9
I0417 14:03:16.279914 139128973645568 atomicity.py:847] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9`.
I0417 14:03:16.280737 139128973645568 event_tracking.py:138] [process=0] [async] Finished save (blocking + background) in 50.51 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_125726/linen_xpk_main_20260417_125726_11_optimizer_offload_false/checkpoints/9
I0417 14:03:16.282263 139128973645568 async_checkpointer.py:160] [process=0][thread=async_save] Background save thread done. Time taken: 50.171210s.
I0417 14:03:16.282454 139127915788032 async_checkpointer.py:288] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0417 14:03:16.282575 139127915788032 async_checkpointer.py:298] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0417 14:03:16.282639 139127915788032 checkpoint_manager.py:2137] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0417 14:03:16.285340 139127915788032 checkpoint_manager.py:2146] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0417 14:03:16.285531 139257267074880 checkpoint_manager.py:2032] [process=0][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0417 14:03:16.285680 139257267074880 checkpoint_manager.py:2009] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0417 14:03:16.286646 139257267074880 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.153, Tokens/s/device: 13890.302, 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: Fri Apr 17 14:03:27 UTC 2026
EXIT_CODE=0
XPK Start: Fri Apr 17 03:30:42 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-17 03:31:07.275147: 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)
I0417 03:31:07.452695 136554047944512 max_utils.py:273] Attempting to initialize the jax distributed system...
I0417 03:31:16.494760 136554047944512 distributed.py:149] Starting JAX distributed service on [::]:8482
I0417 03:31:16.497505 136554047944512 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-z3i7a-slice-job-0-0.mt-11-optimizer-offload-z3i7a:8482
I0417 03:31:17.318645 136554047944512 max_utils.py:284] Jax distributed system initialized!
I0417 03:31:23.447244 136554047944512 max_utils.py:800] System Information: Jax Version: 0.9.2
I0417 03:31:23.447345 136554047944512 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0417 03:31:23.447385 136554047944512 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
I0417 03:31:23.447419 136554047944512 train_utils.py:377] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0417 03:31:24.127968 136554047944512 maxtext_utils.py:1687] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0417 03:31:24.128539 136554047944512 maxtext_utils.py:1687] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0417 03:31:24.128720 136554047944512 checkpointing.py:688] Setting up checkpoint logger...
I0417 03:31:24.128769 136554047944512 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0417 03:31:24.128811 136554047944512 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0417 03:31:24.129145 136554047944512 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 0x7c316611c500>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0417 03:31:27.483890 136554047944512 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0417 03:31:27.484124 136554047944512 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c1d4c3f87a0>}, handler_registry=None
I0417 03:31:27.484354 136554047944512 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c1d4c3f87a0>` 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`.
I0417 03:31:27.484400 136554047944512 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c1d4c3f8f50>` 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`.
I0417 03:31:27.484434 136554047944512 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 0x7c1d4c3f87a0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c1d4c3f87a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c1d4c3f8f50>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c1d4c3f8f50>}).
I0417 03:31:27.484751 136554047944512 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0417 03:31:27.484833 136554047944512 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c1d4c1887c0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0417 03:31:28.259970 136554047944512 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints
I0417 03:31:28.632111 136554047944512 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_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c1d4c5f2fc0>
I0417 03:31:28.632278 136554047944512 checkpointing.py:302] Checkpoint manager created!
I0417 03:31:29.596263 136554047944512 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0417 03:31:29.596362 136554047944512 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0417 03:31:29.992421 136554047944512 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0417 03:31:29.992519 136554047944512 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0417 03:31:30.008891 136554047944512 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0417 03:31:30.008947 136554047944512 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0417 03:31:30.032509 136554047944512 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0417 03:31:30.032576 136554047944512 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0417 03:31:30.049018 136554047944512 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0417 03:31:30.049078 136554047944512 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0417 03:31:30.065720 136554047944512 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0417 03:31:30.065782 136554047944512 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0417 03:31:30.095469 136554047944512 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0417 03:31:30.095569 136554047944512 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0417 03:31:30.117326 136554047944512 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0417 03:31:30.117393 136554047944512 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0417 03:31:30.332037 136554047944512 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0417 03:31:30.332144 136554047944512 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0417 03:31:31.750077 136554047944512 maxtext_utils.py:1796]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0417 03:31:31.750205 136554047944512 maxtext_utils.py:1796]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0417 03:31:31.750260 136554047944512 maxtext_utils.py:1796]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0417 03:31:31.750318 136554047944512 maxtext_utils.py:1796]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0417 03:31:31.750370 136554047944512 maxtext_utils.py:1796]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0417 03:31:31.750409 136554047944512 maxtext_utils.py:1796]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0417 03:31:31.750461 136554047944512 maxtext_utils.py:1796]  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)
I0417 03:31:31.750514 136554047944512 maxtext_utils.py:1796]  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')
I0417 03:31:31.750555 136554047944512 maxtext_utils.py:1796]  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)
I0417 03:31:31.750591 136554047944512 maxtext_utils.py:1796]  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)
I0417 03:31:31.750639 136554047944512 maxtext_utils.py:1796]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0417 03:31:31.750688 136554047944512 maxtext_utils.py:1796]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0417 03:31:32.241601 136554047944512 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0417 03:31:32.241698 136554047944512 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0417 03:31:32.257414 136554047944512 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0417 03:31:32.257475 136554047944512 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0417 03:31:43.054279 136554047944512 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.
I0417 03:31:43.055033 136554047944512 metric_logger.py:289] number parameters: 1.104 billion
I0417 03:31:54.427754 136554047944512 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0417 03:31:54.581616 136554047944512 checkpointing.py:798] Waited 0.15384626388549805 seconds for step 0 to finish before starting checkpointing.
I0417 03:31:54.584042 136554047944512 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0417 03:31:54.585907 136554047944512 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0417 03:31:54.587268 136554047944512 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints/0.
I0417 03:31:55.330271 136554047944512 signaling_client.py:364] Using JaxDistributedSignalingClient
I0417 03:31:55.331318 136554047944512 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0417 03:31:55.331373 136554047944512 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
I0417 03:31:55.606011 136554047944512 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.275812s
I0417 03:31:55.606182 136554047944512 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.486 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28119325637817383 s) (per-host)
I0417 03:31:55.606236 136554047944512 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.281255s (batch_requests_ready=0.002174s, total_serialization_initiated=0.279011s, others=0.000070s)
I0417 03:31:55.606324 136554047944512 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.285299s (all_items=0.000016s, per_item={'items': '0.00001621'}, temp_paths=0.285283)
I0417 03:31:55.607200 136554047944512 event_tracking.py:125] [process=6] [async] Finished blocking save in 1.02 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints/0.
I0417 03:31:55.607500 136427000575744 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-17 03:51:55.607466
I0417 03:31:55.615710 136554047944512 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0417 03:31:55.615982 136425619449600 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0417 03:31:55.616115 136554047944512 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776396714.584023, 'wait_for_prev_duration_secs': 6.246566772460938e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776396714.5859456, 'checkpointer_blocking_duration_secs': 1.0217175483703613, 'get_old_steps_start_time': 1776396715.6076894, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1776396714.5821383, 'checkpoint_manager_blocking_duration_secs': 1.0339372158050537}
I0417 03:31:55.616222 136554047944512 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0417 03:31:55.616272 136554047944512 max_utils.py:750] 
Memstats: After params initialized:
I0417 03:31:55.616321 136554047944512 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0417 03:31:55.616352 136554047944512 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0417 03:31:55.616377 136554047944512 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0417 03:31:55.616402 136554047944512 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0417 03:31:55.928805 136554047944512 metric_logger.py:185] completed step: 0, seconds: 11.373, TFLOP/s/device: 1.195, Tokens/s/device: 180.082, total_weights: 65536, loss: 10.874
I0417 03:31:56.100806 136554047944512 metric_logger.py:185] completed step: 1, seconds: 1.500, TFLOP/s/device: 9.059, Tokens/s/device: 1365.532, total_weights: 65536, loss: 10.874
I0417 03:31:56.531566 136554047944512 metric_logger.py:185] completed step: 2, seconds: 0.025, TFLOP/s/device: 550.844, Tokens/s/device: 83029.271, total_weights: 65536, loss: 10.262
I0417 03:31:56.678998 136554047944512 metric_logger.py:185] completed step: 3, seconds: 0.431, TFLOP/s/device: 31.552, Tokens/s/device: 4755.834, total_weights: 65536, loss: 9.734
I0417 03:31:56.973981 136554047944512 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.623, Tokens/s/device: 13358.206, total_weights: 65536, loss: 9.277
I0417 03:31:56.979436 136554047944512 metric_logger.py:185] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.246, Tokens/s/device: 13904.259, total_weights: 65536, loss: 8.892
I0417 03:32:00.361414    2821 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0417 03:32:02.375979 136425627842304 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_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints/0/items/array_metadatas/process_6
I0417 03:32:19.338488 136554047944512 metric_logger.py:185] completed step: 6, seconds: 0.295, TFLOP/s/device: 46.024, Tokens/s/device: 6937.270, total_weights: 65536, loss: 8.592
I0417 03:32:19.485715 136554047944512 metric_logger.py:185] completed step: 7, seconds: 22.212, TFLOP/s/device: 0.612, Tokens/s/device: 92.202, total_weights: 65536, loss: 8.384
I0417 03:32:19.633016 136554047944512 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.182, Tokens/s/device: 13442.466, total_weights: 65536, loss: 8.255
I0417 03:32:19.780144 136554047944512 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0417 03:32:19.780721 136554047944512 checkpointing.py:798] Waited 0.0005972385406494141 seconds for step 9 to finish before starting checkpointing.
I0417 03:32:19.782862 136554047944512 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0417 03:32:32.195328 136427000575744 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 42.842 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.87029790878296 s) (per-host)
I0417 03:32:32.195456 136427000575744 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.587836s.
I0417 03:32:42.383612 136427000575744 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 46.775970s.
I0417 03:32:42.383907 136425619449600 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0417 03:32:42.383972 136425619449600 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0417 03:32:42.384020 136425619449600 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0417 03:32:42.385929 136425619449600 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0417 03:32:42.386097 136554047944512 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0417 03:32:42.386256 136554047944512 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.603394 seconds. If this number is high, consider checkpointing less frequently.
I0417 03:32:42.387979 136554047944512 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0417 03:32:42.389902 136554047944512 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints/9.
I0417 03:32:43.097691 136554047944512 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0417 03:32:43.097786 136554047944512 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
I0417 03:32:43.139374 136554047944512 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.042801s
I0417 03:32:43.139542 136554047944512 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 33.383 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04620790481567383 s) (per-host)
I0417 03:32:43.139598 136554047944512 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.046273s (batch_requests_ready=0.001771s, total_serialization_initiated=0.044428s, others=0.000073s)
I0417 03:32:43.139686 136554047944512 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.050244s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.050228)
I0417 03:32:43.140395 136554047944512 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints/9.
I0417 03:32:43.140686 136425619449600 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-17 03:52:43.140654
I0417 03:32:43.142716 136554047944512 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0417 03:32:43.143046 136403681777408 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0417 03:32:43.143212 136554047944512 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776396739.7828176, 'wait_for_prev_duration_secs': 22.603394031524658, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776396762.3880177, 'checkpointer_blocking_duration_secs': 0.7528266906738281, 'get_old_steps_start_time': 1776396763.1408675, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776396739.7809672, 'checkpoint_manager_blocking_duration_secs': 23.36220932006836}
I0417 03:32:43.143329 136554047944512 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0417 03:32:43.143375 136554047944512 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0417 03:32:50.322446 136425627842304 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_post_train_fixes_20260417_023710/linen_xpk_feat_nnx_post_train_fixes_20260417_023710_11_optimizer_offload_false/checkpoints/9/items/array_metadatas/process_6
I0417 03:33:26.760407 136425619449600 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.174 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.66703248023987 s) (per-host)
I0417 03:33:26.760535 136425619449600 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.619735s.
I0417 03:33:34.752276 136425619449600 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.611462s.
I0417 03:33:34.752590 136403681777408 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0417 03:33:34.752715 136403681777408 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0417 03:33:34.752763 136403681777408 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0417 03:33:34.754355 136403681777408 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0417 03:33:34.754515 136554047944512 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0417 03:33:34.754674 136554047944512 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0417 03:33:34.755347 136554047944512 metric_logger.py:185] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.383, Tokens/s/device: 13924.963, 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: Fri Apr 17 03:33:43 UTC 2026
EXIT_CODE=0