MaxView

‹ 09_pdb_lt_1Case: 10_shardy_false10_shardy_true ›

Metrics: main (8a17c3d19) vs feat/nnx-trainstate-and-training-loop (29bbe47ed)

Metricmain  8a17c3d19feat/nnx-trainstate-and-training-loop  29bbe47edDiff (feat/nnx-trainstate-and-training-loop − main)
Parameters1.104 billion
Final loss8.1790
TFLOP/s92.046
Tok/s13874.1
Avg s/step2.752
Memory %1.38
JAX0.9.2

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

main  ·  8a17c3d19  ·  main_20260422_071422  ·  full log
XPK Start: Wed Apr 22 07:50:02 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-22 07:50:27.098788: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0422 07:50:27.308084 138998026590016 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 07:50:36.348429 138998026590016 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 07:50:36.350665 138998026590016 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-cz91t-slice-job-0-0.mt-10-shardy-false-cz91t:8482
I0422 07:50:37.426687 138998026590016 max_utils.py:284] Jax distributed system initialized!
I0422 07:50:43.442518 138998026590016 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 07:50:43.442624 138998026590016 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 07:50:43.442666 138998026590016 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0422 07:50:43.442704 138998026590016 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 07:50:44.130838 138998026590016 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 07:50:44.131112 138998026590016 checkpointing.py:677] Setting up checkpoint logger...
I0422 07:50:44.131163 138998026590016 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 07:50:44.131207 138998026590016 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0422 07:50:44.131562 138998026590016 base_pytree_checkpoint_handler.py:441] 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 0x7e6a69b1cf50>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 07:50:47.009638 138998026590016 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0422 07:50:47.009870 138998026590016 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e563c4416a0>}, handler_registry=None
I0422 07:50:47.010105 138998026590016 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e563c4416a0>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0422 07:50:47.010153 138998026590016 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e563c4413a0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0422 07:50:47.010190 138998026590016 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 0x7e563c4416a0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e563c4416a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e563c4413a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e563c4413a0>}).
I0422 07:50:47.010527 138998026590016 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0422 07:50:47.010597 138998026590016 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e563c1c1a80> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0422 07:50:48.266421 138998026590016 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints
I0422 07:50:49.107980 138998026590016 checkpoint_manager.py:929] [process=6][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_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, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7e563c443110>
I0422 07:50:49.108150 138998026590016 checkpointing.py:301] Checkpoint manager created!
I0422 07:50:50.049199 138998026590016 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 07:50:50.049341 138998026590016 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 07:50:50.430925 138998026590016 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 07:50:50.431017 138998026590016 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 07:50:50.447249 138998026590016 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 07:50:50.447328 138998026590016 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 07:50:50.470760 138998026590016 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 07:50:50.470832 138998026590016 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 07:50:50.487092 138998026590016 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 07:50:50.487153 138998026590016 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 07:50:50.503450 138998026590016 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 07:50:50.503511 138998026590016 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 07:50:50.528014 138998026590016 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 07:50:50.528084 138998026590016 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 07:50:50.548865 138998026590016 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 07:50:50.548929 138998026590016 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 07:50:50.757617 138998026590016 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 07:50:50.757724 138998026590016 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0422 07:50:52.146946 138998026590016 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0422 07:50:52.147075 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 07:50:52.147130 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 07:50:52.147189 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0422 07:50:52.147243 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0422 07:50:52.147302 138998026590016 maxtext_utils.py:1707]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0422 07:50:52.147364 138998026590016 maxtext_utils.py:1707]  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)
I0422 07:50:52.147419 138998026590016 maxtext_utils.py:1707]  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')
I0422 07:50:52.147462 138998026590016 maxtext_utils.py:1707]  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)
I0422 07:50:52.147499 138998026590016 maxtext_utils.py:1707]  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)
I0422 07:50:52.147545 138998026590016 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0422 07:50:52.147595 138998026590016 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0422 07:50:52.637266 138998026590016 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 07:50:52.637381 138998026590016 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 07:50:52.652625 138998026590016 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 07:50:52.652685 138998026590016 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 07:51:03.413404 138998026590016 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0422 07:51:03.414227 138998026590016 metric_logger.py:301] number parameters: 1.104 billion
I0422 07:51:14.980646 138998026590016 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0422 07:51:15.233411 138998026590016 checkpointing.py:776] Waited 0.2527437210083008 seconds for step 0 to finish before starting checkpointing.
I0422 07:51:15.235844 138998026590016 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 07:51:15.237479 138998026590016 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0422 07:51:15.238872 138998026590016 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/0.
I0422 07:51:15.967998 138998026590016 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 07:51:15.968997 138998026590016 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 07:51:15.969055 138998026590016 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0422 07:51:16.246981 138998026590016 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279058s
I0422 07:51:16.247161 138998026590016 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.417 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2847757339477539 s) (per-host)
I0422 07:51:16.247211 138998026590016 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.284837s (batch_requests_ready=0.002432s, total_serialization_initiated=0.282337s, others=0.000068s)
I0422 07:51:16.247318 138998026590016 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289592s (all_items=0.000035s, per_item={'items': '0.00003505'}, temp_paths=0.289557)
I0422 07:51:16.248072 138998026590016 event_tracking.py:125] [process=6] [async] Finished blocking save in 1.01 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/0.
I0422 07:51:16.248423 138869416232704 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:11:16.248380
I0422 07:51:16.676732 138998026590016 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 07:51:16.677151 138869391054592 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0422 07:51:16.677345 138998026590016 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776844275.2358265, 'wait_for_prev_duration_secs': 6.008148193359375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776844275.2375183, 'checkpointer_blocking_duration_secs': 1.0110564231872559, 'get_old_steps_start_time': 1776844276.2485998, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1776844275.2339368, 'checkpoint_manager_blocking_duration_secs': 1.44333815574646}
I0422 07:51:16.677464 138998026590016 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0422 07:51:16.677518 138998026590016 max_utils.py:750] 
Memstats: After params initialized:
I0422 07:51:16.677577 138998026590016 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0422 07:51:16.677612 138998026590016 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0422 07:51:16.677641 138998026590016 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0422 07:51:16.677667 138998026590016 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0422 07:51:16.994930 138998026590016 metric_logger.py:196] completed step: 0, seconds: 11.566, TFLOP/s/device: 1.175, Tokens/s/device: 177.066, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0422 07:51:17.179444 138998026590016 metric_logger.py:196] completed step: 1, seconds: 2.013, TFLOP/s/device: 6.751, Tokens/s/device: 1017.525, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0422 07:51:17.586036 138998026590016 metric_logger.py:196] completed step: 2, seconds: 0.037, TFLOP/s/device: 365.973, Tokens/s/device: 55163.497, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0422 07:51:17.733328 138998026590016 metric_logger.py:196] completed step: 3, seconds: 0.407, TFLOP/s/device: 33.386, Tokens/s/device: 5032.275, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0422 07:51:18.028408 138998026590016 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.745, Tokens/s/device: 13376.616, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0422 07:51:18.034329 138998026590016 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.296, Tokens/s/device: 13911.815, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0422 07:51:19.149062    2783 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 07:51:21.178099 138869399447296 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/0/items/array_metadatas/process_6
I0422 07:51:39.600589 138998026590016 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.988, Tokens/s/device: 6931.822, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0422 07:51:39.748280 138998026590016 metric_logger.py:196] completed step: 7, seconds: 21.420, TFLOP/s/device: 0.634, Tokens/s/device: 95.613, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0422 07:51:39.895572 138998026590016 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.209, Tokens/s/device: 13446.526, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0422 07:51:40.042186 138998026590016 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0422 07:51:40.042866 138998026590016 checkpointing.py:776] Waited 0.0006992816925048828 seconds for step 9 to finish before starting checkpointing.
I0422 07:51:40.045037 138998026590016 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 07:51:53.804172 138869416232704 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 41.742 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.841736793518066 s) (per-host)
I0422 07:51:53.804408 138869416232704 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.555870s.
I0422 07:52:01.316468 138869416232704 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 45.067915s.
I0422 07:52:01.316805 138869391054592 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 07:52:01.316924 138869391054592 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0422 07:52:01.316975 138869391054592 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0422 07:52:01.319416 138869391054592 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0422 07:52:01.319576 138998026590016 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0422 07:52:01.319710 138998026590016 checkpoint_manager.py:1452] Waiting for previous save to complete took 21.274676 seconds. If this number is high, consider checkpointing less frequently.
I0422 07:52:01.322572 138998026590016 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0422 07:52:01.324666 138998026590016 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/9.
I0422 07:52:02.045537 138998026590016 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 07:52:02.045631 138998026590016 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0422 07:52:02.079162 138998026590016 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034714s
I0422 07:52:02.079347 138998026590016 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 40.199 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.038373470306396484 s) (per-host)
I0422 07:52:02.079401 138998026590016 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038437s (batch_requests_ready=0.001946s, total_serialization_initiated=0.036420s, others=0.000072s)
I0422 07:52:02.079494 138998026590016 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042605s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.042590)
I0422 07:52:02.080183 138998026590016 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.76 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/9.
I0422 07:52:02.080521 138869391054592 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:12:02.080485
I0422 07:52:02.082560 138998026590016 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 07:52:02.082837 138869399447296 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0422 07:52:02.082973 138998026590016 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776844300.045006, 'wait_for_prev_duration_secs': 21.274675607681274, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776844321.3226104, 'checkpointer_blocking_duration_secs': 0.7580583095550537, 'get_old_steps_start_time': 1776844322.0806932, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1776844300.0430965, 'checkpoint_manager_blocking_duration_secs': 22.039843797683716}
I0422 07:52:02.083136 138998026590016 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0422 07:52:02.083183 138998026590016 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 07:52:08.466346 138863090652928 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_10_shardy_false/checkpoints/9/items/array_metadatas/process_6
I0422 07:52:43.696827 138869391054592 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.920 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.65580940246582 s) (per-host)
I0422 07:52:43.696953 138869391054592 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.616319s.
I0422 07:52:52.334321 138869391054592 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.253655s.
I0422 07:52:52.334593 138869399447296 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 07:52:52.334714 138869399447296 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0422 07:52:52.334764 138869399447296 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0422 07:52:52.336167 138869399447296 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0422 07:52:52.336357 138998026590016 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0422 07:52:52.336499 138998026590016 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 07:52:52.337537 138998026590016 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 92.046, Tokens/s/device: 13874.117, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Wed Apr 22 07:53:02 UTC 2026
EXIT_CODE=0
XPK Start: Wed Apr 22 10:06:30 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-22 10:06:55.195041: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0422 10:06:55.375699 133487101175616 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 10:07:04.417870 133487101175616 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 10:07:04.420285 133487101175616 distributed.py:172] Connecting to JAX distributed service on mt-10-shardy-false-uby0v-slice-job-0-0.mt-10-shardy-false-uby0v:8482
F0422 10:12:09.422635      10 client.h:80] Terminating process because the JAX distributed service detected fatal errors. This most likely indicates that another task died; see the other task logs for more details. Disable Python buffering, i.e. `python -u`, to be sure to see all the previous output. absl::Status: DEADLINE_EXCEEDED: Deadline Exceeded

RPC: /tensorflow.CoordinationService/RegisterTask
*** Check failure stack trace: ***
    @     0x796734d58464  absl::lts_20250814::log_internal::LogMessage::SendToLog()
    @     0x796734d583e6  absl::lts_20250814::log_internal::LogMessage::Flush()
    @     0x796734dafa3e  std::_Function_handler<>::_M_invoke()
    @     0x7967315989d5  std::_Function_handler<>::_M_invoke()
    @     0x7967315b2e31  xla::CoordinationServiceAgent::SetError()
    @     0x7967315b27a2  xla::CoordinationServiceAgent::Connect()
    @     0x79673159743a  xla::DistributedRuntimeCoordinationServiceClient::Connect()
    @     0x796734dab413  nanobind::detail::func_create<>()::{lambda()#1}::__invoke()
    @     0x7967314d600d  nanobind::detail::nb_func_vectorcall_simple_1()
    @     0x7967e394f501  PyObject_Vectorcall
Fatal Python error: Aborted

Current thread 0x00007967e33f6740 (most recent call first):
  File "/usr/local/lib/python3.12/site-packages/jax/_src/distributed.py", line 173 in initialize
  File "/usr/local/lib/python3.12/site-packages/jax/_src/distributed.py", line 331 in initialize
  File "/deps/src/maxtext/utils/max_utils.py", line 275 in maybe_initialize_jax_distributed_system
  File "/deps/src/maxtext/configs/pyconfig.py", line 420 in initialize_pydantic
  File "/deps/src/maxtext/configs/pyconfig.py", line 294 in initialize
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 768 in initialize
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 839 in main
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 312 in _run_main
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 367 in run
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 847 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main

Extension modules: numpy._core._multiarray_umath, numpy._core._multiarray_tests, numpy.linalg._umath_linalg, jaxlib.cpu_feature_guard, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, zstandard.backend_c, uvloop.loop, msgpack._cmsgpack, yaml._yaml, simplejson._speedups, google._upb._message, charset_normalizer.md, charset_normalizer.cd, requests.packages.charset_normalizer.md, requests.packages.chardet.md, requests.packages.charset_normalizer.cd, requests.packages.chardet.cd, _cffi_backend, grpc._cython.cygrpc, multidict._multidict, yarl._quoting_c, propcache._helpers_c, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket.mask, aiohttp._websocket.reader_c, frozenlist._frozenlist, h5py._errors, h5py.defs, h5py._objects, h5py.h5, h5py.utils, h5py.h5t, h5py.h5s, h5py.h5ac, h5py.h5p, h5py.h5r, h5py._npystrings, h5py._proxy, h5py._conv, h5py.h5z, h5py.h5a, h5py.h5d, h5py.h5ds, h5py.h5g, h5py.h5i, h5py.h5o, h5py.h5f, h5py.h5fd, h5py.h5pl, h5py.h5l, h5py._selector, _cyutility, scipy._cyutility, scipy._lib._ccallback_c, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, PIL._imaging, psutil._psutil_linux, pyarrow.lib, pandas._libs._cyutility, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.properties, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.timestamps, pandas._libs.tslibs.offsets, pandas._libs.tslibs.strptime, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.lib, pyarrow._compute, pandas._libs.ops, pandas._libs.hashing, pandas._libs.arrays, pandas._libs.tslib, pandas._libs.sparse, pandas._libs.internals, pandas._libs.indexing, pandas._libs.index, pandas._libs.writers, pandas._libs.join, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.groupby, pandas._libs.json, pandas._libs.parsers, pandas._libs.testing, kiwisolver._cext, markupsafe._speedups, regex._regex, sentencepiece._sentencepiece, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._batched_linalg, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_schur_sqrtm, scipy.linalg._matfuncs_expm, scipy.linalg._linalg_pythran, scipy.linalg.cython_blas, scipy.linalg._decomp_update, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.special._ufuncs_cxx, scipy.special._ellip_harm_2, scipy.special._special_ufuncs, scipy.special._gufuncs, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.spatial._hausdorff, scipy.spatial._distance_wrap, scipy.spatial.transform._rotation_cy, scipy.spatial.transform._rigid_transform_cy, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpacklib, scipy.sparse.linalg._propack, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._slsqplib, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy._lib._uarray._uarray, scipy.linalg._decomp_interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, scipy.integrate._odepack, scipy.integrate._quadpack, scipy.integrate._vode, scipy.integrate._dop, scipy.interpolate._fitpack, scipy.interpolate._dfitpack, scipy.interpolate._dierckx, scipy.interpolate._ppoly, scipy.interpolate._interpnd, scipy.interpolate._rbfinterp_pythran, scipy.interpolate._rgi_cython, scipy.special.cython_special, scipy.stats._stats, scipy.stats._biasedurn, scipy.stats._stats_pythran, scipy.stats._levy_stable.levyst, scipy.stats._ansari_swilk_statistics, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.stats._sobol, scipy.stats._qmc_cy, scipy.stats._rcont.rcont, scipy.stats._qmvnt_cy, scipy.ndimage._nd_image, scipy.ndimage._rank_filter_1d, _ni_label, scipy.ndimage._ni_label (total: 191)
bash: line 5:    10 Aborted                 (core dumped) python3 -m maxtext.trainers.pre_train.train src/maxtext/configs/base.yml pure_nnx=False pure_nnx_decoder=False enable_nnx=False base_output_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106 dataset_type=synthetic steps=10 learning_rate_schedule_steps=10 enable_checkpointing=True checkpoint_period=10 enable_goodput_recording=False per_device_batch_size=1 ici_fsdp_parallelism=32 log_config=False tokenizer_path=src/maxtext/assets/tokenizers/tokenizer.llama2 use_vertex_tensorboard=False vertex_tensorboard_project='' vertex_tensorboard_region='' enable_pathways_goodput=False enable_gcp_goodput_metrics=False monitor_goodput=False attention=dot_product profiler=xplane debug_sharding=True run_name=linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_10_shardy_false shardy=False
XPK End: Wed Apr 22 10:12:15 UTC 2026
EXIT_CODE=134