MaxView

‹ 02_syntheticCase: 03_dropout04_int8 ›

Metrics: Linen vs NNX  ·  test/pipeline-scan-nnx

MetricLinen  5b21b66fcNNX  5b21b66fcDiff (NNX − Linen)
Parameters1.104 billion
Final loss6.9810
TFLOP/s11.337
Tok/s1812.0
Avg s/step1.363
Memory %1.31
JAX0.9.20.9.2

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

Linen  ·  5b21b66fc  ·  test_pipeline_scan_nnx_20260423_211617  ·  full log
XPK Start: Thu Apr 23 21:24:03 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 21:24:36.188290: 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 21:24:36.401005 140339157645120 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 21:24:45.442341 140339157645120 distributed.py:149] Starting JAX distributed service on [::]:8482
I0423 21:24:45.444799 140339157645120 distributed.py:172] Connecting to JAX distributed service on mt-03-dropout-4ceih-slice-job-0-0.mt-03-dropout-4ceih:8482
I0423 21:24:51.375763 140339157645120 max_utils.py:284] Jax distributed system initialized!
I0423 21:24:57.497264 140339157645120 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 21:24:57.497372 140339157645120 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 21:24:57.497412 140339157645120 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 21:24:57.497447 140339157645120 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0423 21:24:58.187916 140339157645120 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0423 21:24:58.188220 140339157645120 checkpointing.py:677] Setting up checkpoint logger...
I0423 21:24:58.188286 140339157645120 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0423 21:24:58.188331 140339157645120 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0423 21:24:58.188700 140339157645120 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 0x7fa2b4b18ec0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0423 21:25:01.087819 140339157645120 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0423 21:25:01.088057 140339157645120 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 0x7f8e9421fc50>}, handler_registry=None
I0423 21:25:01.088362 140339157645120 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f8e9421fc50>` 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 21:25:01.088431 140339157645120 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f8e7c603830>` 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 21:25:01.088480 140339157645120 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 0x7f8e9421fc50>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7f8e9421fc50>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f8e7c603830>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7f8e7c603830>}).
I0423 21:25:01.088833 140339157645120 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0423 21:25:01.088906 140339157645120 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7f8e643972e0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0423 21:25:02.647336 140339157645120 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints
I0423 21:25:02.649638 140339157645120 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_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7f8e7c6002f0>
I0423 21:25:02.649751 140339157645120 checkpointing.py:301] Checkpoint manager created!
I0423 21:25:02.995033 140339157645120 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0423 21:25:02.995165 140339157645120 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 21:25:03.385219 140339157645120 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 21:25:03.385318 140339157645120 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 21:25:03.402011 140339157645120 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,128,2048]....................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0423 21:25:03.402072 140339157645120 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,128,2048]....................................... ('fsdp', None, None).
I0423 21:25:03.426321 140339157645120 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 21:25:03.426393 140339157645120 attentions.py:1154] attentions/query Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 21:25:03.443177 140339157645120 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 21:25:03.443245 140339157645120 attentions.py:1155] attentions/key Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 21:25:03.460244 140339157645120 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 21:25:03.460307 140339157645120 attentions.py:1156] attentions/value Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 21:25:03.485558 140339157645120 attentions.py:1198] attentions/out Logical: bfloat16[32,128,16,128]..................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0423 21:25:03.485626 140339157645120 attentions.py:1198] attentions/out Physical: bfloat16[32,128,16,128]..................................... ('fsdp', None, None, None).
I0423 21:25:03.512358 140339157645120 linears.py:525] linears/x Logical: bfloat16[32,128,7168]....................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0423 21:25:03.512428 140339157645120 linears.py:525] linears/x Physical: bfloat16[32,128,7168]....................................... ('fsdp', None, None).
I0423 21:25:03.733572 140339157645120 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0423 21:25:03.733682 140339157645120 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0423 21:25:05.196636 140339157645120 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0423 21:25:05.196765 140339157645120 maxtext_utils.py:1668]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 21:25:05.196819 140339157645120 maxtext_utils.py:1668]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0423 21:25:05.196878 140339157645120 maxtext_utils.py:1668]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0423 21:25:05.196932 140339157645120 maxtext_utils.py:1668]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 21:25:05.196971 140339157645120 maxtext_utils.py:1668]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0423 21:25:05.197025 140339157645120 maxtext_utils.py:1668]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0423 21:25:05.197078 140339157645120 maxtext_utils.py:1668]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0423 21:25:05.197134 140339157645120 maxtext_utils.py:1668]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0423 21:25:05.197174 140339157645120 maxtext_utils.py:1668]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0423 21:25:05.197224 140339157645120 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0423 21:25:05.197339 140339157645120 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0423 21:25:05.719918 140339157645120 train.py:155] train/xent Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0423 21:25:05.720015 140339157645120 train.py:155] train/xent Physical: float32[32,128]............................................. ('fsdp', None).
I0423 21:25:05.736618 140339157645120 train.py:162] train/z_loss Logical: float32[32,128]............................................. ('activation_embed_and_logits_batch', 'activation_length').
I0423 21:25:05.736676 140339157645120 train.py:162] train/z_loss Physical: float32[32,128]............................................. ('fsdp', None).
I0423 21:25:09.323526 140339157645120 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 21:25:09.324354 140339157645120 metric_logger.py:301] number parameters: 1.104 billion
I0423 21:25:13.915059 140339157645120 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0423 21:25:13.988845 140339157645120 checkpointing.py:776] Waited 0.07377243041992188 seconds for step 0 to finish before starting checkpointing.
I0423 21:25:13.991618 140339157645120 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 21:25:13.993550 140339157645120 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0423 21:25:13.995492 140339157645120 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints/0.
I0423 21:25:14.751146 140339157645120 signaling_client.py:364] Using JaxDistributedSignalingClient
I0423 21:25:14.752010 140339157645120 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 21:25:14.752068 140339157645120 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 21:25:15.028153 140339157645120 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.277098s
I0423 21:25:15.028333 140339157645120 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.454 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2828550338745117 s) (per-host)
I0423 21:25:15.028388 140339157645120 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.282920s (batch_requests_ready=0.002417s, total_serialization_initiated=0.280430s, others=0.000072s)
I0423 21:25:15.028480 140339157645120 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.286995s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.286977)
I0423 21:25:15.029299 140339157645120 event_tracking.py:125] [process=6] [async] Finished blocking save in 1.04 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints/0.
I0423 21:25:15.029624 140211874944768 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 21:45:15.029583
I0423 21:25:15.039716 140339157645120 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 21:25:15.039977 140209696130816 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 21:25:15.040142 140339157645120 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776979513.9915993, 'wait_for_prev_duration_secs': 6.222724914550781e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776979513.993597, 'checkpointer_blocking_duration_secs': 1.0361807346343994, 'get_old_steps_start_time': 1776979515.0298018, 'get_old_steps_duration_secs': 3.170967102050781e-05, 'checkpoint_manager_blocking_start_time': 1776979513.9893973, 'checkpoint_manager_blocking_duration_secs': 1.0506935119628906}
I0423 21:25:15.040249 140339157645120 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0423 21:25:15.040300 140339157645120 max_utils.py:750] 
Memstats: After params initialized:
I0423 21:25:15.040350 140339157645120 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_24(process=6,(0,6,0,0))
I0423 21:25:15.040387 140339157645120 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_25(process=6,(1,6,0,0))
I0423 21:25:15.040415 140339157645120 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_28(process=6,(0,7,0,0))
I0423 21:25:15.040440 140339157645120 max_utils.py:756] 	Using (GB) 0.41 / 31.25 (1.312000%) on TPU_29(process=6,(1,7,0,0))
I0423 21:25:15.354419 140339157645120 metric_logger.py:196] completed step: 0, seconds: 4.591, TFLOP/s/device: 0.174, Tokens/s/device: 27.883, total_weights: 4096, loss: 10.889, lm_loss: 10.889, perplexity: 53560.699
I0423 21:25:15.455612 140339157645120 metric_logger.py:196] completed step: 1, seconds: 1.438, TFLOP/s/device: 0.557, Tokens/s/device: 89.025, total_weights: 4096, loss: 10.902, lm_loss: 10.902, perplexity: 54298.523
I0423 21:25:15.871012 140339157645120 metric_logger.py:196] completed step: 2, seconds: 0.031, TFLOP/s/device: 25.729, Tokens/s/device: 4112.186, total_weights: 4096, loss: 9.956, lm_loss: 9.956, perplexity: 21082.051
I0423 21:25:15.941947 140339157645120 metric_logger.py:196] completed step: 3, seconds: 0.416, TFLOP/s/device: 1.927, Tokens/s/device: 308.014, total_weights: 4096, loss: 9.139, lm_loss: 9.139, perplexity: 9314.691
I0423 21:25:16.083666 140339157645120 metric_logger.py:196] completed step: 4, seconds: 0.076, TFLOP/s/device: 10.547, Tokens/s/device: 1685.608, total_weights: 4096, loss: 8.459, lm_loss: 8.459, perplexity: 4715.493
I0423 21:25:16.089903 140339157645120 metric_logger.py:196] completed step: 5, seconds: 0.071, TFLOP/s/device: 11.303, Tokens/s/device: 1806.532, total_weights: 4096, loss: 7.924, lm_loss: 7.924, perplexity: 2762.373
I0423 21:25:19.193980    2799 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0423 21:25:21.728652 140209704523520 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints/0/items/array_metadatas/process_6
I0423 21:25:26.104404 140339157645120 metric_logger.py:196] completed step: 6, seconds: 0.142, TFLOP/s/device: 5.629, Tokens/s/device: 899.584, total_weights: 4096, loss: 7.553, lm_loss: 7.553, perplexity: 1906.617
I0423 21:25:26.175211 140339157645120 metric_logger.py:196] completed step: 7, seconds: 9.945, TFLOP/s/device: 0.081, Tokens/s/device: 12.870, total_weights: 4096, loss: 7.267, lm_loss: 7.267, perplexity: 1431.653
I0423 21:25:26.245709 140339157645120 metric_logger.py:196] completed step: 8, seconds: 0.075, TFLOP/s/device: 10.699, Tokens/s/device: 1709.927, total_weights: 4096, loss: 7.111, lm_loss: 7.111, perplexity: 1225.983
I0423 21:25:26.315628 140339157645120 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0423 21:25:26.316286 140339157645120 checkpointing.py:776] Waited 0.0006763935089111328 seconds for step 9 to finish before starting checkpointing.
I0423 21:25:26.318365 140339157645120 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 21:25:48.207242 140211874944768 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 47.206 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 33.461743116378784 s) (per-host)
I0423 21:25:48.207349 140211874944768 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 33.177613s.
I0423 21:25:56.156522 140211874944768 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 41.126769s.
I0423 21:25:56.156814 140209696130816 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 21:25:56.156929 140209696130816 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 21:25:56.156981 140209696130816 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0423 21:25:56.158495 140209696130816 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0423 21:25:56.158666 140339157645120 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 21:25:56.158798 140339157645120 checkpoint_manager.py:1452] Waiting for previous save to complete took 29.840434 seconds. If this number is high, consider checkpointing less frequently.
I0423 21:25:56.160557 140339157645120 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0423 21:25:56.162650 140339157645120 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints/9.
I0423 21:25:56.468666 140339157645120 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0423 21:25:56.468759 140339157645120 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 21:25:56.505256 140339157645120 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.037716s
I0423 21:25:56.505431 140339157645120 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 37.389 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04125785827636719 s) (per-host)
I0423 21:25:56.505484 140339157645120 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.041320s (batch_requests_ready=0.001845s, total_serialization_initiated=0.039405s, others=0.000071s)
I0423 21:25:56.505578 140339157645120 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.045504s (all_items=0.000016s, per_item={'items': '0.00001645'}, temp_paths=0.045488)
I0423 21:25:56.506267 140339157645120 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.35 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints/9.
I0423 21:25:56.506618 140209696130816 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-23 21:45:56.506581
I0423 21:25:56.508669 140339157645120 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0423 21:25:56.508969 140211850839808 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0423 21:25:56.509155 140339157645120 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776979526.318333, 'wait_for_prev_duration_secs': 29.840434312820435, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776979556.1605968, 'checkpointer_blocking_duration_secs': 0.34616947174072266, 'get_old_steps_start_time': 1776979556.5067897, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1776979526.3165157, 'checkpoint_manager_blocking_duration_secs': 30.192604064941406}
I0423 21:25:56.509275 140339157645120 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0423 21:25:56.509328 140339157645120 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0423 21:26:02.868426 140186822313728 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260423_211617/linen_xpk_test_pipeline_scan_nnx_20260423_211617_03_dropout/checkpoints/9/items/array_metadatas/process_6
I0423 21:26:42.432051 140209696130816 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 34.363 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 45.967841386795044 s) (per-host)
I0423 21:26:42.432197 140209696130816 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 45.925465s.
I0423 21:26:46.972550 140209696130816 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.465803s.
I0423 21:26:46.972842 140211850839808 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0423 21:26:46.972965 140211850839808 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0423 21:26:46.973015 140211850839808 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0423 21:26:46.974474 140211850839808 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0423 21:26:46.974655 140339157645120 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 21:26:46.974807 140339157645120 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0423 21:26:46.975749 140339157645120 metric_logger.py:196] completed step: 9, seconds: 0.071, TFLOP/s/device: 11.337, Tokens/s/device: 1811.979, 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 21:26:59 UTC 2026
EXIT_CODE=0
NNX  ·  5b21b66fc  ·  test_pipeline_scan_nnx_20260423_211617  ·  full log
XPK Start: Thu Apr 23 22:50:28 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 22:50:53.860023: 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 22:50:54.070865 136295738242880 max_utils.py:273] Attempting to initialize the jax distributed system...
I0423 22:51:03.114434 136295738242880 distributed.py:172] Connecting to JAX distributed service on mt-03-dropout-jmzac-slice-job-0-0.mt-03-dropout-jmzac:8482
I0423 22:51:03.662918 136295738242880 max_utils.py:284] Jax distributed system initialized!
I0423 22:51:08.769532 136295738242880 max_utils.py:800] System Information: Jax Version: 0.9.2
I0423 22:51:08.769652 136295738242880 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0423 22:51:08.769699 136295738242880 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 22:51:08.769733 136295738242880 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 744, in <module>
    app.run(main)
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 367, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 312, in _run_main
    sys.exit(main(argv))
             ^^^^^^^^^^
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 740, in main
    train_func()
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 730, in train_func
    run(config, recorder, diagnostic_config)
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 709, in run
    train_loop(config, recorder)
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 536, in train_loop
    ) = train_utils.setup_train_loop(config, recorder)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/deps/src/maxtext/utils/train_utils.py", line 218, in setup_train_loop
    raise NotImplementedError("Pure NNX support has not been implemented yet.")
NotImplementedError: Pure NNX support has not been implemented yet.
XPK End: Thu Apr 23 22:51:14 UTC 2026
EXIT_CODE=1