2026-04-17 13:04:01.724324: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303) I0417 13:04:01.844229 137949689728128 max_utils.py:238] Skipping jax distributed system due to skip_jax_distributed_system=True flag. I0417 13:04:44.590944 137949689728128 max_utils.py:800] System Information: Jax Version: 0.9.2 I0417 13:04:44.591077 137949689728128 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0417 13:04:44.591114 137949689728128 max_utils.py:802] System Information: Jax Backend: PJRT C API TFRT TPU v6 lite Built on Apr 6 2026 20:48:10 (1775533690) cl/895581894 I0417 13:04:44.591145 137949689728128 train_utils.py:335] WARNING: 'dataset_path' might be pointing your local file system I0417 13:04:44.591236 137949689728128 train.py:671] [DECOUPLED NO-OP] skipping cloud diagnostics wrapper. W0417 13:04:44.685891 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. I0417 13:04:45.077914 137949689728128 maxtext_utils.py:1548] Num_devices: 8, shape (1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0417 13:04:45.078303 137949689728128 checkpointing.py:677] Setting up checkpoint logger... I0417 13:04:45.078351 137949689728128 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0417 13:04:45.078415 137949689728128 pytree_checkpoint_handler.py:577] save_device_host_concurrent_bytes=None I0417 13:04:45.079079 137949689728128 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 0x7d76535f8bc0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0417 13:04:47.504977 137949689728128 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0417 13:04:47.505208 137949689728128 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 0x7d6fd7bfd220>}, handler_registry=None I0417 13:04:47.505518 137949689728128 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d6fd7bfd220>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`. I0417 13:04:47.505561 137949689728128 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d6fd6f2e030>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`. I0417 13:04:47.505591 137949689728128 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 0x7d6fd7bfd220>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d6fd7bfd220>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d6fd6f2e030>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d6fd6f2e030>}). I0417 13:04:47.505875 137949689728128 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.28 I0417 13:04:47.505936 137949689728128 async_checkpointer.py:177] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x7d6fd6f31e40> timeout: 600 secs and primary_host=0 for async checkpoint writes I0417 13:04:47.635559 137949689728128 checkpoint_manager.py:1788] Found 0 checkpoint steps in gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/checkpoints I0417 13:04:47.635798 137949689728128 checkpoint_manager.py:921] [process=0][thread=MainThread] CheckpointManager created, primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_hns=False, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False), root_directory=gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7d6fd6f2df70> I0417 13:04:47.635883 137949689728128 checkpointing.py:301] Checkpoint manager created! I0417 13:04:48.087684 137949689728128 dataset_info.py:707] Load dataset info from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0 I0417 13:04:48.090544 137949689728128 reader.py:262] Creating a tf.data.Dataset reading 8 files located in folders: tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0. I0417 13:04:48.143513 137949689728128 logging_logger.py:49] Constructing tf.data.Dataset __local_c4_builder for split train, from tests/assets/local_datasets/c4_en_dataset_minimal/c4/en/3.1.0 I0417 13:04:48.166559 137949689728128 tokenizer.py:245] Tokenizer path: src/maxtext/assets/tokenizers/tokenizer.llama2 I0417 13:04:48.166619 137949689728128 tokenizer.py:187] Loading sentencepiece tokenizer: src/maxtext/assets/tokenizers/tokenizer.llama2 I0417 13:04:48.912539 137949689728128 nnx_wrappers.py:437] Unknown Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0417 13:04:48.912657 137949689728128 nnx_wrappers.py:437] Unknown Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None). I0417 13:04:49.017779 137949689728128 attentions.py:1088] attentions/inputs_q Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0417 13:04:49.017857 137949689728128 attentions.py:1088] attentions/inputs_q Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None). I0417 13:04:49.033075 137949689728128 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[8,2048,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0417 13:04:49.033124 137949689728128 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[8,2048,2048]....................................... ('fsdp', None, None). I0417 13:04:49.079120 137949689728128 attentions.py:1154] attentions/query Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0417 13:04:49.079186 137949689728128 attentions.py:1154] attentions/query Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None). I0417 13:04:49.094353 137949689728128 attentions.py:1155] attentions/key Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0417 13:04:49.094403 137949689728128 attentions.py:1155] attentions/key Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None). I0417 13:04:49.109549 137949689728128 attentions.py:1156] attentions/value Logical: bfloat16[8,2048,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim'). I0417 13:04:49.109599 137949689728128 attentions.py:1156] attentions/value Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None). I0417 13:04:49.132033 137949689728128 attentions.py:1197] attentions/out Logical: bfloat16[8,2048,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0417 13:04:49.132096 137949689728128 attentions.py:1197] attentions/out Physical: bfloat16[8,2048,16,128]..................................... ('fsdp', None, None, None). I0417 13:04:49.177238 137949689728128 linears.py:525] linears/x Logical: bfloat16[8,2048,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0417 13:04:49.177301 137949689728128 linears.py:525] linears/x Physical: bfloat16[8,2048,7168]....................................... ('fsdp', None, None). I0417 13:04:49.578009 137949689728128 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0417 13:04:49.578174 137949689728128 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. W0417 13:04:49.644319 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. [DECOUPLED NO-OP] gcs_storage: using stubs. [DECOUPLED NO-OP] mldiagnostics: using stub. [DECOUPLED NO-OP] mldiagnostics: using stub. [DECOUPLED NO-OP] mldiagnostics: using stub. [DECOUPLED NO-OP] workload_monitor: using stub. [DECOUPLED NO-OP] vertex_tensorboard: using stub. fsdp: 8 I0417 13:04:50.773173 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773273 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/input_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773311 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773340 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/kernel_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773365 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773390 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_0/Fp8DirectDotGeneralOp_0/output_grad_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773413 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773435 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/input_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773456 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773477 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/kernel_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773500 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773522 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wi_1/Fp8DirectDotGeneralOp_0/output_grad_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773542 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773563 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/input_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773585 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773607 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/kernel_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773626 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773646 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/mlp/wo/Fp8DirectDotGeneralOp_0/output_grad_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773666 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773686 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/input_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773705 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773726 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/kernel_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773747 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773767 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/key/Fp8DirectDotGeneralOp_0/output_grad_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773788 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773808 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/input_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773827 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773847 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/kernel_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773866 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773890 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/out/Fp8DirectDotGeneralOp_0/output_grad_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773912 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773931 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/input_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773951 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.773970 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/kernel_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.773990 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.774010 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/query/Fp8DirectDotGeneralOp_0/output_grad_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.774030 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.774062 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/input_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.774082 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.774101 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/kernel_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.774121 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_amax_history Shape: float32[16,1024] Logical: P() Physical: () I0417 13:04:50.774140 137949689728128 maxtext_utils.py:1651] params/_overwrite_with_gradient/decoder/layers/self_attention/value/Fp8DirectDotGeneralOp_0/output_grad_scale Shape: float32[16,1] Logical: P() Physical: () I0417 13:04:50.774180 137949689728128 maxtext_utils.py:1651] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0417 13:04:50.774220 137949689728128 maxtext_utils.py:1651] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0417 13:04:50.774247 137949689728128 maxtext_utils.py:1651] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0417 13:04:50.774280 137949689728128 maxtext_utils.py:1651] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0417 13:04:50.774312 137949689728128 maxtext_utils.py:1651] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0417 13:04:50.774335 137949689728128 maxtext_utils.py:1651] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0417 13:04:50.774370 137949689728128 maxtext_utils.py:1651] params/params/decoder/layers/self_attention/key/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'kv_heads', 'kv_head_dim') Physical: ('fsdp', None, None, None) I0417 13:04:50.774405 137949689728128 maxtext_utils.py:1651] params/params/decoder/layers/self_attention/out/kernel Shape: float32[16,16,128,2048] Logical: P('heads', 'layers', 'kv', 'embed') Physical: (None, None, None, 'fsdp') I0417 13:04:50.774430 137949689728128 maxtext_utils.py:1651] params/params/decoder/layers/self_attention/query/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'q_heads', 'kv') Physical: ('fsdp', None, None, None) I0417 13:04:50.774453 137949689728128 maxtext_utils.py:1651] params/params/decoder/layers/self_attention/value/kernel Shape: float32[2048,16,16,128] Logical: P('embed', 'layers', 'kv_heads', 'kv_head_dim') Physical: ('fsdp', None, None, None) I0417 13:04:50.774486 137949689728128 maxtext_utils.py:1651] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0417 13:04:50.774518 137949689728128 maxtext_utils.py:1651] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0417 13:04:51.772411 137949689728128 train.py:155] train/xent Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length'). I0417 13:04:51.772491 137949689728128 train.py:155] train/xent Physical: float32[8,2048]............................................. ('fsdp', None). I0417 13:04:51.786832 137949689728128 train.py:162] train/z_loss Logical: float32[8,2048]............................................. ('activation_embed_and_logits_batch', 'activation_length'). I0417 13:04:51.786886 137949689728128 train.py:162] train/z_loss Physical: float32[8,2048]............................................. ('fsdp', None). I0417 13:05:03.954467 137949689728128 max_utils.py:791] Total memory size: 3.5 GB, Output size: 1.5 GB, Temp size: 1.9 GB, Argument size: 1.5 GB, Host temp size: 0.0 GB. I0417 13:05:03.955191 137949689728128 max_utils.py:194] tensorboardX not available; using no-op SummaryWriter. I0417 13:05:03.955764 137949689728128 metric_logger.py:301] number parameters: 1.105 billion I0417 13:05:20.367801 137949689728128 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0417 13:05:20.506394 137949689728128 checkpointing.py:776] Waited 0.13858437538146973 seconds for step 0 to finish before starting checkpointing. I0417 13:05:20.506918 137949689728128 checkpoint_manager.py:1983] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0417 13:05:20.507102 137949689728128 checkpoint_manager.py:1501] [process=0] Saving checkpoint at step 0 I0417 13:05:20.507460 137949689728128 async_checkpointer.py:452] [process=0] Started async saving checkpoint to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/checkpoints/0. I0417 13:05:20.595613 137949689728128 signaling_client.py:373] Using ThreadSafeKeyValueSignalingClient I0417 13:05:20.699116 137949689728128 jax_array_handlers.py:347] Scheduling D2H of 81 prioritized jax.Array. I0417 13:05:20.699252 137834669278784 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/checkpoints/0 I0417 13:05:20.699634 137949689728128 replica_slices.py:410] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False I0417 13:05:21.403807 137834658793024 atomicity.py:137] Creating tmp directory gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/checkpoints/0/items I0417 13:05:21.997745 137834618947136 checkpoint.py:188] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776431121312285375, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1776431121312285375, "commit_timestamp_nsecs": null, "custom_metadata": {}} to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/checkpoints/0/_CHECKPOINT_METADATA W0417 13:05:22.001000 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. W0417 13:05:22.021917 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. W0417 13:05:22.029246 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. W0417 13:05:22.042993 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. W0417 13:05:22.050273 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. W0417 13:05:22.055378 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. W0417 13:05:22.060374 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. W0417 13:05:22.065256 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. I0417 13:05:22.461725 428716 google_auth_provider.cc:149] Using credentials at ~/.config/gcloud/application_default_credentials.json I0417 13:05:22.461779 428716 google_auth_provider.cc:156] Using OAuth2 AuthProvider I0417 13:05:22.745181 137949689728128 base_pytree_checkpoint_handler.py:153] [process=0][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 2.046805s I0417 13:05:22.752203 137949689728128 base_pytree_checkpoint_handler.py:128] [process=0] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.725 GiB/s (total gbytes: 12.3 GiB) (time elapsed: 2 seconds) (per-host) I0417 13:05:22.752270 137949689728128 base_pytree_checkpoint_handler.py:732] [process=0][thread=MainThread] Initiated Pytree async_save. Time taken: 2.155728s (batch_requests_ready=0.094702s, total_serialization_initiated=2.054100s, others=0.006927s) I0417 13:05:22.752359 137949689728128 composite_checkpoint_handler.py:715] [process=0][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 2.156271s (all_items=0.000019s, per_item={'items': '0.00001931'}, temp_paths=2.156252) I0417 13:05:22.753630 137834545546816 async_checkpointer.py:79] [process=0][thread=async_save] Background save thread started. I0417 13:05:22.753715 137949689728128 async_checkpointer.py:561] Finished blocking save. Time taken: 2.246571s. Continuing background save to gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/checkpoints/0. I0417 13:05:22.753892 137949689728128 checkpoint_manager.py:1549] [process=0][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0417 13:05:22.754059 137834524575296 async_checkpointer.py:265] [process=0][thread=save_finalize] Waiting for background save thread=async_save. I0417 13:05:22.754137 137949689728128 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776431120.5069034, 'wait_for_prev_duration_secs': 4.3392181396484375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776431120.507125, 'checkpointer_blocking_duration_secs': 2.2466959953308105, 'get_old_steps_start_time': 1776431122.7538388, 'get_old_steps_duration_secs': 2.0503997802734375e-05, 'checkpoint_manager_blocking_start_time': 1776431120.506816, 'checkpoint_manager_blocking_duration_secs': 2.2472939491271973} I0417 13:05:22.754229 137949689728128 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0417 13:05:22.754267 137949689728128 max_utils.py:750] Memstats: After params initialized: I0417 13:05:22.754308 137949689728128 max_utils.py:756] Using (GB) 1.61 / 31.25 (5.152000%) on TPU_0(process=0,(0,0,0,0)) I0417 13:05:22.754332 137949689728128 max_utils.py:756] Using (GB) 1.61 / 31.25 (5.152000%) on TPU_1(process=0,(1,0,0,0)) I0417 13:05:22.754352 137949689728128 max_utils.py:756] Using (GB) 1.61 / 31.25 (5.152000%) on TPU_2(process=0,(0,1,0,0)) I0417 13:05:22.754371 137949689728128 max_utils.py:756] Using (GB) 1.61 / 31.25 (5.152000%) on TPU_3(process=0,(1,1,0,0)) I0417 13:05:22.754390 137949689728128 max_utils.py:756] Using (GB) 1.61 / 31.25 (5.152000%) on TPU_4(process=0,(0,2,0,0)) I0417 13:05:22.754407 137949689728128 max_utils.py:756] Using (GB) 1.61 / 31.25 (5.152000%) on TPU_5(process=0,(1,2,0,0)) I0417 13:05:22.754425 137949689728128 max_utils.py:756] Using (GB) 1.61 / 31.25 (5.152000%) on TPU_6(process=0,(0,3,0,0)) I0417 13:05:22.754442 137949689728128 max_utils.py:756] Using (GB) 1.61 / 31.25 (5.152000%) on TPU_7(process=0,(1,3,0,0)) W0417 13:05:22.760585 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. W0417 13:05:22.766670 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. W0417 13:05:22.772020 425448 pjrt_executable.cc:642] Assume version compatibility. PjRt-IFRT does not track XLA executable versions. I0417 13:05:23.108998 137949689728128 metric_logger.py:196] completed step: 0, seconds: 16.411, TFLOP/s/device: 0.828, Tokens/s/device: 124.794, total_weights: 13328, loss: 10.844, lm_loss: 10.844, perplexity: 51212.484 I0417 13:05:23.109886 137949689728128 metric_logger.py:281] To see full metrics 'tensorboard --logdir=gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/tensorboard/' I0417 13:05:23.215590 137949689728128 metric_logger.py:196] completed step: 1, seconds: 2.738, TFLOP/s/device: 4.963, Tokens/s/device: 748.119, total_weights: 12332, loss: nan, lm_loss: nan, perplexity: nan I0417 13:05:23.216675 137949689728128 metric_logger.py:237] Aborting training due to NaN loss. I0417 13:05:23.216784 137949689728128 metric_logger.py:196] completed step: 1, seconds: 2.738, TFLOP/s/device: 4.963, Tokens/s/device: 748.119, total_weights: 12332, loss: nan, lm_loss: nan, perplexity: nan I0417 13:05:23.216897 137949689728128 metric_logger.py:237] Aborting training due to NaN loss. E0417 13:05:23.401748 137834577004096 future.py:315] [process=0][thread=array_type_handler][operation_id=1] _SignalingThread.run() raised an exception: cannot schedule new futures after shutdown Traceback (most recent call last): File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 312, in run super().run() File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 257, in _target_setting_result self._result = target() ^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 391, in <lambda> target=lambda: asyncio_utils.run_sync(coro), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/asyncio_utils.py", line 36, in run_sync return asyncio.run(coro) ^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/serialization/jax_array_handlers.py", line 363, in _serialize_without_dispatcher await async_serialize_replica_slices_batch( File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/serialization/jax_array_handlers.py", line 608, in _async_serialize_replica_slices await asyncio.gather(*write_coros) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/metadata/array_metadata_store.py", line 195, in write if await async_path.exists(file_path): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/path/async_path.py", line 67, in exists return await asyncio.to_thread(path.exists) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/threads.py", line 25, in to_thread return await loop.run_in_executor(None, func_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/base_events.py", line 867, in run_in_executor executor.submit(func, *args), loop=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/concurrent/futures/thread.py", line 171, in submit raise RuntimeError('cannot schedule new futures after shutdown') RuntimeError: cannot schedule new futures after shutdown E0417 13:05:23.404865 137834566518336 future.py:315] [process=0][thread=write_metadata_after_commits][operation_id=1] _SignalingThread.run() raised an exception: cannot schedule new futures after shutdown Traceback (most recent call last): File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 312, in run super().run() File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 257, in _target_setting_result self._result = target() ^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 391, in <lambda> target=lambda: asyncio_utils.run_sync(coro), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/asyncio_utils.py", line 36, in run_sync return asyncio.run(coro) ^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/handlers/base_pytree_checkpoint_handler.py", line 1192, in _write_metadata_after_commits await asyncio.to_thread(commit_future.result) File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/threads.py", line 25, in to_thread return await loop.run_in_executor(None, func_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/concurrent/futures/thread.py", line 59, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 449, in result return self._f.result(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 398, in result return self._t.result(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 347, in result self.join(timeout=timeout) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 344, in join raise self._exception File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 312, in run super().run() File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 257, in _target_setting_result self._result = target() ^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 391, in <lambda> target=lambda: asyncio_utils.run_sync(coro), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/asyncio_utils.py", line 36, in run_sync return asyncio.run(coro) ^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/serialization/jax_array_handlers.py", line 363, in _serialize_without_dispatcher await async_serialize_replica_slices_batch( File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/serialization/jax_array_handlers.py", line 608, in _async_serialize_replica_slices await asyncio.gather(*write_coros) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/metadata/array_metadata_store.py", line 195, in write if await async_path.exists(file_path): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/path/async_path.py", line 67, in exists return await asyncio.to_thread(path.exists) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/threads.py", line 25, in to_thread return await loop.run_in_executor(None, func_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/base_events.py", line 867, in run_in_executor executor.submit(func, *args), loop=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/concurrent/futures/thread.py", line 171, in submit raise RuntimeError('cannot schedule new futures after shutdown') RuntimeError: cannot schedule new futures after shutdown E0417 13:05:23.406694 137834545546816 async_checkpointer.py:229] [process=0] Failed to run 3 Handler Commit operations or the Commit callback in background save thread, directory: gs://wanglance-maxtext/linen_ckpt_main_20260417_125240/linen_main_20260417_125240_05_fp8/checkpoints/0 Traceback (most recent call last): File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/checkpointers/async_checkpointer.py", line 215, in _thread_func _background_wait_for_commit_futures( File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/checkpointers/async_checkpointer.py", line 88, in _background_wait_for_commit_futures commit_future.result() File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 196, in result f.result(timeout=time_remaining) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 449, in result return self._f.result(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 398, in result return self._t.result(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 347, in result self.join(timeout=timeout) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 344, in join raise self._exception File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 312, in run super().run() File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 257, in _target_setting_result self._result = target() ^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 391, in <lambda> target=lambda: asyncio_utils.run_sync(coro), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/asyncio_utils.py", line 36, in run_sync return asyncio.run(coro) ^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/handlers/base_pytree_checkpoint_handler.py", line 1192, in _write_metadata_after_commits await asyncio.to_thread(commit_future.result) File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/threads.py", line 25, in to_thread return await loop.run_in_executor(None, func_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/concurrent/futures/thread.py", line 59, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 449, in result return self._f.result(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 398, in result return self._t.result(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 347, in result self.join(timeout=timeout) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 344, in join raise self._exception File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 312, in run super().run() File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 257, in _target_setting_result self._result = target() ^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/futures/future.py", line 391, in <lambda> target=lambda: asyncio_utils.run_sync(coro), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/asyncio_utils.py", line 36, in run_sync return asyncio.run(coro) ^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/serialization/jax_array_handlers.py", line 363, in _serialize_without_dispatcher await async_serialize_replica_slices_batch( File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/serialization/jax_array_handlers.py", line 608, in _async_serialize_replica_slices await asyncio.gather(*write_coros) File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/metadata/array_metadata_store.py", line 195, in write if await async_path.exists(file_path): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/maxtext_venv/lib/python3.12/site-packages/orbax/checkpoint/_src/path/async_path.py", line 67, in exists return await asyncio.to_thread(path.exists) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/threads.py", line 25, in to_thread return await loop.run_in_executor(None, func_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/base_events.py", line 867, in run_in_executor executor.submit(func, *args), loop=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "~/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/concurrent/futures/thread.py", line 171, in submit raise RuntimeError('cannot schedule new futures after shutdown') RuntimeError: cannot schedule new futures after shutdown I0417 13:05:23.408425 137834524575296 async_checkpointer.py:273] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save. I0417 13:05:23.408502 137834524575296 checkpoint_manager.py:2103] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0417 13:05:23.408585 137834524575296 checkpoint_manager.py:2112] [process=0][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. Per train step: Total TFLOPs: 13.59 split as 93.93% learnable weight flops and 6.07% attention flops