MaxView

‹ 06_grad_accumCase: 07_eval08_checkpoint_async_true_resume ›

Metrics: main (0ba93e21a) vs feat/nnx-post-train-fixes (d8cde296b)

Metricmain  0ba93e21afeat/nnx-post-train-fixes  d8cde296bDiff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.71008.71000
TFLOP/s115.185115.919+0.734
Tok/s17362.017472.6+110.649
Avg s/step3.1612.851-0.31
Memory %5.095.090
JAX0.9.20.9.2

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

main  ·  0ba93e21a  ·  main_20260416_123638  ·  full log
2026-04-16 12:53:07.596613: 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)
I0416 12:53:07.713593 136291960372352 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag.
I0416 12:54:07.744246 136291960372352 max_utils.py:800] System Information: Jax Version: 0.9.2
I0416 12:54:07.744350 136291960372352 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0416 12:54:07.744387 136291960372352 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Apr 6 2026 20:48:10 (1775533690) cl/895581894
I0416 12:54:07.744416 136291960372352 train_utils.py:334] WARNING: 'dataset_path' might be pointing your local file system
I0416 12:54:07.744500 136291960372352 train.py:683] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper.
W0416 12:54:07.838490 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 12:54:08.237994 136291960372352 maxtext_utils.py:1517] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0416 12:54:08.238329 136291960372352 checkpointing.py:677] Setting up checkpoint logger...
I0416 12:54:08.238374 136291960372352 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0416 12:54:08.238415 136291960372352 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None
I0416 12:54:08.238950 136291960372352 base_pytree_checkpoint_handler.py:411] 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 0x7bf45affc710>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0416 12:54:10.621419 136291960372352 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0416 12:54:10.621593 136291960372352 checkpoint_manager.py:702] [process=0][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7beddf500cb0>}, handler_registry=None
I0416 12:54:10.621837 136291960372352 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7beddf500cb0>` 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`.
I0416 12:54:10.621876 136291960372352 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bedded36270>` 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`.
I0416 12:54:10.621913 136291960372352 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 0x7beddf500cb0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7beddf500cb0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bedded36270>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7bedded36270>}).
I0416 12:54:10.622216 136291960372352 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28
I0416 12:54:10.622267 136291960372352 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x7bedded3cf40> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0416 12:54:10.732565 136291960372352 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints
I0416 12:54:10.732797 136291960372352 checkpoint_manager.py:921] [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_hns=False, 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), root_directory=gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7bedded36060>
I0416 12:54:10.732875 136291960372352 checkpointing.py:301] Checkpoint manager created!
I0416 12:54:10.811965 136291960372352 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0416 12:54:10.814877 136291960372352 reader.py:262] Creating a tf.data.Dataset reading 8 files located in folders: tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0.
I0416 12:54:10.871936 136291960372352 logging_logger.py:49] Constructing tf.data.Dataset __local_c4_builder for split train, from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0416 12:54:10.905271 136291960372352 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0416 12:54:10.905347 136291960372352 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0416 12:54:11.447924 136291960372352 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0416 12:54:11.449548 136291960372352 reader.py:262] Creating a tf.data.Dataset reading 2 files located in folders: tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0.
I0416 12:54:11.465507 136291960372352 logging_logger.py:49] Constructing tf.data.Dataset __local_c4_builder for split validation, from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0416 12:54:11.468095 136291960372352 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0416 12:54:11.468145 136291960372352 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0416 12:54:12.168446 136291960372352 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0416 12:54:12.168542 136291960372352 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0416 12:54:12.270495 136291960372352 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0416 12:54:12.270573 136291960372352 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0416 12:54:12.285470 136291960372352 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0416 12:54:12.285517 136291960372352 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0416 12:54:12.307025 136291960372352 attentions.py:1154] attentions/query Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0416 12:54:12.307093 136291960372352 attentions.py:1154] attentions/query Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0416 12:54:12.322825 136291960372352 attentions.py:1155] attentions/key Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0416 12:54:12.322893 136291960372352 attentions.py:1155] attentions/key Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0416 12:54:12.337950 136291960372352 attentions.py:1156] attentions/value Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0416 12:54:12.337999 136291960372352 attentions.py:1156] attentions/value Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0416 12:54:12.361129 136291960372352 attentions.py:1197] attentions/out Logical: bfloat16[8,2048,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0416 12:54:12.361183 136291960372352 attentions.py:1197] attentions/out Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0416 12:54:12.380130 136291960372352 linears.py:525] linears/x Logical: bfloat16[8,2048,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0416 12:54:12.380182 136291960372352 linears.py:525] linears/x Physical: bfloat16[8,2048,7168]....................................... ('fsdp', None, None).
I0416 12:54:12.568001 136291960372352 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0416 12:54:12.568177 136291960372352 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
W0416 12:54:12.619021 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
[DECOUPLED NO-OP] gcs_storage: using stubs.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] workload_monitor: using stub.
[DECOUPLED NO-OP] vertex_tensorboard: using stub.
fsdp: 8
I0416 12:54:13.016008 136291960372352 maxtext_utils.py:1620]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0416 12:54:13.016129 136291960372352 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0416 12:54:13.016171 136291960372352 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0416 12:54:13.016215 136291960372352 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0416 12:54:13.016256 136291960372352 maxtext_utils.py:1620]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0416 12:54:13.016285 136291960372352 maxtext_utils.py:1620]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0416 12:54:13.016324 136291960372352 maxtext_utils.py:1620]  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)
I0416 12:54:13.016362 136291960372352 maxtext_utils.py:1620]  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')
I0416 12:54:13.016390 136291960372352 maxtext_utils.py:1620]  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)
I0416 12:54:13.016417 136291960372352 maxtext_utils.py:1620]  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)
I0416 12:54:13.016453 136291960372352 maxtext_utils.py:1620]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0416 12:54:13.016487 136291960372352 maxtext_utils.py:1620]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0416 12:54:13.447659 136291960372352 train.py:155] train/xent Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0416 12:54:13.447740 136291960372352 train.py:155] train/xent Physical: float32[8,2048]............................................. ('fsdp', None).
I0416 12:54:13.462983 136291960372352 train.py:162] train/z_loss Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0416 12:54:13.463033 136291960372352 train.py:162] train/z_loss Physical: float32[8,2048]............................................. ('fsdp', None).
W0416 12:54:13.732859 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 12:54:13.851835 136291960372352 max_utils.py:791] Total memory size: 3.6 GB, Output size: 1.5 GB, Temp size: 2.0 GB, Argument size: 1.5 GB, Host temp size: 0.0 GB.
I0416 12:54:13.852338 136291960372352 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter.
I0416 12:54:13.852477 136291960372352 metric_logger.py:289] number parameters: 1.104 billion
W0416 12:54:16.878994 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 12:54:17.010449 136291960372352 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0416 12:54:17.130783 136291960372352 checkpointing.py:776] Waited 0.12032127380371094 seconds for step 0 to finish before starting checkpointing.
I0416 12:54:17.131215 136291960372352 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0416 12:54:17.131367 136291960372352 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0
I0416 12:54:17.131739 136291960372352 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0.
I0416 12:54:17.223378 136291960372352 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient
I0416 12:54:17.316933 136176897885760 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0
I0416 12:54:17.321694 136291960372352 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0416 12:54:17.321783 136291960372352 replica_slices.py:410] 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
W0416 12:54:17.538924 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 12:54:17.555880 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 12:54:17.569929 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 12:54:17.586432 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 12:54:17.592947 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 12:54:17.599027 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 12:54:17.603804 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 12:54:17.608446 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 12:54:18.032447 136291960372352 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.711162s
I0416 12:54:18.033012 136291960372352 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 15.268 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 808 milliseconds) (per-host)
I0416 12:54:18.033185 136291960372352 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.808577s (batch_requests_ready=0.093381s, total_serialization_initiated=0.714699s, others=0.000496s)
I0416 12:54:18.033308 136291960372352 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.809479s (all_items=0.000019s, per_item={'items': '0.00001931'}, temp_paths=0.809459)
I0416 12:54:18.034114 136176830776896 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0416 12:54:18.034208 136291960372352 async_checkpointer.py:561] Finished blocking save. Time taken: 0.902801s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0.
I0416 12:54:18.034396 136291960372352 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0416 12:54:18.034617 136291960372352 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776344057.131204, 'wait_for_prev_duration_secs': 4.124641418457031e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776344057.1313887, 'checkpointer_blocking_duration_secs': 0.9029321670532227, 'get_old_steps_start_time': 1776344058.0343409, 'get_old_steps_duration_secs': 2.1457672119140625e-05, 'checkpoint_manager_blocking_start_time': 1776344057.131122, 'checkpoint_manager_blocking_duration_secs': 0.9034640789031982}
I0416 12:54:18.034692 136291960372352 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0416 12:54:18.034733 136291960372352 max_utils.py:750] 
Memstats: After params initialized:
I0416 12:54:18.034834 136291960372352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_0(process=0,(0,0,0,0))
I0416 12:54:18.034863 136291960372352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_1(process=0,(1,0,0,0))
I0416 12:54:18.034884 136291960372352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_2(process=0,(0,1,0,0))
I0416 12:54:18.034905 136291960372352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_3(process=0,(1,1,0,0))
I0416 12:54:18.034924 136291960372352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_4(process=0,(0,2,0,0))
I0416 12:54:18.034941 136291960372352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_5(process=0,(1,2,0,0))
I0416 12:54:18.034960 136291960372352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_6(process=0,(0,3,0,0))
I0416 12:54:18.034978 136291960372352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_7(process=0,(1,3,0,0))
W0416 12:54:18.041076 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 12:54:18.046470 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 12:54:18.052512 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 12:54:18.060961 136176887400000 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0/items
I0416 12:54:18.223093 136176851748416 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776344057976728704, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776344057976728704, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0416 12:54:18.223287 136176820291136 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0416 12:54:18.376133 136291960372352 metric_logger.py:185] completed step: 0, seconds: 3.158, TFLOP/s/device: 4.303, Tokens/s/device: 648.613, total_weights: 13328, loss: 10.828
I0416 12:54:18.377016 136291960372352 metric_logger.py:269] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/tensorboard/'
I0416 12:54:18.492397 136291960372352 metric_logger.py:185] completed step: 1, seconds: 1.364, TFLOP/s/device: 9.963, Tokens/s/device: 1501.737, total_weights: 12332, loss: 10.828
I0416 12:54:18.609889 136291960372352 metric_logger.py:185] completed step: 2, seconds: 0.009, TFLOP/s/device: 1435.210, Tokens/s/device: 216330.411, total_weights: 15161, loss: 9.823
I0416 12:54:18.714434 3840505 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json
I0416 12:54:18.714485 3840505 google_auth_provider.cc:156] Using OAuth2 AuthProvider
I0416 12:54:19.584899 136176876914240 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0/items/array_metadatas/process_0
W0416 12:54:25.524892 3837347 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 12:54:25.597481 136291960372352 train.py:600] Completed eval step 0
I0416 12:54:25.638545 136291960372352 train.py:600] Completed eval step 1
I0416 12:54:25.643275 136291960372352 metric_logger.py:204] eval metrics after step: 4, loss=8.979, total_weights=26703.0
I0416 12:54:25.643634 136291960372352 metric_logger.py:185] completed step: 3, seconds: 0.117, TFLOP/s/device: 116.363, Tokens/s/device: 17539.502, total_weights: 13327, loss: 9.405
I0416 12:54:39.165117 136176897885760 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 20.448035s (commit=20.032513s, array_metadata_write=0.415522s)
I0416 12:54:39.166335 136176830776896 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 575.926 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 21 seconds) (per-host)
I0416 12:54:39.166454 136176830776896 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 21.132196s.
I0416 12:54:39.407784 136176830776896 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776344057976728704, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0416 12:54:39.586186 136176830776896 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0416 12:54:39.778425 136176851748416 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776344057976728704, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0416 12:54:39.975426 136176830776896 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0416 12:54:39.975603 136176830776896 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.527676s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0/items
I0416 12:54:39.976275 136176830776896 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0/items
I0416 12:54:40.207633 136176830776896 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0
I0416 12:54:40.858034 136176830776896 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0`.
I0416 12:54:40.858685 136176830776896 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 23.727284s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/0
I0416 12:54:40.858777 136176830776896 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 22.824523s.
I0416 12:54:40.858963 136176820291136 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0416 12:54:40.859079 136176820291136 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0416 12:54:40.859152 136176820291136 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0416 12:54:40.859201 136176820291136 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0416 12:54:45.205259 136291960372352 metric_logger.py:185] completed step: 4, seconds: 0.118, TFLOP/s/device: 115.616, Tokens/s/device: 17426.969, total_weights: 11939, loss: 9.045
I0416 12:54:45.214098 136291960372352 metric_logger.py:185] completed step: 5, seconds: 7.033, TFLOP/s/device: 1.932, Tokens/s/device: 291.192, total_weights: 15502, loss: 8.953
I0416 12:54:45.331126 136291960372352 metric_logger.py:185] completed step: 6, seconds: 19.562, TFLOP/s/device: 0.695, Tokens/s/device: 104.692, total_weights: 13864, loss: 8.775
I0416 12:54:45.448927 136291960372352 metric_logger.py:185] completed step: 7, seconds: 0.006, TFLOP/s/device: 2308.773, Tokens/s/device: 348003.398, total_weights: 12988, loss: 8.688
I0416 12:54:46.105970 136291960372352 train.py:600] Completed eval step 0
I0416 12:54:46.145385 136291960372352 train.py:600] Completed eval step 1
I0416 12:54:46.147965 136291960372352 metric_logger.py:204] eval metrics after step: 9, loss=8.653, total_weights=26703.0
I0416 12:54:46.148259 136291960372352 metric_logger.py:185] completed step: 8, seconds: 0.118, TFLOP/s/device: 115.376, Tokens/s/device: 17390.714, total_weights: 13820, loss: 8.740
I0416 12:54:46.150072 136291960372352 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0416 12:54:46.150640 136291960372352 checkpointing.py:776] Waited 0.00057220458984375 seconds for step 9 to finish before starting checkpointing.
I0416 12:54:46.150867 136291960372352 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0416 12:54:46.151028 136291960372352 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 9
I0416 12:54:46.151300 136291960372352 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9.
I0416 12:54:46.328935 136176140813888 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9
I0416 12:54:46.344502 136291960372352 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0416 12:54:46.344596 136291960372352 replica_slices.py:410] 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
I0416 12:54:47.062621 136176130328128 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9/items
I0416 12:54:57.839153 136291960372352 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 11.495032s
I0416 12:54:57.839634 136291960372352 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 1.064 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 11 seconds) (per-host)
I0416 12:54:57.839695 136291960372352 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 11.599730s (batch_requests_ready=0.101240s, total_serialization_initiated=11.498191s, others=0.000299s)
I0416 12:54:57.839776 136291960372352 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 11.600526s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=11.600508)
I0416 12:54:57.846913 136176151299648 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0416 12:54:57.847072 136291960372352 async_checkpointer.py:561] Finished blocking save. Time taken: 11.695966s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9.
I0416 12:54:57.847334 136291960372352 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0416 12:54:57.847677 136176088385088 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0416 12:54:57.847795 136291960372352 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776344086.1508362, 'wait_for_prev_duration_secs': 5.626678466796875e-05, 'time_between_consecutive_saves_sec': 5.291620969772339, 'checkpointer_blocking_start_time': 1776344086.1510618, 'checkpointer_blocking_duration_secs': 11.696110725402832, 'get_old_steps_start_time': 1776344097.8471985, 'get_old_steps_duration_secs': 7.295608520507812e-05, 'checkpoint_manager_blocking_start_time': 1776344086.1508038, 'checkpoint_manager_blocking_duration_secs': 11.696964502334595}
I0416 12:54:57.847924 136291960372352 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0416 12:54:57.847962 136291960372352 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0416 12:54:58.583573 136176109356608 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9/items/array_metadatas/process_0
I0416 12:55:24.169447 136176119842368 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 26.329125s (commit=25.879040s, array_metadata_write=0.450084s)
I0416 12:55:24.170415 136176151299648 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 333.157 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 37 seconds) (per-host)
I0416 12:55:24.170475 136176151299648 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 26.323458s.
I0416 12:55:24.589559 136176151299648 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0416 12:55:25.022689 136176151299648 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0416 12:55:25.023359 136176151299648 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.578583s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9/items
I0416 12:55:25.024011 136176151299648 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9/items
I0416 12:55:25.267749 136176151299648 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9
I0416 12:55:25.938623 136176151299648 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9`.
I0416 12:55:25.939252 136176151299648 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 39.788174s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260416_123638/linen_main_20260416_123638_07_eval/checkpoints/9
I0416 12:55:25.939330 136176151299648 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 28.092318s.
I0416 12:55:25.939522 136176088385088 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0416 12:55:25.939634 136176088385088 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0416 12:55:25.939710 136176088385088 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0416 12:55:25.939766 136176088385088 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0416 12:55:25.940020 136291960372352 checkpoint_manager.py:2006] [process=0][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0416 12:55:25.940363 136291960372352 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0416 12:55:25.940996 136291960372352 metric_logger.py:185] completed step: 9, seconds: 0.118, TFLOP/s/device: 115.185, Tokens/s/device: 17361.965, total_weights: 12300, loss: 8.710
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
2026-04-16 18:32:32.696565: 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)
I0416 18:32:32.813620 128615849782400 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag.
I0416 18:33:29.287592 128615849782400 max_utils.py:800] System Information: Jax Version: 0.9.2
I0416 18:33:29.287696 128615849782400 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0416 18:33:29.287730 128615849782400 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Apr 6 2026 20:48:10 (1775533690) cl/895581894
I0416 18:33:29.287754 128615849782400 train_utils.py:364] WARNING: 'dataset_path' might be pointing your local file system
I0416 18:33:29.287832 128615849782400 train.py:811] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper.
W0416 18:33:29.379647 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 18:33:29.783739 128615849782400 maxtext_utils.py:1687] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0416 18:33:29.783910 128615849782400 maxtext_utils.py:1687] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0416 18:33:29.784107 128615849782400 checkpointing.py:688] Setting up checkpoint logger...
I0416 18:33:29.784149 128615849782400 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0416 18:33:29.784189 128615849782400 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None
I0416 18:33:29.784634 128615849782400 base_pytree_checkpoint_handler.py:411] 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 0x74f91f5f5010>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0416 18:33:32.078688 128615849782400 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0416 18:33:32.078862 128615849782400 checkpoint_manager.py:702] [process=0][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x74f2a073d1c0>}, handler_registry=None
I0416 18:33:32.079120 128615849782400 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x74f2a073d1c0>` 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`.
I0416 18:33:32.079162 128615849782400 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x74f2a073e030>` 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`.
I0416 18:33:32.079190 128615849782400 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 0x74f2a073d1c0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x74f2a073d1c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x74f2a073e030>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x74f2a073e030>}).
I0416 18:33:32.079471 128615849782400 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28
I0416 18:33:32.079518 128615849782400 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x74f2a072dee0> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0416 18:33:32.203527 128615849782400 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints
I0416 18:33:32.203750 128615849782400 checkpoint_manager.py:921] [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_hns=False, 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), root_directory=gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x74f2a073c4d0>
I0416 18:33:32.203827 128615849782400 checkpointing.py:302] Checkpoint manager created!
I0416 18:33:32.282640 128615849782400 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0416 18:33:32.285649 128615849782400 reader.py:262] Creating a tf.data.Dataset reading 8 files located in folders: tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0.
I0416 18:33:32.338658 128615849782400 logging_logger.py:49] Constructing tf.data.Dataset __local_c4_builder for split train, from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0416 18:33:32.366619 128615849782400 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0416 18:33:32.366682 128615849782400 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0416 18:33:32.905754 128615849782400 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0416 18:33:32.907323 128615849782400 reader.py:262] Creating a tf.data.Dataset reading 2 files located in folders: tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0.
I0416 18:33:32.923310 128615849782400 logging_logger.py:49] Constructing tf.data.Dataset __local_c4_builder for split validation, from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0416 18:33:32.925868 128615849782400 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0416 18:33:32.925917 128615849782400 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0416 18:33:33.625771 128615849782400 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0416 18:33:33.625883 128615849782400 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0416 18:33:33.727611 128615849782400 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0416 18:33:33.727688 128615849782400 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0416 18:33:33.742826 128615849782400 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0416 18:33:33.742873 128615849782400 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0416 18:33:33.764641 128615849782400 attentions.py:1154] attentions/query Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0416 18:33:33.764696 128615849782400 attentions.py:1154] attentions/query Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0416 18:33:33.779818 128615849782400 attentions.py:1155] attentions/key Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0416 18:33:33.779868 128615849782400 attentions.py:1155] attentions/key Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0416 18:33:33.794999 128615849782400 attentions.py:1156] attentions/value Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0416 18:33:33.795063 128615849782400 attentions.py:1156] attentions/value Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0416 18:33:33.817439 128615849782400 attentions.py:1197] attentions/out Logical: bfloat16[8,2048,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0416 18:33:33.817495 128615849782400 attentions.py:1197] attentions/out Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0416 18:33:33.837367 128615849782400 linears.py:525] linears/x Logical: bfloat16[8,2048,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0416 18:33:33.837418 128615849782400 linears.py:525] linears/x Physical: bfloat16[8,2048,7168]....................................... ('fsdp', None, None).
I0416 18:33:34.027925 128615849782400 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0416 18:33:34.028017 128615849782400 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
W0416 18:33:34.079176 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
[DECOUPLED NO-OP] gcs_storage: using stubs.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] workload_monitor: using stub.
[DECOUPLED NO-OP] vertex_tensorboard: using stub.
fsdp: 8
I0416 18:33:34.471915 128615849782400 maxtext_utils.py:1796]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0416 18:33:34.472023 128615849782400 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)
I0416 18:33:34.472084 128615849782400 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)
I0416 18:33:34.472131 128615849782400 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')
I0416 18:33:34.472172 128615849782400 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)
I0416 18:33:34.472200 128615849782400 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)
I0416 18:33:34.472239 128615849782400 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)
I0416 18:33:34.472282 128615849782400 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')
I0416 18:33:34.472311 128615849782400 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)
I0416 18:33:34.472337 128615849782400 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)
I0416 18:33:34.472371 128615849782400 maxtext_utils.py:1796]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0416 18:33:34.472404 128615849782400 maxtext_utils.py:1796]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0416 18:33:34.904930 128615849782400 train.py:157] train/xent Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0416 18:33:34.905010 128615849782400 train.py:157] train/xent Physical: float32[8,2048]............................................. ('fsdp', None).
I0416 18:33:34.919519 128615849782400 train.py:164] train/z_loss Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0416 18:33:34.919571 128615849782400 train.py:164] train/z_loss Physical: float32[8,2048]............................................. ('fsdp', None).
W0416 18:33:35.214278 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 18:33:35.336103 128615849782400 max_utils.py:791] Total memory size: 3.6 GB, Output size: 1.5 GB, Temp size: 2.0 GB, Argument size: 1.5 GB, Host temp size: 0.0 GB.
I0416 18:33:35.336566 128615849782400 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter.
I0416 18:33:35.336706 128615849782400 metric_logger.py:289] number parameters: 1.104 billion
W0416 18:33:38.398984 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 18:33:38.535609 128615849782400 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0416 18:33:38.656076 128615849782400 checkpointing.py:798] Waited 0.12045049667358398 seconds for step 0 to finish before starting checkpointing.
I0416 18:33:38.656486 128615849782400 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0416 18:33:38.656642 128615849782400 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0
I0416 18:33:38.657015 128615849782400 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0.
I0416 18:33:38.741978 128615849782400 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient
I0416 18:33:38.828549 128500732266048 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0
I0416 18:33:38.835808 128615849782400 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0416 18:33:38.835895 128615849782400 replica_slices.py:410] 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
W0416 18:33:39.051300 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 18:33:39.062976 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 18:33:39.083621 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 18:33:39.097491 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 18:33:39.103607 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 18:33:39.108774 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 18:33:39.113593 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 18:33:39.118281 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 18:33:39.597229 128500721780288 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0/items
I0416 18:33:39.642990 128615849782400 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.807572s
I0416 18:33:39.643526 128615849782400 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 13.705 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 900 milliseconds) (per-host)
I0416 18:33:39.643668 128615849782400 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.900754s (batch_requests_ready=0.089181s, total_serialization_initiated=0.811135s, others=0.000438s)
I0416 18:33:39.643784 128615849782400 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.901335s (all_items=0.000019s, per_item={'items': '0.00001907'}, temp_paths=0.901316)
I0416 18:33:39.644594 128500656768576 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0416 18:33:39.644686 128615849782400 async_checkpointer.py:561] Finished blocking save. Time taken: 0.988005s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0.
I0416 18:33:39.644885 128615849782400 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0416 18:33:39.645132 128615849782400 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776364418.6564736, 'wait_for_prev_duration_secs': 4.076957702636719e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776364418.6566632, 'checkpointer_blocking_duration_secs': 0.9881381988525391, 'get_old_steps_start_time': 1776364419.64482, 'get_old_steps_duration_secs': 2.86102294921875e-05, 'checkpoint_manager_blocking_start_time': 1776364418.656393, 'checkpoint_manager_blocking_duration_secs': 0.9887127876281738}
I0416 18:33:39.645206 128615849782400 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0416 18:33:39.645247 128615849782400 max_utils.py:750] 
Memstats: After params initialized:
I0416 18:33:39.645355 128615849782400 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_0(process=0,(0,0,0,0))
I0416 18:33:39.645385 128615849782400 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_1(process=0,(1,0,0,0))
I0416 18:33:39.645408 128615849782400 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_2(process=0,(0,1,0,0))
I0416 18:33:39.645427 128615849782400 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_3(process=0,(1,1,0,0))
I0416 18:33:39.645445 128615849782400 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_4(process=0,(0,2,0,0))
I0416 18:33:39.645464 128615849782400 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_5(process=0,(1,2,0,0))
I0416 18:33:39.645482 128615849782400 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_6(process=0,(0,3,0,0))
I0416 18:33:39.645499 128615849782400 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_7(process=0,(1,3,0,0))
W0416 18:33:39.651670 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 18:33:39.657185 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0416 18:33:39.662041 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 18:33:39.745607 128500677740096 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776364419510409791, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776364419510409791, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0416 18:33:39.745847 128500742751808 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0416 18:33:39.974287 128615849782400 metric_logger.py:185] completed step: 0, seconds: 3.198, TFLOP/s/device: 4.248, Tokens/s/device: 640.316, total_weights: 13328, loss: 10.828
I0416 18:33:39.975205 128615849782400 metric_logger.py:269] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/tensorboard/'
I0416 18:33:40.090405 128615849782400 metric_logger.py:185] completed step: 1, seconds: 1.437, TFLOP/s/device: 9.457, Tokens/s/device: 1425.432, total_weights: 12332, loss: 10.828
I0416 18:33:40.207598 128615849782400 metric_logger.py:185] completed step: 2, seconds: 0.009, TFLOP/s/device: 1487.696, Tokens/s/device: 224241.761, total_weights: 15161, loss: 9.823
I0416 18:33:40.265828 3990246 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json
I0416 18:33:40.265892 3990246 google_auth_provider.cc:156] Using OAuth2 AuthProvider
I0416 18:33:41.190558 128500711294528 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0/items/array_metadatas/process_0
W0416 18:33:44.433996 3987254 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0416 18:33:44.515646 128615849782400 train.py:728] Completed eval step 0
I0416 18:33:44.557520 128615849782400 train.py:728] Completed eval step 1
I0416 18:33:44.561998 128615849782400 metric_logger.py:204] eval metrics after step: 4, loss=8.979, total_weights=26703.0
I0416 18:33:44.562373 128615849782400 metric_logger.py:185] completed step: 3, seconds: 0.117, TFLOP/s/device: 115.990, Tokens/s/device: 17483.204, total_weights: 13327, loss: 9.405
I0416 18:34:03.948472 128615849782400 metric_logger.py:185] completed step: 4, seconds: 0.117, TFLOP/s/device: 115.776, Tokens/s/device: 17451.026, total_weights: 11939, loss: 9.045
I0416 18:34:03.956564 128615849782400 metric_logger.py:185] completed step: 5, seconds: 4.354, TFLOP/s/device: 3.120, Tokens/s/device: 470.337, total_weights: 15502, loss: 8.953
I0416 18:34:04.073166 128615849782400 metric_logger.py:185] completed step: 6, seconds: 19.385, TFLOP/s/device: 0.701, Tokens/s/device: 105.648, total_weights: 13864, loss: 8.775
I0416 18:34:04.190637 128615849782400 metric_logger.py:185] completed step: 7, seconds: 0.006, TFLOP/s/device: 2353.157, Tokens/s/device: 354693.453, total_weights: 12988, loss: 8.688
I0416 18:34:04.845851 128615849782400 train.py:728] Completed eval step 0
I0416 18:34:04.886163 128615849782400 train.py:728] Completed eval step 1
I0416 18:34:04.888761 128615849782400 metric_logger.py:204] eval metrics after step: 9, loss=8.653, total_weights=26703.0
I0416 18:34:04.889026 128615849782400 metric_logger.py:185] completed step: 8, seconds: 0.118, TFLOP/s/device: 115.457, Tokens/s/device: 17402.979, total_weights: 13820, loss: 8.740
I0416 18:34:04.890788 128615849782400 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0416 18:34:04.891373 128615849782400 checkpointing.py:798] Waited 0.0005877017974853516 seconds for step 9 to finish before starting checkpointing.
I0416 18:34:04.891625 128615849782400 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0416 18:34:15.798077 128500732266048 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 35.538332s (commit=35.061142s, array_metadata_write=0.477189s)
I0416 18:34:15.799249 128500656768576 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 341.016 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 37 seconds) (per-host)
I0416 18:34:15.799371 128500656768576 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.154636s.
I0416 18:34:16.061167 128500656768576 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776364419510409791, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0416 18:34:16.260198 128500656768576 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0416 18:34:16.432683 128500677740096 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776364419510409791, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0416 18:34:16.674590 128500656768576 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0416 18:34:16.674768 128500656768576 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.567773s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0/items
I0416 18:34:16.675945 128500656768576 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0/items
I0416 18:34:16.911489 128500656768576 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0
I0416 18:34:17.589146 128500656768576 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0`.
I0416 18:34:17.589756 128500656768576 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 38.933081s. directory=gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/0
I0416 18:34:17.589832 128500656768576 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 37.945101s.
I0416 18:34:17.590008 128500742751808 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0416 18:34:17.590126 128500742751808 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0416 18:34:17.590183 128500742751808 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0416 18:34:17.590228 128500742751808 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0416 18:34:17.590350 128615849782400 checkpoint_manager.py:2006] [process=0][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0416 18:34:17.590474 128615849782400 checkpoint_manager.py:1441] Waiting for previous save to complete took 12.698858 seconds. If this number is high, consider checkpointing less frequently.
I0416 18:34:17.591185 128615849782400 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 9
I0416 18:34:17.591479 128615849782400 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9.
I0416 18:34:17.776051 128500742751808 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9
I0416 18:34:17.784487 128615849782400 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0416 18:34:17.784578 128615849782400 replica_slices.py:410] 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
I0416 18:34:18.490861 128500700808768 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9/items
I0416 18:34:28.589692 128615849782400 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 10.805614s
I0416 18:34:28.590250 128615849782400 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 1.132 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 10 seconds) (per-host)
I0416 18:34:28.590305 128615849782400 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 10.899607s (batch_requests_ready=0.090601s, total_serialization_initiated=10.808572s, others=0.000434s)
I0416 18:34:28.590374 128615849782400 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 10.900103s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=10.900086)
I0416 18:34:28.596877 128500742751808 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0416 18:34:28.596977 128615849782400 async_checkpointer.py:561] Finished blocking save. Time taken: 11.005740s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9.
I0416 18:34:28.597231 128615849782400 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0416 18:34:28.597381 128500656768576 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0416 18:34:28.597456 128615849782400 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776364444.8915818, 'wait_for_prev_duration_secs': 12.69885802268982, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776364457.5912116, 'checkpointer_blocking_duration_secs': 11.005919456481934, 'get_old_steps_start_time': 1776364468.5971525, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1776364444.891544, 'checkpoint_manager_blocking_duration_secs': 23.70588493347168}
I0416 18:34:28.597599 128615849782400 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0416 18:34:28.597634 128615849782400 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0416 18:34:29.330972 128500732266048 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9/items/array_metadatas/process_0
I0416 18:35:07.643529 128498658182720 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 39.047475s (commit=38.631435s, array_metadata_write=0.416040s)
I0416 18:35:07.644544 128500742751808 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 252.969 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 49 seconds) (per-host)
I0416 18:35:07.644667 128500742751808 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 39.047636s.
I0416 18:35:08.062304 128500742751808 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0416 18:35:08.498570 128500742751808 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0416 18:35:08.498739 128500742751808 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.577456s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9/items
I0416 18:35:08.500063 128500742751808 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9/items
I0416 18:35:08.736160 128500742751808 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9
I0416 18:35:09.421313 128500742751808 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9`.
I0416 18:35:09.421983 128500742751808 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 51.830759s. directory=gs://wanglance-maxtext/linen_ckpt_feat_nnx_post_train_fixes_20260416_181521/linen_feat_nnx_post_train_fixes_20260416_181521_07_eval/checkpoints/9
I0416 18:35:09.422072 128500742751808 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 40.825042s.
I0416 18:35:09.422184 128500656768576 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0416 18:35:09.422233 128500656768576 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0416 18:35:09.422280 128500656768576 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0416 18:35:09.422322 128500656768576 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0416 18:35:09.422650 128615849782400 checkpoint_manager.py:2006] [process=0][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0416 18:35:09.423079 128615849782400 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0416 18:35:09.423650 128615849782400 metric_logger.py:185] completed step: 9, seconds: 0.117, TFLOP/s/device: 115.919, Tokens/s/device: 17472.614, total_weights: 12300, loss: 8.710
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops