main (8a17c3d19) vs feat/nnx-trainstate-and-training-loop (29bbe47ed)| Metric | main 8a17c3d19 | feat/nnx-trainstate-and-training-loop 29bbe47ed | Diff (feat/nnx-trainstate-and-training-loop − main) |
|---|---|---|---|
| Parameters | 1.104 billion | 1.104 billion | — |
| Final loss | 9.4570 | 9.4570 | 0 |
| TFLOP/s | 94.014 | 94.025 | +0.011 |
| Tok/s | 14170.9 | 14172.5 | +1.692 |
| Avg s/step | 6.818 | 6.737 | -0.081 |
| Memory % | 1.38 | 1.38 | 0 |
| JAX | 0.9.2 | 0.9.2 | — |
Diff = branch value − main value. Green = branch improved. Red = branch regressed.
XPK Start: Wed Apr 22 07:28:50 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:29:15.029127: 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:29:15.237967 137847962920768 max_utils.py:273] Attempting to initialize the jax distributed system... I0422 07:29:24.278456 137847962920768 distributed.py:149] Starting JAX distributed service on [::]:8482 I0422 07:29:24.280758 137847962920768 distributed.py:172] Connecting to JAX distributed service on mt-06-grad-accum-205v9-slice-job-0-0.mt-06-grad-accum-205v9:8482 I0422 07:29:26.544724 137847962920768 max_utils.py:284] Jax distributed system initialized! I0422 07:29:32.656195 137847962920768 max_utils.py:800] System Information: Jax Version: 0.9.2 I0422 07:29:32.656302 137847962920768 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0422 07:29:32.656342 137847962920768 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:29:32.656378 137847962920768 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0422 07:29:33.341875 137847962920768 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0422 07:29:33.342161 137847962920768 checkpointing.py:677] Setting up checkpoint logger... I0422 07:29:33.342215 137847962920768 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True I0422 07:29:33.342259 137847962920768 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0422 07:29:33.342598 137847962920768 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 0x7d5e83248d70>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0422 07:29:36.660800 137847962920768 checkpointing.py:265] Enabling policy for fixed interval checkpointing. I0422 07:29:36.661039 137847962920768 checkpoint_manager.py:708] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d4a6c272930>}, handler_registry=None I0422 07:29:36.661286 137847962920768 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d4a6c272930>` 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:29:36.661335 137847962920768 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d4a542d85f0>` 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:29:36.661371 137847962920768 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 0x7d4a6c272930>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d4a6c272930>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d4a542d85f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d4a542d85f0>}). I0422 07:29:36.661705 137847962920768 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0422 07:29:36.661777 137847962920768 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7d4a54251580> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0422 07:29:37.371757 137847962920768 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_06_grad_accum/checkpoints I0422 07:29:37.544448 137847962920768 checkpoint_manager.py:929] [process=4][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_06_grad_accum/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7d4a542d59d0> I0422 07:29:37.544621 137847962920768 checkpointing.py:301] Checkpoint manager created! I0422 07:29:39.282500 137847962920768 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0422 07:29:39.282617 137847962920768 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0422 07:29:39.663165 137847962920768 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0422 07:29:39.663261 137847962920768 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0422 07:29:39.679896 137847962920768 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0422 07:29:39.679956 137847962920768 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0422 07:29:39.703902 137847962920768 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:29:39.703973 137847962920768 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0422 07:29:39.720690 137847962920768 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:29:39.720769 137847962920768 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0422 07:29:39.737361 137847962920768 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:29:39.737479 137847962920768 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0422 07:29:39.762500 137847962920768 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0422 07:29:39.762571 137847962920768 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0422 07:29:39.783849 137847962920768 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0422 07:29:39.783916 137847962920768 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0422 07:29:39.997267 137847962920768 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint I0422 07:29:39.997389 137847962920768 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0422 07:29:41.444055 137847962920768 maxtext_utils.py:1668] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0422 07:29:41.444179 137847962920768 maxtext_utils.py:1668] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0422 07:29:41.444232 137847962920768 maxtext_utils.py:1668] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0422 07:29:41.444290 137847962920768 maxtext_utils.py:1668] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0422 07:29:41.444339 137847962920768 maxtext_utils.py:1668] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0422 07:29:41.444379 137847962920768 maxtext_utils.py:1668] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0422 07:29:41.444437 137847962920768 maxtext_utils.py:1668] 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:29:41.444491 137847962920768 maxtext_utils.py:1668] 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:29:41.444531 137847962920768 maxtext_utils.py:1668] 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:29:41.444568 137847962920768 maxtext_utils.py:1668] 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:29:41.444614 137847962920768 maxtext_utils.py:1668] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0422 07:29:41.444660 137847962920768 maxtext_utils.py:1668] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0422 07:29:41.469741 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048]............................................... Unknown. I0422 07:29:41.469810 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048]............................................... (None,). I0422 07:29:41.484953 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048,16,7168]....................................... Unknown. I0422 07:29:41.485007 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048,16,7168]....................................... ('fsdp', None, None). I0422 07:29:41.514961 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[7168,16,2048]....................................... Unknown. I0422 07:29:41.515027 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[7168,16,2048]....................................... (None, None, 'fsdp'). I0422 07:29:41.529948 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048,16]............................................ Unknown. I0422 07:29:41.530004 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048,16]............................................ (None, None). I0422 07:29:41.559797 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048,16,16,128]..................................... Unknown. I0422 07:29:41.559864 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048,16,16,128]..................................... ('fsdp', None, None, None). I0422 07:29:41.574895 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[16,16,128,2048]..................................... Unknown. I0422 07:29:41.574949 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[16,16,128,2048]..................................... (None, None, None, 'fsdp'). I0422 07:29:41.619611 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048,32000]......................................... Unknown. I0422 07:29:41.619684 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048,32000]......................................... ('fsdp', None). I0422 07:29:41.634616 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[32000,2048]......................................... Unknown. I0422 07:29:41.634673 137847962920768 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[32000,2048]......................................... (None, 'fsdp'). I0422 07:29:42.310529 137847962920768 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0422 07:29:42.310619 137847962920768 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0422 07:29:42.326449 137847962920768 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0422 07:29:42.326508 137847962920768 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0422 07:29:53.809075 137847962920768 max_utils.py:791] Total memory size: 1.7 GB, Output size: 0.4 GB, Temp size: 1.3 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB. I0422 07:29:53.809968 137847962920768 metric_logger.py:301] number parameters: 1.104 billion I0422 07:29:55.725687 137847962920768 checkpointing.py:772] Waiting for step 0 to finish before checkpoint... I0422 07:30:06.609395 137847962920768 checkpointing.py:776] Waited 10.883687734603882 seconds for step 0 to finish before starting checkpointing. I0422 07:30:06.611816 137847962920768 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0422 07:30:06.613519 137847962920768 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0 I0422 07:30:06.615215 137847962920768 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_06_grad_accum/checkpoints/0. I0422 07:30:07.152307 137847962920768 signaling_client.py:364] Using JaxDistributedSignalingClient I0422 07:30:07.153290 137847962920768 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0422 07:30:07.153347 137847962920768 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:30:07.426709 137847962920768 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.274461s I0422 07:30:07.426880 137847962920768 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.511 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27992725372314453 s) (per-host) I0422 07:30:07.426931 137847962920768 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.279989s (batch_requests_ready=0.002235s, total_serialization_initiated=0.277685s, others=0.000070s) I0422 07:30:07.427019 137847962920768 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.284426s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.284408) I0422 07:30:07.427850 137847962920768 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.81 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_06_grad_accum/checkpoints/0. I0422 07:30:07.428158 137719775831808 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 07:50:07.428119 I0422 07:30:07.438380 137847962920768 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0422 07:30:07.438682 137719229437696 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0422 07:30:07.438857 137847962920768 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776843006.6117966, 'wait_for_prev_duration_secs': 6.151199340820312e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776843006.6135576, 'checkpointer_blocking_duration_secs': 0.8147554397583008, 'get_old_steps_start_time': 1776843007.4283395, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1776843006.6099365, 'checkpoint_manager_blocking_duration_secs': 0.8288826942443848} I0422 07:30:07.438961 137847962920768 checkpointing.py:408] Started an asynchronous checkpoint save for step 0 I0422 07:30:07.439012 137847962920768 max_utils.py:750] Memstats: After params initialized: I0422 07:30:07.439059 137847962920768 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0)) I0422 07:30:07.439092 137847962920768 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0)) I0422 07:30:07.439119 137847962920768 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0)) I0422 07:30:07.439143 137847962920768 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0)) I0422 07:30:07.752342 137847962920768 metric_logger.py:196] completed step: 0, seconds: 1.916, TFLOP/s/device: 28.371, Tokens/s/device: 4276.440, total_weights: 262144, loss: 10.877, lm_loss: 10.877, perplexity: 52959.059 I0422 07:30:08.363315 137847962920768 metric_logger.py:196] completed step: 1, seconds: 12.025, TFLOP/s/device: 4.520, Tokens/s/device: 681.240, total_weights: 262144, loss: 10.877, lm_loss: 10.877, perplexity: 52959.059 I0422 07:30:08.941560 137847962920768 metric_logger.py:196] completed step: 2, seconds: 0.033, TFLOP/s/device: 1641.156, Tokens/s/device: 247372.871, total_weights: 262144, loss: 10.563, lm_loss: 10.563, perplexity: 38662.707 I0422 07:30:09.519726 137847962920768 metric_logger.py:196] completed step: 3, seconds: 0.584, TFLOP/s/device: 93.074, Tokens/s/device: 14029.175, total_weights: 262144, loss: 10.272, lm_loss: 10.272, perplexity: 28909.668 I0422 07:30:10.415733 2577 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0422 07:30:10.676507 137847962920768 metric_logger.py:196] completed step: 4, seconds: 0.578, TFLOP/s/device: 93.999, Tokens/s/device: 14168.598, total_weights: 262144, loss: 10.022, lm_loss: 10.022, perplexity: 22524.992 I0422 07:30:10.685266 137847962920768 metric_logger.py:196] completed step: 5, seconds: 0.578, TFLOP/s/device: 93.995, Tokens/s/device: 14167.985, total_weights: 262144, loss: 9.820, lm_loss: 9.820, perplexity: 18401.865 I0422 07:30:12.407782 137719237830400 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_06_grad_accum/checkpoints/0/items/array_metadatas/process_4 I0422 07:30:45.236618 137719775831808 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 41.471 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.0896270275116 s) (per-host) I0422 07:30:45.236747 137719775831808 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.808477s. I0422 07:30:53.685003 137719775831808 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 46.256718s. I0422 07:30:53.685292 137719229437696 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0422 07:30:53.685407 137719229437696 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0422 07:30:53.685456 137719229437696 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0422 07:30:53.688200 137719229437696 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0422 07:30:56.507108 137847962920768 metric_logger.py:196] completed step: 6, seconds: 1.159, TFLOP/s/device: 46.875, Tokens/s/device: 7065.486, total_weights: 262144, loss: 9.667, lm_loss: 9.667, perplexity: 15787.604 I0422 07:30:57.085111 137847962920768 metric_logger.py:196] completed step: 7, seconds: 45.245, TFLOP/s/device: 1.201, Tokens/s/device: 181.059, total_weights: 262144, loss: 9.561, lm_loss: 9.561, perplexity: 14203.827 I0422 07:30:57.663415 137847962920768 metric_logger.py:196] completed step: 8, seconds: 0.583, TFLOP/s/device: 93.217, Tokens/s/device: 14050.735, total_weights: 262144, loss: 9.496, lm_loss: 9.496, perplexity: 13302.920 I0422 07:30:58.240848 137847962920768 checkpointing.py:772] Waiting for step 9 to finish before checkpoint... I0422 07:30:58.241523 137847962920768 checkpointing.py:776] Waited 0.0006973743438720703 seconds for step 9 to finish before starting checkpointing. I0422 07:30:58.243679 137847962920768 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0422 07:30:58.245267 137847962920768 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9 I0422 07:30:58.246649 137847962920768 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_06_grad_accum/checkpoints/9. I0422 07:30:58.547047 137847962920768 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0422 07:30:58.547138 137847962920768 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:30:58.580763 137847962920768 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034564s I0422 07:30:58.580929 137847962920768 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 39.933 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03862929344177246 s) (per-host) I0422 07:30:58.580980 137847962920768 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038689s (batch_requests_ready=0.001638s, total_serialization_initiated=0.036984s, others=0.000067s) I0422 07:30:58.581070 137847962920768 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042968s (all_items=0.000016s, per_item={'items': '0.00001597'}, temp_paths=0.042952) I0422 07:30:58.581758 137847962920768 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_06_grad_accum/checkpoints/9. I0422 07:30:58.582071 137712816350976 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 07:50:58.582035 I0422 07:30:58.583922 137847962920768 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0422 07:30:58.584186 137719247578880 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save. I0422 07:30:58.584320 137847962920768 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776843058.2436478, 'wait_for_prev_duration_secs': 8.845329284667969e-05, 'time_between_consecutive_saves_sec': 4.55540657043457, 'checkpointer_blocking_start_time': 1776843058.2453048, 'checkpointer_blocking_duration_secs': 0.33690810203552246, 'get_old_steps_start_time': 1776843058.5822349, 'get_old_steps_duration_secs': 2.6226043701171875e-05, 'checkpoint_manager_blocking_start_time': 1776843058.2417703, 'checkpoint_manager_blocking_duration_secs': 0.3425161838531494} I0422 07:30:58.584472 137847962920768 checkpointing.py:408] Started an asynchronous checkpoint save for step 9 I0422 07:30:58.584516 137847962920768 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0422 07:31:04.162814 137719255971584 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_06_grad_accum/checkpoints/9/items/array_metadatas/process_4 I0422 07:31:42.131255 137712816350976 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 36.238 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.588916063308716 s) (per-host) I0422 07:31:42.131381 137712816350976 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.549201s. I0422 07:31:50.641376 137712816350976 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 52.059182s. I0422 07:31:50.641664 137719247578880 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save. I0422 07:31:50.641803 137719247578880 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save. I0422 07:31:50.641851 137719247578880 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0422 07:31:50.643559 137719247578880 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0422 07:31:50.643751 137847962920768 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9. I0422 07:31:50.643906 137847962920768 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0422 07:31:50.644895 137847962920768 metric_logger.py:196] completed step: 9, seconds: 0.578, TFLOP/s/device: 94.014, Tokens/s/device: 14170.853, total_weights: 262144, loss: 9.457, lm_loss: 9.457, perplexity: 12802.546 Per train step: Total TFLOPs: 54.35 split as 93.93% learnable weight flops and 6.07% attention flops XPK End: Wed Apr 22 07:32:00 UTC 2026 EXIT_CODE=0
29bbe47ed
· feat_nnx_trainstate_and_training_loop_20260422_093106
· full log
XPK Start: Wed Apr 22 09:44:59 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 09:45:23.982461: 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 09:45:24.162240 137658239227712 max_utils.py:273] Attempting to initialize the jax distributed system... I0422 09:45:33.202970 137658239227712 distributed.py:149] Starting JAX distributed service on [::]:8482 I0422 09:45:33.205408 137658239227712 distributed.py:172] Connecting to JAX distributed service on mt-06-grad-accum-ifscd-slice-job-0-0.mt-06-grad-accum-ifscd:8482 I0422 09:45:34.507217 137658239227712 max_utils.py:284] Jax distributed system initialized! I0422 09:45:39.807044 137658239227712 max_utils.py:800] System Information: Jax Version: 0.9.2 I0422 09:45:39.807166 137658239227712 max_utils.py:801] System Information: Jaxlib Version: 0.9.2 I0422 09:45:39.807209 137658239227712 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 09:45:39.807245 137658239227712 train_utils.py:378] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing. I0422 09:45:40.500781 137658239227712 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0422 09:45:40.501381 137658239227712 maxtext_utils.py:1718] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1) I0422 09:45:40.501559 137658239227712 checkpointing.py:688] Setting up checkpoint logger... I0422 09:45:40.501608 137658239227712 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True I0422 09:45:40.501651 137658239227712 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None I0422 09:45:40.501986 137658239227712 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 0x7d3256c4f680>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB) I0422 09:45:43.415158 137658239227712 checkpointing.py:266] Enabling policy for fixed interval checkpointing. I0422 09:45:43.415354 137658239227712 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 0x7d314a582fc0>}, handler_registry=None I0422 09:45:43.415595 137658239227712 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d314a582fc0>` 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 09:45:43.415642 137658239227712 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d1edc7a96d0>` 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 09:45:43.415679 137658239227712 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 0x7d314a582fc0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d314a582fc0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d1edc7a96d0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d1edc7a96d0>}). I0422 09:45:43.415995 137658239227712 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34 I0422 09:45:43.416068 137658239227712 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7d1edc3d42c0> timeout: 1200 secs and primary_host=0 for async checkpoint writes I0422 09:45:44.941569 137658239227712 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints I0422 09:45:44.943771 137658239227712 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_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7d1edc7a5820> I0422 09:45:44.943887 137658239227712 checkpointing.py:302] Checkpoint manager created! I0422 09:45:46.647212 137658239227712 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed'). I0422 09:45:46.647315 137658239227712 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0422 09:45:47.029186 137658239227712 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0422 09:45:47.029280 137658239227712 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0422 09:45:47.045571 137658239227712 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed'). I0422 09:45:47.045627 137658239227712 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None). I0422 09:45:47.069362 137658239227712 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 09:45:47.069428 137658239227712 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0422 09:45:47.085851 137658239227712 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 09:45:47.085912 137658239227712 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0422 09:45:47.102348 137658239227712 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 09:45:47.102409 137658239227712 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0422 09:45:47.127020 137658239227712 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv'). I0422 09:45:47.127104 137658239227712 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None). I0422 09:45:47.147926 137658239227712 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp'). I0422 09:45:47.147990 137658239227712 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None). I0422 09:45:47.366454 137658239227712 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint I0422 09:45:47.366563 137658239227712 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint. fsdp: 32 I0422 09:45:48.798955 137658239227712 maxtext_utils.py:1821] params/params/decoder/decoder_norm/scale Shape: float32[2048] Logical: P('norm',) Physical: (None,) I0422 09:45:48.799079 137658239227712 maxtext_utils.py:1821] params/params/decoder/layers/mlp/wi_0/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0422 09:45:48.799148 137658239227712 maxtext_utils.py:1821] params/params/decoder/layers/mlp/wi_1/kernel Shape: float32[2048,16,7168] Logical: P('embed', 'layers', 'mlp') Physical: ('fsdp', None, None) I0422 09:45:48.799210 137658239227712 maxtext_utils.py:1821] params/params/decoder/layers/mlp/wo/kernel Shape: float32[7168,16,2048] Logical: P('mlp', 'layers', 'embed') Physical: (None, None, 'fsdp') I0422 09:45:48.799277 137658239227712 maxtext_utils.py:1821] params/params/decoder/layers/post_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0422 09:45:48.799314 137658239227712 maxtext_utils.py:1821] params/params/decoder/layers/pre_self_attention_layer_norm/scale Shape: float32[2048,16] Logical: P('norm', 'layers') Physical: (None, None) I0422 09:45:48.799366 137658239227712 maxtext_utils.py:1821] 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 09:45:48.799417 137658239227712 maxtext_utils.py:1821] 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 09:45:48.799459 137658239227712 maxtext_utils.py:1821] 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 09:45:48.799498 137658239227712 maxtext_utils.py:1821] 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 09:45:48.799551 137658239227712 maxtext_utils.py:1821] params/params/decoder/logits_dense/kernel Shape: float32[2048,32000] Logical: P('embed_vocab', 'vocab') Physical: ('fsdp', None) I0422 09:45:48.799602 137658239227712 maxtext_utils.py:1821] params/params/token_embedder/embedding Shape: float32[32000,2048] Logical: P('vocab', 'embed_vocab') Physical: (None, 'fsdp') I0422 09:45:48.824186 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048]............................................... Unknown. I0422 09:45:48.824251 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048]............................................... (None,). I0422 09:45:48.839043 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,16,7168]....................................... Unknown. I0422 09:45:48.839111 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,16,7168]....................................... ('fsdp', None, None). I0422 09:45:48.868781 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[7168,16,2048]....................................... Unknown. I0422 09:45:48.868850 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[7168,16,2048]....................................... (None, None, 'fsdp'). I0422 09:45:48.883633 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,16]............................................ Unknown. I0422 09:45:48.883689 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,16]............................................ (None, None). I0422 09:45:48.913186 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,16,16,128]..................................... Unknown. I0422 09:45:48.913249 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,16,16,128]..................................... ('fsdp', None, None, None). I0422 09:45:48.928049 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[16,16,128,2048]..................................... Unknown. I0422 09:45:48.928117 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[16,16,128,2048]..................................... (None, None, None, 'fsdp'). I0422 09:45:48.972474 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,32000]......................................... Unknown. I0422 09:45:48.972555 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,32000]......................................... ('fsdp', None). I0422 09:45:48.987289 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[32000,2048]......................................... Unknown. I0422 09:45:48.987345 137658239227712 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[32000,2048]......................................... (None, 'fsdp'). I0422 09:45:49.654810 137658239227712 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0422 09:45:49.654905 137658239227712 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None). I0422 09:45:49.670471 137658239227712 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length'). I0422 09:45:49.670531 137658239227712 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None). I0422 09:46:00.981200 137658239227712 max_utils.py:791] Total memory size: 1.7 GB, Output size: 0.4 GB, Temp size: 1.3 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB. I0422 09:46:00.982006 137658239227712 metric_logger.py:301] number parameters: 1.104 billion I0422 09:46:02.819534 137658239227712 checkpointing.py:794] Waiting for step 0 to finish before checkpoint... I0422 09:46:13.577134 137658239227712 checkpointing.py:798] Waited 10.757567405700684 seconds for step 0 to finish before starting checkpointing. I0422 09:46:13.579548 137658239227712 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0422 09:46:13.581075 137658239227712 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0 I0422 09:46:13.582608 137658239227712 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints/0. I0422 09:46:13.903956 137658239227712 signaling_client.py:364] Using JaxDistributedSignalingClient I0422 09:46:13.904942 137658239227712 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0422 09:46:13.905000 137658239227712 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 09:46:14.180557 137658239227712 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276676s I0422 09:46:14.180740 137658239227712 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.467 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2821683883666992 s) (per-host) I0422 09:46:14.180794 137658239227712 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.282232s (batch_requests_ready=0.002309s, total_serialization_initiated=0.279851s, others=0.000073s) I0422 09:46:14.180881 137658239227712 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.286408s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.286390) I0422 09:46:14.181630 137658239227712 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.60 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints/0. I0422 09:46:14.181965 137533184956160 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 10:06:14.181928 I0422 09:46:14.188744 137658239227712 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize I0422 09:46:14.188995 137532570334976 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save. I0422 09:46:14.189136 137658239227712 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776851173.5795302, 'wait_for_prev_duration_secs': 5.936622619628906e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776851173.5811322, 'checkpointer_blocking_duration_secs': 0.6009981632232666, 'get_old_steps_start_time': 1776851174.1821558, 'get_old_steps_duration_secs': 3.0994415283203125e-05, 'checkpoint_manager_blocking_start_time': 1776851173.577634, 'checkpoint_manager_blocking_duration_secs': 0.6114439964294434} I0422 09:46:14.189242 137658239227712 checkpointing.py:409] Started an asynchronous checkpoint save for step 0 I0422 09:46:14.189293 137658239227712 max_utils.py:750] Memstats: After params initialized: I0422 09:46:14.189342 137658239227712 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0)) I0422 09:46:14.189378 137658239227712 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0)) I0422 09:46:14.189404 137658239227712 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0)) I0422 09:46:14.189430 137658239227712 max_utils.py:756] Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0)) I0422 09:46:14.501802 137658239227712 metric_logger.py:196] completed step: 0, seconds: 1.837, TFLOP/s/device: 29.579, Tokens/s/device: 4458.440, total_weights: 262144, loss: 10.877, lm_loss: 10.877, perplexity: 52959.059 I0422 09:46:15.108620 137658239227712 metric_logger.py:196] completed step: 1, seconds: 11.681, TFLOP/s/device: 4.653, Tokens/s/device: 701.319, total_weights: 262144, loss: 10.877, lm_loss: 10.877, perplexity: 52959.059 I0422 09:46:15.686929 137658239227712 metric_logger.py:196] completed step: 2, seconds: 0.029, TFLOP/s/device: 1894.931, Tokens/s/device: 285624.630, total_weights: 262144, loss: 10.563, lm_loss: 10.563, perplexity: 38662.707 I0422 09:46:16.265054 137658239227712 metric_logger.py:196] completed step: 3, seconds: 0.584, TFLOP/s/device: 93.048, Tokens/s/device: 14025.164, total_weights: 262144, loss: 10.272, lm_loss: 10.272, perplexity: 28909.668 I0422 09:46:17.421789 137658239227712 metric_logger.py:196] completed step: 4, seconds: 0.578, TFLOP/s/device: 94.011, Tokens/s/device: 14170.289, total_weights: 262144, loss: 10.022, lm_loss: 10.022, perplexity: 22524.992 I0422 09:46:17.428089 137658239227712 metric_logger.py:196] completed step: 5, seconds: 0.578, TFLOP/s/device: 93.988, Tokens/s/device: 14166.907, total_weights: 262144, loss: 9.820, lm_loss: 9.820, perplexity: 18401.865 I0422 09:46:17.482733 2525 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com I0422 09:46:19.479448 137532649961216 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints/0/items/array_metadatas/process_6 I0422 09:46:50.807704 137533184956160 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 42.797 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.90909814834595 s) (per-host) I0422 09:46:50.807812 137533184956160 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.625735s. I0422 09:47:00.906147 137533184956160 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 46.724053s. I0422 09:47:00.906355 137532570334976 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save. I0422 09:47:00.906414 137532570334976 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save. I0422 09:47:00.906462 137532570334976 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts... I0422 09:47:01.987240 137532570334976 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts. I0422 09:47:02.866489 137658239227712 metric_logger.py:196] completed step: 6, seconds: 1.157, TFLOP/s/device: 46.955, Tokens/s/device: 7077.536, total_weights: 262144, loss: 9.667, lm_loss: 9.667, perplexity: 15787.604 I0422 09:47:03.444705 137658239227712 metric_logger.py:196] completed step: 7, seconds: 44.861, TFLOP/s/device: 1.211, Tokens/s/device: 182.608, total_weights: 262144, loss: 9.561, lm_loss: 9.561, perplexity: 14203.827 I0422 09:47:04.023005 137658239227712 metric_logger.py:196] completed step: 8, seconds: 0.583, TFLOP/s/device: 93.232, Tokens/s/device: 14053.001, total_weights: 262144, loss: 9.496, lm_loss: 9.496, perplexity: 13302.920 I0422 09:47:04.600407 137658239227712 checkpointing.py:794] Waiting for step 9 to finish before checkpoint... I0422 09:47:04.601068 137658239227712 checkpointing.py:798] Waited 0.0006823539733886719 seconds for step 9 to finish before starting checkpointing. I0422 09:47:04.603143 137658239227712 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0422 09:47:04.604793 137658239227712 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9 I0422 09:47:04.606169 137658239227712 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints/9. I0422 09:47:04.917777 137658239227712 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array. I0422 09:47:04.917867 137658239227712 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 09:47:04.951889 137658239227712 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.035113s I0422 09:47:04.952054 137658239227712 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 39.906 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03865551948547363 s) (per-host) I0422 09:47:04.952118 137658239227712 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038728s (batch_requests_ready=0.001759s, total_serialization_initiated=0.036888s, others=0.000081s) I0422 09:47:04.952213 137658239227712 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042775s (all_items=0.000016s, per_item={'items': '0.00001574'}, temp_paths=0.042759) I0422 09:47:04.952930 137658239227712 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.35 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints/9. I0422 09:47:04.953262 137532570334976 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 10:07:04.953224 I0422 09:47:04.955269 137658239227712 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize I0422 09:47:04.955487 137532686059264 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save. I0422 09:47:04.955615 137658239227712 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776851224.6030905, 'wait_for_prev_duration_secs': 7.2479248046875e-05, 'time_between_consecutive_saves_sec': 2.6157546043395996, 'checkpointer_blocking_start_time': 1776851224.6048315, 'checkpointer_blocking_duration_secs': 0.3485696315765381, 'get_old_steps_start_time': 1776851224.9534252, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1776851224.6013198, 'checkpoint_manager_blocking_duration_secs': 0.3542613983154297} I0422 09:47:04.955725 137658239227712 checkpointing.py:409] Started an asynchronous checkpoint save for step 9 I0422 09:47:04.955771 137658239227712 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. I0422 09:47:10.140959 137532694451968 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106/linen_xpk_feat_nnx_trainstate_and_training_loop_20260422_093106_06_grad_accum/checkpoints/9/items/array_metadatas/process_6 I0422 09:47:47.680889 137532570334976 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.935 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.76746463775635 s) (per-host) I0422 09:47:47.680997 137532570334976 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.727625s. I0422 09:47:56.368636 137532570334976 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.415248s. I0422 09:47:56.368867 137532686059264 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save. I0422 09:47:56.368930 137532686059264 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save. I0422 09:47:56.368975 137532686059264 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts... I0422 09:47:56.370538 137532686059264 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts. I0422 09:47:56.370702 137658239227712 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 09:47:56.370855 137658239227712 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. I0422 09:47:56.371882 137658239227712 metric_logger.py:196] completed step: 9, seconds: 0.578, TFLOP/s/device: 94.025, Tokens/s/device: 14172.545, total_weights: 262144, loss: 9.457, lm_loss: 9.457, perplexity: 12802.546 Per train step: Total TFLOPs: 54.35 split as 93.93% learnable weight flops and 6.07% attention flops XPK End: Wed Apr 22 09:48:05 UTC 2026 EXIT_CODE=0