MaxView

‹ —Case: 01_base02_synthetic ›

Metrics: main (51c7f2b8e) vs feat/migrate-nnx-utils (dc4d58891)

Metricmain  51c7f2b8efeat/migrate-nnx-utils  dc4d58891Diff (feat/migrate-nnx-utils − main)
Parameters1.104 billion1.104 billion
Final loss8.71008.71000
TFLOP/s116.020115.930-0.09
Tok/s17487.817474.3-13.578
Avg s/step2.4002.546+0.146
Memory %5.095.090
JAX0.9.20.9.2

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

main  ·  51c7f2b8e  ·  main_20260415_211126  ·  full log
2026-04-15 21:11:33.703749: 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)
I0415 21:11:33.819891 126656459193472 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag.
I0415 21:12:15.844906 126656459193472 max_utils.py:800] System Information: Jax Version: 0.9.2
I0415 21:12:15.845007 126656459193472 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0415 21:12:15.845041 126656459193472 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Apr 6 2026 20:48:10 (1775533690) cl/895581894
I0415 21:12:15.845081 126656459193472 train_utils.py:334] WARNING: 'dataset_path' might be pointing your local file system
I0415 21:12:15.845155 126656459193472 train.py:683] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper.
W0415 21:12:15.937455 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 21:12:16.342119 126656459193472 maxtext_utils.py:1517] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0415 21:12:16.342369 126656459193472 checkpointing.py:677] Setting up checkpoint logger...
I0415 21:12:16.342413 126656459193472 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0415 21:12:16.342453 126656459193472 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None
I0415 21:12:16.342889 126656459193472 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 0x7330ed712f30>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0415 21:12:19.148542 126656459193472 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0415 21:12:19.148702 126656459193472 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 0x732a6bf5ddf0>}, handler_registry=None
I0415 21:12:19.148934 126656459193472 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x732a6bf5ddf0>` 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`.
I0415 21:12:19.148973 126656459193472 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x732a6bf5e030>` 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`.
I0415 21:12:19.149002 126656459193472 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 0x732a6bf5ddf0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x732a6bf5ddf0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x732a6bf5e030>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x732a6bf5e030>}).
I0415 21:12:19.149300 126656459193472 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28
I0415 21:12:19.149356 126656459193472 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x732a6bf56020> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0415 21:12:19.274700 126656459193472 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints
I0415 21:12:19.274919 126656459193472 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_20260415_211126/linen_main_20260415_211126_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x732a6bf5d4f0>
I0415 21:12:19.274993 126656459193472 checkpointing.py:301] Checkpoint manager created!
I0415 21:12:19.353533 126656459193472 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0415 21:12:19.356778 126656459193472 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.
I0415 21:12:19.407432 126656459193472 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
I0415 21:12:19.432666 126656459193472 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0415 21:12:19.432731 126656459193472 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0415 21:12:20.402855 126656459193472 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0415 21:12:20.402995 126656459193472 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0415 21:12:20.505620 126656459193472 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0415 21:12:20.505695 126656459193472 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0415 21:12:20.520683 126656459193472 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0415 21:12:20.520732 126656459193472 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0415 21:12:20.542182 126656459193472 attentions.py:1154] attentions/query Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0415 21:12:20.542239 126656459193472 attentions.py:1154] attentions/query Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0415 21:12:20.557163 126656459193472 attentions.py:1155] attentions/key Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0415 21:12:20.557209 126656459193472 attentions.py:1155] attentions/key Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0415 21:12:20.572261 126656459193472 attentions.py:1156] attentions/value Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0415 21:12:20.572309 126656459193472 attentions.py:1156] attentions/value Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0415 21:12:20.594783 126656459193472 attentions.py:1197] attentions/out Logical: bfloat16[8,2048,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0415 21:12:20.594839 126656459193472 attentions.py:1197] attentions/out Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0415 21:12:20.613653 126656459193472 linears.py:525] linears/x Logical: bfloat16[8,2048,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0415 21:12:20.613708 126656459193472 linears.py:525] linears/x Physical: bfloat16[8,2048,7168]....................................... ('fsdp', None, None).
I0415 21:12:20.800975 126656459193472 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0415 21:12:20.801084 126656459193472 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
W0415 21:12:20.851137 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
[DECOUPLED NO-OP] gcs_storage: using stubs.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] workload_monitor: using stub.
[DECOUPLED NO-OP] vertex_tensorboard: using stub.
fsdp: 8
I0415 21:12:21.259603 126656459193472 maxtext_utils.py:1620]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0415 21:12:21.259719 126656459193472 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0415 21:12:21.259760 126656459193472 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0415 21:12:21.259804 126656459193472 maxtext_utils.py:1620]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0415 21:12:21.259848 126656459193472 maxtext_utils.py:1620]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0415 21:12:21.259877 126656459193472 maxtext_utils.py:1620]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0415 21:12:21.259915 126656459193472 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0415 21:12:21.259953 126656459193472 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0415 21:12:21.259982 126656459193472 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0415 21:12:21.260007 126656459193472 maxtext_utils.py:1620]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0415 21:12:21.260057 126656459193472 maxtext_utils.py:1620]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0415 21:12:21.260096 126656459193472 maxtext_utils.py:1620]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0415 21:12:21.695218 126656459193472 train.py:155] train/xent Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0415 21:12:21.695367 126656459193472 train.py:155] train/xent Physical: float32[8,2048]............................................. ('fsdp', None).
I0415 21:12:21.709610 126656459193472 train.py:162] train/z_loss Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0415 21:12:21.709659 126656459193472 train.py:162] train/z_loss Physical: float32[8,2048]............................................. ('fsdp', None).
W0415 21:12:21.980259 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 21:12:22.094864 126656459193472 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.
I0415 21:12:22.095367 126656459193472 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter.
I0415 21:12:22.095527 126656459193472 metric_logger.py:289] number parameters: 1.104 billion
W0415 21:12:25.134171 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 21:12:25.264807 126656459193472 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0415 21:12:25.384924 126656459193472 checkpointing.py:776] Waited 0.12009882926940918 seconds for step 0 to finish before starting checkpointing.
I0415 21:12:25.385491 126656459193472 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0415 21:12:25.385674 126656459193472 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0
I0415 21:12:25.386199 126656459193472 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0.
I0415 21:12:25.477458 126656459193472 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient
I0415 21:12:25.572492 126543305115200 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0
I0415 21:12:25.577911 126656459193472 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0415 21:12:25.577968 126656459193472 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
W0415 21:12:25.794204 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 21:12:25.808933 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 21:12:25.821613 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 21:12:25.836955 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 21:12:25.844947 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 21:12:25.852704 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 21:12:25.858785 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 21:12:25.863160 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 21:12:26.223332 126656459193472 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.645824s
I0415 21:12:26.223773 126656459193472 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 16.567 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 744 milliseconds) (per-host)
I0415 21:12:26.223825 126656459193472 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 0.745023s (batch_requests_ready=0.095298s, total_serialization_initiated=0.649383s, others=0.000342s)
I0415 21:12:26.223885 126656459193472 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.745933s (all_items=0.000040s, per_item={'items': '0.00003982'}, temp_paths=0.745893)
I0415 21:12:26.224735 126543233812032 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0415 21:12:26.224828 126656459193472 async_checkpointer.py:561] Finished blocking save. Time taken: 0.839111s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0.
I0415 21:12:26.225013 126656459193472 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0415 21:12:26.225272 126543315600960 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0415 21:12:26.225385 126656459193472 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776287545.3854744, 'wait_for_prev_duration_secs': 4.4345855712890625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776287545.3856971, 'checkpointer_blocking_duration_secs': 0.8392300605773926, 'get_old_steps_start_time': 1776287546.2249463, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1776287545.385346, 'checkpoint_manager_blocking_duration_secs': 0.8400068283081055}
I0415 21:12:26.225498 126656459193472 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0415 21:12:26.225539 126656459193472 max_utils.py:750] 
Memstats: After params initialized:
I0415 21:12:26.225615 126656459193472 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_0(process=0,(0,0,0,0))
I0415 21:12:26.225642 126656459193472 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_1(process=0,(1,0,0,0))
I0415 21:12:26.225668 126656459193472 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_2(process=0,(0,1,0,0))
I0415 21:12:26.225686 126656459193472 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_3(process=0,(1,1,0,0))
I0415 21:12:26.225703 126656459193472 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_4(process=0,(0,2,0,0))
I0415 21:12:26.225718 126656459193472 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_5(process=0,(1,2,0,0))
I0415 21:12:26.225735 126656459193472 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_6(process=0,(0,3,0,0))
I0415 21:12:26.225751 126656459193472 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_7(process=0,(1,3,0,0))
W0415 21:12:26.231562 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 21:12:26.237226 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 21:12:26.241925 3223486 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 21:12:26.338111 126543294629440 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0/items
I0415 21:12:26.566017 126543223326272 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776287546242374923, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776287546242374923, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0/_CHECKPOINT_METADATA
I0415 21:12:26.575262 126656459193472 metric_logger.py:185] completed step: 0, seconds: 3.169, TFLOP/s/device: 4.288, Tokens/s/device: 646.317, total_weights: 13328, loss: 10.828
I0415 21:12:26.576273 126656459193472 metric_logger.py:269] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/tensorboard/'
I0415 21:12:26.691093 126656459193472 metric_logger.py:185] completed step: 1, seconds: 1.308, TFLOP/s/device: 10.385, Tokens/s/device: 1565.335, total_weights: 12332, loss: 10.828
I0415 21:12:26.808559 126656459193472 metric_logger.py:185] completed step: 2, seconds: 0.010, TFLOP/s/device: 1410.038, Tokens/s/device: 212536.322, total_weights: 15161, loss: 9.823
I0415 21:12:26.926216 126656459193472 metric_logger.py:185] completed step: 3, seconds: 0.117, TFLOP/s/device: 116.462, Tokens/s/device: 17554.386, total_weights: 13327, loss: 9.405
I0415 21:12:27.022715 3226238 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json
I0415 21:12:27.022782 3226238 google_auth_provider.cc:156] Using OAuth2 AuthProvider
I0415 21:12:27.850978 126543254783552 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0/items/array_metadatas/process_0
I0415 21:12:46.619843 126656459193472 metric_logger.py:185] completed step: 4, seconds: 0.117, TFLOP/s/device: 115.697, Tokens/s/device: 17439.138, total_weights: 11939, loss: 9.045
I0415 21:12:46.628441 126656459193472 metric_logger.py:185] completed step: 5, seconds: 0.118, TFLOP/s/device: 115.622, Tokens/s/device: 17427.859, total_weights: 15502, loss: 8.953
I0415 21:12:46.745103 126656459193472 metric_logger.py:185] completed step: 6, seconds: 19.693, TFLOP/s/device: 0.690, Tokens/s/device: 103.996, total_weights: 13864, loss: 8.775
I0415 21:12:46.862621 126656459193472 metric_logger.py:185] completed step: 7, seconds: 0.006, TFLOP/s/device: 2271.336, Tokens/s/device: 342360.415, total_weights: 12988, loss: 8.688
I0415 21:12:46.979918 126656459193472 metric_logger.py:185] completed step: 8, seconds: 0.118, TFLOP/s/device: 115.370, Tokens/s/device: 17389.828, total_weights: 13820, loss: 8.740
I0415 21:12:47.097076 126656459193472 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0415 21:12:47.097909 126656459193472 checkpointing.py:776] Waited 0.0008687973022460938 seconds for step 9 to finish before starting checkpointing.
I0415 21:12:47.098199 126656459193472 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0415 21:12:55.295166 126543244297792 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 28.270729s (commit=27.809231s, array_metadata_write=0.461498s)
I0415 21:12:55.296311 126543233812032 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 423.805 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 29 seconds) (per-host)
I0415 21:12:55.296425 126543233812032 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 29.071548s.
I0415 21:12:55.551182 126543233812032 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776287546242374923, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0/_CHECKPOINT_METADATA
I0415 21:12:55.724934 126543233812032 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0415 21:12:55.930019 126543223326272 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776287546242374923, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0/_CHECKPOINT_METADATA
I0415 21:12:56.142522 126543233812032 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0415 21:12:56.143217 126543233812032 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.561481s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0/items
I0415 21:12:56.143884 126543233812032 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0/items
I0415 21:12:56.402038 126543233812032 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0
I0415 21:12:57.090754 126543233812032 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0`.
I0415 21:12:57.091398 126543233812032 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 31.705687s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/0
I0415 21:12:57.091477 126543233812032 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 30.866601s.
I0415 21:12:57.091656 126543315600960 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0415 21:12:57.091766 126543315600960 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0415 21:12:57.091831 126543315600960 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0415 21:12:57.091886 126543315600960 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0415 21:12:57.092010 126656459193472 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.
W0415 21:12:57.092133 126656459193472 checkpoint_manager.py:1441] Waiting for previous save to complete took 9.993946 seconds. If this number is high, consider checkpointing less frequently.
I0415 21:12:57.093126 126656459193472 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 9
I0415 21:12:57.093399 126656459193472 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9.
I0415 21:12:57.267694 126543315600960 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9
I0415 21:12:57.276693 126656459193472 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0415 21:12:57.276782 126656459193472 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
I0415 21:12:58.005787 126543087011392 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9/items
I0415 21:13:07.928303 126656459193472 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 10.651998s
I0415 21:13:07.932434 126656459193472 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 1.148 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 10 seconds) (per-host)
I0415 21:13:07.932499 126656459193472 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 10.745671s (batch_requests_ready=0.086284s, total_serialization_initiated=10.655352s, others=0.004035s)
I0415 21:13:07.932569 126656459193472 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 10.746162s (all_items=0.000020s, per_item={'items': '0.00002003'}, temp_paths=10.746142)
I0415 21:13:07.934025 126543315600960 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0415 21:13:07.934138 126656459193472 async_checkpointer.py:561] Finished blocking save. Time taken: 10.840965s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9.
I0415 21:13:07.934392 126656459193472 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0415 21:13:07.934537 126543233812032 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0415 21:13:07.934621 126656459193472 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776287567.0981588, 'wait_for_prev_duration_secs': 9.993945598602295, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776287577.0931523, 'checkpointer_blocking_duration_secs': 10.841151475906372, 'get_old_steps_start_time': 1776287587.934319, 'get_old_steps_duration_secs': 3.4809112548828125e-05, 'checkpoint_manager_blocking_start_time': 1776287567.0981073, 'checkpoint_manager_blocking_duration_secs': 20.836487293243408}
I0415 21:13:07.934708 126656459193472 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0415 21:13:07.934741 126656459193472 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0415 21:13:08.690636 126543305115200 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9/items/array_metadatas/process_0
I0415 21:13:36.737218 126543087011392 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 28.804125s (commit=28.355352s, array_metadata_write=0.448773s)
I0415 21:13:36.738251 126543315600960 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 319.503 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 39 seconds) (per-host)
I0415 21:13:36.738359 126543315600960 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 28.804128s.
I0415 21:13:37.147952 126543315600960 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0415 21:13:37.549684 126543315600960 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0415 21:13:37.550525 126543315600960 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.547024s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9/items
I0415 21:13:37.551178 126543315600960 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9/items
I0415 21:13:37.804370 126543315600960 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9
I0415 21:13:38.505670 126543315600960 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9`.
I0415 21:13:38.506307 126543315600960 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 41.413140s. directory=gs://wanglance-maxtext/linen_ckpt_main_20260415_211126/linen_main_20260415_211126_01_base/checkpoints/9
I0415 21:13:38.506384 126543315600960 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 30.572154s.
I0415 21:13:38.506483 126543233812032 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0415 21:13:38.506532 126543233812032 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0415 21:13:38.506585 126543233812032 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0415 21:13:38.506625 126543233812032 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0415 21:13:38.506824 126656459193472 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.
I0415 21:13:38.507255 126656459193472 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0415 21:13:38.507886 126656459193472 metric_logger.py:185] completed step: 9, seconds: 0.117, TFLOP/s/device: 116.020, Tokens/s/device: 17487.832, total_weights: 12300, loss: 8.710
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
2026-04-15 23:08:12.556895: 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)
I0415 23:08:12.673202 129692502035584 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag.
I0415 23:08:41.651068 129692502035584 max_utils.py:800] System Information: Jax Version: 0.9.2
I0415 23:08:41.651201 129692502035584 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0415 23:08:41.651239 129692502035584 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Apr 6 2026 20:48:10 (1775533690) cl/895581894
I0415 23:08:41.651268 129692502035584 train_utils.py:334] WARNING: 'dataset_path' might be pointing your local file system
I0415 23:08:41.651398 129692502035584 train.py:715] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper.
W0415 23:08:41.750291 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 23:08:42.167750 129692502035584 maxtext_utils.py:1520] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0415 23:08:42.168069 129692502035584 checkpointing.py:677] Setting up checkpoint logger...
I0415 23:08:42.168118 129692502035584 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0415 23:08:42.168167 129692502035584 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None
I0415 23:08:42.168703 129692502035584 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 0x75f3cc9cf350>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0415 23:08:45.186991 129692502035584 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0415 23:08:45.187242 129692502035584 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 0x75ed50346150>}, handler_registry=None
I0415 23:08:45.187582 129692502035584 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x75ed50346150>` 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`.
I0415 23:08:45.187624 129692502035584 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x75ed50346690>` 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`.
I0415 23:08:45.187655 129692502035584 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 0x75ed50346150>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x75ed50346150>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x75ed50346690>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x75ed50346690>}).
I0415 23:08:45.187967 129692502035584 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28
I0415 23:08:45.188028 129692502035584 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x75ed5033dc60> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0415 23:08:45.312759 129692502035584 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints
I0415 23:08:45.313034 129692502035584 checkpoint_manager.py:921] [process=0][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_hns=False, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False), root_directory=gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x75ed50346570>
I0415 23:08:45.313135 129692502035584 checkpointing.py:301] Checkpoint manager created!
I0415 23:08:45.392509 129692502035584 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0
I0415 23:08:45.395620 129692502035584 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.
I0415 23:08:45.456124 129692502035584 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
I0415 23:08:45.485524 129692502035584 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2
I0415 23:08:45.485595 129692502035584 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2
I0415 23:08:46.106573 129692502035584 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0415 23:08:46.106734 129692502035584 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0415 23:08:46.212629 129692502035584 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0415 23:08:46.212722 129692502035584 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0415 23:08:46.227803 129692502035584 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0415 23:08:46.227857 129692502035584 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None).
I0415 23:08:46.249498 129692502035584 attentions.py:1154] attentions/query Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0415 23:08:46.249560 129692502035584 attentions.py:1154] attentions/query Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0415 23:08:46.264493 129692502035584 attentions.py:1155] attentions/key Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0415 23:08:46.264546 129692502035584 attentions.py:1155] attentions/key Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0415 23:08:46.279364 129692502035584 attentions.py:1156] attentions/value Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0415 23:08:46.279416 129692502035584 attentions.py:1156] attentions/value Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0415 23:08:46.301801 129692502035584 attentions.py:1197] attentions/out Logical: bfloat16[8,2048,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0415 23:08:46.301862 129692502035584 attentions.py:1197] attentions/out Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None).
I0415 23:08:46.320768 129692502035584 linears.py:525] linears/x Logical: bfloat16[8,2048,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0415 23:08:46.320825 129692502035584 linears.py:525] linears/x Physical: bfloat16[8,2048,7168]....................................... ('fsdp', None, None).
I0415 23:08:46.889436 129692502035584 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0415 23:08:46.889541 129692502035584 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
W0415 23:08:46.940018 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
[DECOUPLED NO-OP] gcs_storage: using stubs.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] mldiagnostics: using stub.
[DECOUPLED NO-OP] workload_monitor: using stub.
[DECOUPLED NO-OP] vertex_tensorboard: using stub.
fsdp: 8
I0415 23:08:47.328746 129692502035584 maxtext_utils.py:1623]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0415 23:08:47.328854 129692502035584 maxtext_utils.py:1623]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0415 23:08:47.328895 129692502035584 maxtext_utils.py:1623]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0415 23:08:47.328939 129692502035584 maxtext_utils.py:1623]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0415 23:08:47.328980 129692502035584 maxtext_utils.py:1623]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0415 23:08:47.329010 129692502035584 maxtext_utils.py:1623]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0415 23:08:47.329065 129692502035584 maxtext_utils.py:1623]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0415 23:08:47.329110 129692502035584 maxtext_utils.py:1623]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0415 23:08:47.329138 129692502035584 maxtext_utils.py:1623]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0415 23:08:47.329164 129692502035584 maxtext_utils.py:1623]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0415 23:08:47.329200 129692502035584 maxtext_utils.py:1623]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed', 'vocab')
    Physical:  ('fsdp', None)
I0415 23:08:47.329234 129692502035584 maxtext_utils.py:1623]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed')
    Physical:  (None, 'fsdp')

I0415 23:08:47.760910 129692502035584 train.py:155] train/xent Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0415 23:08:47.761003 129692502035584 train.py:155] train/xent Physical: float32[8,2048]............................................. ('fsdp', None).
I0415 23:08:47.775383 129692502035584 train.py:162] train/z_loss Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0415 23:08:47.775436 129692502035584 train.py:162] train/z_loss Physical: float32[8,2048]............................................. ('fsdp', None).
W0415 23:08:48.068893 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 23:08:48.187359 129692502035584 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.
I0415 23:08:48.187905 129692502035584 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter.
I0415 23:08:48.188064 129692502035584 metric_logger.py:289] number parameters: 1.104 billion
W0415 23:08:51.301843 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 23:08:51.438187 129692502035584 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0415 23:08:51.558571 129692502035584 checkpointing.py:776] Waited 0.12036347389221191 seconds for step 0 to finish before starting checkpointing.
I0415 23:08:51.559077 129692502035584 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0415 23:08:51.559236 129692502035584 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0
I0415 23:08:51.559650 129692502035584 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0.
I0415 23:08:51.653262 129692502035584 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient
I0415 23:08:51.736766 129692502035584 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0415 23:08:51.736863 129692502035584 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
I0415 23:08:51.747129 129579356259904 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0
W0415 23:08:51.964326 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 23:08:51.977374 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 23:08:51.988754 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 23:08:51.998726 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 23:08:52.010271 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 23:08:52.016832 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 23:08:52.022199 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 23:08:52.027899 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 23:08:52.481885 129579345774144 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0/items
I0415 23:08:52.647193 129579305928256 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776294532397740714, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776294532397740714, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0/_CHECKPOINT_METADATA
I0415 23:08:52.986654 3351183 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json
I0415 23:08:52.986732 3351183 google_auth_provider.cc:156] Using OAuth2 AuthProvider
I0415 23:08:53.804196 129692502035584 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 2.067978s
I0415 23:08:53.809971 129692502035584 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.726 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 2 seconds) (per-host)
I0415 23:08:53.810305 129692502035584 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 2.155602s (batch_requests_ready=0.078054s, total_serialization_initiated=2.071631s, others=0.005916s)
I0415 23:08:53.810386 129692502035584 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 2.156551s (all_items=0.000021s, per_item={'items': '0.00002146'}, temp_paths=2.156530)
I0415 23:08:53.811698 129579222042176 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0415 23:08:53.811812 129692502035584 async_checkpointer.py:561] Finished blocking save. Time taken: 2.252533s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0.
I0415 23:08:53.812012 129692502035584 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0415 23:08:53.812187 129579366745664 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0415 23:08:53.812264 129692502035584 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776294531.559064, 'wait_for_prev_duration_secs': 4.315376281738281e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776294531.5592573, 'checkpointer_blocking_duration_secs': 2.252674102783203, 'get_old_steps_start_time': 1776294533.8119514, 'get_old_steps_duration_secs': 2.3603439331054688e-05, 'checkpoint_manager_blocking_start_time': 1776294531.558958, 'checkpoint_manager_blocking_duration_secs': 2.2532782554626465}
I0415 23:08:53.812345 129692502035584 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0415 23:08:53.812386 129692502035584 max_utils.py:750] 
Memstats: After params initialized:
I0415 23:08:53.812440 129692502035584 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_0(process=0,(0,0,0,0))
I0415 23:08:53.812467 129692502035584 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_1(process=0,(1,0,0,0))
I0415 23:08:53.812487 129692502035584 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_2(process=0,(0,1,0,0))
I0415 23:08:53.812505 129692502035584 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_3(process=0,(1,1,0,0))
I0415 23:08:53.812522 129692502035584 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_4(process=0,(0,2,0,0))
I0415 23:08:53.812539 129692502035584 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_5(process=0,(1,2,0,0))
I0415 23:08:53.812556 129692502035584 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_6(process=0,(0,3,0,0))
I0415 23:08:53.812573 129692502035584 max_utils.py:756] 	Using (GB) 1.59 / 31.25 (5.088000%) on TPU_7(process=0,(1,3,0,0))
W0415 23:08:53.819144 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 23:08:53.825934 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
W0415 23:08:53.830677 3348379 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions.
I0415 23:08:54.195811 129692502035584 metric_logger.py:185] completed step: 0, seconds: 3.250, TFLOP/s/device: 4.181, Tokens/s/device: 630.223, total_weights: 13328, loss: 10.828
I0415 23:08:54.196842 129692502035584 metric_logger.py:269] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/tensorboard/'
I0415 23:08:54.311845 129692502035584 metric_logger.py:185] completed step: 1, seconds: 2.756, TFLOP/s/device: 4.931, Tokens/s/device: 743.206, total_weights: 12332, loss: 10.828
I0415 23:08:54.429345 129692502035584 metric_logger.py:185] completed step: 2, seconds: 0.010, TFLOP/s/device: 1426.171, Tokens/s/device: 214967.986, total_weights: 15161, loss: 9.823
I0415 23:08:54.546565 129692502035584 metric_logger.py:185] completed step: 3, seconds: 0.118, TFLOP/s/device: 115.175, Tokens/s/device: 17360.493, total_weights: 13327, loss: 9.405
I0415 23:08:54.640017 129579324802624 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0/items/array_metadatas/process_0
I0415 23:09:14.102705 129692502035584 metric_logger.py:185] completed step: 4, seconds: 0.118, TFLOP/s/device: 114.937, Tokens/s/device: 17324.513, total_weights: 11939, loss: 9.045
I0415 23:09:14.112649 129692502035584 metric_logger.py:185] completed step: 5, seconds: 0.117, TFLOP/s/device: 116.208, Tokens/s/device: 17516.101, total_weights: 15502, loss: 8.953
I0415 23:09:14.229075 129692502035584 metric_logger.py:185] completed step: 6, seconds: 19.555, TFLOP/s/device: 0.695, Tokens/s/device: 104.730, total_weights: 13864, loss: 8.775
I0415 23:09:14.346436 129692502035584 metric_logger.py:185] completed step: 7, seconds: 0.006, TFLOP/s/device: 2153.611, Tokens/s/device: 324615.628, total_weights: 12988, loss: 8.688
I0415 23:09:14.463770 129692502035584 metric_logger.py:185] completed step: 8, seconds: 0.118, TFLOP/s/device: 115.553, Tokens/s/device: 17417.336, total_weights: 13820, loss: 8.740
I0415 23:09:14.580984 129692502035584 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0415 23:09:14.581827 129692502035584 checkpointing.py:776] Waited 0.0008738040924072266 seconds for step 9 to finish before starting checkpointing.
I0415 23:09:14.582129 129692502035584 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0415 23:09:25.667827 129579243013696 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 31.857110s (commit=31.388029s, array_metadata_write=0.469081s)
I0415 23:09:25.669144 129579222042176 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 371.514 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 34 seconds) (per-host)
I0415 23:09:25.669266 129579222042176 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 31.857406s.
I0415 23:09:25.886201 129579222042176 checkpoint.py:228] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776294532397740714, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0/_CHECKPOINT_METADATA
I0415 23:09:26.083549 129579222042176 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0415 23:09:26.278655 129579305928256 checkpoint.py:247] Updated Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776294532397740714, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0/_CHECKPOINT_METADATA
I0415 23:09:26.497763 129579222042176 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0415 23:09:26.498609 129579222042176 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.565059s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0/items
I0415 23:09:26.499357 129579222042176 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0/items
I0415 23:09:26.734491 129579222042176 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0
I0415 23:09:27.419625 129579222042176 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0`.
I0415 23:09:27.420414 129579222042176 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 35.861145s. directory=gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/0
I0415 23:09:27.420495 129579222042176 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 33.608636s.
I0415 23:09:27.420611 129579366745664 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0415 23:09:27.420666 129579366745664 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0415 23:09:27.420720 129579366745664 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0415 23:09:27.420762 129579366745664 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0415 23:09:27.420922 129692502035584 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.
W0415 23:09:27.421103 129692502035584 checkpoint_manager.py:1441] Waiting for previous save to complete took 12.838977 seconds. If this number is high, consider checkpointing less frequently.
I0415 23:09:27.421938 129692502035584 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 9
I0415 23:09:27.422281 129692502035584 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9.
I0415 23:09:27.602258 129692502035584 jax_array_handlers.py:347] Scheduling D2H of 39 prioritized jax.Array.
I0415 23:09:27.602363 129692502035584 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
I0415 23:09:27.603426 129579366745664 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9
I0415 23:09:28.314726 129579211556416 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9/items
I0415 23:09:37.023286 129692502035584 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 9.421891s
I0415 23:09:37.027807 129692502035584 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 1.297 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 9 seconds) (per-host)
I0415 23:09:37.027870 129692502035584 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 9.515240s (batch_requests_ready=0.085763s, total_serialization_initiated=9.425083s, others=0.004394s)
I0415 23:09:37.027941 129692502035584 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 9.515814s (all_items=0.000018s, per_item={'items': '0.00001836'}, temp_paths=9.515795)
I0415 23:09:37.029555 129579243013696 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started.
I0415 23:09:37.029655 129692502035584 async_checkpointer.py:561] Finished blocking save. Time taken: 9.607671s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9.
I0415 23:09:37.029929 129692502035584 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0415 23:09:37.030090 129579222042176 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save.
I0415 23:09:37.030163 129692502035584 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776294554.5820866, 'wait_for_prev_duration_secs': 12.838977098464966, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776294567.421964, 'checkpointer_blocking_duration_secs': 9.607876539230347, 'get_old_steps_start_time': 1776294577.0298579, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1776294554.5820262, 'checkpoint_manager_blocking_duration_secs': 22.448110818862915}
I0415 23:09:37.030274 129692502035584 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0415 23:09:37.030308 129692502035584 checkpoint_manager.py:1994] [process=0][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0415 23:09:37.816399 129590745892416 array_metadata_store.py:203] [process=0][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9/items/array_metadatas/process_0
I0415 23:10:16.030781 129579211556416 base_pytree_checkpoint_handler.py:1217] [process=0][thread=write_metadata_after_commits] Commit + Array metadata written. Time taken: 39.002130s (commit=38.551069s, array_metadata_write=0.451060s)
I0415 23:10:16.032232 129579243013696 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/gbytes_per_sec: 260.447 MiB/s (total gbytes: 12.3 GiB) (time elapsed: 48 seconds) (per-host)
I0415 23:10:16.032359 129579243013696 async_checkpointer.py:90] [process=0][thread=async_save] 3 Handler Commit operations completed. Time taken: 39.002596s.
I0415 23:10:16.466485 129579243013696 array_metadata_store.py:367] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0.
I0415 23:10:16.896486 129579243013696 ocdbt_utils.py:56] Param validation support for Zarr3 will be added later (b/362328389).
I0415 23:10:16.896676 129579243013696 base_pytree_checkpoint_handler.py:1342] [process=0][thread=async_save] Pytree save finalize (merge_ocdbt + ArrayMetadata validation) completed. Time taken: 0.588184s. use_zarr3=True, enable_post_merge_validation=True, directory=gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9/items
I0415 23:10:16.898071 129579243013696 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9/items
I0415 23:10:17.155393 129579243013696 atomicity.py:608] Finalizing gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9
I0415 23:10:17.809158 129579243013696 atomicity.py:794] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9`.
I0415 23:10:17.809949 129579243013696 async_checkpointer.py:420] Finished async_save (blocking + background). Time taken: 50.387970s. directory=gs://wanglance-maxtext/linen_ckpt_feat_migrate_nnx_utils_20260415_230805/linen_feat_migrate_nnx_utils_20260415_230805_01_base/checkpoints/9
I0415 23:10:17.810035 129579243013696 async_checkpointer.py:144] [process=0][thread=async_save] Background save thread done. Time taken: 40.780275s.
I0415 23:10:17.810213 129579222042176 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save.
I0415 23:10:17.810265 129579222042176 async_checkpointer.py:283] [process=0][thread=save_finalize] No errors found in background save thread=async_save.
I0415 23:10:17.810326 129579222042176 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0415 23:10:17.810366 129579222042176 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0415 23:10:17.810757 129692502035584 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.
I0415 23:10:17.811573 129692502035584 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0415 23:10:17.812813 129692502035584 metric_logger.py:185] completed step: 9, seconds: 0.117, TFLOP/s/device: 115.930, Tokens/s/device: 17474.254, total_weights: 12300, loss: 8.710
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops