MaxView

‹ 11_optimizer_offload_falseCase: 11_optimizer_offload_true13_scan_layers_false ›

Metrics: main (586e69205) vs feat/nnx-post-train-fixes (7f06c99ac)

Metricmain  586e69205feat/nnx-post-train-fixes  7f06c99acDiff (feat/nnx-post-train-fixes − main)
Parameters1.104 billion1.104 billion
Final loss8.17908.17900
TFLOP/s83.51783.455-0.062
Tok/s12588.612579.3-9.278
Avg s/step2.7822.705-0.077
Memory %0.540.540
JAX0.9.20.9.2

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

main  ·  586e69205  ·  main_20260423_071538  ·  full log
XPK Start: Thu Apr 23 07:59:34 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-23 07:59:59.236915: 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)
I0423 07:59:59.445390 135418453768000 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 08:00:08.484972 135418453768000 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 08:00:08.487309 135418453768000 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-a0aov-slice-job-0-0.mt-11-optimizer-offload-a0aov:8482
I0423 08:00:09.616410 135418453768000 max_utils.py:284] Jax distributed system initialized!
I0423 08:00:14.789629 135418453768000 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 08:00:14.789748 135418453768000 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 08:00:14.789789 135418453768000 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
I0423 08:00:14.789825 135418453768000 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 08:00:15.483019 135418453768000 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 08:00:15.483298 135418453768000 checkpointing.py:677] Setting up checkpoint logger...
I0423 08:00:15.483352 135418453768000 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 08:00:15.483397 135418453768000 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 08:00:15.483753 135418453768000 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 0x7b28f9d1c830>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 08:00:18.824764 135418453768000 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0423 08:00:18.825106 135418453768000 checkpoint_manager.py:708] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b15580f5700>}, handler_registry=None
I0423 08:00:18.825343 135418453768000 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b15580f5700>` 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`.
I0423 08:00:18.825393 135418453768000 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b27cde4f5f0>` 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`.
I0423 08:00:18.825429 135418453768000 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 0x7b15580f5700>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b15580f5700>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b27cde4f5f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b27cde4f5f0>}).
I0423 08:00:18.825763 135418453768000 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 08:00:18.825833 135418453768000 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b14205cd6c0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 08:00:19.954447 135418453768000 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints
I0423 08:00:20.833629 135418453768000 checkpoint_manager.py:929] [process=5][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_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b15580f6db0>
I0423 08:00:20.833827 135418453768000 checkpointing.py:301] Checkpoint manager created!
I0423 08:00:21.757815 135418453768000 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 08:00:21.757934 135418453768000 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 08:00:22.138766 135418453768000 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 08:00:22.138858 135418453768000 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 08:00:22.155275 135418453768000 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 08:00:22.155331 135418453768000 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 08:00:22.179004 135418453768000 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 08:00:22.179073 135418453768000 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 08:00:22.195459 135418453768000 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 08:00:22.195524 135418453768000 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 08:00:22.211818 135418453768000 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 08:00:22.211878 135418453768000 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 08:00:22.236634 135418453768000 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 08:00:22.236712 135418453768000 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 08:00:22.257800 135418453768000 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 08:00:22.257867 135418453768000 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 08:00:22.467505 135418453768000 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 08:00:22.467615 135418453768000 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 08:00:24.068549 135418453768000 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 08:00:24.068703 135418453768000 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)
I0423 08:00:24.069088 135418453768000 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)
I0423 08:00:24.069272 135418453768000 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')
I0423 08:00:24.069357 135418453768000 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)
I0423 08:00:24.069405 135418453768000 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)
I0423 08:00:24.069473 135418453768000 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)
I0423 08:00:24.069537 135418453768000 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')
I0423 08:00:24.069583 135418453768000 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)
I0423 08:00:24.069623 135418453768000 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)
I0423 08:00:24.069692 135418453768000 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0423 08:00:24.069746 135418453768000 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0423 08:00:24.572628 135418453768000 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 08:00:24.572731 135418453768000 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 08:00:24.588197 135418453768000 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 08:00:24.588254 135418453768000 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 08:00:35.446380 135418453768000 max_utils.py:791] Total memory size: 1.3 GB, Output size: 0.1 GB, Temp size: 1.1 GB, Argument size: 0.1 GB, Host temp size: 0.0 GB.
I0423 08:00:35.447182 135418453768000 metric_logger.py:301] number parameters: 1.104 billion
I0423 08:00:46.971927 135418453768000 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0423 08:00:47.151247 135418453768000 checkpointing.py:776] Waited 0.17930150032043457 seconds for step 0 to finish before starting checkpointing.
I0423 08:00:47.153936 135418453768000 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 08:00:47.155731 135418453768000 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0423 08:00:47.157169 135418453768000 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints/0.
I0423 08:00:47.525536 135418453768000 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 08:00:47.526511 135418453768000 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 08:00:47.526570 135418453768000 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
I0423 08:00:47.800700 135418453768000 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.275238s
I0423 08:00:47.800877 135418453768000 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.475 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.281740665435791 s) (per-host)
I0423 08:00:47.800932 135418453768000 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.281806s (batch_requests_ready=0.002242s, total_serialization_initiated=0.279490s, others=0.000074s)
I0423 08:00:47.801033 135418453768000 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.285818s (all_items=0.000019s, per_item={'items': '0.00001884'}, temp_paths=0.285800)
I0423 08:00:47.801846 135418453768000 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.65 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints/0.
I0423 08:00:47.802138 135285195126528 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 08:20:47.802102
I0423 08:00:47.819781 135418453768000 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 08:00:47.820091 135284919244544 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 08:00:47.820247 135418453768000 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776931247.1539183, 'wait_for_prev_duration_secs': 7.081031799316406e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776931247.1557703, 'checkpointer_blocking_duration_secs': 0.6465182304382324, 'get_old_steps_start_time': 1776931247.802317, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1776931247.1518111, 'checkpoint_manager_blocking_duration_secs': 0.6683969497680664}
I0423 08:00:47.820354 135418453768000 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0423 08:00:47.820403 135418453768000 max_utils.py:750] 
Memstats: After params initialized:
I0423 08:00:47.820451 135418453768000 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_18(process=5,(2,4,0,0))
I0423 08:00:47.820483 135418453768000 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_19(process=5,(3,4,0,0))
I0423 08:00:47.820509 135418453768000 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_22(process=5,(2,5,0,0))
I0423 08:00:47.820535 135418453768000 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_23(process=5,(3,5,0,0))
I0423 08:00:48.133762 135418453768000 metric_logger.py:196] completed step: 0, seconds: 11.525, TFLOP/s/device: 1.179, Tokens/s/device: 177.706, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 08:00:48.410229 135418453768000 metric_logger.py:196] completed step: 1, seconds: 1.160, TFLOP/s/device: 11.710, Tokens/s/device: 1765.000, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 08:00:48.835590 135418453768000 metric_logger.py:196] completed step: 2, seconds: 0.114, TFLOP/s/device: 119.266, Tokens/s/device: 17977.055, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0423 08:00:48.998263 135418453768000 metric_logger.py:196] completed step: 3, seconds: 0.425, TFLOP/s/device: 31.937, Tokens/s/device: 4813.930, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.047
I0423 08:00:49.324675 135418453768000 metric_logger.py:196] completed step: 4, seconds: 0.168, TFLOP/s/device: 80.696, Tokens/s/device: 12163.326, total_weights: 65536, loss: 9.278, lm_loss: 9.278, perplexity: 10694.968
I0423 08:00:49.330194 135418453768000 metric_logger.py:196] completed step: 5, seconds: 0.163, TFLOP/s/device: 83.581, Tokens/s/device: 12598.193, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.520
I0423 08:00:51.993336    2784 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 08:00:54.144996 135285178341120 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints/0/items/array_metadatas/process_5
I0423 08:01:11.838406 135418453768000 metric_logger.py:196] completed step: 6, seconds: 0.327, TFLOP/s/device: 41.592, Tokens/s/device: 6269.247, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.688
I0423 08:01:12.001081 135418453768000 metric_logger.py:196] completed step: 7, seconds: 22.346, TFLOP/s/device: 0.608, Tokens/s/device: 91.651, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4377.010
I0423 08:01:12.163747 135418453768000 metric_logger.py:196] completed step: 8, seconds: 0.168, TFLOP/s/device: 81.007, Tokens/s/device: 12210.245, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3845.943
I0423 08:01:12.326077 135418453768000 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0423 08:01:12.326764 135418453768000 checkpointing.py:776] Waited 0.0007066726684570312 seconds for step 9 to finish before starting checkpointing.
I0423 08:01:12.328759 135418453768000 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 08:01:24.613633 135285195126528 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.581 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.09445929527283 s) (per-host)
I0423 08:01:24.613768 135285195126528 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.811522s.
I0423 08:01:35.324101 135285195126528 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 47.521838s.
I0423 08:01:35.324388 135284919244544 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 08:01:35.324512 135284919244544 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 08:01:35.324565 135284919244544 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 08:01:35.327251 135284919244544 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 08:01:35.327438 135418453768000 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0423 08:01:35.327574 135418453768000 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.998815 seconds. If this number is high, consider checkpointing less frequently.
I0423 08:01:35.329339 135418453768000 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0423 08:01:35.331337 135418453768000 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints/9.
I0423 08:01:35.665088 135418453768000 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 08:01:35.665181 135418453768000 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
I0423 08:01:35.698692 135418453768000 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034568s
I0423 08:01:35.698824 135418453768000 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 40.718 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03788304328918457 s) (per-host)
I0423 08:01:35.698870 135418453768000 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.037937s (batch_requests_ready=0.001801s, total_serialization_initiated=0.036074s, others=0.000061s)
I0423 08:01:35.698944 135418453768000 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042051s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.042036)
I0423 08:01:35.699668 135418453768000 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.37 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints/9.
I0423 08:01:35.700016 135284919244544 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 08:21:35.699979
I0423 08:01:35.703418 135418453768000 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 08:01:35.703672 135264190052096 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 08:01:35.703799 135418453768000 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776931272.32873, 'wait_for_prev_duration_secs': 22.998815298080444, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776931295.3293781, 'checkpointer_blocking_duration_secs': 0.3707773685455322, 'get_old_steps_start_time': 1776931295.7001784, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1776931272.326997, 'checkpoint_manager_blocking_duration_secs': 23.3767671585083}
I0423 08:01:35.703912 135418453768000 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0423 08:01:35.703957 135418453768000 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 08:01:41.824225 135285178341120 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260423_071538/linen_xpk_main_20260423_071538_11_optimizer_offload_true/checkpoints/9/items/array_metadatas/process_5
I0423 08:02:17.818791 135284919244544 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.467 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.1578094959259 s) (per-host)
I0423 08:02:17.818918 135284919244544 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.118791s.
I0423 08:02:26.813496 135284919244544 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 51.113353s.
I0423 08:02:26.813727 135264190052096 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 08:02:26.813801 135264190052096 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 08:02:26.813864 135264190052096 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 08:02:26.815639 135264190052096 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 08:02:26.815826 135418453768000 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0423 08:02:26.815980 135418453768000 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 08:02:26.816863 135418453768000 metric_logger.py:196] completed step: 9, seconds: 0.163, TFLOP/s/device: 83.517, Tokens/s/device: 12588.590, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.739
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Thu Apr 23 08:02:39 UTC 2026
EXIT_CODE=0
XPK Start: Thu Apr 23 13:25:38 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-23 13:26:03.041299: 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)
I0423 13:26:03.252657 132869923567424 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 13:26:12.293630 132869923567424 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 13:26:12.295980 132869923567424 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-6nuks-slice-job-0-0.mt-11-optimizer-offload-6nuks:8482
I0423 13:26:13.377266 132869923567424 max_utils.py:284] Jax distributed system initialized!
I0423 13:26:19.333094 132869923567424 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 13:26:19.333198 132869923567424 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 13:26:19.333238 132869923567424 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
I0423 13:26:19.333273 132869923567424 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 13:26:20.030894 132869923567424 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 13:26:20.031477 132869923567424 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 13:26:20.031664 132869923567424 checkpointing.py:688] Setting up checkpoint logger...
I0423 13:26:20.031713 132869923567424 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 13:26:20.031758 132869923567424 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 13:26:20.032102 132869923567424 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 0x78d78f91c320>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 13:26:23.239232 132869923567424 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 13:26:23.239485 132869923567424 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 0x78c3347b2480>}, handler_registry=None
I0423 13:26:23.239756 132869923567424 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78c3347b2480>` 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`.
I0423 13:26:23.239815 132869923567424 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78c33459a6f0>` 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`.
I0423 13:26:23.239881 132869923567424 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 0x78c3347b2480>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78c3347b2480>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78c33459a6f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78c33459a6f0>}).
I0423 13:26:23.240243 132869923567424 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 13:26:23.240325 132869923567424 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x78c3341cdd00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 13:26:24.029819 132869923567424 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints
I0423 13:26:24.088161 132869923567424 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_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x78c334598110>
I0423 13:26:24.088319 132869923567424 checkpointing.py:302] Checkpoint manager created!
I0423 13:26:25.037336 132869923567424 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 13:26:25.037442 132869923567424 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 13:26:25.416306 132869923567424 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 13:26:25.416402 132869923567424 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 13:26:25.432837 132869923567424 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 13:26:25.432908 132869923567424 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 13:26:25.456837 132869923567424 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 13:26:25.456913 132869923567424 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 13:26:25.473214 132869923567424 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 13:26:25.473272 132869923567424 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 13:26:25.489656 132869923567424 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 13:26:25.489717 132869923567424 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 13:26:25.514608 132869923567424 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 13:26:25.514680 132869923567424 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 13:26:25.535417 132869923567424 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 13:26:25.535479 132869923567424 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 13:26:25.753121 132869923567424 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 13:26:25.753231 132869923567424 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 13:26:27.347056 132869923567424 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 13:26:27.347189 132869923567424 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 13:26:27.347244 132869923567424 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 13:26:27.347308 132869923567424 maxtext_utils.py:1880]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0423 13:26:27.347364 132869923567424 maxtext_utils.py:1880]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 13:26:27.347404 132869923567424 maxtext_utils.py:1880]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 13:26:27.347456 132869923567424 maxtext_utils.py:1880]  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)
I0423 13:26:27.347509 132869923567424 maxtext_utils.py:1880]  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')
I0423 13:26:27.347549 132869923567424 maxtext_utils.py:1880]  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)
I0423 13:26:27.347588 132869923567424 maxtext_utils.py:1880]  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)
I0423 13:26:27.347636 132869923567424 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 13:26:27.347684 132869923567424 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]

    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0423 13:26:27.851568 132869923567424 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 13:26:27.851666 132869923567424 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 13:26:27.867220 132869923567424 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 13:26:27.867284 132869923567424 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 13:26:38.602955 132869923567424 max_utils.py:791] Total memory size: 1.3 GB, Output size: 0.1 GB, Temp size: 1.1 GB, Argument size: 0.1 GB, Host temp size: 0.0 GB.
I0423 13:26:38.603747 132869923567424 metric_logger.py:301] number parameters: 1.104 billion
I0423 13:26:49.835231 132869923567424 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 13:26:50.540174 132869923567424 checkpointing.py:798] Waited 0.7049224376678467 seconds for step 0 to finish before starting checkpointing.
I0423 13:26:50.542487 132869923567424 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 13:26:50.544109 132869923567424 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 0
I0423 13:26:50.545484 132869923567424 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints/0.
I0423 13:26:50.831389 132869923567424 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 13:26:50.832412 132869923567424 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 13:26:50.832468 132869923567424 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
I0423 13:26:51.112455 132869923567424 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.281137s
I0423 13:26:51.112633 132869923567424 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.369 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2872920036315918 s) (per-host)
I0423 13:26:51.112686 132869923567424 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.287356s (batch_requests_ready=0.002136s, total_serialization_initiated=0.285147s, others=0.000072s)
I0423 13:26:51.112778 132869923567424 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.291625s (all_items=0.000024s, per_item={'items': '0.00002432'}, temp_paths=0.291600)
I0423 13:26:51.113596 132869923567424 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.57 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints/0.
I0423 13:26:51.113844 132734841128704 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:46:51.113823
I0423 13:26:51.120885 132869923567424 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 13:26:51.121138 132734710171392 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0423 13:26:51.121295 132869923567424 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776950810.5424683, 'wait_for_prev_duration_secs': 5.888938903808594e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776950810.5441453, 'checkpointer_blocking_duration_secs': 0.5697743892669678, 'get_old_steps_start_time': 1776950811.113946, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1776950810.5406764, 'checkpoint_manager_blocking_duration_secs': 0.5805807113647461}
I0423 13:26:51.121399 132869923567424 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 13:26:51.121448 132869923567424 max_utils.py:750] 
Memstats: After params initialized:
I0423 13:26:51.121503 132869923567424 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_16(process=4,(0,4,0,0))
I0423 13:26:51.121537 132869923567424 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_17(process=4,(1,4,0,0))
I0423 13:26:51.121567 132869923567424 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_20(process=4,(0,5,0,0))
I0423 13:26:51.121592 132869923567424 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_21(process=4,(1,5,0,0))
I0423 13:26:51.427738 132869923567424 metric_logger.py:196] completed step: 0, seconds: 11.231, TFLOP/s/device: 1.210, Tokens/s/device: 182.346, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 13:26:51.627840 132869923567424 metric_logger.py:196] completed step: 1, seconds: 1.591, TFLOP/s/device: 8.540, Tokens/s/device: 1287.243, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 13:26:52.052496 132869923567424 metric_logger.py:196] completed step: 2, seconds: 0.037, TFLOP/s/device: 364.110, Tokens/s/device: 54882.624, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0423 13:26:52.215598 132869923567424 metric_logger.py:196] completed step: 3, seconds: 0.425, TFLOP/s/device: 31.987, Tokens/s/device: 4821.365, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.047
I0423 13:26:52.541620 132869923567424 metric_logger.py:196] completed step: 4, seconds: 0.169, TFLOP/s/device: 80.544, Tokens/s/device: 12140.541, total_weights: 65536, loss: 9.278, lm_loss: 9.278, perplexity: 10694.968
I0423 13:26:52.547606 132869923567424 metric_logger.py:196] completed step: 5, seconds: 0.163, TFLOP/s/device: 83.328, Tokens/s/device: 12560.102, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.520
I0423 13:26:53.995120    2826 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 13:26:56.059988 132734718564096 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints/0/items/array_metadatas/process_4
I0423 13:27:14.010951 132869923567424 metric_logger.py:196] completed step: 6, seconds: 0.326, TFLOP/s/device: 41.618, Tokens/s/device: 6273.049, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.688
I0423 13:27:14.173866 132869923567424 metric_logger.py:196] completed step: 7, seconds: 21.301, TFLOP/s/device: 0.638, Tokens/s/device: 96.145, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4377.010
I0423 13:27:14.336677 132869923567424 metric_logger.py:196] completed step: 8, seconds: 0.168, TFLOP/s/device: 80.982, Tokens/s/device: 12206.461, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3845.943
I0423 13:27:14.498822 132869923567424 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 13:27:14.499520 132869923567424 checkpointing.py:798] Waited 0.0007193088531494141 seconds for step 9 to finish before starting checkpointing.
I0423 13:27:14.501512 132869923567424 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 13:27:27.895657 132734841128704 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 42.609 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.07026147842407 s) (per-host)
I0423 13:27:27.895787 132734841128704 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.781359s.
I0423 13:27:38.372359 132734841128704 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 47.257915s.
I0423 13:27:38.372568 132734710171392 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 13:27:38.372626 132734710171392 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0423 13:27:38.372674 132734710171392 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 13:27:38.374321 132734710171392 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 13:27:38.374482 132869923567424 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0423 13:27:38.374619 132869923567424 checkpoint_manager.py:1452] Waiting for previous save to complete took 23.873114 seconds. If this number is high, consider checkpointing less frequently.
I0423 13:27:38.376370 132869923567424 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 9
I0423 13:27:38.378440 132869923567424 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints/9.
I0423 13:27:38.660237 132869923567424 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 13:27:38.660336 132869923567424 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
I0423 13:27:38.698841 132869923567424 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.039654s
I0423 13:27:38.699020 132869923567424 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 35.903 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.042963266372680664 s) (per-host)
I0423 13:27:38.699073 132869923567424 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.043025s (batch_requests_ready=0.001764s, total_serialization_initiated=0.041191s, others=0.000070s)
I0423 13:27:38.699157 132869923567424 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.046967s (all_items=0.000016s, per_item={'items': '0.00001645'}, temp_paths=0.046950)
I0423 13:27:38.699849 132869923567424 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.32 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints/9.
I0423 13:27:38.700138 132734710171392 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:47:38.700114
I0423 13:27:38.702057 132869923567424 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 13:27:38.702359 132715277932288 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0423 13:27:38.702523 132869923567424 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776950834.5014763, 'wait_for_prev_duration_secs': 23.873114109039307, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776950858.3764093, 'checkpointer_blocking_duration_secs': 0.32383084297180176, 'get_old_steps_start_time': 1776950858.7002652, 'get_old_steps_duration_secs': 2.7894973754882812e-05, 'checkpoint_manager_blocking_start_time': 1776950834.4997418, 'checkpoint_manager_blocking_duration_secs': 24.20274257659912}
I0423 13:27:38.702627 132869923567424 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 13:27:38.702672 132869923567424 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 13:27:43.900827 132734718564096 array_metadata_store.py:203] [process=4][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_11_optimizer_offload_true/checkpoints/9/items/array_metadatas/process_4
I0423 13:28:22.396089 132734710171392 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 36.112 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.739980697631836 s) (per-host)
I0423 13:28:22.396216 132734710171392 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.696000s.
I0423 13:28:30.597404 132734710171392 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 51.897172s.
I0423 13:28:30.597739 132715277932288 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 13:28:30.597885 132715277932288 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0423 13:28:30.598060 132715277932288 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 13:28:30.599230 132715277932288 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 13:28:30.599416 132869923567424 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.
I0423 13:28:30.599593 132869923567424 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 13:28:30.600507 132869923567424 metric_logger.py:196] completed step: 9, seconds: 0.163, TFLOP/s/device: 83.455, Tokens/s/device: 12579.312, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.739
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Thu Apr 23 13:28:43 UTC 2026
EXIT_CODE=0