MaxView

‹ 06_grad_accumCase: 07_eval08_checkpoint_async_true_resume ›

Metrics: main (b341212ce) vs fix/gate-fp8-nan-sanitization (cd5a4f898)

Metricmain  b341212cefix/gate-fp8-nan-sanitization  cd5a4f898Diff (fix/gate-fp8-nan-sanitization − main)
Parameters1.104 billion1.104 billion
Final loss8.71008.71000
TFLOP/s115.180115.852+0.672
Tok/s17361.217462.5+101.254
Avg s/step3.0592.965-0.094
Memory %5.095.090
JAX0.8.10.8.1

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

main  ·  b341212ce  ·  main_20260421_144657  ·  full log
2026-04-21 15:05:52.016311: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776783952.026598 1493670 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776783952.029580 1493670 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776783952.039321 1493670 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776783952.039331 1493670 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776783952.039333 1493670 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776783952.039334 1493670 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-21 15:05:55.453527: 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)
I0421 15:05:55.571375 131315320347776 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag.
I0421 15:06:22.480978 131315320347776 max_utils.py:800] System Information: Jax Version: 0.8.1
I0421 15:06:22.481242 131315320347776 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0421 15:06:22.481289 131315320347776 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0421 15:06:22.481319 131315320347776 train_utils.py:335] WARNING: 'dataset_path' might be pointing your local file system
I0421 15:06:22.481446 131315320347776 train.py:703] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper.
I0421 15:06:22.837010 131315320347776 maxtext_utils.py:1551] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 15:06:22.837411 131315320347776 checkpointing.py:677] Setting up checkpoint logger...
I0421 15:06:22.837460 131315320347776 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0421 15:06:22.837547 131315320347776 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None
I0421 15:06:22.838434 131315320347776 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 0x776deeba4650>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 15:06:25.266310 131315320347776 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 15:06:25.266610 131315320347776 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 0x776c493d6870>}, handler_registry=None
I0421 15:06:25.267040 131315320347776 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x776c493d6870>` 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`.
I0421 15:06:25.267103 131315320347776 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x776c48381f10>` 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`.
I0421 15:06:25.267133 131315320347776 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 0x776c493d6870>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x776c493d6870>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x776c48381f10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x776c48381f10>}).
I0421 15:06:25.267461 131315320347776 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28
I0421 15:06:25.267523 131315320347776 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x776c483a4ea0> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0421 15:06:25.397320 131315320347776 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints
I0421 15:06:25.397606 131315320347776 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_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x776c4873b710>
I0421 15:06:25.397701 131315320347776 checkpointing.py:301] Checkpoint manager created!
I0421 15:06:25.746380 131315320347776 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0421 15:06:25.749346 131315320347776 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.
I0421 15:06:25.802343 131315320347776 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
I0421 15:06:25.824531 131315320347776 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0421 15:06:25.824594 131315320347776 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0421 15:06:26.353594 131315320347776 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0421 15:06:26.355216 131315320347776 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.
I0421 15:06:26.371138 131315320347776 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
I0421 15:06:26.373711 131315320347776 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0421 15:06:26.373760 131315320347776 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0421 15:06:26.707358 131315320347776 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 15:06:26.707451 131315320347776 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0421 15:06:27.008454 131315320347776 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 15:06:27.008544 131315320347776 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0421 15:06:27.021054 131315320347776 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 15:06:27.021106 131315320347776 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0421 15:06:27.053697 131315320347776 attentions.py:1154] attentions/query Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 15:06:27.053778 131315320347776 attentions.py:1154] attentions/query Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0421 15:06:27.066441 131315320347776 attentions.py:1155] attentions/key Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 15:06:27.066496 131315320347776 attentions.py:1155] attentions/key Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0421 15:06:27.078966 131315320347776 attentions.py:1156] attentions/value Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 15:06:27.079014 131315320347776 attentions.py:1156] attentions/value Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0421 15:06:27.098854 131315320347776 attentions.py:1197] attentions/out Logical: bfloat16[8,2048,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 15:06:27.098916 131315320347776 attentions.py:1197] attentions/out Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0421 15:06:27.114620 131315320347776 linears.py:525] linears/x Logical: bfloat16[8,2048,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 15:06:27.114674 131315320347776 linears.py:525] linears/x Physical: bfloat16[8,2048,7168]....................................... ('fsdp', None, None).
I0421 15:06:27.268534 131315320347776 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 15:06:27.268633 131315320347776 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
[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
I0421 15:06:27.883403 131315320347776 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0421 15:06:27.883517 131315320347776 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0421 15:06:27.883559 131315320347776 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0421 15:06:27.883605 131315320347776 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0421 15:06:27.883646 131315320347776 maxtext_utils.py:1654]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0421 15:06:27.883677 131315320347776 maxtext_utils.py:1654]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0421 15:06:27.883719 131315320347776 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0421 15:06:27.883767 131315320347776 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0421 15:06:27.883800 131315320347776 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0421 15:06:27.883830 131315320347776 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0421 15:06:27.883868 131315320347776 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0421 15:06:27.883905 131315320347776 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0421 15:06:28.294680 131315320347776 train.py:155] train/xent Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0421 15:06:28.294775 131315320347776 train.py:155] train/xent Physical: float32[8,2048]............................................. ('fsdp', None).
I0421 15:06:28.306895 131315320347776 train.py:162] train/z_loss Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0421 15:06:28.306947 131315320347776 train.py:162] train/z_loss Physical: float32[8,2048]............................................. ('fsdp', None).
I0421 15:06:29.308348 131315320347776 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.
I0421 15:06:29.308892 131315320347776 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter.
I0421 15:06:29.309037 131315320347776 metric_logger.py:301] number parameters: 1.104 billion
I0421 15:06:33.221704 131315320347776 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0421 15:06:33.343138 131315320347776 checkpointing.py:776] Waited 0.12141656875610352 seconds for step 0 to finish before starting checkpointing.
I0421 15:06:33.343608 131315320347776 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:06:33.343758 131315320347776 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0
I0421 15:06:33.344180 131315320347776 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0.
I0421 15:06:33.424947 131315320347776 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient
I0421 15:06:33.504574 131222781036096 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0
I0421 15:06:33.521018 131315320347776 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:06:33.521131 131315320347776 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
I0421 15:06:34.187656 131315320347776 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.667113s
I0421 15:06:34.188330 131315320347776 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 16.190 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 762 milliseconds) (per-host)
I0421 15:06:34.188388 131315320347776 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.762356s (batch_requests_ready=0.091009s, total_serialization_initiated=0.670806s, others=0.000541s)
I0421 15:06:34.188458 131315320347776 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.762948s (all_items=0.000019s, per_item={'items': '0.00001860'}, temp_paths=0.762929)
I0421 15:06:34.189380 131222709732928 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0421 15:06:34.189517 131315320347776 async_checkpointer.py:561] Finished blocking save. Time taken: 0.845715s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0.
I0421 15:06:34.189760 131315320347776 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 15:06:34.189969 131315320347776 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776783993.3435946, 'wait_for_prev_duration_secs': 4.100799560546875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776783993.3437781, 'checkpointer_blocking_duration_secs': 0.8458857536315918, 'get_old_steps_start_time': 1776783994.1896873, 'get_old_steps_duration_secs': 2.6941299438476562e-05, 'checkpoint_manager_blocking_start_time': 1776783993.343508, 'checkpoint_manager_blocking_duration_secs': 0.8464305400848389}
I0421 15:06:34.190065 131315320347776 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0421 15:06:34.190113 131315320347776 max_utils.py:750] 
Memstats: After params initialized:
I0421 15:06:34.190186 131315320347776 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_0(process=0,(0,0,0,0))
I0421 15:06:34.190213 131315320347776 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_1(process=0,(1,0,0,0))
I0421 15:06:34.190234 131315320347776 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_2(process=0,(0,1,0,0))
I0421 15:06:34.190253 131315320347776 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_3(process=0,(1,1,0,0))
I0421 15:06:34.190270 131315320347776 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_4(process=0,(0,2,0,0))
I0421 15:06:34.190287 131315320347776 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_5(process=0,(1,2,0,0))
I0421 15:06:34.190303 131315320347776 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_6(process=0,(0,3,0,0))
I0421 15:06:34.190320 131315320347776 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_7(process=0,(1,3,0,0))
I0421 15:06:34.252394 131222770550336 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0/items
I0421 15:06:34.404864 131222730704448 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776783994156629522, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776783994156629522, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0421 15:06:34.405198 131222791521856 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0421 15:06:34.618212 131315320347776 metric_logger.py:196] completed step: 0, seconds: 3.912, TFLOP/s/device: 3.473, Tokens/s/device: 523.501, total_weights: 13328, loss: 10.828, lm_loss: 10.828, perplexity: 50404.086
I0421 15:06:34.619251 131315320347776 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/tensorboard/'
I0421 15:06:34.732764 131315320347776 metric_logger.py:196] completed step: 1, seconds: 1.393, TFLOP/s/device: 9.754, Tokens/s/device: 1470.193, total_weights: 12332, loss: 10.828, lm_loss: 10.828, perplexity: 50391.758
I0421 15:06:34.787795 1496298 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json
I0421 15:06:34.787887 1496298 google_auth_provider.cc:156] Using OAuth2 AuthProvider
I0421 15:06:34.850549 131315320347776 metric_logger.py:196] completed step: 2, seconds: 0.012, TFLOP/s/device: 1160.103, Tokens/s/device: 174863.388, total_weights: 15161, loss: 9.823, lm_loss: 9.823, perplexity: 18444.867
I0421 15:06:36.020914 131222781036096 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0/items/array_metadatas/process_0
I0421 15:06:42.649302 131315320347776 train.py:620] Completed eval step 0
I0421 15:06:42.691614 131315320347776 train.py:620] Completed eval step 1
I0421 15:06:42.696554 131315320347776 metric_logger.py:216] eval metrics after step: 4, loss=8.979, perplexity=7936.996, total_weights=26703.0
I0421 15:06:42.697111 131315320347776 metric_logger.py:196] completed step: 3, seconds: 0.116, TFLOP/s/device: 116.649, Tokens/s/device: 17582.569, total_weights: 13327, loss: 9.405, lm_loss: 9.405, perplexity: 12149.331
I0421 15:07:00.493808 131315320347776 metric_logger.py:196] completed step: 4, seconds: 0.118, TFLOP/s/device: 115.548, Tokens/s/device: 17416.595, total_weights: 11939, loss: 9.045, lm_loss: 9.045, perplexity: 8471.842
I0421 15:07:00.511221 131315320347776 metric_logger.py:196] completed step: 5, seconds: 7.845, TFLOP/s/device: 1.732, Tokens/s/device: 261.058, total_weights: 15502, loss: 8.953, lm_loss: 8.953, perplexity: 7728.546
I0421 15:07:00.625275 131315320347776 metric_logger.py:196] completed step: 6, seconds: 17.801, TFLOP/s/device: 0.763, Tokens/s/device: 115.047, total_weights: 13864, loss: 8.775, lm_loss: 8.775, perplexity: 6468.536
I0421 15:07:00.743087 131315320347776 metric_logger.py:196] completed step: 7, seconds: 0.013, TFLOP/s/device: 1012.378, Tokens/s/device: 152596.677, total_weights: 12988, loss: 8.688, lm_loss: 8.688, perplexity: 5928.887
I0421 15:07:01.441814 131315320347776 train.py:620] Completed eval step 0
I0421 15:07:01.481650 131315320347776 train.py:620] Completed eval step 1
I0421 15:07:01.484435 131315320347776 metric_logger.py:216] eval metrics after step: 9, loss=8.653, perplexity=5725.923, total_weights=26703.0
I0421 15:07:01.484850 131315320347776 metric_logger.py:196] completed step: 8, seconds: 0.111, TFLOP/s/device: 122.414, Tokens/s/device: 18451.614, total_weights: 13820, loss: 8.740, lm_loss: 8.740, perplexity: 6250.123
I0421 15:07:01.486784 131315320347776 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0421 15:07:01.487377 131315320347776 checkpointing.py:776] Waited 0.0005931854248046875 seconds for step 9 to finish before starting checkpointing.
I0421 15:07:01.487618 131315320347776 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 15:07:18.935664 131222760064576 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 44.154273s (commit=43.569222s, array_metadata_write=0.585051s)
I0421 15:07:18.937060 131222709732928 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 277.665 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 45 seconds) (per-host)
I0421 15:07:18.937209 131222709732928 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 44.747633s.
I0421 15:07:19.185860 131222709732928 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776783994156629522, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0421 15:07:19.370462 131222709732928 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0421 15:07:19.570655 131222730704448 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776783994156629522, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0421 15:07:19.809830 131222709732928 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0421 15:07:19.810088 131222709732928 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.586430s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0/items
I0421 15:07:19.810913 131222709732928 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0/items
I0421 15:07:20.052954 131222709732928 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0
I0421 15:07:20.763590 131222709732928 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0`.
I0421 15:07:20.764378 131222709732928 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 47.420586s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/0
I0421 15:07:20.764521 131222709732928 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 46.574948s.
I0421 15:07:20.764667 131222791521856 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 15:07:20.764720 131222791521856 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0421 15:07:20.764797 131222791521856 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:07:20.764851 131222791521856 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0421 15:07:20.765025 131315320347776 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.
W0421 15:07:20.765211 131315320347776 checkpoint_manager.py:1441] Waiting for previous save to complete took 19.277590 seconds. If this number is high, consider checkpointing less frequently.
I0421 15:07:20.766143 131315320347776 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 9
I0421 15:07:20.766526 131315320347776 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9.
I0421 15:07:20.941793 131222791521856 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9
I0421 15:07:20.945756 131315320347776 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:07:20.945867 131315320347776 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
I0421 15:07:21.708382 131222770550336 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9/items
I0421 15:07:28.607589 131315320347776 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 7.662425s
I0421 15:07:28.612406 131315320347776 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 1.589 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 7 seconds) (per-host)
I0421 15:07:28.612478 131315320347776 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 7.764165s (batch_requests_ready=0.093682s, total_serialization_initiated=7.665818s, others=0.004664s)
I0421 15:07:28.612564 131315320347776 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 7.764817s (all_items=0.000026s, per_item={'items': '0.00002575'}, temp_paths=7.764792)
I0421 15:07:28.615355 131222709732928 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0421 15:07:28.615490 131315320347776 async_checkpointer.py:561] Finished blocking save. Time taken: 7.849272s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9.
I0421 15:07:28.615789 131315320347776 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 15:07:28.616106 131222760064576 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0421 15:07:28.616249 131315320347776 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776784021.487585, 'wait_for_prev_duration_secs': 19.277589559555054, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776784040.7661703, 'checkpointer_blocking_duration_secs': 7.849505662918091, 'get_old_steps_start_time': 1776784048.6156948, 'get_old_steps_duration_secs': 3.62396240234375e-05, 'checkpoint_manager_blocking_start_time': 1776784021.4875474, 'checkpoint_manager_blocking_duration_secs': 27.128668069839478}
I0421 15:07:28.616411 131315320347776 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0421 15:07:28.616451 131315320347776 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 15:07:29.347483 131222781036096 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9/items/array_metadatas/process_0
I0421 15:08:03.650440 131220899890752 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 35.037137s (commit=34.499063s, array_metadata_write=0.538074s)
I0421 15:08:03.651647 131222709732928 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 295.229 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 42 seconds) (per-host)
I0421 15:08:03.651710 131222709732928 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 35.036144s.
I0421 15:08:04.052982 131222709732928 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0421 15:08:04.485822 131222709732928 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0421 15:08:04.486030 131222709732928 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.588916s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9/items
I0421 15:08:04.486841 131222709732928 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9/items
I0421 15:08:04.714742 131222709732928 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9
I0421 15:08:05.414950 131222709732928 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9`.
I0421 15:08:05.415766 131222709732928 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 44.649578s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_07_eval/checkpoints/9
I0421 15:08:05.415856 131222709732928 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 36.800291s.
I0421 15:08:05.416106 131222760064576 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 15:08:05.416229 131222760064576 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0421 15:08:05.416300 131222760064576 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:08:05.416344 131222760064576 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0421 15:08:05.416825 131315320347776 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.
I0421 15:08:05.416974 131315320347776 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:08:05.417882 131315320347776 metric_logger.py:196] completed step: 9, seconds: 0.118, TFLOP/s/device: 115.180, Tokens/s/device: 17361.229, 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-22 18:02:38.636487: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776880958.649795 2035952 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776880958.653647 2035952 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776880958.665197 2035952 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776880958.665214 2035952 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776880958.665216 2035952 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776880958.665217 2035952 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
Unrecognized keys in `rope_scaling` for 'rope_type'='yarn': {'rope_theta'}
`rope_scaling`'s factor field must be a float >= 1, got 40
`rope_scaling`'s beta_fast field must be a float, got 32
`rope_scaling`'s beta_slow field must be a float, got 1
Unrecognized keys in `rope_scaling` for 'rope_type'='yarn': {'rope_theta'}
Unrecognized keys in `rope_scaling` for 'rope_type'='yarn': {'rope_theta'}
Unrecognized keys in `rope_scaling` for 'rope_type'='yarn': {'rope_theta'}
2026-04-22 18:02:42.608236: 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)
I0422 18:02:42.743554 135734892808000 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag.
I0422 18:03:37.105036 135734892808000 max_utils.py:800] System Information: Jax Version: 0.8.1
I0422 18:03:37.105313 135734892808000 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0422 18:03:37.105364 135734892808000 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0422 18:03:37.105397 135734892808000 train_utils.py:348] WARNING: 'dataset_path' might be pointing your local file system
I0422 18:03:37.105601 135734892808000 train.py:706] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper.
I0422 18:03:37.774856 135734892808000 maxtext_utils.py:1604] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 18:03:37.775131 135734892808000 checkpointing.py:677] Setting up checkpoint logger...
I0422 18:03:37.775178 135734892808000 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 18:03:37.775216 135734892808000 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None
I0422 18:03:37.775646 135734892808000 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 0x7b72f91af1a0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 18:03:40.283633 135734892808000 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0422 18:03:40.284029 135734892808000 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 0x7b71287b1b80>}, handler_registry=None
I0422 18:03:40.284269 135734892808000 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b71287b1b80>` 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`.
I0422 18:03:40.284309 135734892808000 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b71287b2120>` 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`.
I0422 18:03:40.284338 135734892808000 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 0x7b71287b1b80>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b71287b1b80>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b71287b2120>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b71287b2120>}).
I0422 18:03:40.284624 135734892808000 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28
I0422 18:03:40.284675 135734892808000 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x7b71287c4540> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0422 18:03:40.418211 135734892808000 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints
I0422 18:03:40.418434 135734892808000 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_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b71287b2000>
I0422 18:03:40.418720 135734892808000 checkpointing.py:301] Checkpoint manager created!
I0422 18:03:40.495332 135734892808000 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0422 18:03:40.498178 135734892808000 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.
I0422 18:03:40.568700 135734892808000 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
I0422 18:03:40.591100 135734892808000 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0422 18:03:40.591162 135734892808000 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0422 18:03:41.139960 135734892808000 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0422 18:03:41.141548 135734892808000 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.
I0422 18:03:41.156773 135734892808000 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
I0422 18:03:41.159348 135734892808000 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0422 18:03:41.159398 135734892808000 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0422 18:03:41.471590 135734892808000 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 18:03:41.471683 135734892808000 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0422 18:03:41.773754 135734892808000 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 18:03:41.773842 135734892808000 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0422 18:03:41.786690 135734892808000 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 18:03:41.786738 135734892808000 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0422 18:03:41.805894 135734892808000 attentions.py:1154] attentions/query Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 18:03:41.805951 135734892808000 attentions.py:1154] attentions/query Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0422 18:03:41.818797 135734892808000 attentions.py:1155] attentions/key Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 18:03:41.818851 135734892808000 attentions.py:1155] attentions/key Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0422 18:03:41.831597 135734892808000 attentions.py:1156] attentions/value Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 18:03:41.831647 135734892808000 attentions.py:1156] attentions/value Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0422 18:03:41.851735 135734892808000 attentions.py:1198] attentions/out Logical: bfloat16[8,2048,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 18:03:41.851793 135734892808000 attentions.py:1198] attentions/out Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0422 18:03:41.867799 135734892808000 linears.py:525] linears/x Logical: bfloat16[8,2048,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 18:03:41.867859 135734892808000 linears.py:525] linears/x Physical: bfloat16[8,2048,7168]....................................... ('fsdp', None, None).
I0422 18:03:42.022835 135734892808000 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 18:03:42.022932 135734892808000 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
[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
I0422 18:03:42.565192 135734892808000 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0422 18:03:42.565305 135734892808000 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 18:03:42.565349 135734892808000 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 18:03:42.565395 135734892808000 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0422 18:03:42.565436 135734892808000 maxtext_utils.py:1707]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0422 18:03:42.565464 135734892808000 maxtext_utils.py:1707]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0422 18:03:42.565503 135734892808000 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0422 18:03:42.565543 135734892808000 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0422 18:03:42.565573 135734892808000 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0422 18:03:42.565607 135734892808000 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0422 18:03:42.565643 135734892808000 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0422 18:03:42.565679 135734892808000 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0422 18:03:43.250224 135734892808000 train.py:155] train/xent Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0422 18:03:43.250305 135734892808000 train.py:155] train/xent Physical: float32[8,2048]............................................. ('fsdp', None).
I0422 18:03:43.262531 135734892808000 train.py:162] train/z_loss Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0422 18:03:43.262589 135734892808000 train.py:162] train/z_loss Physical: float32[8,2048]............................................. ('fsdp', None).
I0422 18:03:44.031119 135734892808000 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.
I0422 18:03:44.031686 135734892808000 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter.
I0422 18:03:44.031844 135734892808000 metric_logger.py:301] number parameters: 1.104 billion
I0422 18:03:48.016826 135734892808000 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0422 18:03:48.138483 135734892808000 checkpointing.py:776] Waited 0.12164616584777832 seconds for step 0 to finish before starting checkpointing.
I0422 18:03:48.139219 135734892808000 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 18:03:48.139371 135734892808000 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0
I0422 18:03:48.139769 135734892808000 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0.
I0422 18:03:48.222461 135734892808000 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient
I0422 18:03:48.303943 135604824180288 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0
I0422 18:03:48.316812 135734892808000 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0422 18:03:48.316902 135734892808000 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
I0422 18:03:49.077455 135604813694528 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0/items
I0422 18:03:49.224884 135604360709696 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776881028970159797, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776881028970159797, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0422 18:03:49.626409 2038709 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json
I0422 18:03:49.626467 2038709 google_auth_provider.cc:156] Using OAuth2 AuthProvider
I0422 18:03:50.577340 135734892808000 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 2.260943s
I0422 18:03:50.582301 135734892808000 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.232 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 2 seconds) (per-host)
I0422 18:03:50.582366 135734892808000 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 2.358576s (batch_requests_ready=0.089116s, total_serialization_initiated=2.264603s, others=0.004857s)
I0422 18:03:50.582440 135734892808000 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 2.359515s (all_items=0.000021s, per_item={'items': '0.00002098'}, temp_paths=2.359494)
I0422 18:03:50.583899 135603555403328 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0422 18:03:50.584002 135734892808000 async_checkpointer.py:561] Finished blocking save. Time taken: 2.444590s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0.
I0422 18:03:50.584219 135734892808000 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 18:03:50.584395 135604834666048 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0422 18:03:50.584492 135734892808000 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776881028.1392052, 'wait_for_prev_duration_secs': 4.363059997558594e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776881028.1393926, 'checkpointer_blocking_duration_secs': 2.4447367191314697, 'get_old_steps_start_time': 1776881030.5841463, 'get_old_steps_duration_secs': 3.695487976074219e-05, 'checkpoint_manager_blocking_start_time': 1776881028.1391218, 'checkpoint_manager_blocking_duration_secs': 2.4453444480895996}
I0422 18:03:50.584608 135734892808000 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0422 18:03:50.584650 135734892808000 max_utils.py:750] 
Memstats: After params initialized:
I0422 18:03:50.584695 135734892808000 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_0(process=0,(0,0,0,0))
I0422 18:03:50.584719 135734892808000 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_1(process=0,(1,0,0,0))
I0422 18:03:50.584738 135734892808000 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_2(process=0,(0,1,0,0))
I0422 18:03:50.584755 135734892808000 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_3(process=0,(1,1,0,0))
I0422 18:03:50.584773 135734892808000 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_4(process=0,(0,2,0,0))
I0422 18:03:50.584789 135734892808000 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_5(process=0,(1,2,0,0))
I0422 18:03:50.584805 135734892808000 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_6(process=0,(0,3,0,0))
I0422 18:03:50.584821 135734892808000 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_7(process=0,(1,3,0,0))
I0422 18:03:50.969624 135734892808000 metric_logger.py:196] completed step: 0, seconds: 3.984, TFLOP/s/device: 3.410, Tokens/s/device: 513.999, total_weights: 13328, loss: 10.828, lm_loss: 10.828, perplexity: 50404.086
I0422 18:03:50.970551 135734892808000 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/tensorboard/'
I0422 18:03:51.085481 135734892808000 metric_logger.py:196] completed step: 1, seconds: 2.951, TFLOP/s/device: 4.605, Tokens/s/device: 694.091, total_weights: 12332, loss: 10.828, lm_loss: 10.828, perplexity: 50391.758
I0422 18:03:51.203251 135734892808000 metric_logger.py:196] completed step: 2, seconds: 0.010, TFLOP/s/device: 1324.282, Tokens/s/device: 199610.136, total_weights: 15161, loss: 9.823, lm_loss: 9.823, perplexity: 18444.867
I0422 18:03:51.380811 135604654310976 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0/items/array_metadatas/process_0
I0422 18:03:54.495488 135734892808000 train.py:623] Completed eval step 0
I0422 18:03:54.538569 135734892808000 train.py:623] Completed eval step 1
I0422 18:03:54.543754 135734892808000 metric_logger.py:216] eval metrics after step: 4, loss=8.979, perplexity=7936.996, total_weights=26703.0
I0422 18:03:54.544295 135734892808000 metric_logger.py:196] completed step: 3, seconds: 0.118, TFLOP/s/device: 115.489, Tokens/s/device: 17407.713, total_weights: 13327, loss: 9.405, lm_loss: 9.405, perplexity: 12149.331
I0422 18:04:14.453094 135734892808000 metric_logger.py:196] completed step: 4, seconds: 0.118, TFLOP/s/device: 114.891, Tokens/s/device: 17317.628, total_weights: 11939, loss: 9.045, lm_loss: 9.045, perplexity: 8471.842
I0422 18:04:14.465633 135734892808000 metric_logger.py:196] completed step: 5, seconds: 3.339, TFLOP/s/device: 4.069, Tokens/s/device: 613.290, total_weights: 15502, loss: 8.953, lm_loss: 8.953, perplexity: 7728.546
I0422 18:04:14.581922 135734892808000 metric_logger.py:196] completed step: 6, seconds: 19.911, TFLOP/s/device: 0.682, Tokens/s/device: 102.859, total_weights: 13864, loss: 8.775, lm_loss: 8.775, perplexity: 6468.536
I0422 18:04:14.699458 135734892808000 metric_logger.py:196] completed step: 7, seconds: 0.008, TFLOP/s/device: 1701.582, Tokens/s/device: 256480.902, total_weights: 12988, loss: 8.688, lm_loss: 8.688, perplexity: 5928.887
I0422 18:04:15.403743 135734892808000 train.py:623] Completed eval step 0
I0422 18:04:15.443498 135734892808000 train.py:623] Completed eval step 1
I0422 18:04:15.446633 135734892808000 metric_logger.py:216] eval metrics after step: 9, loss=8.653, perplexity=5725.923, total_weights=26703.0
I0422 18:04:15.447080 135734892808000 metric_logger.py:196] completed step: 8, seconds: 0.117, TFLOP/s/device: 115.699, Tokens/s/device: 17439.435, total_weights: 13820, loss: 8.740, lm_loss: 8.740, perplexity: 6250.123
I0422 18:04:15.449520 135734892808000 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0422 18:04:15.450157 135734892808000 checkpointing.py:776] Waited 0.0006396770477294922 seconds for step 9 to finish before starting checkpointing.
I0422 18:04:15.450451 135734892808000 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 18:04:29.043256 135603689621056 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 38.460110s (commit=37.957783s, array_metadata_write=0.502326s)
I0422 18:04:29.044360 135603555403328 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 309.570 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 40 seconds) (per-host)
I0422 18:04:29.044475 135603555403328 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.460424s.
I0422 18:04:29.335038 135603555403328 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776881028970159797, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0422 18:04:29.563130 135603555403328 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0422 18:04:29.764741 135604360709696 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776881028970159797, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0/_CHECKPOINT_METADATA
I0422 18:04:29.960923 135603555403328 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0422 18:04:29.961124 135603555403328 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.581014s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0/items
I0422 18:04:29.961788 135603555403328 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0/items
I0422 18:04:30.207433 135603555403328 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0
I0422 18:04:30.952198 135603555403328 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0`.
I0422 18:04:30.952840 135603555403328 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 42.813436s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/0
I0422 18:04:30.952923 135603555403328 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 40.368876s.
I0422 18:04:30.953155 135604834666048 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 18:04:30.953274 135604834666048 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0422 18:04:30.953342 135604834666048 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0422 18:04:30.953388 135604834666048 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0422 18:04:30.953515 135734892808000 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.
W0422 18:04:30.953641 135734892808000 checkpoint_manager.py:1441] Waiting for previous save to complete took 15.503228 seconds. If this number is high, consider checkpointing less frequently.
I0422 18:04:30.954737 135734892808000 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 9
I0422 18:04:30.955070 135734892808000 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9.
I0422 18:04:31.128215 135603555403328 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9
I0422 18:04:31.136780 135734892808000 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0422 18:04:31.136879 135734892808000 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
I0422 18:04:31.891297 135604654310976 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9/items
I0422 18:04:34.381698 135734892808000 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 3.245320s
I0422 18:04:34.386608 135734892808000 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 3.689 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 3 seconds) (per-host)
I0422 18:04:34.386673 135734892808000 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 3.345491s (batch_requests_ready=0.092141s, total_serialization_initiated=3.248548s, others=0.004802s)
I0422 18:04:34.386753 135734892808000 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 3.346408s (all_items=0.000026s, per_item={'items': '0.00002551'}, temp_paths=3.346383)
I0422 18:04:34.388486 135604834666048 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0422 18:04:34.388629 135734892808000 async_checkpointer.py:561] Finished blocking save. Time taken: 3.433847s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9.
I0422 18:04:34.388778 135734892808000 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 18:04:34.389010 135603555403328 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0422 18:04:34.389136 135734892808000 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776881055.4503834, 'wait_for_prev_duration_secs': 15.503228425979614, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776881070.954763, 'checkpointer_blocking_duration_secs': 3.4339277744293213, 'get_old_steps_start_time': 1776881074.3887107, 'get_old_steps_duration_secs': 2.7418136596679688e-05, 'checkpoint_manager_blocking_start_time': 1776881055.4503424, 'checkpoint_manager_blocking_duration_secs': 18.9387686252594}
I0422 18:04:34.389215 135734892808000 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0422 18:04:34.389249 135734892808000 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 18:04:35.173913 135604643825216 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9/items/array_metadatas/process_0
I0422 18:05:12.842072 135604654310976 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 38.454850s (commit=37.992211s, array_metadata_write=0.462639s)
I0422 18:05:12.843454 135604834666048 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 302.299 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 41 seconds) (per-host)
I0422 18:05:12.843564 135604834666048 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.454978s.
I0422 18:05:13.316567 135604834666048 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0422 18:05:13.752757 135604834666048 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0422 18:05:13.752930 135604834666048 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.607194s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9/items
I0422 18:05:13.753633 135604834666048 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9/items
I0422 18:05:14.007811 135604834666048 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9
I0422 18:05:14.728796 135604834666048 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9`.
I0422 18:05:14.729443 135604834666048 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 43.774666s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260422_174509/linen_main_20260422_174509_07_eval/checkpoints/9
I0422 18:05:14.729526 135604834666048 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 40.340942s.
I0422 18:05:14.729717 135603555403328 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 18:05:14.729823 135603555403328 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0422 18:05:14.729884 135603555403328 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0422 18:05:14.729927 135603555403328 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0422 18:05:14.730088 135734892808000 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.
I0422 18:05:14.730219 135734892808000 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 18:05:14.731110 135734892808000 metric_logger.py:196] completed step: 9, seconds: 0.117, TFLOP/s/device: 115.852, Tokens/s/device: 17462.483, 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