MaxView

‹ 01_baseCase: 02_synthetic03_dropout ›

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

MetricLinen  28b1e4a16NNX  28b1e4a16Diff (NNX − Linen)
Parameters1.104 billion1.104 billion
Final loss8.17908.1750-0.004
TFLOP/s92.30391.943-0.36
Tok/s13912.913858.6-54.228
Avg s/step2.7032.779+0.076
Memory %1.381.380
JAX0.9.20.9.2

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

Linen  ·  28b1e4a16  ·  feat_nnx_post_train_fixes_20260425_121355  ·  full log
XPK Start: Sat Apr 25 12:16:07 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-25 12:16:32.650652: 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)
I0425 12:16:32.866355 132249207273280 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 12:16:41.908423 132249207273280 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 12:16:41.910940 132249207273280 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-fqnfx-slice-job-0-0.mt-02-synthetic-fqnfx:8482
I0425 12:16:42.999226 132249207273280 max_utils.py:284] Jax distributed system initialized!
I0425 12:16:49.071678 132249207273280 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 12:16:49.071783 132249207273280 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 12:16:49.071825 132249207273280 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
I0425 12:16:49.071859 132249207273280 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 12:16:49.775792 132249207273280 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 12:16:49.776414 132249207273280 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 12:16:49.776597 132249207273280 checkpointing.py:688] Setting up checkpoint logger...
I0425 12:16:49.776647 132249207273280 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 12:16:49.776691 132249207273280 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 12:16:49.777028 132249207273280 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 0x784717da6450>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 12:16:52.651310 132249207273280 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 12:16:52.651549 132249207273280 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7832f80894f0>}, handler_registry=None
I0425 12:16:52.651788 132249207273280 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7832f80894f0>` 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`.
I0425 12:16:52.651837 132249207273280 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7832f80af7a0>` 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`.
I0425 12:16:52.651872 132249207273280 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 0x7832f80894f0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7832f80894f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7832f80af7a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7832f80af7a0>}).
I0425 12:16:52.652214 132249207273280 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 12:16:52.652287 132249207273280 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7832c0175d00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 12:16:53.631735 132249207273280 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints
I0425 12:16:54.073944 132249207273280 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=None, multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=FixedIntervalPolicy(interval=10), preservation_policy=LatestN(n=None), prevent_write_metrics=False, enable_should_save_is_saving_in_progress_check=True, enable_per_process_directory_creation=False, lightweight_initialize=False), root_directory=gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7832c01a8f50>
I0425 12:16:54.074135 132249207273280 checkpointing.py:302] Checkpoint manager created!
I0425 12:16:55.024143 132249207273280 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 12:16:55.024252 132249207273280 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:16:55.411516 132249207273280 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 12:16:55.411612 132249207273280 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:16:55.428319 132249207273280 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 12:16:55.428381 132249207273280 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 12:16:55.452537 132249207273280 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 12:16:55.452602 132249207273280 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:16:55.469336 132249207273280 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 12:16:55.469397 132249207273280 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:16:55.486156 132249207273280 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 12:16:55.486217 132249207273280 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:16:55.511355 132249207273280 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0425 12:16:55.511428 132249207273280 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 12:16:55.532446 132249207273280 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 12:16:55.532514 132249207273280 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 12:16:55.755414 132249207273280 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 12:16:55.755527 132249207273280 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 12:16:57.220302 132249207273280 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 12:16:57.220436 132249207273280 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)
I0425 12:16:57.220491 132249207273280 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)
I0425 12:16:57.220549 132249207273280 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')
I0425 12:16:57.220602 132249207273280 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)
I0425 12:16:57.220642 132249207273280 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)
I0425 12:16:57.220694 132249207273280 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)
I0425 12:16:57.220745 132249207273280 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')
I0425 12:16:57.220785 132249207273280 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)
I0425 12:16:57.220821 132249207273280 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)
I0425 12:16:57.220868 132249207273280 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0425 12:16:57.220917 132249207273280 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0425 12:16:57.725650 132249207273280 train.py:157] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 12:16:57.725745 132249207273280 train.py:157] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 12:16:57.741351 132249207273280 train.py:164] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 12:16:57.741411 132249207273280 train.py:164] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 12:17:08.896974 132249207273280 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.
I0425 12:17:08.897801 132249207273280 metric_logger.py:301] number parameters: 1.104 billion
I0425 12:17:20.336216 132249207273280 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 12:17:20.489964 132249207273280 checkpointing.py:798] Waited 0.15372824668884277 seconds for step 0 to finish before starting checkpointing.
I0425 12:17:20.492373 132249207273280 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 12:17:20.494026 132249207273280 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0425 12:17:20.495468 132249207273280 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/0.
I0425 12:17:20.792434 132249207273280 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 12:17:20.793296 132249207273280 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 12:17:20.793351 132249207273280 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
I0425 12:17:21.077828 132249207273280 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.285473s
I0425 12:17:21.078002 132249207273280 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.291 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.29154324531555176 s) (per-host)
I0425 12:17:21.078072 132249207273280 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.291620s (batch_requests_ready=0.002318s, total_serialization_initiated=0.289218s, others=0.000084s)
I0425 12:17:21.078238 132249207273280 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.296263s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.296245)
I0425 12:17:21.078985 132249207273280 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.58 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/0.
I0425 12:17:21.079339 132119300929280 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 12:37:21.079301
I0425 12:17:21.081339 132249207273280 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 12:17:21.081632 132117099992832 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 12:17:21.081761 132249207273280 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777119440.4923549, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777119440.4940648, 'checkpointer_blocking_duration_secs': 0.5854310989379883, 'get_old_steps_start_time': 1777119441.079519, 'get_old_steps_duration_secs': 3.361701965332031e-05, 'checkpoint_manager_blocking_start_time': 1777119440.490483, 'checkpoint_manager_blocking_duration_secs': 0.591240406036377}
I0425 12:17:21.081918 132249207273280 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 12:17:21.081968 132249207273280 max_utils.py:750] 
Memstats: After params initialized:
I0425 12:17:21.082016 132249207273280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0425 12:17:21.082049 132249207273280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0425 12:17:21.082076 132249207273280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0425 12:17:21.082111 132249207273280 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0425 12:17:21.395845 132249207273280 metric_logger.py:196] completed step: 0, seconds: 11.438, TFLOP/s/device: 1.188, Tokens/s/device: 179.048, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 12:17:21.574044 132249207273280 metric_logger.py:196] completed step: 1, seconds: 1.058, TFLOP/s/device: 12.841, Tokens/s/device: 1935.514, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 12:17:22.001474 132249207273280 metric_logger.py:196] completed step: 2, seconds: 0.031, TFLOP/s/device: 437.110, Tokens/s/device: 65885.986, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28637.129
I0425 12:17:22.148903 132249207273280 metric_logger.py:196] completed step: 3, seconds: 0.427, TFLOP/s/device: 31.790, Tokens/s/device: 4791.708, total_weights: 65536, loss: 9.734, lm_loss: 9.734, perplexity: 16889.203
I0425 12:17:22.443854 132249207273280 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.707, Tokens/s/device: 13370.939, total_weights: 65536, loss: 9.277, lm_loss: 9.277, perplexity: 10694.614
I0425 12:17:22.449743 132249207273280 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.194, Tokens/s/device: 13896.428, total_weights: 65536, loss: 8.892, lm_loss: 8.892, perplexity: 7270.717
I0425 12:17:24.179420    2816 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 12:17:26.702266 132117108385536 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/0/items/array_metadatas/process_6
I0425 12:17:44.511619 132249207273280 metric_logger.py:196] completed step: 6, seconds: 0.295, TFLOP/s/device: 45.997, Tokens/s/device: 6933.113, total_weights: 65536, loss: 8.592, lm_loss: 8.592, perplexity: 5390.759
I0425 12:17:44.658822 132249207273280 metric_logger.py:196] completed step: 7, seconds: 21.915, TFLOP/s/device: 0.620, Tokens/s/device: 93.454, total_weights: 65536, loss: 8.384, lm_loss: 8.384, perplexity: 4376.905
I0425 12:17:44.806118 132249207273280 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.895, Tokens/s/device: 13399.283, total_weights: 65536, loss: 8.255, lm_loss: 8.255, perplexity: 3846.406
I0425 12:17:44.952858 132249207273280 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0425 12:17:44.953510 132249207273280 checkpointing.py:798] Waited 0.0006730556488037109 seconds for step 9 to finish before starting checkpointing.
I0425 12:17:44.955561 132249207273280 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 12:17:57.280718 132119300929280 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 43.283 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 36.494208097457886 s) (per-host)
I0425 12:17:57.280845 132119300929280 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 36.201393s.
I0425 12:18:07.315201 132119300929280 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 46.235731s.
I0425 12:18:07.315524 132117099992832 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 12:18:07.315661 132117099992832 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 12:18:07.315714 132117099992832 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 12:18:07.317717 132117099992832 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 12:18:07.317916 132249207273280 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0425 12:18:07.318056 132249207273280 checkpoint_manager.py:1452] Waiting for previous save to complete took 22.362495 seconds. If this number is high, consider checkpointing less frequently.
I0425 12:18:07.319790 132249207273280 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0425 12:18:07.321845 132249207273280 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/9.
I0425 12:18:08.024779 132249207273280 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 12:18:08.024874 132249207273280 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
I0425 12:18:08.064363 132249207273280 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.040736s
I0425 12:18:08.064532 132249207273280 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 34.834 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04428410530090332 s) (per-host)
I0425 12:18:08.064582 132249207273280 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.044345s (batch_requests_ready=0.001855s, total_serialization_initiated=0.042420s, others=0.000070s)
I0425 12:18:08.064668 132249207273280 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.048602s (all_items=0.000015s, per_item={'items': '0.00001502'}, temp_paths=0.048587)
I0425 12:18:08.065381 132249207273280 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/9.
I0425 12:18:08.065691 132117099992832 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 12:38:08.065659
I0425 12:18:08.067651 132249207273280 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 12:18:08.067905 132117108385536 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 12:18:08.068014 132249207273280 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777119464.9555314, 'wait_for_prev_duration_secs': 22.362494945526123, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777119487.319829, 'checkpointer_blocking_duration_secs': 0.7460060119628906, 'get_old_steps_start_time': 1777119488.0658567, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1777119464.953741, 'checkpoint_manager_blocking_duration_secs': 23.11423683166504}
I0425 12:18:08.068185 132249207273280 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0425 12:18:08.068232 132249207273280 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 12:18:13.143442 132098287462144 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/linen_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/9/items/array_metadatas/process_6
I0425 12:18:49.307310 132117099992832 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 38.259 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.287015199661255 s) (per-host)
I0425 12:18:49.307432 132117099992832 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.241632s.
I0425 12:18:58.719084 132117099992832 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.653267s.
I0425 12:18:58.719398 132117108385536 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 12:18:58.719525 132117108385536 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 12:18:58.719584 132117108385536 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 12:18:58.720973 132117108385536 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 12:18:58.721174 132249207273280 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0425 12:18:58.721329 132249207273280 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 12:18:58.722262 132249207273280 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.303, Tokens/s/device: 13912.854, 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: Sat Apr 25 12:19:07 UTC 2026
EXIT_CODE=0
NNX  ·  28b1e4a16  ·  feat_nnx_post_train_fixes_20260425_121355  ·  full log
XPK Start: Sat Apr 25 13:41:01 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-25 13:41:26.002077: 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)
I0425 13:41:26.212579 137209529349952 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 13:41:35.252109 137209529349952 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 13:41:35.254420 137209529349952 distributed.py:172] Connecting to JAX distributed service on mt-02-synthetic-zedad-slice-job-0-0.mt-02-synthetic-zedad:8482
I0425 13:41:36.339363 137209529349952 max_utils.py:284] Jax distributed system initialized!
I0425 13:41:41.628929 137209529349952 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 13:41:41.629041 137209529349952 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 13:41:41.629082 137209529349952 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
I0425 13:41:41.629117 137209529349952 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 13:41:42.325675 137209529349952 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 13:41:42.439349 137209529349952 checkpointing.py:688] Setting up checkpoint logger...
I0425 13:41:42.439468 137209529349952 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 13:41:42.439514 137209529349952 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 13:41:42.439726 137209529349952 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 0x7cc9fc318e90>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 13:41:45.581900 137209529349952 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0425 13:41:45.582141 137209529349952 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 0x7cb5cc63d160>}, handler_registry=None
I0425 13:41:45.582391 137209529349952 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7cb5cc63d160>` 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`.
I0425 13:41:45.582441 137209529349952 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cb5ec5e8a10>` 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`.
I0425 13:41:45.582477 137209529349952 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 0x7cb5cc63d160>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7cb5cc63d160>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cb5ec5e8a10>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cb5ec5e8a10>}).
I0425 13:41:45.582813 137209529349952 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 13:41:45.582884 137209529349952 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7cb5ec4ab600> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 13:41:46.341291 137209529349952 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints
I0425 13:41:46.629876 137209529349952 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_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7cb5ec4c2840>
I0425 13:41:46.630053 137209529349952 checkpointing.py:302] Checkpoint manager created!
I0425 13:41:47.600902 137209529349952 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 13:41:47.601026 137209529349952 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 13:41:48.967218 137209529349952 maxtext_utils.py:1889]  decoder/decoder_norm/scale/value
    Shape:     float32[2048]
    Physical:  (None,)
I0425 13:41:48.967334 137209529349952 maxtext_utils.py:1889]  decoder/layers/mlp/wi_0/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0425 13:41:48.967387 137209529349952 maxtext_utils.py:1889]  decoder/layers/mlp/wi_1/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0425 13:41:48.967430 137209529349952 maxtext_utils.py:1889]  decoder/layers/mlp/wo/kernel/value
    Shape:     float32[7168,16,2048]
    Physical:  (None, None, 'fsdp')
I0425 13:41:48.967466 137209529349952 maxtext_utils.py:1889]  decoder/layers/post_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0425 13:41:48.967499 137209529349952 maxtext_utils.py:1889]  decoder/layers/pre_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0425 13:41:48.967534 137209529349952 maxtext_utils.py:1889]  decoder/layers/self_attention/key/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0425 13:41:48.967568 137209529349952 maxtext_utils.py:1889]  decoder/layers/self_attention/out/kernel/value
    Shape:     float32[16,16,128,2048]
    Physical:  (None, None, None, 'fsdp')
I0425 13:41:48.967602 137209529349952 maxtext_utils.py:1889]  decoder/layers/self_attention/query/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0425 13:41:48.967634 137209529349952 maxtext_utils.py:1889]  decoder/layers/self_attention/value/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0425 13:41:48.967678 137209529349952 maxtext_utils.py:1889]  decoder/logits_dense/kernel/value
    Shape:     float32[2048,32000]
    Physical:  ('fsdp', None)
I0425 13:41:48.967713 137209529349952 maxtext_utils.py:1889]  token_embedder/embedding/value
    Shape:     float32[32000,2048]
    Physical:  (None, 'fsdp')

I0425 13:41:49.369408 137209529349952 nnx_decoders.py:465] nnx_decoders/carry Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 13:41:49.369509 137209529349952 nnx_decoders.py:465] nnx_decoders/carry Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 13:41:49.374844 137209529349952 nnx_decoders.py:465] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 13:41:49.374899 137209529349952 nnx_decoders.py:465] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 13:41:49.391854 137209529349952 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 13:41:49.391912 137209529349952 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 13:41:49.408129 137209529349952 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 13:41:49.408186 137209529349952 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 13:41:49.432645 137209529349952 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 13:41:49.432726 137209529349952 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 13:41:49.448964 137209529349952 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 13:41:49.449028 137209529349952 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 13:41:49.465253 137209529349952 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 13:41:49.465312 137209529349952 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 13:41:49.496700 137209529349952 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0425 13:41:49.496769 137209529349952 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 13:41:49.517151 137209529349952 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 13:41:49.517221 137209529349952 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 13:42:00.782123 137209529349952 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.
I0425 13:42:00.784475 137209529349952 metric_logger.py:301] number parameters: 1.104 billion
I0425 13:42:11.708417 137209529349952 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0425 13:42:11.862571 137209529349952 checkpointing.py:798] Waited 0.15413928031921387 seconds for step 0 to finish before starting checkpointing.
I0425 13:42:11.865128 137209529349952 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 13:42:11.866721 137209529349952 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0425 13:42:11.868082 137209529349952 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/0.
I0425 13:42:12.195990 137209529349952 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 13:42:12.196914 137209529349952 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0425 13:42:12.196988 137209529349952 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
I0425 13:42:12.471681 137209529349952 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.276521s
I0425 13:42:12.471858 137209529349952 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.388 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2863137722015381 s) (per-host)
I0425 13:42:12.471922 137209529349952 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286391s (batch_requests_ready=0.003484s, total_serialization_initiated=0.282822s, others=0.000085s)
I0425 13:42:12.472048 137209529349952 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.290738s (all_items=0.000023s, per_item={'items': '0.00002337'}, temp_paths=0.290715)
I0425 13:42:12.472872 137209529349952 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.61 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/0.
I0425 13:42:12.473184 137081723819776 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 14:02:12.473144
I0425 13:42:12.478709 137209529349952 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 13:42:12.478959 137079048632064 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0425 13:42:12.479121 137209529349952 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777124531.8651097, 'wait_for_prev_duration_secs': 5.91278076171875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777124531.8667607, 'checkpointer_blocking_duration_secs': 0.6065752506256104, 'get_old_steps_start_time': 1777124532.4733622, 'get_old_steps_duration_secs': 3.075599670410156e-05, 'checkpoint_manager_blocking_start_time': 1777124531.8629646, 'checkpoint_manager_blocking_duration_secs': 0.6161172389984131}
I0425 13:42:12.479230 137209529349952 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0425 13:42:12.479302 137209529349952 max_utils.py:750] 
Memstats: After params initialized:
I0425 13:42:12.479352 137209529349952 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0425 13:42:12.479385 137209529349952 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0425 13:42:12.479411 137209529349952 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0425 13:42:12.479435 137209529349952 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0425 13:42:12.798516 137209529349952 metric_logger.py:196] completed step: 0, seconds: 10.923, TFLOP/s/device: 1.244, Tokens/s/device: 187.497, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0425 13:42:12.962183 137209529349952 metric_logger.py:196] completed step: 1, seconds: 1.088, TFLOP/s/device: 12.485, Tokens/s/device: 1881.948, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52786.469
I0425 13:42:13.386277 137209529349952 metric_logger.py:196] completed step: 2, seconds: 0.017, TFLOP/s/device: 780.421, Tokens/s/device: 117633.544, total_weights: 65536, loss: 10.262, lm_loss: 10.262, perplexity: 28632.133
I0425 13:42:13.533910 137209529349952 metric_logger.py:196] completed step: 3, seconds: 0.414, TFLOP/s/device: 32.822, Tokens/s/device: 4947.254, total_weights: 65536, loss: 9.732, lm_loss: 9.732, perplexity: 16855.789
I0425 13:42:13.830125 137209529349952 metric_logger.py:196] completed step: 4, seconds: 0.165, TFLOP/s/device: 82.282, Tokens/s/device: 12402.425, total_weights: 65536, loss: 9.274, lm_loss: 9.274, perplexity: 10661.594
I0425 13:42:13.837503 137209529349952 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.723, Tokens/s/device: 13976.279, total_weights: 65536, loss: 8.888, lm_loss: 8.888, perplexity: 7245.978
I0425 13:42:15.544728    2818 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 13:42:17.544367 137080065509120 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_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/0/items/array_metadatas/process_5
I0425 13:42:36.562576 137209529349952 metric_logger.py:196] completed step: 6, seconds: 0.297, TFLOP/s/device: 45.803, Tokens/s/device: 6903.898, total_weights: 65536, loss: 8.589, lm_loss: 8.589, perplexity: 5371.156
I0425 13:42:36.709875 137209529349952 metric_logger.py:196] completed step: 7, seconds: 22.578, TFLOP/s/device: 0.602, Tokens/s/device: 90.706, total_weights: 65536, loss: 8.380, lm_loss: 8.380, perplexity: 4360.465
I0425 13:42:36.857401 137209529349952 metric_logger.py:196] completed step: 8, seconds: 0.153, TFLOP/s/device: 88.569, Tokens/s/device: 13350.021, total_weights: 65536, loss: 8.251, lm_loss: 8.251, perplexity: 3831.256
I0425 13:42:37.005722 137209529349952 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0425 13:42:37.006391 137209529349952 checkpointing.py:798] Waited 0.0006816387176513672 seconds for step 9 to finish before starting checkpointing.
I0425 13:42:37.008427 137209529349952 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 13:42:49.566210 137081723819776 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 42.257 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.38063359260559 s) (per-host)
I0425 13:42:49.566318 137081723819776 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.093028s.
I0425 13:42:57.824751 137081723819776 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 45.351444s.
I0425 13:42:57.825022 137079048632064 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 13:42:57.825140 137079048632064 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0425 13:42:57.825193 137079048632064 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 13:42:57.826689 137079048632064 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 13:42:57.826884 137209529349952 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.
W0425 13:42:57.827022 137209529349952 checkpoint_manager.py:1452] Waiting for previous save to complete took 20.818596 seconds. If this number is high, consider checkpointing less frequently.
I0425 13:42:57.829080 137209529349952 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0425 13:42:57.831091 137209529349952 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/9.
I0425 13:42:58.148130 137209529349952 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0425 13:42:58.148225 137209529349952 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
I0425 13:42:58.184391 137209529349952 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037893s
I0425 13:42:58.184556 137209529349952 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 34.330 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04493308067321777 s) (per-host)
I0425 13:42:58.184606 137209529349952 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.044992s (batch_requests_ready=0.002644s, total_serialization_initiated=0.042283s, others=0.000065s)
I0425 13:42:58.184718 137209529349952 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.049110s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.049095)
I0425 13:42:58.185427 137209529349952 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.36 seconds. Continuing save @ gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/9.
I0425 13:42:58.185761 137079048632064 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 14:02:58.185726
I0425 13:42:58.187730 137209529349952 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 13:42:58.188041 137080065509120 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0425 13:42:58.188203 137209529349952 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777124557.0083952, 'wait_for_prev_duration_secs': 20.818596124649048, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777124577.8291183, 'checkpointer_blocking_duration_secs': 0.35678672790527344, 'get_old_steps_start_time': 1777124578.1859303, 'get_old_steps_duration_secs': 3.0040740966796875e-05, 'checkpoint_manager_blocking_start_time': 1777124557.0066159, 'checkpoint_manager_blocking_duration_secs': 21.181551694869995}
I0425 13:42:58.188319 137209529349952 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0425 13:42:58.188366 137209529349952 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 13:43:04.202778 137056005113600 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_20260425_121355/nnx_xpk_feat_nnx_post_train_fixes_20260425_121355_02_synthetic/checkpoints/9/items/array_metadatas/process_5
I0425 13:43:39.692639 137079048632064 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 38.014 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.55297565460205 s) (per-host)
I0425 13:43:39.692783 137079048632064 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.506910s.
I0425 13:43:50.000629 137079048632064 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 51.814739s.
I0425 13:43:50.000950 137080065509120 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 13:43:50.001071 137080065509120 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0425 13:43:50.001120 137080065509120 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 13:43:50.002752 137080065509120 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 13:43:50.002913 137209529349952 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.
I0425 13:43:50.003090 137209529349952 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 13:43:50.003969 137209529349952 metric_logger.py:196] completed step: 9, seconds: 0.148, TFLOP/s/device: 91.943, Tokens/s/device: 13858.626, 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: Sat Apr 25 13:44:01 UTC 2026
EXIT_CODE=0