MaxView

‹ 06_grad_accumCase: 07_eval08_checkpoint_async_true_resume ›

Metrics: main (7f7822822) vs feat/nnx-trainstate-and-training-loop (8bb919bd5)

Metricmain  7f7822822feat/nnx-trainstate-and-training-loop  8bb919bd5Diff (feat/nnx-trainstate-and-training-loop − main)
Parameters1.104 billion1.104 billion
Final loss8.71008.71000
TFLOP/s115.915115.719-0.196
Tok/s17472.017442.4-29.612
Avg s/step3.0933.603+0.51
Memory %5.095.090
JAX0.9.20.9.2

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

main  ·  7f7822822  ·  main_20260417_125240  ·  full log
2026-04-17 13:08:43.040251: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0417 13:08:43.156599 128798702132352 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag.
I0417 13:09:26.160710 128798702132352 max_utils.py:800] System Information: Jax Version: 0.9.2
I0417 13:09:26.160842 128798702132352 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0417 13:09:26.160877 128798702132352 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
I0417 13:09:26.160902 128798702132352 train_utils.py:335] WARNING: 'dataset_path' might be pointing your local file system
I0417 13:09:26.160986 128798702132352 train.py:671] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper.
W0417 13:09:26.253271  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0417 13:09:26.654479 128798702132352 maxtext_utils.py:1548] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0417 13:09:26.654793 128798702132352 checkpointing.py:677] Setting up checkpoint logger...
I0417 13:09:26.654846 128798702132352 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0417 13:09:26.654894 128798702132352 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None
I0417 13:09:26.655510 128798702132352 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 0x7523b1f03b00>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0417 13:09:29.006298 128798702132352 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0417 13:09:29.006477 128798702132352 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 0x751d36fcec30>}, handler_registry=None
I0417 13:09:29.006760 128798702132352 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x751d36fcec30>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0417 13:09:29.006800 128798702132352 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x751d36130a10>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0417 13:09:29.006829 128798702132352 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 0x751d36fcec30>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x751d36fcec30>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x751d36130a10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x751d36130a10>}).
I0417 13:09:29.007115 128798702132352 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28
I0417 13:09:29.007166 128798702132352 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x751d36135e40> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0417 13:09:29.127309 128798702132352 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints
I0417 13:09:29.127536 128798702132352 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_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x751d36131970>
I0417 13:09:29.127625 128798702132352 checkpointing.py:301] Checkpoint manager created!
I0417 13:09:29.546387 128798702132352 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0417 13:09:29.549231 128798702132352 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.
I0417 13:09:29.601363 128798702132352 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
I0417 13:09:29.624299 128798702132352 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0417 13:09:29.624357 128798702132352 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0417 13:09:30.151639 128798702132352 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0417 13:09:30.153166 128798702132352 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.
I0417 13:09:30.169084 128798702132352 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
I0417 13:09:30.171633 128798702132352 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0417 13:09:30.171681 128798702132352 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0417 13:09:30.475915 128798702132352 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0417 13:09:30.476015 128798702132352 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0417 13:09:30.577247 128798702132352 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0417 13:09:30.577323 128798702132352 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0417 13:09:30.592306 128798702132352 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0417 13:09:30.592355 128798702132352 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0417 13:09:30.613838 128798702132352 attentions.py:1154] attentions/query Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0417 13:09:30.613895 128798702132352 attentions.py:1154] attentions/query Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0417 13:09:30.628887 128798702132352 attentions.py:1155] attentions/key Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0417 13:09:30.628937 128798702132352 attentions.py:1155] attentions/key Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0417 13:09:30.643821 128798702132352 attentions.py:1156] attentions/value Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0417 13:09:30.643869 128798702132352 attentions.py:1156] attentions/value Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0417 13:09:30.666892 128798702132352 attentions.py:1197] attentions/out Logical: bfloat16[8,2048,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0417 13:09:30.666948 128798702132352 attentions.py:1197] attentions/out Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0417 13:09:30.686000 128798702132352 linears.py:525] linears/x Logical: bfloat16[8,2048,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0417 13:09:30.686073 128798702132352 linears.py:525] linears/x Physical: bfloat16[8,2048,7168]....................................... ('fsdp', None, None).
I0417 13:09:30.880031 128798702132352 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0417 13:09:30.880134 128798702132352 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
W0417 13:09:30.930840  434038 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
I0417 13:09:31.322764 128798702132352 maxtext_utils.py:1651]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0417 13:09:31.322880 128798702132352 maxtext_utils.py:1651]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0417 13:09:31.322923 128798702132352 maxtext_utils.py:1651]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0417 13:09:31.322968 128798702132352 maxtext_utils.py:1651]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0417 13:09:31.323008 128798702132352 maxtext_utils.py:1651]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0417 13:09:31.323037 128798702132352 maxtext_utils.py:1651]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0417 13:09:31.323200 128798702132352 maxtext_utils.py:1651]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0417 13:09:31.323242 128798702132352 maxtext_utils.py:1651]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0417 13:09:31.323272 128798702132352 maxtext_utils.py:1651]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0417 13:09:31.323300 128798702132352 maxtext_utils.py:1651]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0417 13:09:31.323338 128798702132352 maxtext_utils.py:1651]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0417 13:09:31.323374 128798702132352 maxtext_utils.py:1651]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0417 13:09:31.762790 128798702132352 train.py:155] train/xent Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0417 13:09:31.762878 128798702132352 train.py:155] train/xent Physical: float32[8,2048]............................................. ('fsdp', None).
I0417 13:09:31.777302 128798702132352 train.py:162] train/z_loss Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0417 13:09:31.777354 128798702132352 train.py:162] train/z_loss Physical: float32[8,2048]............................................. ('fsdp', None).
W0417 13:09:32.049912  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0417 13:09:32.167034 128798702132352 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.
I0417 13:09:32.167487 128798702132352 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter.
I0417 13:09:32.167627 128798702132352 metric_logger.py:301] number parameters: 1.104 billion
W0417 13:09:35.544933  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0417 13:09:35.674916 128798702132352 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0417 13:09:35.794301 128798702132352 checkpointing.py:776] Waited 0.11937284469604492 seconds for step 0 to finish before starting checkpointing.
I0417 13:09:35.794728 128798702132352 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0417 13:09:35.794884 128798702132352 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0
I0417 13:09:35.795253 128798702132352 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0.
I0417 13:09:35.879719 128798702132352 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient
I0417 13:09:35.975443 128798702132352 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0417 13:09:35.975526 128798702132352 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
I0417 13:09:35.981270 128683654252096 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0
W0417 13:09:36.192577  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0417 13:09:36.206655  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0417 13:09:36.217623  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0417 13:09:36.236641  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0417 13:09:36.243776  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0417 13:09:36.251603  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0417 13:09:36.256811  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0417 13:09:36.261536  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0417 13:09:36.470957 128798702132352 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.495926s
I0417 13:09:36.471333 128798702132352 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 20.894 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 590 milliseconds) (per-host)
I0417 13:09:36.471407 128798702132352 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.590760s (batch_requests_ready=0.090937s, total_serialization_initiated=0.499545s, others=0.000278s)
I0417 13:09:36.471489 128798702132352 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.591295s (all_items=0.000019s, per_item={'items': '0.00001931'}, temp_paths=0.591276)
I0417 13:09:36.472209 128683582948928 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0417 13:09:36.472306 128798702132352 async_checkpointer.py:561] Finished blocking save. Time taken: 0.677380s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0.
I0417 13:09:36.472514 128798702132352 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0417 13:09:36.472682 128683664737856 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0417 13:09:36.472786 128798702132352 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776431375.7947147, 'wait_for_prev_duration_secs': 4.0531158447265625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776431375.7949078, 'checkpointer_blocking_duration_secs': 0.6775391101837158, 'get_old_steps_start_time': 1776431376.4724631, 'get_old_steps_duration_secs': 1.811981201171875e-05, 'checkpoint_manager_blocking_start_time': 1776431375.7946346, 'checkpoint_manager_blocking_duration_secs': 0.67812180519104}
I0417 13:09:36.472901 128798702132352 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0417 13:09:36.472938 128798702132352 max_utils.py:750] 
Memstats: After params initialized:
I0417 13:09:36.473009 128798702132352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_0(process=0,(0,0,0,0))
I0417 13:09:36.473032 128798702132352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_1(process=0,(1,0,0,0))
I0417 13:09:36.473064 128798702132352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_2(process=0,(0,1,0,0))
I0417 13:09:36.473082 128798702132352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_3(process=0,(1,1,0,0))
I0417 13:09:36.473098 128798702132352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_4(process=0,(0,2,0,0))
I0417 13:09:36.473115 128798702132352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_5(process=0,(1,2,0,0))
I0417 13:09:36.473130 128798702132352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_6(process=0,(0,3,0,0))
I0417 13:09:36.473146 128798702132352 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_7(process=0,(1,3,0,0))
W0417 13:09:36.478999  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0417 13:09:36.484913  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0417 13:09:36.489615  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0417 13:09:36.685571 128683643766336 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0/items
I0417 13:09:36.816600 128798702132352 metric_logger.py:196] completed step: 0, seconds: 3.507, TFLOP/s/device: 3.874, Tokens/s/device: 584.004, total_weights: 13328, loss: 10.828, lm_loss: 10.828, perplexity: 50404.086
I0417 13:09:36.817487 128798702132352 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/tensorboard/'
I0417 13:09:36.849172 128683564074560 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776431376598915958, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776431376598915958, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0417 13:09:36.932657 128798702132352 metric_logger.py:196] completed step: 1, seconds: 1.140, TFLOP/s/device: 11.923, Tokens/s/device: 1797.152, total_weights: 12332, loss: 10.828, lm_loss: 10.828, perplexity: 50391.758
I0417 13:09:37.049704 128798702132352 metric_logger.py:196] completed step: 2, seconds: 0.009, TFLOP/s/device: 1441.146, Tokens/s/device: 217225.286, total_weights: 15161, loss: 9.823, lm_loss: 9.823, perplexity: 18444.867
I0417 13:09:37.178266  437291 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json
I0417 13:09:37.178337  437291 google_auth_provider.cc:156] Using OAuth2 AuthProvider
I0417 13:09:38.058096 128683603920448 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0/items/array_metadatas/process_0
W0417 13:09:43.700743  434038 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0417 13:09:43.791710 128798702132352 train.py:588] Completed eval step 0
I0417 13:09:43.833617 128798702132352 train.py:588] Completed eval step 1
I0417 13:09:43.838302 128798702132352 metric_logger.py:216] eval metrics after step: 4, loss=8.979, perplexity=7936.996, total_weights=26703.0
I0417 13:09:43.838809 128798702132352 metric_logger.py:196] completed step: 3, seconds: 0.117, TFLOP/s/device: 115.667, Tokens/s/device: 17434.535, total_weights: 13327, loss: 9.405, lm_loss: 9.405, perplexity: 12149.331
I0417 13:10:03.261294 128798702132352 metric_logger.py:196] completed step: 4, seconds: 0.117, TFLOP/s/device: 115.967, Tokens/s/device: 17479.772, total_weights: 11939, loss: 9.045, lm_loss: 9.045, perplexity: 8471.842
I0417 13:10:03.272251 128798702132352 metric_logger.py:196] completed step: 5, seconds: 6.788, TFLOP/s/device: 2.002, Tokens/s/device: 301.721, total_weights: 15502, loss: 8.953, lm_loss: 8.953, perplexity: 7728.546
I0417 13:10:03.388559 128798702132352 metric_logger.py:196] completed step: 6, seconds: 19.424, TFLOP/s/device: 0.699, Tokens/s/device: 105.434, total_weights: 13864, loss: 8.775, lm_loss: 8.775, perplexity: 6468.536
I0417 13:10:03.505769 128798702132352 metric_logger.py:196] completed step: 7, seconds: 0.006, TFLOP/s/device: 2106.858, Tokens/s/device: 317568.615, total_weights: 12988, loss: 8.688, lm_loss: 8.688, perplexity: 5928.887
I0417 13:10:04.194459 128798702132352 train.py:588] Completed eval step 0
I0417 13:10:04.234437 128798702132352 train.py:588] Completed eval step 1
I0417 13:10:04.237539 128798702132352 metric_logger.py:216] eval metrics after step: 9, loss=8.653, perplexity=5725.923, total_weights=26703.0
I0417 13:10:04.237986 128798702132352 metric_logger.py:196] completed step: 8, seconds: 0.117, TFLOP/s/device: 115.956, Tokens/s/device: 17478.131, total_weights: 13820, loss: 8.740, lm_loss: 8.740, perplexity: 6250.123
I0417 13:10:04.239738 128798702132352 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0417 13:10:04.240348 128798702132352 checkpointing.py:776] Waited 0.0006086826324462891 seconds for step 9 to finish before starting checkpointing.
I0417 13:10:04.240633 128798702132352 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0417 13:10:05.447706 128683593434688 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 28.267142s (commit=27.798264s, array_metadata_write=0.468878s)
I0417 13:10:05.448841 128683582948928 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 427.379 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 29 seconds) (per-host)
I0417 13:10:05.448964 128683582948928 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 28.976571s.
I0417 13:10:05.709005 128683582948928 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776431376598915958, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0417 13:10:05.884692 128683582948928 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0417 13:10:06.081806 128683564074560 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776431376598915958, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0417 13:10:06.285533 128683582948928 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0417 13:10:06.285714 128683582948928 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.537939s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0/items
I0417 13:10:06.286862 128683582948928 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0/items
I0417 13:10:06.532861 128683582948928 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0
I0417 13:10:07.213276 128683582948928 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0`.
I0417 13:10:07.213892 128683582948928 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 31.418969s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/0
I0417 13:10:07.213985 128683582948928 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 30.741598s.
I0417 13:10:07.214199 128683664737856 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0417 13:10:07.214307 128683664737856 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0417 13:10:07.214377 128683664737856 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0417 13:10:07.214437 128683664737856 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0417 13:10:07.214561 128798702132352 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.
W0417 13:10:07.214698 128798702132352 checkpoint_manager.py:1441] Waiting for previous save to complete took 2.974092 seconds. If this number is high, consider checkpointing less frequently.
I0417 13:10:07.215770 128798702132352 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 9
I0417 13:10:07.216093 128798702132352 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9.
I0417 13:10:07.382192 128683664737856 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9
I0417 13:10:07.395105 128798702132352 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0417 13:10:07.395202 128798702132352 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
I0417 13:10:08.069363 128683593434688 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9/items
I0417 13:10:10.473341 128798702132352 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 3.078632s
I0417 13:10:10.477609 128798702132352 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 3.887 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 3 seconds) (per-host)
I0417 13:10:10.477673 128798702132352 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 3.175220s (batch_requests_ready=0.088161s, total_serialization_initiated=3.082899s, others=0.004161s)
I0417 13:10:10.477746 128798702132352 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 3.176004s (all_items=0.000023s, per_item={'items': '0.00002337'}, temp_paths=3.175981)
I0417 13:10:10.479082 128683664737856 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0417 13:10:10.479218 128798702132352 async_checkpointer.py:561] Finished blocking save. Time taken: 3.263400s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9.
I0417 13:10:10.479434 128798702132352 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0417 13:10:10.479681 128683582948928 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0417 13:10:10.479799 128798702132352 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776431404.2405734, 'wait_for_prev_duration_secs': 2.9740920066833496, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776431407.2157943, 'checkpointer_blocking_duration_secs': 3.2635393142700195, 'get_old_steps_start_time': 1776431410.4793525, 'get_old_steps_duration_secs': 4.076957702636719e-05, 'checkpoint_manager_blocking_start_time': 1776431404.2405086, 'checkpoint_manager_blocking_duration_secs': 6.239264965057373}
I0417 13:10:10.479913 128798702132352 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0417 13:10:10.479946 128798702132352 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0417 13:10:11.260803 128683603920448 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9/items/array_metadatas/process_0
I0417 13:10:43.661924 128683593434688 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 33.183577s (commit=32.723830s, array_metadata_write=0.459747s)
I0417 13:10:43.663030 128683664737856 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 347.541 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 36 seconds) (per-host)
I0417 13:10:43.663148 128683664737856 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 33.183882s.
I0417 13:10:44.083265 128683664737856 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0417 13:10:44.514489 128683664737856 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0417 13:10:44.514669 128683664737856 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.570946s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9/items
I0417 13:10:44.515373 128683664737856 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9/items
I0417 13:10:44.761573 128683664737856 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9
I0417 13:10:45.432801 128683664737856 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9`.
I0417 13:10:45.433446 128683664737856 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 38.217632s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_07_eval/checkpoints/9
I0417 13:10:45.433523 128683664737856 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 34.954262s.
I0417 13:10:45.433711 128683582948928 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0417 13:10:45.433820 128683582948928 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0417 13:10:45.433896 128683582948928 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0417 13:10:45.433947 128683582948928 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0417 13:10:45.434194 128798702132352 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.
I0417 13:10:45.434559 128798702132352 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0417 13:10:45.435416 128798702132352 metric_logger.py:196] completed step: 9, seconds: 0.117, TFLOP/s/device: 115.915, Tokens/s/device: 17472.017, total_weights: 12300, loss: 8.710, lm_loss: 8.710, perplexity: 6065.008
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
2026-04-20 14:40:26.906717: 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 14:40:27.024119 134918032587904 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag.
I0420 14:40:53.001383 134918032587904 max_utils.py:800] System Information: Jax Version: 0.9.2
I0420 14:40:53.001522 134918032587904 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0420 14:40:53.001557 134918032587904 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
I0420 14:40:53.001581 134918032587904 train_utils.py:365] WARNING: 'dataset_path' might be pointing your local file system
I0420 14:40:53.001689 134918032587904 train.py:806] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper.
I0420 14:40:53.507569 134918032587904 maxtext_utils.py:1718] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 14:40:53.507752 134918032587904 maxtext_utils.py:1718] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0420 14:40:53.507967 134918032587904 checkpointing.py:688] Setting up checkpoint logger...
I0420 14:40:53.508011 134918032587904 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0420 14:40:53.508064 134918032587904 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None
I0420 14:40:53.508647 134918032587904 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 0x7ab4771fd040>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0420 14:40:55.875726 134918032587904 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0420 14:40:55.875935 134918032587904 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 0x7aadfad08140>}, handler_registry=None
I0420 14:40:55.876230 134918032587904 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7aadfad08140>` 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 14:40:55.876272 134918032587904 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7aadfa536870>` 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 14:40:55.876301 134918032587904 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 0x7aadfad08140>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7aadfad08140>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7aadfa536870>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7aadfa536870>}).
I0420 14:40:55.876600 134918032587904 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28
I0420 14:40:55.876651 134918032587904 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x7aadfa54efc0> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0420 14:40:55.992225 134918032587904 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints
I0420 14:40:55.992470 134918032587904 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_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7aadfa536f60>
I0420 14:40:55.992555 134918032587904 checkpointing.py:302] Checkpoint manager created!
I0420 14:40:56.412194 134918032587904 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0420 14:40:56.415216 134918032587904 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.
I0420 14:40:56.468446 134918032587904 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
I0420 14:40:56.491983 134918032587904 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0420 14:40:56.492070 134918032587904 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0420 14:40:57.027583 134918032587904 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0420 14:40:57.029232 134918032587904 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.
I0420 14:40:57.045263 134918032587904 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
I0420 14:40:57.047837 134918032587904 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0420 14:40:57.047884 134918032587904 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0420 14:40:57.360553 134918032587904 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0420 14:40:57.360651 134918032587904 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0420 14:40:57.463642 134918032587904 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 14:40:57.463729 134918032587904 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0420 14:40:57.478822 134918032587904 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0420 14:40:57.478875 134918032587904 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0420 14:40:57.501450 134918032587904 attentions.py:1154] attentions/query Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 14:40:57.501509 134918032587904 attentions.py:1154] attentions/query Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0420 14:40:57.516692 134918032587904 attentions.py:1155] attentions/key Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 14:40:57.516744 134918032587904 attentions.py:1155] attentions/key Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0420 14:40:57.531873 134918032587904 attentions.py:1156] attentions/value Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0420 14:40:57.531927 134918032587904 attentions.py:1156] attentions/value Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0420 14:40:57.554358 134918032587904 attentions.py:1197] attentions/out Logical: bfloat16[8,2048,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0420 14:40:57.554423 134918032587904 attentions.py:1197] attentions/out Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0420 14:40:57.573408 134918032587904 linears.py:525] linears/x Logical: bfloat16[8,2048,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0420 14:40:57.573464 134918032587904 linears.py:525] linears/x Physical: bfloat16[8,2048,7168]....................................... ('fsdp', None, None).
I0420 14:40:57.765748 134918032587904 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0420 14:40:57.765850 134918032587904 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
W0420 14:40:57.817546 1054274 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
I0420 14:40:58.218160 134918032587904 maxtext_utils.py:1821]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0420 14:40:58.218277 134918032587904 maxtext_utils.py:1821]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 14:40:58.218319 134918032587904 maxtext_utils.py:1821]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0420 14:40:58.218364 134918032587904 maxtext_utils.py:1821]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0420 14:40:58.218410 134918032587904 maxtext_utils.py:1821]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 14:40:58.218439 134918032587904 maxtext_utils.py:1821]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0420 14:40:58.218479 134918032587904 maxtext_utils.py:1821]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0420 14:40:58.218518 134918032587904 maxtext_utils.py:1821]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0420 14:40:58.218548 134918032587904 maxtext_utils.py:1821]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0420 14:40:58.218574 134918032587904 maxtext_utils.py:1821]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0420 14:40:58.218609 134918032587904 maxtext_utils.py:1821]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0420 14:40:58.218643 134918032587904 maxtext_utils.py:1821]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0420 14:40:58.671609 134918032587904 train.py:157] train/xent Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0420 14:40:58.671778 134918032587904 train.py:157] train/xent Physical: float32[8,2048]............................................. ('fsdp', None).
I0420 14:40:58.685992 134918032587904 train.py:164] train/z_loss Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0420 14:40:58.686057 134918032587904 train.py:164] train/z_loss Physical: float32[8,2048]............................................. ('fsdp', None).
W0420 14:40:58.980012 1054274 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0420 14:40:59.099743 134918032587904 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.
I0420 14:40:59.100386 134918032587904 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter.
I0420 14:40:59.100564 134918032587904 metric_logger.py:301] number parameters: 1.104 billion
W0420 14:41:02.575558 1054274 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0420 14:41:02.706342 134918032587904 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0420 14:41:02.826636 134918032587904 checkpointing.py:798] Waited 0.12027668952941895 seconds for step 0 to finish before starting checkpointing.
I0420 14:41:02.827149 134918032587904 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 14:41:02.827312 134918032587904 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0
I0420 14:41:02.827736 134918032587904 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0.
I0420 14:41:02.906412 134918032587904 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient
I0420 14:41:02.992139 134918032587904 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0420 14:41:02.992229 134918032587904 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
I0420 14:41:03.009367 134802950850112 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0
I0420 14:41:03.789237 134802940364352 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0/items
I0420 14:41:03.844501 134918032587904 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.852824s
I0420 14:41:03.844932 134918032587904 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 13.170 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 937 milliseconds) (per-host)
I0420 14:41:03.844989 134918032587904 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.937135s (batch_requests_ready=0.080306s, total_serialization_initiated=0.856502s, others=0.000327s)
I0420 14:41:03.845068 134918032587904 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.938080s (all_items=0.000019s, per_item={'items': '0.00001907'}, temp_paths=0.938061)
I0420 14:41:03.845925 134802866964032 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0420 14:41:03.846032 134918032587904 async_checkpointer.py:561] Finished blocking save. Time taken: 1.018683s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0.
I0420 14:41:03.846229 134918032587904 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 14:41:03.846499 134918032587904 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776696062.8271341, 'wait_for_prev_duration_secs': 4.553794860839844e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776696062.8273323, 'checkpointer_blocking_duration_secs': 1.0188260078430176, 'get_old_steps_start_time': 1776696063.8461757, 'get_old_steps_duration_secs': 2.002716064453125e-05, 'checkpoint_manager_blocking_start_time': 1776696062.827024, 'checkpoint_manager_blocking_duration_secs': 1.019453763961792}
I0420 14:41:03.846565 134918032587904 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0420 14:41:03.846603 134918032587904 max_utils.py:750] 
Memstats: After params initialized:
I0420 14:41:03.846688 134918032587904 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_0(process=0,(0,0,0,0))
I0420 14:41:03.846713 134918032587904 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_1(process=0,(1,0,0,0))
I0420 14:41:03.846733 134918032587904 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_2(process=0,(0,1,0,0))
I0420 14:41:03.846750 134918032587904 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_3(process=0,(1,1,0,0))
I0420 14:41:03.846767 134918032587904 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_4(process=0,(0,2,0,0))
I0420 14:41:03.846785 134918032587904 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_5(process=0,(1,2,0,0))
I0420 14:41:03.846801 134918032587904 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_6(process=0,(0,3,0,0))
I0420 14:41:03.846823 134918032587904 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_7(process=0,(1,3,0,0))
I0420 14:41:03.944068 134802887935552 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776696063681440927, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776696063681440927, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0420 14:41:03.944354 134802961335872 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0420 14:41:04.288292 1057190 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json
I0420 14:41:04.288373 1057190 google_auth_provider.cc:156] Using OAuth2 AuthProvider
I0420 14:41:04.320529 134918032587904 metric_logger.py:196] completed step: 0, seconds: 3.605, TFLOP/s/device: 3.769, Tokens/s/device: 568.070, total_weights: 13328, loss: 10.828, lm_loss: 10.828, perplexity: 50404.086
I0420 14:41:04.321481 134918032587904 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/tensorboard/'
I0420 14:41:04.420873 134918032587904 metric_logger.py:196] completed step: 1, seconds: 1.597, TFLOP/s/device: 8.510, Tokens/s/device: 1282.742, total_weights: 12332, loss: 10.828, lm_loss: 10.828, perplexity: 50391.758
I0420 14:41:04.538495 134918032587904 metric_logger.py:196] completed step: 2, seconds: 0.025, TFLOP/s/device: 535.306, Tokens/s/device: 80687.101, total_weights: 15161, loss: 9.823, lm_loss: 9.823, perplexity: 18444.867
I0420 14:41:05.587461 134802950850112 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0/items/array_metadatas/process_0
I0420 14:41:15.258712 134918032587904 train.py:723] Completed eval step 0
I0420 14:41:15.300491 134918032587904 train.py:723] Completed eval step 1
I0420 14:41:15.305414 134918032587904 metric_logger.py:216] eval metrics after step: 4, loss=8.979, perplexity=7936.996, total_weights=26703.0
I0420 14:41:15.306015 134918032587904 metric_logger.py:196] completed step: 3, seconds: 0.101, TFLOP/s/device: 134.092, Tokens/s/device: 20211.790, total_weights: 13327, loss: 9.405, lm_loss: 9.405, perplexity: 12149.331
I0420 14:41:30.708964 134802877449792 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 26.417926s (commit=25.968894s, array_metadata_write=0.449032s)
I0420 14:41:30.710273 134802866964032 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 454.523 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 27 seconds) (per-host)
I0420 14:41:30.710401 134802866964032 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 26.864308s.
I0420 14:41:30.934893 134802866964032 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776696063681440927, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0420 14:41:31.122920 134802866964032 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0420 14:41:31.312666 134802887935552 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776696063681440927, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0420 14:41:31.549375 134802866964032 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0420 14:41:31.550095 134802866964032 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.576715s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0/items
I0420 14:41:31.550840 134802866964032 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0/items
I0420 14:41:31.812583 134802866964032 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0
I0420 14:41:32.496837 134802866964032 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0`.
I0420 14:41:32.497653 134802866964032 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 29.670308s. directory=gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/0
I0420 14:41:32.497741 134802866964032 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 28.651649s.
I0420 14:41:32.497986 134802961335872 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 14:41:32.498125 134802961335872 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0420 14:41:32.498208 134802961335872 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0420 14:41:32.498263 134802961335872 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0420 14:41:34.881380 134918032587904 metric_logger.py:196] completed step: 4, seconds: 0.118, TFLOP/s/device: 115.536, Tokens/s/device: 17414.818, total_weights: 11939, loss: 9.045, lm_loss: 9.045, perplexity: 8471.842
I0420 14:41:34.891470 134918032587904 metric_logger.py:196] completed step: 5, seconds: 10.767, TFLOP/s/device: 1.262, Tokens/s/device: 190.210, total_weights: 15502, loss: 8.953, lm_loss: 8.953, perplexity: 7728.546
I0420 14:41:35.008327 134918032587904 metric_logger.py:196] completed step: 6, seconds: 19.576, TFLOP/s/device: 0.694, Tokens/s/device: 104.618, total_weights: 13864, loss: 8.775, lm_loss: 8.775, perplexity: 6468.536
I0420 14:41:35.125707 134918032587904 metric_logger.py:196] completed step: 7, seconds: 0.007, TFLOP/s/device: 2005.776, Tokens/s/device: 302332.448, total_weights: 12988, loss: 8.688, lm_loss: 8.688, perplexity: 5928.887
I0420 14:41:35.793589 134918032587904 train.py:723] Completed eval step 0
I0420 14:41:35.833101 134918032587904 train.py:723] Completed eval step 1
I0420 14:41:35.835843 134918032587904 metric_logger.py:216] eval metrics after step: 9, loss=8.653, perplexity=5725.923, total_weights=26703.0
I0420 14:41:35.836352 134918032587904 metric_logger.py:196] completed step: 8, seconds: 0.117, TFLOP/s/device: 115.651, Tokens/s/device: 17432.161, total_weights: 13820, loss: 8.740, lm_loss: 8.740, perplexity: 6250.123
I0420 14:41:35.838206 134918032587904 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0420 14:41:35.838834 134918032587904 checkpointing.py:798] Waited 0.0006318092346191406 seconds for step 9 to finish before starting checkpointing.
I0420 14:41:35.839077 134918032587904 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 14:41:35.839242 134918032587904 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 9
I0420 14:41:35.839540 134918032587904 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9.
I0420 14:41:36.010422 134802126669376 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9
I0420 14:41:36.017844 134918032587904 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0420 14:41:36.017948 134918032587904 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
I0420 14:41:36.705756 134802116183616 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9/items
I0420 14:41:40.336601 134918032587904 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 4.319229s
I0420 14:41:40.337210 134918032587904 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.799 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 4 seconds) (per-host)
I0420 14:41:40.337266 134918032587904 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 4.409394s (batch_requests_ready=0.086388s, total_serialization_initiated=4.322529s, others=0.000478s)
I0420 14:41:40.337333 134918032587904 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 4.410481s (all_items=0.000023s, per_item={'items': '0.00002337'}, temp_paths=4.410458)
I0420 14:41:40.342816 134802105697856 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0420 14:41:40.342902 134918032587904 async_checkpointer.py:561] Finished blocking save. Time taken: 4.503619s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9.
I0420 14:41:40.343118 134918032587904 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0420 14:41:40.343320 134802137155136 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0420 14:41:40.343444 134918032587904 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776696095.839031, 'wait_for_prev_duration_secs': 7.224082946777344e-05, 'time_between_consecutive_saves_sec': 3.340752363204956, 'checkpointer_blocking_start_time': 1776696095.8392634, 'checkpointer_blocking_duration_secs': 4.503751754760742, 'get_old_steps_start_time': 1776696100.343032, 'get_old_steps_duration_secs': 4.8160552978515625e-05, 'checkpoint_manager_blocking_start_time': 1776696095.838995, 'checkpoint_manager_blocking_duration_secs': 4.50442361831665}
I0420 14:41:40.343556 134918032587904 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0420 14:41:40.343589 134918032587904 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0420 14:41:41.165950 134802095212096 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9/items/array_metadatas/process_0
I0420 14:42:17.910714 134802116183616 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 37.568742s (commit=37.090940s, array_metadata_write=0.477802s)
I0420 14:42:17.911994 134802105697856 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 300.990 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 41 seconds) (per-host)
I0420 14:42:17.912073 134802105697856 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.569124s.
I0420 14:42:18.341686 134802105697856 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0420 14:42:18.796561 134802105697856 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0420 14:42:18.797318 134802105697856 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.600509s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9/items
I0420 14:42:18.798075 134802105697856 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9/items
I0420 14:42:19.046731 134802105697856 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9
I0420 14:42:19.735274 134802105697856 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9`.
I0420 14:42:19.736038 134802105697856 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 43.896761s. directory=gs://wanglance-maxtext/linen_ckpt_feat_nnx_trainstate_and_training_loop_20260420_142345/linen_feat_nnx_trainstate_and_training_loop_20260420_142345_07_eval/checkpoints/9
I0420 14:42:19.736142 134802105697856 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 39.393197s.
I0420 14:42:19.736367 134802137155136 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0420 14:42:19.736497 134802137155136 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0420 14:42:19.736567 134802137155136 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0420 14:42:19.736609 134802137155136 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0420 14:42:19.736985 134918032587904 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.
I0420 14:42:19.737601 134918032587904 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0420 14:42:19.738791 134918032587904 metric_logger.py:196] completed step: 9, seconds: 0.117, TFLOP/s/device: 115.719, Tokens/s/device: 17442.405, total_weights: 12300, loss: 8.710, lm_loss: 8.710, perplexity: 6065.008
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops