MaxView

‹ 15_ocdbt_false_saveCase: 15_ocdbt_true_resume15_ocdbt_true_save ›

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

MetricLinen  5b21b66fcNNX  5b21b66fcDiff (NNX − Linen)
Parameters1.104 billion
Final loss5.3910
TFLOP/s92.229
Tok/s13901.7
Avg s/step8.340
Memory %1.38
JAX0.9.20.9.2

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

Linen  ·  5b21b66fc  ·  test_pipeline_scan_nnx_20260425_201227  ·  full log
XPK Start: Sat Apr 25 21:09:59 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 21:10:24.219211: 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 21:10:24.432107 133718843807552 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 21:10:33.474323 133718843807552 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 21:10:33.476716 133718843807552 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-true-rs-xcscn-slice-job-0-0.mt-15-ocdbt-true-rs-xcscn:8482
I0425 21:10:34.402550 133718843807552 max_utils.py:284] Jax distributed system initialized!
I0425 21:10:40.441274 133718843807552 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 21:10:40.441380 133718843807552 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 21:10:40.441420 133718843807552 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 21:10:40.441454 133718843807552 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 21:10:41.139331 133718843807552 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 21:10:41.139623 133718843807552 checkpointing.py:677] Setting up checkpoint logger...
I0425 21:10:41.139680 133718843807552 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0425 21:10:41.139725 133718843807552 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 21:10:41.140072 133718843807552 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 0x799d20948560>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 21:10:42.869691 133718843807552 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0425 21:10:42.869930 133718843807552 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 0x79890c0b3b60>}, handler_registry=None
I0425 21:10:42.870226 133718843807552 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79890c0b3b60>` 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 21:10:42.870284 133718843807552 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79890c0b4980>` 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 21:10:42.870320 133718843807552 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 0x79890c0b3b60>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79890c0b3b60>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79890c0b4980>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79890c0b4980>}).
I0425 21:10:42.870645 133718843807552 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 21:10:42.870716 133718843807552 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7988ec2672e0> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 21:10:44.754232 133597684025088 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1777151223325177269, 'commit_timestamp_nsecs': 1777151272817048007, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/5/_CHECKPOINT_METADATA
I0425 21:10:45.013203 133597692417792 checkpoint_manager.py:1871] Missing metrics for step 0
I0425 21:10:45.438873 133718843807552 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints
I0425 21:10:45.890879 133718843807552 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=5), 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_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x799c10509340>
I0425 21:10:45.891058 133718843807552 checkpointing.py:301] Checkpoint manager created!
I0425 21:10:46.820130 133718843807552 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 21:10:46.820247 133718843807552 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 21:10:47.199927 133718843807552 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 21:10:47.200025 133718843807552 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 21:10:47.216502 133718843807552 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0425 21:10:47.216576 133718843807552 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 21:10:47.240267 133718843807552 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 21:10:47.240343 133718843807552 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 21:10:47.257281 133718843807552 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 21:10:47.257344 133718843807552 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 21:10:47.273878 133718843807552 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 21:10:47.273939 133718843807552 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 21:10:47.298915 133718843807552 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0425 21:10:47.298987 133718843807552 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 21:10:47.320071 133718843807552 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 21:10:47.320172 133718843807552 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 21:10:47.531165 133718843807552 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 21:10:47.531277 133718843807552 checkpointing.py:581] restoring from this run's directory step 9
I0425 21:10:47.778616 133718843807552 event_tracking.py:70] [process=6] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/9.
I0425 21:10:48.037475 133718843807552 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/9.
I0425 21:10:48.037890 133718843807552 event_tracking.py:125] [process=6] [sync] Finished blocking load in 0.26 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/9.
I0425 21:10:49.452194    1448 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 21:10:55.768148 133718843807552 jax_array_handlers.py:843] [process=6] /jax/orbax/read/worker/io/requested throughput: 249.974 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.321746826171875 s) (per-host)
I0425 21:10:55.773964 133718843807552 base_pytree_checkpoint_handler.py:130] [process=6] /jax/checkpoint/read/gbytes_per_sec: 234.607 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.745728015899658 s) (per-host)
I0425 21:10:57.146992 133718843807552 event_tracking.py:138] [process=6] [sync] Finished load in 9.37 seconds @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/9
I0425 21:10:57.147192 133718843807552 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints', 'checkpointer_start_time': 1777151447.7785046, 'checkpointer_duration_secs': 9.368655681610107, 'checkpoint_manager_start_time': 1777151447.5315273, 'checkpoint_manager_duration_secs': 9.61563515663147}
fsdp: 32
I0425 21:10:57.564837 133718843807552 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 21:10:57.564967 133718843807552 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)
I0425 21:10:57.565020 133718843807552 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)
I0425 21:10:57.565079 133718843807552 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')
I0425 21:10:57.565149 133718843807552 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)
I0425 21:10:57.565189 133718843807552 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)
I0425 21:10:57.565241 133718843807552 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)
I0425 21:10:57.565295 133718843807552 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')
I0425 21:10:57.565336 133718843807552 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)
I0425 21:10:57.565372 133718843807552 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)
I0425 21:10:57.565418 133718843807552 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0425 21:10:57.565464 133718843807552 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0425 21:10:58.052614 133718843807552 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 21:10:58.052709 133718843807552 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 21:10:58.068243 133718843807552 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 21:10:58.068304 133718843807552 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 21:11:09.116685 133718843807552 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 21:11:09.117427 133718843807552 metric_logger.py:301] number parameters: 1.104 billion
I0425 21:11:20.456660 133718843807552 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0425 21:11:21.154940 133718843807552 checkpointing.py:776] Waited 0.6982588768005371 seconds for step 10 to finish before starting checkpointing.
I0425 21:11:21.157251 133718843807552 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 21:11:21.159170 133718843807552 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 10
I0425 21:11:21.161835 133718843807552 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/10.
I0425 21:11:21.908889 133718843807552 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 21:11:21.909797 133718843807552 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 21:11:21.909854 133718843807552 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 21:11:22.194297 133718843807552 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.285483s
I0425 21:11:22.194467 133718843807552 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.331 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2893540859222412 s) (per-host)
I0425 21:11:22.194521 133718843807552 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.289418s (batch_requests_ready=0.002167s, total_serialization_initiated=0.287178s, others=0.000072s)
I0425 21:11:22.194609 133718843807552 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.293410s (all_items=0.000018s, per_item={'items': '0.00001764'}, temp_paths=0.293392)
I0425 21:11:22.195325 133718843807552 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_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/10.
I0425 21:11:22.195665 133593331848960 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 21:31:22.195624
I0425 21:11:22.197604 133718843807552 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 21:11:22.197913 133597096830720 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 21:11:22.198063 133718843807552 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777151481.1572335, 'wait_for_prev_duration_secs': 6.794929504394531e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777151481.1592073, 'checkpointer_blocking_duration_secs': 1.0366168022155762, 'get_old_steps_start_time': 1777151482.1958506, 'get_old_steps_duration_secs': 2.956390380859375e-05, 'checkpoint_manager_blocking_start_time': 1777151481.1554818, 'checkpoint_manager_blocking_duration_secs': 1.0425472259521484}
I0425 21:11:22.198176 133718843807552 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0425 21:11:22.198225 133718843807552 max_utils.py:750] 
Memstats: After params initialized:
I0425 21:11:22.198270 133718843807552 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0425 21:11:22.198301 133718843807552 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0425 21:11:22.198325 133718843807552 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0425 21:11:22.198348 133718843807552 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0425 21:11:22.508810 133718843807552 metric_logger.py:196] completed step: 10, seconds: 11.339, TFLOP/s/device: 1.198, Tokens/s/device: 180.614, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0425 21:11:22.680412 133718843807552 metric_logger.py:196] completed step: 11, seconds: 2.051, TFLOP/s/device: 6.626, Tokens/s/device: 998.754, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0425 21:11:22.827861 133718843807552 metric_logger.py:196] completed step: 12, seconds: 0.025, TFLOP/s/device: 552.682, Tokens/s/device: 83306.215, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0425 21:11:22.975362 133718843807552 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.819, Tokens/s/device: 13387.808, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0425 21:11:22.979832 133718843807552 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0425 21:11:23.269612 133718843807552 checkpointing.py:776] Waited 0.28974223136901855 seconds for step 15 to finish before starting checkpointing.
I0425 21:11:23.272751 133718843807552 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 21:11:27.429906 133596526388992 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_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/10/items/array_metadatas/process_6
I0425 21:12:04.092322 133593331848960 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.443 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.18716287612915 s) (per-host)
I0425 21:12:04.092448 133593331848960 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.896666s.
I0425 21:12:10.840694 133593331848960 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 48.644895s.
I0425 21:12:10.841001 133597096830720 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 21:12:10.841136 133597096830720 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 21:12:10.841186 133597096830720 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0425 21:12:10.842626 133597096830720 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0425 21:12:10.842797 133718843807552 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0425 21:12:10.842956 133718843807552 checkpoint_manager.py:1452] Waiting for previous save to complete took 47.570195 seconds. If this number is high, consider checkpointing less frequently.
I0425 21:12:10.845059 133718843807552 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 15
I0425 21:12:10.847608 133718843807552 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/15.
I0425 21:12:11.139344 133718843807552 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 21:12:11.139436 133718843807552 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 21:12:11.188444 133718843807552 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.050289s
I0425 21:12:11.188613 133718843807552 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 28.717 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.05371594429016113 s) (per-host)
I0425 21:12:11.188666 133718843807552 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.053778s (batch_requests_ready=0.001755s, total_serialization_initiated=0.051954s, others=0.000068s)
I0425 21:12:11.188757 133718843807552 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.058766s (all_items=0.000013s, per_item={'items': '0.00001335'}, temp_paths=0.058752)
I0425 21:12:11.189601 133718843807552 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/15.
I0425 21:12:11.189964 133597096830720 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 21:32:11.189926
I0425 21:12:11.191887 133718843807552 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=15] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 21:12:11.192125 133592804144896 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 21:12:11.192279 133718843807552 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777151483.2727199, 'wait_for_prev_duration_secs': 47.57019519805908, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777151530.845121, 'checkpointer_blocking_duration_secs': 0.34499645233154297, 'get_old_steps_start_time': 1777151531.1901414, 'get_old_steps_duration_secs': 3.075599670410156e-05, 'checkpoint_manager_blocking_start_time': 1777151483.2702181, 'checkpoint_manager_blocking_duration_secs': 47.9220290184021}
I0425 21:12:11.192391 133718843807552 checkpointing.py:408] Started an asynchronous checkpoint save for step 15
I0425 21:12:11.193172 133718843807552 metric_logger.py:196] completed step: 14, seconds: 0.148, TFLOP/s/device: 92.003, Tokens/s/device: 13867.635, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0425 21:12:11.198980 133718843807552 metric_logger.py:196] completed step: 15, seconds: 0.147, TFLOP/s/device: 92.259, Tokens/s/device: 13906.242, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0425 21:12:16.336884 133596526388992 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_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/15/items/array_metadatas/process_6
I0425 21:12:32.366514 133718843807552 metric_logger.py:196] completed step: 16, seconds: 48.218, TFLOP/s/device: 0.282, Tokens/s/device: 42.474, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0425 21:12:32.513889 133718843807552 metric_logger.py:196] completed step: 17, seconds: 21.021, TFLOP/s/device: 0.646, Tokens/s/device: 97.425, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0425 21:12:32.661312 133718843807552 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.304, Tokens/s/device: 13460.932, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0425 21:12:32.808005 133718843807552 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0425 21:12:32.808723 133718843807552 checkpointing.py:776] Waited 0.0007371902465820312 seconds for step 19 to finish before starting checkpointing.
I0425 21:12:32.810956 133718843807552 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=15][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 21:12:53.760198 133597096830720 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.058 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.625261068344116 s) (per-host)
I0425 21:12:53.760322 133597096830720 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.570243s.
I0425 21:12:58.954180 133597096830720 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 47.764080s.
I0425 21:12:58.954476 133592804144896 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 21:12:58.954611 133592804144896 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 21:12:58.954657 133592804144896 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0425 21:12:58.956038 133592804144896 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=15] CheckpointManager Save Finalize is done on all hosts.
I0425 21:12:58.956236 133718843807552 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=15][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=15.
W0425 21:12:58.956360 133718843807552 checkpoint_manager.py:1452] Waiting for previous save to complete took 26.145409 seconds. If this number is high, consider checkpointing less frequently.
I0425 21:12:58.958718 133718843807552 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 19
I0425 21:12:58.960890 133718843807552 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/19.
I0425 21:12:59.593031 133718843807552 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 21:12:59.593135 133718843807552 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 21:12:59.640864 133718843807552 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.048864s
I0425 21:12:59.641029 133718843807552 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 29.480 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.05232572555541992 s) (per-host)
I0425 21:12:59.641090 133718843807552 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.052393s (batch_requests_ready=0.001644s, total_serialization_initiated=0.050678s, others=0.000072s)
I0425 21:12:59.641229 133718843807552 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.056437s (all_items=0.000011s, per_item={'items': '0.00001121'}, temp_paths=0.056426)
I0425 21:12:59.641972 133718843807552 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.68 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/19.
I0425 21:12:59.642283 133592804144896 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 21:32:59.642250
I0425 21:12:59.644201 133718843807552 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 21:12:59.644505 133597088438016 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 21:12:59.644636 133718843807552 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777151552.8109252, 'wait_for_prev_duration_secs': 26.145409107208252, 'time_between_consecutive_saves_sec': 21.968261003494263, 'checkpointer_blocking_start_time': 1777151578.9587576, 'checkpointer_blocking_duration_secs': 0.683645486831665, 'get_old_steps_start_time': 1777151579.6424212, 'get_old_steps_duration_secs': 2.4557113647460938e-05, 'checkpoint_manager_blocking_start_time': 1777151552.8089452, 'checkpoint_manager_blocking_duration_secs': 26.835660696029663}
I0425 21:12:59.644801 133718843807552 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0425 21:12:59.644844 133718843807552 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 21:13:06.410928 133596526388992 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_20260425_201227/linen_xpk_test_pipeline_scan_nnx_20260425_201227_15_ocdbt_true/checkpoints/19/items/array_metadatas/process_6
I0425 21:13:42.830809 133592804144896 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.529 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.24206614494324 s) (per-host)
I0425 21:13:42.830933 133592804144896 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.188030s.
I0425 21:13:49.438705 133592804144896 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 49.795785s.
I0425 21:13:49.438992 133597088438016 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 21:13:49.439122 133597088438016 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 21:13:49.439178 133597088438016 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0425 21:13:49.440567 133597088438016 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0425 21:13:49.440747 133718843807552 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0425 21:13:49.440894 133718843807552 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 21:13:49.441945 133718843807552 metric_logger.py:196] completed step: 19, seconds: 0.147, TFLOP/s/device: 92.229, Tokens/s/device: 13901.711, total_weights: 65536, loss: 5.391, lm_loss: 5.391, perplexity: 219.349
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 25 21:14:04 UTC 2026
EXIT_CODE=0
NNX  ·  5b21b66fc  ·  test_pipeline_scan_nnx_20260425_201227  ·  full log
XPK Start: Sat Apr 25 22:04:59 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 22:05:24.716509: 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 22:05:24.929195 133824510908224 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 22:05:33.971258 133824510908224 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 22:05:33.973528 133824510908224 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-true-rs-i4cc9-slice-job-0-0.mt-15-ocdbt-true-rs-i4cc9:8482
I0425 22:05:35.085508 133824510908224 max_utils.py:284] Jax distributed system initialized!
I0425 22:05:40.160448 133824510908224 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 22:05:40.160559 133824510908224 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 22:05:40.160599 133824510908224 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 22:05:40.160636 133824510908224 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: Sat Apr 25 22:05:50 UTC 2026
EXIT_CODE=1