MaxView

‹ 01_baseCase: 02_synthetic03_dropout ›

Metrics: Linen vs NNX  ·  feat/nnx-post-train-fixes

MetricLinen  7f06c99acNNX  7f06c99acDiff (NNX − Linen)
Parameters1.104 billion1.104 billion
Final loss8.17908.1750-0.004
TFLOP/s92.14792.063-0.084
Tok/s13889.413876.7-12.611
Avg s/step2.7312.761+0.03
Memory %1.381.380
JAX0.9.20.9.2

Diff = NNX value − Linen value. Green = NNX improved. Red = NNX regressed.

Linen  ·  7f06c99ac  ·  feat_nnx_post_train_fixes_20260423_124541  ·  full log
XPK Start: Thu Apr 23 12:49:22 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 12:49:47.401824: 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 12:49:47.612414 136727656159040 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 12:49:56.651754 136727656159040 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 12:49:56.654136 136727656159040 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-tl54c-slice-job-0-0.mt-02-synthetic-tl54c:8482
I0423 12:49:58.082163 136727656159040 max_utils.py:284] Jax distributed system initialized!
I0423 12:50:04.469350 136727656159040 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 12:50:04.469463 136727656159040 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 12:50:04.469516 136727656159040 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 12:50:04.469564 136727656159040 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 12:50:05.182371 136727656159040 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 12:50:05.182982 136727656159040 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 12:50:05.183164 136727656159040 checkpointing.py:688] Setting up checkpoint logger...
I0423 12:50:05.183216 136727656159040 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 12:50:05.183260 136727656159040 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 12:50:05.183612 136727656159040 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 0x7c59d171f3b0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 12:50:08.029918 136727656159040 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 12:50:08.030156 136727656159040 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 0x7c457c42b0b0>}, handler_registry=None
I0423 12:50:08.030393 136727656159040 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c457c42b0b0>` 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 12:50:08.030445 136727656159040 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c457c285dc0>` 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 12:50:08.030480 136727656159040 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 0x7c457c42b0b0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c457c42b0b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c457c285dc0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c457c285dc0>}).
I0423 12:50:08.030814 136727656159040 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 12:50:08.030883 136727656159040 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c4478579d00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 12:50:08.830345 136727656159040 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_02_synthetic/checkpoints
I0423 12:50:09.254699 136727656159040 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_feat_nnx_post_train_fixes_20260423_124541/linen_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c457c2897c0>
I0423 12:50:09.254867 136727656159040 checkpointing.py:302] Checkpoint manager created!
I0423 12:50:10.187883 136727656159040 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 12:50:10.187994 136727656159040 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 12:50:10.564911 136727656159040 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 12:50:10.565005 136727656159040 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 12:50:10.587628 136727656159040 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 12:50:10.587742 136727656159040 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 12:50:10.612066 136727656159040 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 12:50:10.612137 136727656159040 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 12:50:10.628792 136727656159040 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 12:50:10.628857 136727656159040 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 12:50:10.645645 136727656159040 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 12:50:10.645715 136727656159040 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 12:50:10.670870 136727656159040 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 12:50:10.670936 136727656159040 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 12:50:10.692069 136727656159040 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 12:50:10.692133 136727656159040 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 12:50:10.913346 136727656159040 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 12:50:10.913456 136727656159040 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 12:50:12.347192 136727656159040 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 12:50:12.347321 136727656159040 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 12:50:12.347378 136727656159040 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 12:50:12.347438 136727656159040 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 12:50:12.347497 136727656159040 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 12:50:12.347539 136727656159040 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 12:50:12.347601 136727656159040 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 12:50:12.347684 136727656159040 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 12:50:12.347739 136727656159040 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 12:50:12.347777 136727656159040 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 12:50:12.347825 136727656159040 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 12:50:12.347878 136727656159040 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0423 12:50:12.846599 136727656159040 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 12:50:12.846707 136727656159040 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 12:50:12.862438 136727656159040 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0423 12:50:12.862498 136727656159040 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0423 12:50:23.824398 136727656159040 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0423 12:50:23.825172 136727656159040 metric_logger.py:301] number parameters: 1.104 billion
I0423 12:50:34.990988 136727656159040 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 12:50:35.228227 136727656159040 checkpointing.py:798] Waited 0.23722338676452637 seconds for step 0 to finish before starting checkpointing.
I0423 12:50:35.230906 136727656159040 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 12:50:35.232702 136727656159040 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0423 12:50:35.234361 136727656159040 event_tracking.py:70] [process=5] [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_02_synthetic/checkpoints/0.
I0423 12:50:35.978409 136727656159040 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 12:50:35.979384 136727656159040 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 12:50:35.979442 136727656159040 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 12:50:36.261815 136727656159040 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.283477s
I0423 12:50:36.262003 136727656159040 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.336 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28908371925354004 s) (per-host)
I0423 12:50:36.262057 136727656159040 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.289150s (batch_requests_ready=0.002208s, total_serialization_initiated=0.286867s, others=0.000074s)
I0423 12:50:36.262158 136727656159040 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.293246s (all_items=0.000018s, per_item={'items': '0.00001836'}, temp_paths=0.293228)
I0423 12:50:36.262967 136727656159040 event_tracking.py:125] [process=5] [async] Finished blocking save in 1.03 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_02_synthetic/checkpoints/0.
I0423 12:50:36.263305 136598945502976 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:10:36.263267
I0423 12:50:36.265395 136727656159040 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 12:50:36.265704 136598365288192 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 12:50:36.265861 136727656159040 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_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776948635.2308884, 'wait_for_prev_duration_secs': 5.888938903808594e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776948635.232741, 'checkpointer_blocking_duration_secs': 1.0307135581970215, 'get_old_steps_start_time': 1776948636.2634816, 'get_old_steps_duration_secs': 3.1948089599609375e-05, 'checkpoint_manager_blocking_start_time': 1776948635.2287652, 'checkpoint_manager_blocking_duration_secs': 1.0370562076568604}
I0423 12:50:36.265978 136727656159040 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 12:50:36.266030 136727656159040 max_utils.py:750] 
Memstats: After params initialized:
I0423 12:50:36.266080 136727656159040 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0423 12:50:36.266113 136727656159040 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0423 12:50:36.266145 136727656159040 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0423 12:50:36.266172 136727656159040 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0423 12:50:36.579710 136727656159040 metric_logger.py:196] completed step: 0, seconds: 11.166, TFLOP/s/device: 1.217, Tokens/s/device: 183.419, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 12:50:36.830067 136727656159040 metric_logger.py:196] completed step: 1, seconds: 1.587, TFLOP/s/device: 8.560, Tokens/s/device: 1290.287, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0423 12:50:37.268454 136727656159040 metric_logger.py:196] completed step: 2, seconds: 0.103, TFLOP/s/device: 131.838, Tokens/s/device: 19872.112, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0423 12:50:37.415730 136727656159040 metric_logger.py:196] completed step: 3, seconds: 0.439, TFLOP/s/device: 30.985, Tokens/s/device: 4670.425, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0423 12:50:37.711001 136727656159040 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.837, Tokens/s/device: 13390.434, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0423 12:50:37.716537 136727656159040 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.326, Tokens/s/device: 13916.447, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0423 12:50:39.599407    2849 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 12:50:41.564487 136598373680896 array_metadata_store.py:203] [process=5][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_02_synthetic/checkpoints/0/items/array_metadatas/process_5
I0423 12:50:59.417786 136727656159040 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.953, Tokens/s/device: 6926.571, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0423 12:50:59.565286 136727656159040 metric_logger.py:196] completed step: 7, seconds: 21.554, TFLOP/s/device: 0.630, Tokens/s/device: 95.017, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0423 12:50:59.712565 136727656159040 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 89.039, Tokens/s/device: 13420.972, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0423 12:50:59.859234 136727656159040 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 12:50:59.859923 136727656159040 checkpointing.py:798] Waited 0.0007109642028808594 seconds for step 9 to finish before starting checkpointing.
I0423 12:50:59.861931 136727656159040 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 12:51:13.217483 136598945502976 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.412 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.24452829360962 s) (per-host)
I0423 12:51:13.217603 136598945502976 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.954186s.
I0423 12:51:22.976878 136598945502976 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 46.713445s.
I0423 12:51:22.977170 136598365288192 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 12:51:22.977285 136598365288192 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 12:51:22.977334 136598365288192 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 12:51:22.978838 136598365288192 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 12:51:22.979011 136727656159040 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 12:51:22.979142 136727656159040 checkpoint_manager.py:1452] Waiting for previous save to complete took 23.117211 seconds. If this number is high, consider checkpointing less frequently.
I0423 12:51:22.981098 136727656159040 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0423 12:51:22.983236 136727656159040 event_tracking.py:70] [process=5] [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_02_synthetic/checkpoints/9.
I0423 12:51:23.285319 136727656159040 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 12:51:23.285411 136727656159040 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 12:51:23.319103 136727656159040 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034971s
I0423 12:51:23.319279 136727656159040 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 40.197 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.0383756160736084 s) (per-host)
I0423 12:51:23.319332 136727656159040 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038439s (batch_requests_ready=0.001756s, total_serialization_initiated=0.036611s, others=0.000072s)
I0423 12:51:23.319420 136727656159040 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042414s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.042399)
I0423 12:51:23.320165 136727656159040 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.34 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_02_synthetic/checkpoints/9.
I0423 12:51:23.320515 136598365288192 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:11:23.320479
I0423 12:51:23.322422 136727656159040 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 12:51:23.322671 136598916044544 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 12:51:23.322803 136727656159040 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_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776948659.8619013, 'wait_for_prev_duration_secs': 23.117210865020752, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776948682.9811382, 'checkpointer_blocking_duration_secs': 0.33953142166137695, 'get_old_steps_start_time': 1776948683.3206942, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1776948659.8601573, 'checkpoint_manager_blocking_duration_secs': 23.462614059448242}
I0423 12:51:23.322960 136727656159040 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 12:51:23.323006 136727656159040 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 12:51:28.417406 136598924437248 array_metadata_store.py:203] [process=5][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_02_synthetic/checkpoints/9/items/array_metadatas/process_5
I0423 12:52:05.484892 136598365288192 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.428 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.20395278930664 s) (per-host)
I0423 12:52:05.485016 136598365288192 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.164390s.
I0423 12:52:12.429701 136598365288192 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.109060s.
I0423 12:52:12.429957 136598916044544 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 12:52:12.430085 136598916044544 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 12:52:12.430135 136598916044544 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 12:52:12.431470 136598916044544 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 12:52:12.431669 136727656159040 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 12:52:12.431818 136727656159040 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 12:52:12.432780 136727656159040 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.147, Tokens/s/device: 13889.360, total_weights: 65536, loss: 8.179, lm_loss: 8.179, perplexity: 3564.635
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Thu Apr 23 12:52:22 UTC 2026
EXIT_CODE=0
NNX  ·  7f06c99ac  ·  feat_nnx_post_train_fixes_20260423_124541  ·  full log
XPK Start: Thu Apr 23 14:23:37 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 14:24:02.780034: 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 14:24:02.988730 139083303413568 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 14:24:12.029534 139083303413568 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 14:24:12.031870 139083303413568 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-r4i75-slice-job-0-0.mt-02-synthetic-r4i75:8482
I0423 14:24:13.271285 139083303413568 max_utils.py:284] Jax distributed system initialized!
I0423 14:24:19.173261 139083303413568 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 14:24:19.173368 139083303413568 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 14:24:19.173408 139083303413568 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 14:24:19.173444 139083303413568 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 14:24:19.867409 139083303413568 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 14:24:19.980816 139083303413568 checkpointing.py:688] Setting up checkpoint logger...
I0423 14:24:19.980933 139083303413568 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 14:24:19.980977 139083303413568 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 14:24:19.981173 139083303413568 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 0x7e7e3d1ee6c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 14:24:22.841720 139083303413568 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 14:24:22.841955 139083303413568 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 0x7e7d1702be30>}, handler_registry=None
I0423 14:24:22.842193 139083303413568 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e7d1702be30>` 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 14:24:22.842242 139083303413568 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e69c0346990>` 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 14:24:22.842284 139083303413568 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 0x7e7d1702be30>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e7d1702be30>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e69c0346990>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e69c0346990>}).
I0423 14:24:22.842612 139083303413568 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 14:24:22.842696 139083303413568 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e69c02ff600> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 14:24:23.879146 139083303413568 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints
I0423 14:24:24.299456 139083303413568 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/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7e69c0345d90>
I0423 14:24:24.299635 139083303413568 checkpointing.py:302] Checkpoint manager created!
I0423 14:24:25.267262 139083303413568 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 14:24:25.267384 139083303413568 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 14:24:26.644539 139083303413568 maxtext_utils.py:1889]  decoder/decoder_norm/scale/value
    Shape:     float32[2048]
    Physical:  (None,)
I0423 14:24:26.644670 139083303413568 maxtext_utils.py:1889]  decoder/layers/mlp/wi_0/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0423 14:24:26.644727 139083303413568 maxtext_utils.py:1889]  decoder/layers/mlp/wi_1/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0423 14:24:26.644771 139083303413568 maxtext_utils.py:1889]  decoder/layers/mlp/wo/kernel/value
    Shape:     float32[7168,16,2048]
    Physical:  (None, None, 'fsdp')
I0423 14:24:26.644809 139083303413568 maxtext_utils.py:1889]  decoder/layers/post_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0423 14:24:26.644844 139083303413568 maxtext_utils.py:1889]  decoder/layers/pre_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0423 14:24:26.644880 139083303413568 maxtext_utils.py:1889]  decoder/layers/self_attention/key/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0423 14:24:26.644916 139083303413568 maxtext_utils.py:1889]  decoder/layers/self_attention/out/kernel/value
    Shape:     float32[16,16,128,2048]
    Physical:  (None, None, None, 'fsdp')
I0423 14:24:26.644949 139083303413568 maxtext_utils.py:1889]  decoder/layers/self_attention/query/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0423 14:24:26.644981 139083303413568 maxtext_utils.py:1889]  decoder/layers/self_attention/value/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0423 14:24:26.645014 139083303413568 maxtext_utils.py:1889]  decoder/logits_dense/kernel/value
    Shape:     float32[2048,32000]
    Physical:  ('fsdp', None)

I0423 14:24:26.645045 139083303413568 maxtext_utils.py:1889]  token_embedder/embedding/value
    Shape:     float32[32000,2048]
    Physical:  (None, 'fsdp')
I0423 14:24:27.047418 139083303413568 nnx_decoders.py:465] nnx_decoders/carry Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 14:24:27.047513 139083303413568 nnx_decoders.py:465] nnx_decoders/carry Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 14:24:27.052728 139083303413568 nnx_decoders.py:465] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 14:24:27.052783 139083303413568 nnx_decoders.py:465] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 14:24:27.069108 139083303413568 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 14:24:27.069176 139083303413568 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 14:24:27.084775 139083303413568 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 14:24:27.084833 139083303413568 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0423 14:24:27.108845 139083303413568 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 14:24:27.108912 139083303413568 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 14:24:27.124742 139083303413568 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 14:24:27.124802 139083303413568 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 14:24:27.140513 139083303413568 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 14:24:27.140574 139083303413568 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 14:24:27.170881 139083303413568 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 14:24:27.170956 139083303413568 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0423 14:24:27.190821 139083303413568 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 14:24:27.190881 139083303413568 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0423 14:24:38.470837 139083303413568 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0423 14:24:38.473198 139083303413568 metric_logger.py:301] number parameters: 1.104 billion
I0423 14:24:49.491102 139083303413568 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 14:24:49.642820 139083303413568 checkpointing.py:798] Waited 0.15170645713806152 seconds for step 0 to finish before starting checkpointing.
I0423 14:24:49.645239 139083303413568 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 14:24:49.646971 139083303413568 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0423 14:24:49.648363 139083303413568 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints/0.
I0423 14:24:50.195608 139083303413568 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 14:24:50.196642 139083303413568 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0423 14:24:50.196717 139083303413568 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 14:24:50.474026 139083303413568 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.279187s
I0423 14:24:50.474205 139083303413568 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.349 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28839683532714844 s) (per-host)
I0423 14:24:50.474259 139083303413568 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.288467s (batch_requests_ready=0.003207s, total_serialization_initiated=0.285182s, others=0.000077s)
I0423 14:24:50.474360 139083303413568 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.292454s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.292437)
I0423 14:24:50.475179 139083303413568 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.83 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints/0.
I0423 14:24:50.475517 138954620573440 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 14:44:50.475480
I0423 14:24:50.483621 139083303413568 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 14:24:50.483895 138952489031424 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 14:24:50.484031 139083303413568 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776954289.6452205, 'wait_for_prev_duration_secs': 6.246566772460938e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776954289.64701, 'checkpointer_blocking_duration_secs': 0.8286662101745605, 'get_old_steps_start_time': 1776954290.4757023, 'get_old_steps_duration_secs': 2.9087066650390625e-05, 'checkpoint_manager_blocking_start_time': 1776954289.643214, 'checkpoint_manager_blocking_duration_secs': 0.8407764434814453}
I0423 14:24:50.484190 139083303413568 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 14:24:50.484258 139083303413568 max_utils.py:750] 
Memstats: After params initialized:
I0423 14:24:50.484308 139083303413568 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0423 14:24:50.484342 139083303413568 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0423 14:24:50.484368 139083303413568 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0423 14:24:50.484392 139083303413568 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0423 14:24:50.799315 139083303413568 metric_logger.py:196] completed step: 0, seconds: 11.017, TFLOP/s/device: 1.233, Tokens/s/device: 185.897, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0423 14:24:50.978008 139083303413568 metric_logger.py:196] completed step: 1, seconds: 1.306, TFLOP/s/device: 10.401, Tokens/s/device: 1567.796, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0423 14:24:51.425232 139083303413568 metric_logger.py:196] completed step: 2, seconds: 0.033, TFLOP/s/device: 414.988, Tokens/s/device: 62551.541, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28632.133
I0423 14:24:51.572709 139083303413568 metric_logger.py:196] completed step: 3, seconds: 0.437, TFLOP/s/device: 31.095, Tokens/s/device: 4687.003, total_weights: 65536, loss: 9.732, lm_loss: 9.732, perplexity: 16855.789
I0423 14:24:51.868152 139083303413568 metric_logger.py:196] completed step: 4, seconds: 0.165, TFLOP/s/device: 82.249, Tokens/s/device: 12397.470, total_weights: 65536, loss: 9.274, lm_loss: 9.274, perplexity: 10661.594
I0423 14:24:51.876040 139083303413568 metric_logger.py:196] completed step: 5, seconds: 0.146, TFLOP/s/device: 92.993, Tokens/s/device: 14016.933, total_weights: 65536, loss: 8.888, lm_loss: 8.888, perplexity: 7245.978
I0423 14:24:54.092991    2820 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 14:24:56.106822 138953005360896 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints/0/items/array_metadatas/process_5
I0423 14:25:14.190171 139083303413568 metric_logger.py:196] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.848, Tokens/s/device: 6910.747, total_weights: 65536, loss: 8.589, lm_loss: 8.589, perplexity: 5371.156
I0423 14:25:14.337692 139083303413568 metric_logger.py:196] completed step: 7, seconds: 22.168, TFLOP/s/device: 0.613, Tokens/s/device: 92.385, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4360.465
I0423 14:25:14.485251 139083303413568 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.531, Tokens/s/device: 13344.367, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.256
I0423 14:25:14.633290 139083303413568 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 14:25:14.633962 139083303413568 checkpointing.py:798] Waited 0.0006842613220214844 seconds for step 9 to finish before starting checkpointing.
I0423 14:25:14.636026 139083303413568 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 14:25:28.560201 138954620573440 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 41.163 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.37435436248779 s) (per-host)
I0423 14:25:28.560317 138954620573440 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.084690s.
I0423 14:25:35.499351 138954620573440 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 45.023708s.
I0423 14:25:35.499618 138952489031424 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 14:25:35.499764 138952489031424 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 14:25:35.499815 138952489031424 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 14:25:35.501558 138952489031424 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 14:25:35.501698 139083303413568 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 14:25:35.501784 139083303413568 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.865769 seconds. If this number is high, consider checkpointing less frequently.
I0423 14:25:35.503716 139083303413568 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0423 14:25:35.505738 139083303413568 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints/9.
I0423 14:25:35.869575 139083303413568 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0423 14:25:35.869700 139083303413568 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 14:25:35.911552 139083303413568 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.043653s
I0423 14:25:35.911733 139083303413568 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 30.406 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.050733327865600586 s) (per-host)
I0423 14:25:35.911787 139083303413568 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.050796s (batch_requests_ready=0.002693s, total_serialization_initiated=0.048031s, others=0.000072s)
I0423 14:25:35.911886 139083303413568 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.054927s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.054913)
I0423 14:25:35.912567 139083303413568 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.41 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints/9.
I0423 14:25:35.912924 138952489031424 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 14:45:35.912887
I0423 14:25:35.914871 139083303413568 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 14:25:35.915140 138929600702208 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 14:25:35.915278 139083303413568 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776954314.6359887, 'wait_for_prev_duration_secs': 20.865769386291504, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776954335.503754, 'checkpointer_blocking_duration_secs': 0.4093146324157715, 'get_old_steps_start_time': 1776954335.9130929, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1776954314.6342013, 'checkpoint_manager_blocking_duration_secs': 21.281041622161865}
I0423 14:25:35.915431 139083303413568 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 14:25:35.915477 139083303413568 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 14:25:40.989906 138953005360896 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_02_synthetic/checkpoints/9/items/array_metadatas/process_5
I0423 14:26:18.054111 138952489031424 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.437 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.1930730342865 s) (per-host)
I0423 14:26:18.054232 138952489031424 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.141198s.
I0423 14:26:25.544914 138952489031424 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 49.631863s.
I0423 14:26:25.545252 138929600702208 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 14:26:25.545366 138929600702208 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 14:26:25.545411 138929600702208 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 14:26:25.547283 138929600702208 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 14:26:25.547468 139083303413568 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 14:26:25.547634 139083303413568 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 14:26:25.548514 139083303413568 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 92.063, Tokens/s/device: 13876.749, total_weights: 65536, loss: 8.175, lm_loss: 8.175, perplexity: 3551.438
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Thu Apr 23 14:26:37 UTC 2026
EXIT_CODE=0