MaxView

‹ 03_dropoutCase: 04_int805_fp8 ›

Metrics: main (574ad3fb9) vs feat/nnx-post-train-fixes (574ad3fb9)

Metricmain  574ad3fb9feat/nnx-post-train-fixes  574ad3fb9Diff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.17508.17500
TFLOP/s59.29059.056-0.234
Tok/s8936.98901.5-35.386
Avg s/step3.6063.674+0.068
Memory %1.381.380
JAX0.9.20.9.2

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

main  ·  574ad3fb9  ·  main_20260420_060028  ·  full log
XPK Start: Mon Apr 20 06:10:29 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-20 06:10:53.179083: 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)
I0420 06:10:53.711882 139341872637760 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 06:11:02.752271 139341872637760 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 06:11:02.754640 139341872637760 distributed.py:172] Connecting to JAX distributed service on mt-04-int8-s3hmc-slice-job-0-0.mt-04-int8-s3hmc:8482
I0420 06:11:04.212276 139341872637760 max_utils.py:284] Jax distributed system initialized!
I0420 06:11:10.382898 139341872637760 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 06:11:10.383000 139341872637760 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 06:11:10.383040 139341872637760 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
I0420 06:11:10.383074 139341872637760 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 06:11:11.068904 139341872637760 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 06:11:11.069288 139341872637760 checkpointing.py:677] Setting up checkpoint logger...
I0420 06:11:11.069355 139341872637760 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 06:11:11.069400 139341872637760 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 06:11:11.069736 139341872637760 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 0x7eba7afea6c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 06:11:14.406631 139341872637760 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0420 06:11:14.406860 139341872637760 checkpoint_manager.py:708] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ea68413ee70>}, handler_registry=None
I0420 06:11:14.407094 139341872637760 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ea68413ee70>` 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`.
I0420 06:11:14.407141 139341872637760 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ea6442292b0>` 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`.
I0420 06:11:14.407176 139341872637760 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 0x7ea68413ee70>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ea68413ee70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ea6442292b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ea6442292b0>}).
I0420 06:11:14.407507 139341872637760 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 06:11:14.407582 139341872637760 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7ea5245837e0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 06:11:15.771504 139341872637760 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints
I0420 06:11:15.773730 139341872637760 checkpoint_manager.py:929] [process=4][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_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7ea644477440>
I0420 06:11:15.773840 139341872637760 checkpointing.py:301] Checkpoint manager created!
I0420 06:11:16.911753 139341872637760 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 06:11:16.911866 139341872637760 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:11:17.288491 139341872637760 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:11:17.288582 139341872637760 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:11:17.304770 139341872637760 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 06:11:17.304830 139341872637760 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 06:11:17.370537 139341872637760 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:11:17.370622 139341872637760 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:11:17.387021 139341872637760 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:11:17.387081 139341872637760 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:11:17.403186 139341872637760 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 06:11:17.403241 139341872637760 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:11:17.427483 139341872637760 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 06:11:17.427546 139341872637760 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 06:11:17.493270 139341872637760 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 06:11:17.493358 139341872637760 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 06:11:18.003211 139341872637760 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 06:11:18.003318 139341872637760 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 06:11:20.016225 139341872637760 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 06:11:20.016365 139341872637760 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 06:11:20.016420 139341872637760 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 06:11:20.016477 139341872637760 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0420 06:11:20.016534 139341872637760 maxtext_utils.py:1654]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 06:11:20.016578 139341872637760 maxtext_utils.py:1654]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 06:11:20.016632 139341872637760 maxtext_utils.py:1654]  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)
I0420 06:11:20.016684 139341872637760 maxtext_utils.py:1654]  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')
I0420 06:11:20.016725 139341872637760 maxtext_utils.py:1654]  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)
I0420 06:11:20.016762 139341872637760 maxtext_utils.py:1654]  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)
I0420 06:11:20.016808 139341872637760 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0420 06:11:20.016853 139341872637760 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0420 06:11:21.820974 139341872637760 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:11:21.821072 139341872637760 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:11:21.836486 139341872637760 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 06:11:21.836545 139341872637760 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 06:11:35.197810 139341872637760 max_utils.py:791] Total memory size: 1.8 GB, Output size: 0.4 GB, Temp size: 1.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0420 06:11:35.198616 139341872637760 metric_logger.py:301] number parameters: 1.104 billion
I0420 06:11:50.319031 139341872637760 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0420 06:11:50.558239 139341872637760 checkpointing.py:776] Waited 0.23919248580932617 seconds for step 0 to finish before starting checkpointing.
I0420 06:11:50.564233 139341872637760 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:11:50.565783 139341872637760 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0
I0420 06:11:50.569496 139341872637760 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints/0.
I0420 06:11:50.915031 139341872637760 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 06:11:50.916085 139341872637760 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:11:50.916141 139341872637760 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
I0420 06:11:51.203214 139341872637760 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.288258s
I0420 06:11:51.203402 139341872637760 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.252 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2936890125274658 s) (per-host)
I0420 06:11:51.203458 139341872637760 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.293756s (batch_requests_ready=0.002203s, total_serialization_initiated=0.291478s, others=0.000075s)
I0420 06:11:51.203553 139341872637760 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.298063s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.298045)
I0420 06:11:51.204382 139341872637760 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.64 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints/0.
I0420 06:11:51.204645 139208162293504 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:31:51.204616
I0420 06:11:51.206622 139341872637760 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:11:51.206840 139209282246400 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:11:51.206934 139341872637760 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665510.564214, 'wait_for_prev_duration_secs': 6.437301635742188e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665510.5658221, 'checkpointer_blocking_duration_secs': 0.6389296054840088, 'get_old_steps_start_time': 1776665511.2047763, 'get_old_steps_duration_secs': 3.528594970703125e-05, 'checkpoint_manager_blocking_start_time': 1776665510.5588, 'checkpoint_manager_blocking_duration_secs': 0.6480984687805176}
I0420 06:11:51.207090 139341872637760 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0420 06:11:51.207140 139341872637760 max_utils.py:750] 
Memstats: After params initialized:
I0420 06:11:51.207187 139341872637760 max_utils.py:756] 	Using (GB) 0.44 / 31.25 (1.408000%) on TPU_16(process=4,(0,4,0,0))
I0420 06:11:51.207219 139341872637760 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0420 06:11:51.207245 139341872637760 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0420 06:11:51.207269 139341872637760 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0420 06:11:51.536281 139341872637760 metric_logger.py:196] completed step: 0, seconds: 15.120, TFLOP/s/device: 0.899, Tokens/s/device: 135.447, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52796.277
I0420 06:11:51.774803 139341872637760 metric_logger.py:196] completed step: 1, seconds: 1.216, TFLOP/s/device: 11.176, Tokens/s/device: 1684.528, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52796.277
I0420 06:11:52.189761 139341872637760 metric_logger.py:196] completed step: 2, seconds: 0.009, TFLOP/s/device: 1504.499, Tokens/s/device: 226774.444, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28634.820
I0420 06:11:52.419369 139341872637760 metric_logger.py:196] completed step: 3, seconds: 0.416, TFLOP/s/device: 32.661, Tokens/s/device: 4922.947, total_weights: 65536, loss: 9.731, lm_loss: 9.731, perplexity: 16827.199
I0420 06:11:52.879920 139341872637760 metric_logger.py:196] completed step: 4, seconds: 0.235, TFLOP/s/device: 57.875, Tokens/s/device: 8723.580, total_weights: 65536, loss: 9.272, lm_loss: 9.272, perplexity: 10638.531
I0420 06:11:52.885873 139341872637760 metric_logger.py:196] completed step: 5, seconds: 0.229, TFLOP/s/device: 59.212, Tokens/s/device: 8925.070, total_weights: 65536, loss: 8.887, lm_loss: 8.887, perplexity: 7233.941
I0420 06:11:54.362723    2950 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 06:11:56.871751 139208693069568 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints/0/items/array_metadatas/process_4
I0420 06:12:22.537898 139341872637760 metric_logger.py:196] completed step: 6, seconds: 0.461, TFLOP/s/device: 29.483, Tokens/s/device: 4443.953, total_weights: 65536, loss: 8.588, lm_loss: 8.588, perplexity: 5365.468
I0420 06:12:22.767249 139341872637760 metric_logger.py:196] completed step: 7, seconds: 29.424, TFLOP/s/device: 0.462, Tokens/s/device: 69.603, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4358.779
I0420 06:12:22.996757 139341872637760 metric_logger.py:196] completed step: 8, seconds: 0.234, TFLOP/s/device: 58.115, Tokens/s/device: 8759.661, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.453
I0420 06:12:23.225599 139341872637760 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0420 06:12:23.226294 139341872637760 checkpointing.py:776] Waited 0.0007171630859375 seconds for step 9 to finish before starting checkpointing.
I0420 06:12:23.228499 139341872637760 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:12:24.565229 139208162293504 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 46.934 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 33.655495405197144 s) (per-host)
I0420 06:12:24.565348 139208162293504 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 33.360614s.
I0420 06:12:33.172482 139208162293504 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 41.967742s.
I0420 06:12:33.172706 139209282246400 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:12:33.172773 139209282246400 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:12:33.172822 139209282246400 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:12:33.174700 139209282246400 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 06:12:33.174857 139341872637760 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 06:12:33.174991 139341872637760 checkpoint_manager.py:1452] Waiting for previous save to complete took 9.946491 seconds. If this number is high, consider checkpointing less frequently.
I0420 06:12:33.176856 139341872637760 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9
I0420 06:12:33.179001 139341872637760 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints/9.
I0420 06:12:33.462944 139341872637760 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 06:12:33.463035 139341872637760 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
I0420 06:12:33.494695 139341872637760 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.033660s
I0420 06:12:33.494866 139341872637760 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 41.604 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03707766532897949 s) (per-host)
I0420 06:12:33.494919 139341872637760 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.037141s (batch_requests_ready=0.001764s, total_serialization_initiated=0.035306s, others=0.000071s)
I0420 06:12:33.495010 139341872637760 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.041377s (all_items=0.000016s, per_item={'items': '0.00001574'}, temp_paths=0.041361)
I0420 06:12:33.495620 139341872637760 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.32 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints/9.
I0420 06:12:33.495931 139209260123904 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 06:32:33.495892
I0420 06:12:33.499048 139341872637760 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 06:12:33.499313 139209282246400 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0420 06:12:33.499481 139341872637760 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776665543.2284691, 'wait_for_prev_duration_secs': 9.946491479873657, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776665553.176895, 'checkpointer_blocking_duration_secs': 0.31917881965637207, 'get_old_steps_start_time': 1776665553.4960935, 'get_old_steps_duration_secs': 2.765655517578125e-05, 'checkpoint_manager_blocking_start_time': 1776665543.2265308, 'checkpoint_manager_blocking_duration_secs': 10.2729172706604}
I0420 06:12:33.499598 139341872637760 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0420 06:12:33.499642 139341872637760 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 06:12:38.542168 139185784551168 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260420_060028/linen_xpk_main_20260420_060028_04_int8/checkpoints/9/items/array_metadatas/process_4
I0420 06:13:15.516994 139209260123904 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.557 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.05916357040405 s) (per-host)
I0420 06:13:15.517115 139209260123904 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.021070s.
I0420 06:13:24.296513 139209260123904 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 50.800446s.
I0420 06:13:24.296830 139209282246400 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 06:13:24.296957 139209282246400 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0420 06:13:24.297005 139209282246400 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 06:13:24.298881 139209282246400 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 06:13:24.299046 139341872637760 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 06:13:24.299190 139341872637760 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 06:13:24.300184 139341872637760 metric_logger.py:196] completed step: 9, seconds: 0.229, TFLOP/s/device: 59.290, Tokens/s/device: 8936.909, total_weights: 65536, loss: 8.175, lm_loss: 8.175, perplexity: 3552.333
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Mon Apr 20 06:13:36 UTC 2026
EXIT_CODE=0
XPK Start: Mon Apr 20 15:48:43 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-20 15:49:07.415468: 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)
I0420 15:49:07.593057 131960965498688 max_utils.py:273] Attempting to initialize the jax distributed system...
I0420 15:49:16.632573 131960965498688 distributed.py:149] Starting JAX distributed service on [::]:8482
I0420 15:49:16.635345 131960965498688 distributed.py:172] Connecting to JAX distributed service on mt-04-int8-2ugmo-slice-job-0-0.mt-04-int8-2ugmo:8482
I0420 15:49:18.068390 131960965498688 max_utils.py:284] Jax distributed system initialized!
I0420 15:49:23.173704 131960965498688 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 15:49:23.173812 131960965498688 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 15:49:23.173851 131960965498688 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
I0420 15:49:23.173885 131960965498688 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0420 15:49:23.868773 131960965498688 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 15:49:23.869361 131960965498688 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 15:49:23.869665 131960965498688 checkpointing.py:688] Setting up checkpoint logger...
I0420 15:49:23.869725 131960965498688 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 15:49:23.869767 131960965498688 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0420 15:49:23.870091 131960965498688 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 0x7803d6a4c170>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 15:49:26.892600 131960965498688 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0420 15:49:26.892836 131960965498688 checkpoint_manager.py:708] [process=2][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x77f048204860>}, handler_registry=None
I0420 15:49:26.893076 131960965498688 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x77f048204860>` 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`.
I0420 15:49:26.893124 131960965498688 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x77f048206600>` 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`.
I0420 15:49:26.893159 131960965498688 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 0x77f048204860>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x77f048204860>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x77f048206600>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x77f048206600>}).
I0420 15:49:26.893477 131960965498688 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0420 15:49:26.893560 131960965498688 async_checkpointer.py:192] [process=2][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x77ef184ff740> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0420 15:49:28.498111 131960965498688 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints
I0420 15:49:28.519546 131960965498688 checkpoint_manager.py:929] [process=2][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_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x77f0482049e0>
I0420 15:49:28.519683 131960965498688 checkpointing.py:302] Checkpoint manager created!
I0420 15:49:29.680187 131960965498688 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 15:49:29.680296 131960965498688 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 15:49:30.070130 131960965498688 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 15:49:30.070221 131960965498688 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 15:49:30.086576 131960965498688 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 15:49:30.086634 131960965498688 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0420 15:49:30.151783 131960965498688 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 15:49:30.151867 131960965498688 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 15:49:30.168229 131960965498688 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 15:49:30.168292 131960965498688 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 15:49:30.184450 131960965498688 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 15:49:30.184512 131960965498688 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 15:49:30.209477 131960965498688 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 15:49:30.209559 131960965498688 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0420 15:49:30.275290 131960965498688 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 15:49:30.275374 131960965498688 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0420 15:49:30.789071 131960965498688 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 15:49:30.789181 131960965498688 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0420 15:49:33.254778 131960965498688 maxtext_utils.py:1827]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 15:49:33.254902 131960965498688 maxtext_utils.py:1827]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 15:49:33.254955 131960965498688 maxtext_utils.py:1827]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 15:49:33.255014 131960965498688 maxtext_utils.py:1827]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0420 15:49:33.255091 131960965498688 maxtext_utils.py:1827]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 15:49:33.255141 131960965498688 maxtext_utils.py:1827]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 15:49:33.255204 131960965498688 maxtext_utils.py:1827]  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)
I0420 15:49:33.255269 131960965498688 maxtext_utils.py:1827]  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')
I0420 15:49:33.255310 131960965498688 maxtext_utils.py:1827]  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)
I0420 15:49:33.255346 131960965498688 maxtext_utils.py:1827]  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)
I0420 15:49:33.255393 131960965498688 maxtext_utils.py:1827]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0420 15:49:33.255440 131960965498688 maxtext_utils.py:1827]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0420 15:49:34.650363 131960965498688 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 15:49:34.650461 131960965498688 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 15:49:34.665980 131960965498688 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0420 15:49:34.666048 131960965498688 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0420 15:49:47.929028 131960965498688 max_utils.py:791] Total memory size: 1.8 GB, Output size: 0.4 GB, Temp size: 1.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0420 15:49:47.929844 131960965498688 metric_logger.py:301] number parameters: 1.104 billion
I0420 15:50:03.166550 131960965498688 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0420 15:50:03.410194 131960965498688 checkpointing.py:798] Waited 0.24364686012268066 seconds for step 0 to finish before starting checkpointing.
I0420 15:50:03.412655 131960965498688 checkpoint_manager.py:2009] [process=2][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 15:50:03.414615 131960965498688 checkpoint_manager.py:1512] [process=2] Saving checkpoint at step 0
I0420 15:50:03.416011 131960965498688 event_tracking.py:70] [process=2] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints/0.
I0420 15:50:04.149735 131960965498688 signaling_client.py:364] Using JaxDistributedSignalingClient
I0420 15:50:04.150701 131960965498688 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 15:50:04.150761 131960965498688 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
I0420 15:50:04.437921 131960965498688 base_pytree_checkpoint_handler.py:154] [process=2][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.288258s
I0420 15:50:04.438106 131960965498688 base_pytree_checkpoint_handler.py:130] [process=2] /jax/orbax/write/blocking_gbytes_per_sec: 5.247 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.29396986961364746 s) (per-host)
I0420 15:50:04.438161 131960965498688 base_pytree_checkpoint_handler.py:768] [process=2][thread=MainThread] Initiated Pytree async_save. Time taken: 0.294035s (batch_requests_ready=0.002182s, total_serialization_initiated=0.291780s, others=0.000073s)
I0420 15:50:04.438254 131960965498688 composite_checkpoint_handler.py:715] [process=2][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.298509s (all_items=0.000018s, per_item={'items': '0.00001788'}, temp_paths=0.298491)
I0420 15:50:04.439032 131960965498688 event_tracking.py:125] [process=2] [async] Finished blocking save in 1.02 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints/0.
I0420 15:50:04.439348 131830905132800 async_checkpointer.py:76] [process=2][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 16:10:04.439310
I0420 15:50:04.441373 131960965498688 checkpoint_manager.py:1560] [process=2][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 15:50:04.441679 131828744693504 async_checkpointer.py:280] [process=2][thread=save_finalize] Waiting for background save thread=async_save.
I0420 15:50:04.441838 131960965498688 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776700203.412637, 'wait_for_prev_duration_secs': 6.4849853515625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776700203.414654, 'checkpointer_blocking_duration_secs': 1.0248496532440186, 'get_old_steps_start_time': 1776700204.4395425, 'get_old_steps_duration_secs': 3.933906555175781e-05, 'checkpoint_manager_blocking_start_time': 1776700203.4107168, 'checkpoint_manager_blocking_duration_secs': 1.031080961227417}
I0420 15:50:04.441948 131960965498688 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0420 15:50:04.441996 131960965498688 max_utils.py:750] 
Memstats: After params initialized:
I0420 15:50:04.442046 131960965498688 max_utils.py:756] 	Using (GB) 0.44 / 31.25 (1.408000%) on TPU_8(process=2,(0,2,0,0))
I0420 15:50:04.442079 131960965498688 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_9(process=2,(1,2,0,0))
I0420 15:50:04.442106 131960965498688 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_12(process=2,(0,3,0,0))
I0420 15:50:04.442129 131960965498688 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_13(process=2,(1,3,0,0))
I0420 15:50:04.751501 131960965498688 metric_logger.py:196] completed step: 0, seconds: 15.237, TFLOP/s/device: 0.892, Tokens/s/device: 134.414, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52796.277
I0420 15:50:05.021352 131960965498688 metric_logger.py:196] completed step: 1, seconds: 1.583, TFLOP/s/device: 8.581, Tokens/s/device: 1293.409, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52796.277
I0420 15:50:05.429816 131960965498688 metric_logger.py:196] completed step: 2, seconds: 0.041, TFLOP/s/device: 331.920, Tokens/s/device: 50030.536, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28634.820
I0420 15:50:05.659312 131960965498688 metric_logger.py:196] completed step: 3, seconds: 0.408, TFLOP/s/device: 33.263, Tokens/s/device: 5013.722, total_weights: 65536, loss: 9.731, lm_loss: 9.731, perplexity: 16827.199
I0420 15:50:06.118723 131960965498688 metric_logger.py:196] completed step: 4, seconds: 0.235, TFLOP/s/device: 57.749, Tokens/s/device: 8704.596, total_weights: 65536, loss: 9.272, lm_loss: 9.272, perplexity: 10638.531
I0420 15:50:06.124939 131960965498688 metric_logger.py:196] completed step: 5, seconds: 0.229, TFLOP/s/device: 59.209, Tokens/s/device: 8924.681, total_weights: 65536, loss: 8.887, lm_loss: 8.887, perplexity: 7233.941
I0420 15:50:13.035472    2902 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0420 15:50:15.446384 131828786657024 array_metadata_store.py:203] [process=2][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints/0/items/array_metadatas/process_2
I0420 15:50:35.994618 131960965498688 metric_logger.py:196] completed step: 6, seconds: 0.460, TFLOP/s/device: 29.548, Tokens/s/device: 4453.868, total_weights: 65536, loss: 8.588, lm_loss: 8.588, perplexity: 5365.468
I0420 15:50:36.224587 131960965498688 metric_logger.py:196] completed step: 7, seconds: 29.642, TFLOP/s/device: 0.458, Tokens/s/device: 69.092, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4358.779
I0420 15:50:36.455492 131960965498688 metric_logger.py:196] completed step: 8, seconds: 0.234, TFLOP/s/device: 58.105, Tokens/s/device: 8758.200, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.453
I0420 15:50:36.684340 131960965498688 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0420 15:50:36.685034 131960965498688 checkpointing.py:798] Waited 0.0007147789001464844 seconds for step 9 to finish before starting checkpointing.
I0420 15:50:36.687137 131960965498688 checkpoint_manager.py:2020] [process=2][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 15:50:44.220617 131830905132800 base_pytree_checkpoint_handler.py:130] [process=2] /jax/orbax/write/gbytes_per_sec: 39.415 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 40.07644081115723 s) (per-host)
I0420 15:50:44.220739 131830905132800 async_checkpointer.py:90] [process=2][thread=async_save] 3 Handler Commit operations completed. Time taken: 39.781280s.
I0420 15:50:51.981571 131830905132800 async_checkpointer.py:160] [process=2][thread=async_save] Background save thread done. Time taken: 47.542096s.
I0420 15:50:51.981883 131828744693504 async_checkpointer.py:288] [process=2][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 15:50:51.982024 131828744693504 async_checkpointer.py:298] [process=2][thread=save_finalize] No errors found in background save thread=async_save.
I0420 15:50:51.982091 131828744693504 checkpoint_manager.py:2137] [process=2][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 15:50:51.984553 131828744693504 checkpoint_manager.py:2146] [process=2][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 15:50:51.984732 131960965498688 checkpoint_manager.py:2032] [process=2][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0420 15:50:51.984874 131960965498688 checkpoint_manager.py:1452] Waiting for previous save to complete took 15.297731 seconds. If this number is high, consider checkpointing less frequently.
I0420 15:50:51.986700 131960965498688 checkpoint_manager.py:1512] [process=2] Saving checkpoint at step 9
I0420 15:50:51.988928 131960965498688 event_tracking.py:70] [process=2] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints/9.
I0420 15:50:52.729727 131960965498688 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0420 15:50:52.729818 131960965498688 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
I0420 15:50:52.763177 131960965498688 base_pytree_checkpoint_handler.py:154] [process=2][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034534s
I0420 15:50:52.763314 131960965498688 base_pytree_checkpoint_handler.py:130] [process=2] /jax/orbax/write/blocking_gbytes_per_sec: 40.656 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.037941932678222656 s) (per-host)
I0420 15:50:52.763361 131960965498688 base_pytree_checkpoint_handler.py:768] [process=2][thread=MainThread] Initiated Pytree async_save. Time taken: 0.037998s (batch_requests_ready=0.001774s, total_serialization_initiated=0.036161s, others=0.000063s)
I0420 15:50:52.763442 131960965498688 composite_checkpoint_handler.py:715] [process=2][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042169s (all_items=0.000015s, per_item={'items': '0.00001526'}, temp_paths=0.042153)
I0420 15:50:52.764212 131960965498688 event_tracking.py:125] [process=2] [async] Finished blocking save in 0.78 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints/9.
I0420 15:50:52.764508 131828744693504 async_checkpointer.py:76] [process=2][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-20 16:10:52.764476
I0420 15:50:52.766432 131960965498688 checkpoint_manager.py:1560] [process=2][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 15:50:52.766706 131828786657024 async_checkpointer.py:280] [process=2][thread=save_finalize] Waiting for background save thread=async_save.
I0420 15:50:52.766842 131960965498688 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776700236.6871064, 'wait_for_prev_duration_secs': 15.297730684280396, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776700251.9867408, 'checkpointer_blocking_duration_secs': 0.7779183387756348, 'get_old_steps_start_time': 1776700252.7646828, 'get_old_steps_duration_secs': 3.170967102050781e-05, 'checkpoint_manager_blocking_start_time': 1776700236.6852584, 'checkpoint_manager_blocking_duration_secs': 16.08155083656311}
I0420 15:50:52.767003 131960965498688 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0420 15:50:52.767048 131960965498688 checkpoint_manager.py:2020] [process=2][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 15:50:58.414455 131805197829888 array_metadata_store.py:203] [process=2][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260420_153543/linen_xpk_feat_nnx_post_train_fixes_20260420_153543_04_int8/checkpoints/9/items/array_metadatas/process_2
I0420 15:51:35.045594 131828744693504 base_pytree_checkpoint_handler.py:130] [process=2] /jax/orbax/write/gbytes_per_sec: 37.325 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.3201789855957 s) (per-host)
I0420 15:51:35.045720 131828744693504 async_checkpointer.py:90] [process=2][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.281087s.
I0420 15:51:45.164677 131828744693504 async_checkpointer.py:160] [process=2][thread=async_save] Background save thread done. Time taken: 52.400029s.
I0420 15:51:45.164971 131828786657024 async_checkpointer.py:288] [process=2][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 15:51:45.165106 131828786657024 async_checkpointer.py:298] [process=2][thread=save_finalize] No errors found in background save thread=async_save.
I0420 15:51:45.165157 131828786657024 checkpoint_manager.py:2137] [process=2][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 15:51:45.167230 131828786657024 checkpoint_manager.py:2146] [process=2][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 15:51:45.167410 131960965498688 checkpoint_manager.py:2032] [process=2][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0420 15:51:45.167570 131960965498688 checkpoint_manager.py:2009] [process=2][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 15:51:45.168587 131960965498688 metric_logger.py:196] completed step: 9, seconds: 0.230, TFLOP/s/device: 59.056, Tokens/s/device: 8901.523, total_weights: 65536, loss: 8.175, lm_loss: 8.175, perplexity: 3552.333
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Mon Apr 20 15:51:53 UTC 2026
EXIT_CODE=0