2026-04-21 14:53:38.967607: 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:1776783218.977708 1479062 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:1776783218.980944 1479062 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:1776783218.990455 1479062 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1776783218.990467 1479062 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1776783218.990469 1479062 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1776783218.990470 1479062 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. 2026-04-21 14:53:42.404080: 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 14:53:42.519413 125783878560896 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag. I0421 14:54:09.242811 125783878560896 max_utils.py:800] System Information: Jax Version: 0.8.1 I0421 14:54:09.243116 125783878560896 max_utils.py:801] System Information: Jaxlib Version: 0.8.1 I0421 14:54:09.243169 125783878560896 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 14:54:09.243201 125783878560896 train_utils.py:335] WARNING: 'dataset_path' might be pointing your local file system I0421 14:54:09.243381 125783878560896 train.py:703] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper. I0421 14:54:09.601830 125783878560896 maxtext_utils.py:1551] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0421 14:54:09.602213 125783878560896 checkpointing.py:677] Setting up checkpoint logger... I0421 14:54:09.602261 125783878560896 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0421 14:54:09.602355 125783878560896 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None I0421 14:54:09.603206 125783878560896 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 0x72660b1a5eb0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0421 14:54:11.961164 125783878560896 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0421 14:54:11.961433 125783878560896 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 0x726464dc67b0>}, handler_registry=None I0421 14:54:11.961830 125783878560896 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x726464dc67b0>` 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 14:54:11.961878 125783878560896 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7264645818e0>` 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 14:54:11.961911 125783878560896 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 0x726464dc67b0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x726464dc67b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7264645818e0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7264645818e0>}). I0421 14:54:11.962237 125783878560896 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28 I0421 14:54:11.962298 125783878560896 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x7264645a5080> timeout: 600 secs and primary_host=0 for async checkpoint writes I0421 14:54:12.100011 125783878560896 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints I0421 14:54:12.100315 125783878560896 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_03_dropout/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x72646493ec00> I0421 14:54:12.100406 125783878560896 checkpointing.py:301] Checkpoint manager created! I0421 14:54:12.458292 125783878560896 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0 I0421 14:54:12.461256 125783878560896 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 14:54:12.513479 125783878560896 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 14:54:12.535760 125783878560896 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2 I0421 14:54:12.535823 125783878560896 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2 I0421 14:54:13.152690 125783878560896 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,128,2048]........................................ ('activation_batch', 'activation_norm_length', 'activation_embed'). I0421 14:54:13.152800 125783878560896 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,128,2048]........................................ ('fsdp', None, None). I0421 14:54:13.452338 125783878560896 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,128,2048]........................................ ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 14:54:13.452426 125783878560896 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,128,2048]........................................ ('fsdp', None, None). I0421 14:54:13.464983 125783878560896 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,128,2048]........................................ ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0421 14:54:13.465034 125783878560896 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,128,2048]........................................ ('fsdp', None, None). I0421 14:54:13.483884 125783878560896 attentions.py:1154] attentions/query Logical: bfloat16[8,128,16,128]...................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0421 14:54:13.483944 125783878560896 attentions.py:1154] attentions/query Physical: bfloat16[8,128,16,128]...................................... ('fsdp', None, None, None). I0421 14:54:13.496548 125783878560896 attentions.py:1155] attentions/key Logical: bfloat16[8,128,16,128]...................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0421 14:54:13.496602 125783878560896 attentions.py:1155] attentions/key Physical: bfloat16[8,128,16,128]...................................... ('fsdp', None, None, None). I0421 14:54:13.509113 125783878560896 attentions.py:1156] attentions/value Logical: bfloat16[8,128,16,128]...................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0421 14:54:13.509164 125783878560896 attentions.py:1156] attentions/value Physical: bfloat16[8,128,16,128]...................................... ('fsdp', None, None, None). I0421 14:54:13.528770 125783878560896 attentions.py:1197] attentions/out Logical: bfloat16[8,128,16,128]...................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0421 14:54:13.528829 125783878560896 attentions.py:1197] attentions/out Physical: bfloat16[8,128,16,128]...................................... ('fsdp', None, None, None). I0421 14:54:13.550893 125783878560896 linears.py:525] linears/x Logical: bfloat16[8,128,7168]........................................ ('activation_batch', 'activation_length', 'activation_mlp'). I0421 14:54:13.550954 125783878560896 linears.py:525] linears/x Physical: bfloat16[8,128,7168]........................................ ('fsdp', None, None). I0421 14:54:13.710958 125783878560896 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0421 14:54:13.711080 125783878560896 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 14:54:14.277649 125783878560896 maxtext_utils.py:1654] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: PartitionSpec('norm',) Physical: (None,) I0421 14:54:14.277765 125783878560896 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 14:54:14.277810 125783878560896 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 14:54:14.277856 125783878560896 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 14:54:14.277896 125783878560896 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 14:54:14.277924 125783878560896 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 14:54:14.277963 125783878560896 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 14:54:14.278003 125783878560896 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 14:54:14.278032 125783878560896 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 14:54:14.278077 125783878560896 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 14:54:14.278117 125783878560896 maxtext_utils.py:1654] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: PartitionSpec('embed_vocab', 'vocab') Physical: ('fsdp', None) I0421 14:54:14.278152 125783878560896 maxtext_utils.py:1654] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: PartitionSpec('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0421 14:54:14.712864 125783878560896 train.py:155] train/xent Logical: float32[8,128].............................................. ('activation_embed_and_logits_batch', 'activation_length'). I0421 14:54:14.712957 125783878560896 train.py:155] train/xent Physical: float32[8,128].............................................. ('fsdp', None). I0421 14:54:14.724972 125783878560896 train.py:162] train/z_loss Logical: float32[8,128].............................................. ('activation_embed_and_logits_batch', 'activation_length'). I0421 14:54:14.725026 125783878560896 train.py:162] train/z_loss Physical: float32[8,128].............................................. ('fsdp', None). I0421 14:54:18.994574 125783878560896 max_utils.py:791] Total memory size: 2.5 GB, Output size: 1.5 GB, Temp size: 1.0 GB, Argument size: 1.5 GB, Host temp size: 0.0 GB. I0421 14:54:18.995137 125783878560896 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter. I0421 14:54:18.995288 125783878560896 metric_logger.py:301] number parameters: 1.104 billion I0421 14:54:26.247263 125783878560896 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0421 14:54:26.320404 125783878560896 checkpointing.py:776] Waited 0.07312607765197754 seconds for step 0 to finish before starting checkpointing. I0421 14:54:26.321039 125783878560896 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 14:54:26.321217 125783878560896 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0 I0421 14:54:26.321616 125783878560896 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0. I0421 14:54:26.401143 125783878560896 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient I0421 14:54:26.491434 125692360525376 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0 I0421 14:54:26.496182 125783878560896 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array. I0421 14:54:26.496282 125783878560896 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 14:54:27.215289 125783878560896 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.719611s I0421 14:54:27.215821 125783878560896 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 15.175 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 813 milliseconds) (per-host) I0421 14:54:27.215882 125783878560896 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.813349s (batch_requests_ready=0.089648s, total_serialization_initiated=0.723305s, others=0.000397s) I0421 14:54:27.215953 125783878560896 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.814282s (all_items=0.000019s, per_item={'items': '0.00001931'}, temp_paths=0.814262) I0421 14:54:27.216738 125692234696256 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started. I0421 14:54:27.216865 125783878560896 async_checkpointer.py:561] Finished blocking save. Time taken: 0.895602s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0. I0421 14:54:27.217113 125783878560896 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0421 14:54:27.217345 125783878560896 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776783266.3210256, 'wait_for_prev_duration_secs': 6.4849853515625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776783266.3212404, 'checkpointer_blocking_duration_secs': 0.8957662582397461, 'get_old_steps_start_time': 1776783267.2170286, 'get_old_steps_duration_secs': 4.0531158447265625e-05, 'checkpoint_manager_blocking_start_time': 1776783266.320931, 'checkpoint_manager_blocking_duration_secs': 0.8963840007781982} I0421 14:54:27.217533 125783878560896 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0421 14:54:27.217606 125783878560896 max_utils.py:750] Memstats: After params initialized: I0421 14:54:27.217692 125783878560896 max_utils.py:756] Using (GB) 1.56 / 31.25 (4.992000%) on TPU_0(process=0,(0,0,0,0)) I0421 14:54:27.217721 125783878560896 max_utils.py:756] Using (GB) 1.56 / 31.25 (4.992000%) on TPU_1(process=0,(1,0,0,0)) I0421 14:54:27.217742 125783878560896 max_utils.py:756] Using (GB) 1.56 / 31.25 (4.992000%) on TPU_2(process=0,(0,1,0,0)) I0421 14:54:27.217762 125783878560896 max_utils.py:756] Using (GB) 1.56 / 31.25 (4.992000%) on TPU_3(process=0,(1,1,0,0)) I0421 14:54:27.217781 125783878560896 max_utils.py:756] Using (GB) 1.56 / 31.25 (4.992000%) on TPU_4(process=0,(0,2,0,0)) I0421 14:54:27.217801 125783878560896 max_utils.py:756] Using (GB) 1.56 / 31.25 (4.992000%) on TPU_5(process=0,(1,2,0,0)) I0421 14:54:27.217819 125783878560896 max_utils.py:756] Using (GB) 1.56 / 31.25 (4.992000%) on TPU_6(process=0,(0,3,0,0)) I0421 14:54:27.217836 125783878560896 max_utils.py:756] Using (GB) 1.56 / 31.25 (4.992000%) on TPU_7(process=0,(1,3,0,0)) I0421 14:54:27.240613 125692350039616 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0/items I0421 14:54:27.380539 125692318582336 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776783267128730961, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776783267128730961, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0/_CHECKPOINT_METADATA I0421 14:54:27.380842 125692224210496 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save. I0421 14:54:27.635057 125783878560896 metric_logger.py:196] completed step: 0, seconds: 7.251, TFLOP/s/device: 0.110, Tokens/s/device: 17.652, total_weights: 963, loss: 10.834, lm_loss: 10.834, perplexity: 50699.652 I0421 14:54:27.636053 125783878560896 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/tensorboard/' I0421 14:54:27.696841 125783878560896 metric_logger.py:196] completed step: 1, seconds: 1.386, TFLOP/s/device: 0.578, Tokens/s/device: 92.375, total_weights: 945, loss: 10.747, lm_loss: 10.747, perplexity: 46511.984 I0421 14:54:27.733194 1482214 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json I0421 14:54:27.733255 1482214 google_auth_provider.cc:156] Using OAuth2 AuthProvider I0421 14:54:27.761071 125783878560896 metric_logger.py:196] completed step: 2, seconds: 0.010, TFLOP/s/device: 78.533, Tokens/s/device: 12551.481, total_weights: 962, loss: 10.247, lm_loss: 10.247, perplexity: 28185.607 I0421 14:54:27.824787 125783878560896 metric_logger.py:196] completed step: 3, seconds: 0.063, TFLOP/s/device: 12.787, Tokens/s/device: 2043.618, total_weights: 975, loss: 9.829, lm_loss: 9.829, perplexity: 18562.363 I0421 14:54:36.669931 125783878560896 metric_logger.py:196] completed step: 4, seconds: 0.065, TFLOP/s/device: 12.406, Tokens/s/device: 1982.713, total_weights: 962, loss: 9.393, lm_loss: 9.393, perplexity: 11999.676 I0421 14:54:36.679136 125783878560896 metric_logger.py:196] completed step: 5, seconds: 0.063, TFLOP/s/device: 12.655, Tokens/s/device: 2022.564, total_weights: 958, loss: 9.249, lm_loss: 9.249, perplexity: 10399.042 I0421 14:54:36.741902 125783878560896 metric_logger.py:196] completed step: 6, seconds: 8.844, TFLOP/s/device: 0.091, Tokens/s/device: 14.472, total_weights: 930, loss: 9.424, lm_loss: 9.424, perplexity: 12377.827 I0421 14:54:36.806061 125783878560896 metric_logger.py:196] completed step: 7, seconds: 0.007, TFLOP/s/device: 120.924, Tokens/s/device: 19326.589, total_weights: 935, loss: 9.317, lm_loss: 9.317, perplexity: 11127.848 I0421 14:54:36.870202 125783878560896 metric_logger.py:196] completed step: 8, seconds: 0.064, TFLOP/s/device: 12.597, Tokens/s/device: 2013.307, total_weights: 930, loss: 9.479, lm_loss: 9.479, perplexity: 13077.248 I0421 14:54:36.933655 125783878560896 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0421 14:54:36.934448 125783878560896 checkpointing.py:776] Waited 0.0008106231689453125 seconds for step 9 to finish before starting checkpointing. I0421 14:54:36.934709 125783878560896 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 14:54:36.988022 125692360525376 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_03_dropout/checkpoints/0/items/array_metadatas/process_0 I0421 14:55:09.120773 125692308096576 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 41.393760s (commit=40.981883s, array_metadata_write=0.411877s) I0421 14:55:09.121999 125692234696256 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 295.809 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 42 seconds) (per-host) I0421 14:55:09.122137 125692234696256 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.905213s. I0421 14:55:09.349625 125692234696256 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776783267128730961, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0/_CHECKPOINT_METADATA I0421 14:55:09.535632 125692234696256 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 14:55:09.707398 125692318582336 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776783267128730961, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0/_CHECKPOINT_METADATA I0421 14:55:09.936387 125692234696256 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389). I0421 14:55:09.937065 125692234696256 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.545881s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0/items I0421 14:55:09.937904 125692234696256 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0/items I0421 14:55:10.173273 125692234696256 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0 I0421 14:55:10.861556 125692234696256 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_03_dropout/checkpoints/0`. I0421 14:55:10.862323 125692234696256 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 44.541071s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/0 I0421 14:55:10.862406 125692234696256 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 43.645485s. I0421 14:55:10.862564 125692224210496 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 14:55:10.862616 125692224210496 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save. I0421 14:55:10.862672 125692224210496 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0421 14:55:10.862715 125692224210496 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0421 14:55:10.862889 125783878560896 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 14:55:10.863054 125783878560896 checkpoint_manager.py:1441] Waiting for previous save to complete took 33.928330 seconds. If this number is high, consider checkpointing less frequently. I0421 14:55:10.864022 125783878560896 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 9 I0421 14:55:10.864357 125783878560896 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/9. I0421 14:55:11.042715 125692224210496 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/9 I0421 14:55:11.061018 125783878560896 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array. I0421 14:55:11.061155 125783878560896 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 14:55:11.749660 125692175976000 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/9/items I0421 14:55:25.996554 125783878560896 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 14.935984s I0421 14:55:26.001525 125783878560896 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 839.838 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 15 seconds) (per-host) I0421 14:55:26.001587 125783878560896 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 15.046794s (batch_requests_ready=0.102831s, total_serialization_initiated=14.939124s, others=0.004839s) I0421 14:55:26.001658 125783878560896 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 15.047370s (all_items=0.000020s, per_item={'items': '0.00002027'}, temp_paths=15.047349) I0421 14:55:26.003327 125692224210496 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started. I0421 14:55:26.003428 125783878560896 async_checkpointer.py:561] Finished blocking save. Time taken: 15.139327s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/9. I0421 14:55:26.003685 125783878560896 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0421 14:55:26.003903 125692144518720 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save. I0421 14:55:26.004012 125783878560896 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776783276.9346793, 'wait_for_prev_duration_secs': 33.928330421447754, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776783310.8640683, 'checkpointer_blocking_duration_secs': 15.139512062072754, 'get_old_steps_start_time': 1776783326.0035965, 'get_old_steps_duration_secs': 3.4809112548828125e-05, 'checkpoint_manager_blocking_start_time': 1776783276.93464, 'checkpoint_manager_blocking_duration_secs': 49.06933879852295} I0421 14:55:26.004154 125783878560896 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0421 14:55:26.004190 125783878560896 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0421 14:55:26.770948 125692360525376 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_03_dropout/checkpoints/9/items/array_metadatas/process_0 I0421 14:56:03.879814 125692165490240 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 37.877501s (commit=37.418241s, array_metadata_write=0.459260s) I0421 14:56:03.880964 125692224210496 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 238.763 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 52 seconds) (per-host) I0421 14:56:03.881017 125692224210496 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.877529s. I0421 14:56:04.294881 125692224210496 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 14:56:04.736442 125692224210496 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389). I0421 14:56:04.737145 125692224210496 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.586248s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/9/items I0421 14:56:04.737855 125692224210496 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/9/items I0421 14:56:04.981969 125692224210496 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/9 I0421 14:56:05.666194 125692224210496 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_03_dropout/checkpoints/9`. I0421 14:56:05.666920 125692224210496 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 54.802838s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260421_144657/linen_main_20260421_144657_03_dropout/checkpoints/9 I0421 14:56:05.666986 125692224210496 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 39.663499s. I0421 14:56:05.667207 125692144518720 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save. I0421 14:56:05.667333 125692144518720 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save. I0421 14:56:05.667386 125692144518720 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0421 14:56:05.667427 125692144518720 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0421 14:56:05.667610 125783878560896 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 14:56:05.667764 125783878560896 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0421 14:56:05.668994 125783878560896 metric_logger.py:196] completed step: 9, seconds: 0.064, TFLOP/s/device: 12.470, Tokens/s/device: 1993.086, total_weights: 948, loss: 9.141, lm_loss: 9.141, perplexity: 9328.599 Per train step: Total TFLOPs: 0.80 split as 99.60% learnable weight flops and 0.40% attention flops