MaxView

‹ 02_syntheticCase: 03_dropout04_int8 ›

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

MetricLinen  7f06c99acNNX  7f06c99acDiff (NNX − Linen)
Parameters1.104 billion1.104 billion
Final loss6.98107.0160+0.035
TFLOP/s11.31311.289-0.024
Tok/s1808.21804.2-3.95
Avg s/step1.2211.357+0.136
Memory %1.311.310
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:52:29 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:52:53.762798: 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:52:53.974019 139076707596096 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 12:53:03.014064 139076707596096 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 12:53:03.016397 139076707596096 distributed.py:172] Connecting to JAX distributed service on mt-03-dropout-tczuv-slice-job-0-0.mt-03-dropout-tczuv:8482
I0423 12:53:04.384086 139076707596096 max_utils.py:284] Jax distributed system initialized!
I0423 12:53:09.439500 139076707596096 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 12:53:09.439604 139076707596096 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 12:53:09.439645 139076707596096 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:53:09.439720 139076707596096 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 12:53:10.132779 139076707596096 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 12:53:10.133356 139076707596096 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 12:53:10.133530 139076707596096 checkpointing.py:688] Setting up checkpoint logger...
I0423 12:53:10.133576 139076707596096 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 12:53:10.133619 139076707596096 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 12:53:10.133967 139076707596096 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 0x7e7c9a04c320>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 12:53:13.067293 139076707596096 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 12:53:13.067521 139076707596096 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 0x7e680c72a660>}, handler_registry=None
I0423 12:53:13.067786 139076707596096 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e680c72a660>` 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:53:13.067839 139076707596096 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e680c72c5c0>` 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:53:13.067876 139076707596096 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 0x7e680c72a660>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7e680c72a660>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e680c72c5c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7e680c72c5c0>}).
I0423 12:53:13.068197 139076707596096 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 12:53:13.068264 139076707596096 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7e68043f5d00> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 12:53:14.614117 139076707596096 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_03_dropout/checkpoints
I0423 12:53:14.663834 139076707596096 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_03_dropout/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7e680c728770>
I0423 12:53:14.663991 139076707596096 checkpointing.py:302] Checkpoint manager created!
I0423 12:53:15.014163 139076707596096 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 12:53:15.014269 139076707596096 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 12:53:15.395935 139076707596096 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 12:53:15.396033 139076707596096 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 12:53:15.412400 139076707596096 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 12:53:15.412462 139076707596096 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 12:53:15.435829 139076707596096 attentions.py:1154] attentions/query Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 12:53:15.435895 139076707596096 attentions.py:1154] attentions/query Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 12:53:15.452383 139076707596096 attentions.py:1155] attentions/key Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 12:53:15.452444 139076707596096 attentions.py:1155] attentions/key Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 12:53:15.468933 139076707596096 attentions.py:1156] attentions/value Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 12:53:15.468995 139076707596096 attentions.py:1156] attentions/value Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 12:53:15.493989 139076707596096 attentions.py:1198] attentions/out Logical: bfloat16[32,128,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 12:53:15.494056 139076707596096 attentions.py:1198] attentions/out Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 12:53:15.519495 139076707596096 linears.py:525] linears/x Logical: bfloat16[32,128,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 12:53:15.519565 139076707596096 linears.py:525] linears/x Physical: bfloat16[32,128,7168]....................................... ('fsdp', None, None).
I0423 12:53:15.748640 139076707596096 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 12:53:15.748755 139076707596096 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 12:53:17.182829 139076707596096 maxtext_utils.py:1880]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 12:53:17.182959 139076707596096 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:53:17.183013 139076707596096 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:53:17.183069 139076707596096 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:53:17.183122 139076707596096 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:53:17.183161 139076707596096 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:53:17.183211 139076707596096 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:53:17.183262 139076707596096 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:53:17.183299 139076707596096 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:53:17.183336 139076707596096 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:53:17.183383 139076707596096 maxtext_utils.py:1880]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 12:53:17.183433 139076707596096 maxtext_utils.py:1880]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0423 12:53:17.705249 139076707596096 train.py:157] train/xent Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0423 12:53:17.705341 139076707596096 train.py:157] train/xent Physical: float32[32,128]............................................. ('fsdp', None).
I0423 12:53:17.721593 139076707596096 train.py:164] train/z_loss Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0423 12:53:17.721665 139076707596096 train.py:164] train/z_loss Physical: float32[32,128]............................................. ('fsdp', None).
I0423 12:53:21.332483 139076707596096 max_utils.py:791] Total memory size: 0.8 GB, Output size: 0.4 GB, Temp size: 0.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0423 12:53:21.333254 139076707596096 metric_logger.py:301] number parameters: 1.104 billion
I0423 12:53:25.937858 139076707596096 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 12:53:26.012635 139076707596096 checkpointing.py:798] Waited 0.07476663589477539 seconds for step 0 to finish before starting checkpointing.
I0423 12:53:26.015088 139076707596096 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 12:53:26.017207 139076707596096 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0423 12:53:26.018887 139076707596096 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_03_dropout/checkpoints/0.
I0423 12:53:26.325106 139076707596096 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 12:53:26.326011 139076707596096 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 12:53:26.326067 139076707596096 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:53:26.600019 139076707596096 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.274984s
I0423 12:53:26.600197 139076707596096 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.495 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2807486057281494 s) (per-host)
I0423 12:53:26.600252 139076707596096 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.280816s (batch_requests_ready=0.002462s, total_serialization_initiated=0.278279s, others=0.000075s)
I0423 12:53:26.600350 139076707596096 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.285010s (all_items=0.000016s, per_item={'items': '0.00001645'}, temp_paths=0.284993)
I0423 12:53:26.601178 139076707596096 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.58 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_03_dropout/checkpoints/0.
I0423 12:53:26.601507 138951201363712 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:13:26.601469
I0423 12:53:26.617718 139076707596096 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 12:53:26.618039 138948520441600 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 12:53:26.618199 139076707596096 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_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776948806.0150695, 'wait_for_prev_duration_secs': 6.079673767089844e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776948806.0172443, 'checkpointer_blocking_duration_secs': 0.5844311714172363, 'get_old_steps_start_time': 1776948806.6016989, 'get_old_steps_duration_secs': 3.218650817871094e-05, 'checkpoint_manager_blocking_start_time': 1776948806.013128, 'checkpoint_manager_blocking_duration_secs': 0.6050291061401367}
I0423 12:53:26.618303 139076707596096 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 12:53:26.618351 139076707596096 max_utils.py:750] 
Memstats: After params initialized:
I0423 12:53:26.618401 139076707596096 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_18(process=5,(2,4,0,0))
I0423 12:53:26.618433 139076707596096 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_19(process=5,(3,4,0,0))
I0423 12:53:26.618460 139076707596096 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_22(process=5,(2,5,0,0))
I0423 12:53:26.618486 139076707596096 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_23(process=5,(3,5,0,0))
I0423 12:53:26.929733 139076707596096 metric_logger.py:196] completed step: 0, seconds: 4.604, TFLOP/s/device: 0.174, Tokens/s/device: 27.799, total_weights: 4096, loss: 10.889, lm_loss: 10.889, perplexity: 53560.699
I0423 12:53:27.026942 139076707596096 metric_logger.py:196] completed step: 1, seconds: 0.990, TFLOP/s/device: 0.809, Tokens/s/device: 129.254, total_weights: 4096, loss: 10.902, lm_loss: 10.902, perplexity: 54298.523
I0423 12:53:27.430585 139076707596096 metric_logger.py:196] completed step: 2, seconds: 0.027, TFLOP/s/device: 29.462, Tokens/s/device: 4708.825, total_weights: 4096, loss: 9.956, lm_loss: 9.956, perplexity: 21082.051
I0423 12:53:27.501199 139076707596096 metric_logger.py:196] completed step: 3, seconds: 0.404, TFLOP/s/device: 1.983, Tokens/s/device: 316.934, total_weights: 4096, loss: 9.139, lm_loss: 9.139, perplexity: 9314.691
I0423 12:53:27.644676 139076707596096 metric_logger.py:196] completed step: 4, seconds: 0.076, TFLOP/s/device: 10.528, Tokens/s/device: 1682.572, total_weights: 4096, loss: 8.459, lm_loss: 8.459, perplexity: 4715.493
I0423 12:53:27.651203 139076707596096 metric_logger.py:196] completed step: 5, seconds: 0.070, TFLOP/s/device: 11.385, Tokens/s/device: 1819.629, total_weights: 4096, loss: 7.924, lm_loss: 7.924, perplexity: 2762.373
I0423 12:53:29.528156    2774 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 12:53:31.550182 138948528834304 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_03_dropout/checkpoints/0/items/array_metadatas/process_5
I0423 12:53:36.850166 139076707596096 metric_logger.py:196] completed step: 6, seconds: 0.145, TFLOP/s/device: 5.540, Tokens/s/device: 885.452, total_weights: 4096, loss: 7.553, lm_loss: 7.553, perplexity: 1906.617
I0423 12:53:36.921133 139076707596096 metric_logger.py:196] completed step: 7, seconds: 9.129, TFLOP/s/device: 0.088, Tokens/s/device: 14.021, total_weights: 4096, loss: 7.267, lm_loss: 7.267, perplexity: 1431.653
I0423 12:53:36.991732 139076707596096 metric_logger.py:196] completed step: 8, seconds: 0.075, TFLOP/s/device: 10.653, Tokens/s/device: 1702.648, total_weights: 4096, loss: 7.111, lm_loss: 7.111, perplexity: 1225.983
I0423 12:53:37.061890 139076707596096 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 12:53:37.062524 139076707596096 checkpointing.py:798] Waited 0.0006515979766845703 seconds for step 9 to finish before starting checkpointing.
I0423 12:53:37.064568 139076707596096 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 12:53:59.121302 138951201363712 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 48.156 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 32.80182671546936 s) (per-host)
I0423 12:53:59.121410 138951201363712 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 32.519791s.
I0423 12:54:08.098629 138951201363712 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 41.496994s.
I0423 12:54:08.098960 138948520441600 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 12:54:08.099089 138948520441600 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 12:54:08.099140 138948520441600 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 12:54:08.100499 138948520441600 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 12:54:08.100676 139076707596096 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:54:08.100806 139076707596096 checkpoint_manager.py:1452] Waiting for previous save to complete took 31.036237 seconds. If this number is high, consider checkpointing less frequently.
I0423 12:54:08.102845 139076707596096 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0423 12:54:08.104989 139076707596096 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_03_dropout/checkpoints/9.
I0423 12:54:08.417953 139076707596096 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 12:54:08.418052 139076707596096 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:54:08.454482 139076707596096 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037669s
I0423 12:54:08.454662 139076707596096 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 37.314 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.041339874267578125 s) (per-host)
I0423 12:54:08.454716 139076707596096 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.041417s (batch_requests_ready=0.001962s, total_serialization_initiated=0.039369s, others=0.000085s)
I0423 12:54:08.454811 139076707596096 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.045858s (all_items=0.000016s, per_item={'items': '0.00001574'}, temp_paths=0.045842)
I0423 12:54:08.455539 139076707596096 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.35 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_03_dropout/checkpoints/9.
I0423 12:54:08.455857 138948520441600 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 13:14:08.455827
I0423 12:54:08.457847 139076707596096 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 12:54:08.458143 138948528834304 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0423 12:54:08.458311 139076707596096 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_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776948817.0645392, 'wait_for_prev_duration_secs': 31.03623652458191, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776948848.1028864, 'checkpointer_blocking_duration_secs': 0.3530995845794678, 'get_old_steps_start_time': 1776948848.456009, 'get_old_steps_duration_secs': 3.337860107421875e-05, 'checkpoint_manager_blocking_start_time': 1776948817.062769, 'checkpoint_manager_blocking_duration_secs': 31.395506381988525}
I0423 12:54:08.458417 139076707596096 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 12:54:08.458463 139076707596096 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 12:54:14.542057 138924173190912 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_03_dropout/checkpoints/9/items/array_metadatas/process_5
I0423 12:54:48.768344 138948520441600 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 39.143 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 40.35499572753906 s) (per-host)
I0423 12:54:48.768470 138948520441600 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 40.312510s.
I0423 12:54:57.177832 138948520441600 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 48.721858s.
I0423 12:54:57.178130 138948528834304 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 12:54:57.178263 138948528834304 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0423 12:54:57.178310 138948528834304 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 12:54:57.179885 138948528834304 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 12:54:57.180059 139076707596096 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:54:57.180208 139076707596096 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 12:54:57.181260 139076707596096 metric_logger.py:196] completed step: 9, seconds: 0.071, TFLOP/s/device: 11.313, Tokens/s/device: 1808.165, total_weights: 4096, loss: 6.981, lm_loss: 6.981, perplexity: 1075.867
Per train step:
 Total TFLOPs: 0.80 
 split as 99.60% learnable weight flops and 0.40% attention flops
XPK End: Thu Apr 23 12:55:09 UTC 2026
EXIT_CODE=0
NNX  ·  7f06c99ac  ·  feat_nnx_post_train_fixes_20260423_124541  ·  full log
XPK Start: Thu Apr 23 14:27: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-23 14:27:26.326212: 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:27:26.901276 139895056369472 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 14:27:35.943302 139895056369472 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 14:27:35.945663 139895056369472 distributed.py:172] Connecting to JAX distributed service on mt-03-dropout-ni2a3-slice-job-0-0.mt-03-dropout-ni2a3:8482
I0423 14:27:36.844019 139895056369472 max_utils.py:284] Jax distributed system initialized!
I0423 14:27:42.150679 139895056369472 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 14:27:42.150785 139895056369472 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 14:27:42.150826 139895056369472 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:27:42.150864 139895056369472 train_utils.py:391] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 14:27:42.851935 139895056369472 maxtext_utils.py:1771] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 14:27:42.963818 139895056369472 checkpointing.py:688] Setting up checkpoint logger...
I0423 14:27:42.963940 139895056369472 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 14:27:42.963985 139895056369472 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 14:27:42.964197 139895056369472 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 0x7f3b23844b30>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 14:27:45.926759 139895056369472 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0423 14:27:45.927001 139895056369472 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 0x7f26d82253d0>}, handler_registry=None
I0423 14:27:45.927261 139895056369472 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f26d82253d0>` 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:27:45.927377 139895056369472 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f26d036e570>` 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:27:45.927416 139895056369472 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 0x7f26d82253d0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f26d82253d0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f26d036e570>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f26d036e570>}).
I0423 14:27:45.927741 139895056369472 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 14:27:45.927815 139895056369472 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7f26d032b1a0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 14:27:47.013581 139895056369472 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_03_dropout/checkpoints
I0423 14:27:47.441961 139895056369472 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/nnx_ckpt_xpk_feat_nnx_post_train_fixes_20260423_124541/nnx_xpk_feat_nnx_post_train_fixes_20260423_124541_03_dropout/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7f26d822a3c0>
I0423 14:27:47.442172 139895056369472 checkpointing.py:302] Checkpoint manager created!
I0423 14:27:47.817409 139895056369472 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 14:27:47.817535 139895056369472 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 14:27:49.203579 139895056369472 maxtext_utils.py:1889]  decoder/decoder_norm/scale/value
    Shape:     float32[2048]
    Physical:  (None,)
I0423 14:27:49.203695 139895056369472 maxtext_utils.py:1889]  decoder/layers/mlp/wi_0/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0423 14:27:49.203747 139895056369472 maxtext_utils.py:1889]  decoder/layers/mlp/wi_1/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0423 14:27:49.203790 139895056369472 maxtext_utils.py:1889]  decoder/layers/mlp/wo/kernel/value
    Shape:     float32[7168,16,2048]
    Physical:  (None, None, 'fsdp')
I0423 14:27:49.203828 139895056369472 maxtext_utils.py:1889]  decoder/layers/post_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0423 14:27:49.203861 139895056369472 maxtext_utils.py:1889]  decoder/layers/pre_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0423 14:27:49.203896 139895056369472 maxtext_utils.py:1889]  decoder/layers/self_attention/key/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0423 14:27:49.203932 139895056369472 maxtext_utils.py:1889]  decoder/layers/self_attention/out/kernel/value
    Shape:     float32[16,16,128,2048]
    Physical:  (None, None, None, 'fsdp')
I0423 14:27:49.203965 139895056369472 maxtext_utils.py:1889]  decoder/layers/self_attention/query/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0423 14:27:49.203997 139895056369472 maxtext_utils.py:1889]  decoder/layers/self_attention/value/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0423 14:27:49.204027 139895056369472 maxtext_utils.py:1889]  decoder/logits_dense/kernel/value
    Shape:     float32[2048,32000]
    Physical:  ('fsdp', None)

I0423 14:27:49.204058 139895056369472 maxtext_utils.py:1889]  token_embedder/embedding/value
    Shape:     float32[32000,2048]
    Physical:  (None, 'fsdp')
I0423 14:27:49.612065 139895056369472 nnx_decoders.py:465] nnx_decoders/carry Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 14:27:49.612174 139895056369472 nnx_decoders.py:465] nnx_decoders/carry Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 14:27:49.617079 139895056369472 nnx_decoders.py:465] Unknown Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 14:27:49.617153 139895056369472 nnx_decoders.py:465] Unknown Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 14:27:49.633676 139895056369472 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 14:27:49.633741 139895056369472 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 14:27:49.649539 139895056369472 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 14:27:49.649601 139895056369472 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 14:27:49.673441 139895056369472 attentions.py:1154] attentions/query Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 14:27:49.673518 139895056369472 attentions.py:1154] attentions/query Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 14:27:49.689542 139895056369472 attentions.py:1155] attentions/key Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 14:27:49.689613 139895056369472 attentions.py:1155] attentions/key Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 14:27:49.705461 139895056369472 attentions.py:1156] attentions/value Logical: bfloat16[32,128,16,128]..................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0423 14:27:49.705539 139895056369472 attentions.py:1156] attentions/value Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 14:27:49.734896 139895056369472 attentions.py:1198] attentions/out Logical: bfloat16[32,128,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 14:27:49.734972 139895056369472 attentions.py:1198] attentions/out Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 14:27:49.760986 139895056369472 linears.py:525] linears/x Logical: bfloat16[32,128,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 14:27:49.761058 139895056369472 linears.py:525] linears/x Physical: bfloat16[32,128,7168]....................................... ('fsdp', None, None).
I0423 14:27:53.447547 139895056369472 max_utils.py:791] Total memory size: 0.8 GB, Output size: 0.4 GB, Temp size: 0.4 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0423 14:27:53.449901 139895056369472 metric_logger.py:301] number parameters: 1.104 billion
I0423 14:27:57.380228 139895056369472 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0423 14:27:57.796327 139895056369472 checkpointing.py:798] Waited 0.41608738899230957 seconds for step 0 to finish before starting checkpointing.
I0423 14:27:57.798506 139895056369472 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 14:27:57.800552 139895056369472 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0423 14:27:57.802233 139895056369472 event_tracking.py:70] [process=6] [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_03_dropout/checkpoints/0.
I0423 14:27:58.096071 139895056369472 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 14:27:58.097084 139895056369472 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0423 14:27:58.097158 139895056369472 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:27:58.385535 139895056369472 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.290200s
I0423 14:27:58.385711 139895056369472 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.158 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.29905176162719727 s) (per-host)
I0423 14:27:58.385765 139895056369472 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.299117s (batch_requests_ready=0.002934s, total_serialization_initiated=0.296110s, others=0.000073s)
I0423 14:27:58.385864 139895056369472 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.303178s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.303159)
I0423 14:27:58.386622 139895056369472 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.59 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_03_dropout/checkpoints/0.
I0423 14:27:58.386958 139767739315968 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 14:47:58.386920
I0423 14:27:58.388903 139895056369472 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 14:27:58.389175 139765609391872 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 14:27:58.389299 139895056369472 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_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776954477.7984889, 'wait_for_prev_duration_secs': 5.984306335449219e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776954477.8005908, 'checkpointer_blocking_duration_secs': 0.586524248123169, 'get_old_steps_start_time': 1776954478.38714, 'get_old_steps_duration_secs': 2.9325485229492188e-05, 'checkpoint_manager_blocking_start_time': 1776954477.7967067, 'checkpoint_manager_blocking_duration_secs': 0.5925552845001221}
I0423 14:27:58.389408 139895056369472 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0423 14:27:58.389477 139895056369472 max_utils.py:750] 
Memstats: After params initialized:
I0423 14:27:58.389524 139895056369472 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_24(process=6,(0,6,0,0))
I0423 14:27:58.389556 139895056369472 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_25(process=6,(1,6,0,0))
I0423 14:27:58.389588 139895056369472 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_28(process=6,(0,7,0,0))
I0423 14:27:58.389611 139895056369472 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_29(process=6,(1,7,0,0))
I0423 14:27:58.712296 139895056369472 metric_logger.py:196] completed step: 0, seconds: 3.929, TFLOP/s/device: 0.204, Tokens/s/device: 32.576, total_weights: 4096, loss: 10.874, lm_loss: 10.874, perplexity: 52805.141
I0423 14:27:58.800764 139895056369472 metric_logger.py:196] completed step: 1, seconds: 1.330, TFLOP/s/device: 0.602, Tokens/s/device: 96.234, total_weights: 4096, loss: 10.892, lm_loss: 10.892, perplexity: 53764.488
I0423 14:27:59.214937 139895056369472 metric_logger.py:196] completed step: 2, seconds: 0.019, TFLOP/s/device: 41.451, Tokens/s/device: 6624.916, total_weights: 4096, loss: 9.969, lm_loss: 9.969, perplexity: 21350.100
I0423 14:27:59.285786 139895056369472 metric_logger.py:196] completed step: 3, seconds: 0.404, TFLOP/s/device: 1.981, Tokens/s/device: 316.691, total_weights: 4096, loss: 9.125, lm_loss: 9.125, perplexity: 9186.262
I0423 14:27:59.427374 139895056369472 metric_logger.py:196] completed step: 4, seconds: 0.088, TFLOP/s/device: 9.151, Tokens/s/device: 1462.573, total_weights: 4096, loss: 8.469, lm_loss: 8.469, perplexity: 4765.735
I0423 14:27:59.435277 139895056369472 metric_logger.py:196] completed step: 5, seconds: 0.070, TFLOP/s/device: 11.386, Tokens/s/device: 1819.836, total_weights: 4096, loss: 7.908, lm_loss: 7.908, perplexity: 2719.938
I0423 14:28:01.452205    2807 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 14:28:03.481780 139765617784576 array_metadata_store.py:203] [process=6][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_03_dropout/checkpoints/0/items/array_metadatas/process_6
I0423 14:28:09.520086 139895056369472 metric_logger.py:196] completed step: 6, seconds: 0.142, TFLOP/s/device: 5.624, Tokens/s/device: 898.927, total_weights: 4096, loss: 7.554, lm_loss: 7.554, perplexity: 1909.063
I0423 14:28:09.590883 139895056369472 metric_logger.py:196] completed step: 7, seconds: 10.016, TFLOP/s/device: 0.080, Tokens/s/device: 12.780, total_weights: 4096, loss: 7.313, lm_loss: 7.313, perplexity: 1500.206
I0423 14:28:09.661512 139895056369472 metric_logger.py:196] completed step: 8, seconds: 0.076, TFLOP/s/device: 10.489, Tokens/s/device: 1676.424, total_weights: 4096, loss: 7.091, lm_loss: 7.091, perplexity: 1200.912
I0423 14:28:09.732720 139895056369472 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0423 14:28:09.733404 139895056369472 checkpointing.py:798] Waited 0.0006930828094482422 seconds for step 9 to finish before starting checkpointing.
I0423 14:28:09.735778 139895056369472 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 14:28:29.905306 139767739315968 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 49.644 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 31.818607568740845 s) (per-host)
I0423 14:28:29.905433 139767739315968 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 31.518364s.
I0423 14:28:40.963416 139767739315968 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 42.576330s.
I0423 14:28:40.963663 139765609391872 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 14:28:40.963729 139765609391872 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 14:28:40.963789 139765609391872 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 14:28:40.965599 139765609391872 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 14:28:40.965770 139895056369472 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.
W0423 14:28:40.965903 139895056369472 checkpoint_manager.py:1452] Waiting for previous save to complete took 31.230126 seconds. If this number is high, consider checkpointing less frequently.
I0423 14:28:40.968010 139895056369472 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0423 14:28:40.970125 139895056369472 event_tracking.py:70] [process=6] [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_03_dropout/checkpoints/9.
I0423 14:28:41.693886 139895056369472 jax_array_handlers.py:360] Scheduling D2H of 69 prioritized jax.Array.
I0423 14:28:41.693982 139895056369472 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:28:41.735271 139895056369472 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.043075s
I0423 14:28:41.735411 139895056369472 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 30.815 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.05005908012390137 s) (per-host)
I0423 14:28:41.735458 139895056369472 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.050114s (batch_requests_ready=0.002675s, total_serialization_initiated=0.047379s, others=0.000061s)
I0423 14:28:41.735539 139895056369472 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.054388s (all_items=0.000017s, per_item={'items': '0.00001693'}, temp_paths=0.054371)
I0423 14:28:41.736239 139895056369472 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.77 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_03_dropout/checkpoints/9.
I0423 14:28:41.736588 139765609391872 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 14:48:41.736549
I0423 14:28:41.738530 139895056369472 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 14:28:41.738771 139765617784576 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 14:28:41.738878 139895056369472 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_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776954489.7357473, 'wait_for_prev_duration_secs': 31.230125904083252, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776954520.9680495, 'checkpointer_blocking_duration_secs': 0.768683671951294, 'get_old_steps_start_time': 1776954521.7367566, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1776954489.7336404, 'checkpoint_manager_blocking_duration_secs': 32.005202293395996}
I0423 14:28:41.739042 139895056369472 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0423 14:28:41.739087 139895056369472 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 14:28:47.436601 139742540617472 array_metadata_store.py:203] [process=6][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_03_dropout/checkpoints/9/items/array_metadatas/process_6
I0423 14:29:24.477470 139765609391872 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.913 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.792076587677 s) (per-host)
I0423 14:29:24.477610 139765609391872 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.740911s.
I0423 14:29:30.577188 139765609391872 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 48.840472s.
I0423 14:29:30.577400 139765617784576 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 14:29:30.577467 139765617784576 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 14:29:30.577524 139765617784576 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 14:29:30.578886 139765617784576 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 14:29:30.579057 139895056369472 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.
I0423 14:29:30.579240 139895056369472 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 14:29:30.580191 139895056369472 metric_logger.py:196] completed step: 9, seconds: 0.071, TFLOP/s/device: 11.289, Tokens/s/device: 1804.215, total_weights: 4096, loss: 7.016, lm_loss: 7.016, perplexity: 1113.843
Per train step:
 Total TFLOPs: 0.80 
 split as 99.60% learnable weight flops and 0.40% attention flops
XPK End: Thu Apr 23 14:29:42 UTC 2026
EXIT_CODE=0