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.120
Tok/s13885.3
Avg s/step8.494
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_20260422_212603  ·  full log
XPK Start: Wed Apr 22 22:30:48 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-22 22:31:13.752175: 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)
I0422 22:31:13.963521 136883479603008 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 22:31:23.003967 136883479603008 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 22:31:23.006686 136883479603008 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-true-rs-0rj34-slice-job-0-0.mt-15-ocdbt-true-rs-0rj34:8482
I0422 22:31:24.048890 136883479603008 max_utils.py:284] Jax distributed system initialized!
I0422 22:31:30.023331 136883479603008 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 22:31:30.023438 136883479603008 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 22:31:30.023478 136883479603008 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
I0422 22:31:30.023511 136883479603008 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 22:31:30.717207 136883479603008 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 22:31:30.717484 136883479603008 checkpointing.py:677] Setting up checkpoint logger...
I0422 22:31:30.717540 136883479603008 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 22:31:30.717583 136883479603008 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0422 22:31:30.717921 136883479603008 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 0x7c7df36444d0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 22:31:32.077420 136883479603008 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0422 22:31:32.077650 136883479603008 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c69f0757590>}, handler_registry=None
I0422 22:31:32.077881 136883479603008 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c69f0757590>` 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`.
I0422 22:31:32.077943 136883479603008 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c69f0758320>` 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`.
I0422 22:31:32.077993 136883479603008 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 0x7c69f0757590>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c69f0757590>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c69f0758320>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c69f0758320>}).
I0422 22:31:32.078396 136883479603008 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0422 22:31:32.078473 136883479603008 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c69d8377560> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0422 22:31:34.749852 136762722592512 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776896874414220775, 'commit_timestamp_nsecs': 1776896922068495529, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/5/_CHECKPOINT_METADATA
I0422 22:31:35.004264 136762714199808 checkpoint_manager.py:1871] Missing metrics for step 9
I0422 22:31:35.437029 136883479603008 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints
I0422 22:31:36.312305 136883479603008 checkpoint_manager.py:929] [process=3][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_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c69f0756ba0>
I0422 22:31:36.312490 136883479603008 checkpointing.py:301] Checkpoint manager created!
I0422 22:31:37.238676 136883479603008 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 22:31:37.238796 136883479603008 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 22:31:37.618722 136883479603008 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 22:31:37.618817 136883479603008 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 22:31:37.635289 136883479603008 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 22:31:37.635348 136883479603008 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 22:31:37.659073 136883479603008 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 22:31:37.659144 136883479603008 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 22:31:37.675770 136883479603008 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 22:31:37.675831 136883479603008 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 22:31:37.692297 136883479603008 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 22:31:37.692358 136883479603008 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 22:31:37.717319 136883479603008 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 22:31:37.717397 136883479603008 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 22:31:37.739374 136883479603008 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 22:31:37.739447 136883479603008 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 22:31:37.948998 136883479603008 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 22:31:37.949104 136883479603008 checkpointing.py:581] restoring from this run's directory step 9
I0422 22:31:38.201504 136883479603008 event_tracking.py:70] [process=3] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/9.
I0422 22:31:38.455781 136883479603008 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/9.
I0422 22:31:38.456224 136883479603008 event_tracking.py:125] [process=3] [sync] Finished blocking load in 0.25 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/9.
I0422 22:31:40.704963    1448 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 22:31:46.427912 136883479603008 jax_array_handlers.py:843] [process=3] /jax/orbax/read/worker/io/requested throughput: 275.854 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 5.728669166564941 s) (per-host)
I0422 22:31:46.432544 136883479603008 base_pytree_checkpoint_handler.py:130] [process=3] /jax/checkpoint/read/gbytes_per_sec: 258.130 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.130992889404297 s) (per-host)
I0422 22:31:48.072508 136883479603008 event_tracking.py:138] [process=3] [sync] Finished load in 9.87 seconds @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/9
I0422 22:31:48.072674 136883479603008 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints', 'checkpointer_start_time': 1776897098.2014089, 'checkpointer_duration_secs': 9.87122654914856, 'checkpoint_manager_start_time': 1776897097.9493546, 'checkpoint_manager_duration_secs': 10.123282432556152}
fsdp: 32
I0422 22:31:48.493438 136883479603008 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0422 22:31:48.493572 136883479603008 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)
I0422 22:31:48.493629 136883479603008 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)
I0422 22:31:48.493701 136883479603008 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')
I0422 22:31:48.493783 136883479603008 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)
I0422 22:31:48.493845 136883479603008 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)
I0422 22:31:48.493947 136883479603008 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)
I0422 22:31:48.494022 136883479603008 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')
I0422 22:31:48.494067 136883479603008 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)
I0422 22:31:48.494106 136883479603008 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)
I0422 22:31:48.494156 136883479603008 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0422 22:31:48.494204 136883479603008 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0422 22:31:48.982728 136883479603008 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 22:31:48.982825 136883479603008 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 22:31:48.998482 136883479603008 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 22:31:48.998546 136883479603008 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 22:32:00.001398 136883479603008 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.
I0422 22:32:00.002203 136883479603008 metric_logger.py:301] number parameters: 1.104 billion
I0422 22:32:11.553538 136883479603008 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0422 22:32:11.706657 136883479603008 checkpointing.py:776] Waited 0.15309762954711914 seconds for step 10 to finish before starting checkpointing.
I0422 22:32:11.709095 136883479603008 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 22:32:11.710987 136883479603008 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 10
I0422 22:32:11.712514 136883479603008 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/10.
I0422 22:32:12.453195 136883479603008 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 22:32:12.454250 136883479603008 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 22:32:12.454309 136883479603008 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
I0422 22:32:12.736140 136883479603008 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.283020s
I0422 22:32:12.736315 136883479603008 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.377 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2869100570678711 s) (per-host)
I0422 22:32:12.736369 136883479603008 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286975s (batch_requests_ready=0.002151s, total_serialization_initiated=0.284749s, others=0.000075s)
I0422 22:32:12.736462 136883479603008 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.290995s (all_items=0.000017s, per_item={'items': '0.00001740'}, temp_paths=0.290977)
I0422 22:32:12.737227 136883479603008 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.03 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/10.
I0422 22:32:12.737580 136762118612736 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 22:52:12.737541
I0422 22:32:12.739586 136883479603008 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 22:32:12.739852 136757279078144 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 22:32:12.739986 136883479603008 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776897131.7090755, 'wait_for_prev_duration_secs': 6.0558319091796875e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776897131.711025, 'checkpointer_blocking_duration_secs': 1.0267095565795898, 'get_old_steps_start_time': 1776897132.7377582, 'get_old_steps_duration_secs': 3.457069396972656e-05, 'checkpoint_manager_blocking_start_time': 1776897131.7072096, 'checkpoint_manager_blocking_duration_secs': 1.0327427387237549}
I0422 22:32:12.740151 136883479603008 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0422 22:32:12.740202 136883479603008 max_utils.py:750] 
Memstats: After params initialized:
I0422 22:32:12.740250 136883479603008 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0422 22:32:12.740282 136883479603008 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0422 22:32:12.740308 136883479603008 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0422 22:32:12.740333 136883479603008 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0422 22:32:13.054349 136883479603008 metric_logger.py:196] completed step: 10, seconds: 11.551, TFLOP/s/device: 1.176, Tokens/s/device: 177.297, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0422 22:32:13.228865 136883479603008 metric_logger.py:196] completed step: 11, seconds: 1.499, TFLOP/s/device: 9.062, Tokens/s/device: 1365.925, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0422 22:32:13.376326 136883479603008 metric_logger.py:196] completed step: 12, seconds: 0.027, TFLOP/s/device: 497.060, Tokens/s/device: 74922.261, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0422 22:32:13.523714 136883479603008 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.790, Tokens/s/device: 13383.434, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0422 22:32:13.528076 136883479603008 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0422 22:32:13.817867 136883479603008 checkpointing.py:776] Waited 0.28975510597229004 seconds for step 15 to finish before starting checkpointing.
I0422 22:32:13.820728 136883479603008 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 22:32:18.124442 136757287470848 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/10/items/array_metadatas/process_3
I0422 22:32:52.543654 136762118612736 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 39.397 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 40.09421110153198 s) (per-host)
I0422 22:32:52.543799 136762118612736 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 39.806103s.
I0422 22:33:02.819493 136762118612736 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 50.081781s.
I0422 22:33:02.819712 136757279078144 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 22:33:02.819777 136757279078144 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 22:33:02.819825 136757279078144 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0422 22:33:02.821331 136757279078144 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0422 22:33:02.821519 136883479603008 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0422 22:33:02.821651 136883479603008 checkpoint_manager.py:1452] Waiting for previous save to complete took 49.000922 seconds. If this number is high, consider checkpointing less frequently.
I0422 22:33:02.823586 136883479603008 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 15
I0422 22:33:02.826046 136883479603008 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/15.
I0422 22:33:03.544622 136883479603008 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 22:33:03.544720 136883479603008 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
I0422 22:33:03.577144 136883479603008 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034364s
I0422 22:33:03.577321 136883479603008 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 40.750 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03785443305969238 s) (per-host)
I0422 22:33:03.577374 136883479603008 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.037917s (batch_requests_ready=0.001782s, total_serialization_initiated=0.036065s, others=0.000070s)
I0422 22:33:03.577471 136883479603008 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042937s (all_items=0.000013s, per_item={'items': '0.00001311'}, temp_paths=0.042924)
I0422 22:33:03.578103 136883479603008 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/15.
I0422 22:33:03.578343 136757287470848 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 22:53:03.578319
I0422 22:33:03.580318 136883479603008 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=15] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 22:33:03.580550 136757279078144 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 22:33:03.580665 136883479603008 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776897133.8206997, 'wait_for_prev_duration_secs': 49.000922203063965, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776897182.8236258, 'checkpointer_blocking_duration_secs': 0.754812479019165, 'get_old_steps_start_time': 1776897183.5784588, 'get_old_steps_duration_secs': 2.7894973754882812e-05, 'checkpoint_manager_blocking_start_time': 1776897133.81845, 'checkpoint_manager_blocking_duration_secs': 49.76218223571777}
I0422 22:33:03.580777 136883479603008 checkpointing.py:408] Started an asynchronous checkpoint save for step 15
I0422 22:33:03.581525 136883479603008 metric_logger.py:196] completed step: 14, seconds: 0.147, TFLOP/s/device: 92.219, Tokens/s/device: 13900.295, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0422 22:33:03.587581 136883479603008 metric_logger.py:196] completed step: 15, seconds: 0.147, TFLOP/s/device: 92.184, Tokens/s/device: 13894.920, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0422 22:33:09.164706 136761044870912 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/15/items/array_metadatas/process_3
I0422 22:33:24.795270 136883479603008 metric_logger.py:196] completed step: 16, seconds: 50.058, TFLOP/s/device: 0.271, Tokens/s/device: 40.913, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0422 22:33:24.942841 136883479603008 metric_logger.py:196] completed step: 17, seconds: 21.062, TFLOP/s/device: 0.645, Tokens/s/device: 97.238, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0422 22:33:25.089978 136883479603008 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.249, Tokens/s/device: 13452.532, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0422 22:33:25.236855 136883479603008 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0422 22:33:25.237610 136883479603008 checkpointing.py:776] Waited 0.0007765293121337891 seconds for step 19 to finish before starting checkpointing.
I0422 22:33:25.239719 136883479603008 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=15][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 22:33:44.219353 136757287470848 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 38.830 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 40.679847717285156 s) (per-host)
I0422 22:33:44.219477 136757287470848 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 40.641062s.
I0422 22:33:54.973958 136757287470848 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 51.395504s.
I0422 22:33:54.974173 136757279078144 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 22:33:54.974229 136757279078144 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 22:33:54.974278 136757279078144 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0422 22:33:54.975881 136757279078144 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=15] CheckpointManager Save Finalize is done on all hosts.
I0422 22:33:54.976074 136883479603008 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=15][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=15.
W0422 22:33:54.976232 136883479603008 checkpoint_manager.py:1452] Waiting for previous save to complete took 29.736513 seconds. If this number is high, consider checkpointing less frequently.
I0422 22:33:54.977793 136883479603008 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 19
I0422 22:33:54.980089 136883479603008 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/19.
I0422 22:33:55.685094 136883479603008 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 22:33:55.685187 136883479603008 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
I0422 22:33:55.710885 136883479603008 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.026722s
I0422 22:33:55.711074 136883479603008 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 50.966 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.030266523361206055 s) (per-host)
I0422 22:33:55.711126 136883479603008 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.030329s (batch_requests_ready=0.001665s, total_serialization_initiated=0.028596s, others=0.000067s)
I0422 22:33:55.711220 136883479603008 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.034477s (all_items=0.000010s, per_item={'items': '0.00001049'}, temp_paths=0.034467)
I0422 22:33:55.711941 136883479603008 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.73 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/19.
I0422 22:33:55.712261 136757279078144 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 22:53:55.712223
I0422 22:33:55.716066 136883479603008 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 22:33:55.716314 136761044870912 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 22:33:55.716441 136883479603008 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776897205.2396877, 'wait_for_prev_duration_secs': 29.736512899398804, 'time_between_consecutive_saves_sec': 22.418317079544067, 'checkpointer_blocking_start_time': 1776897234.9778345, 'checkpointer_blocking_duration_secs': 0.7345638275146484, 'get_old_steps_start_time': 1776897235.7124157, 'get_old_steps_duration_secs': 2.5510787963867188e-05, 'checkpoint_manager_blocking_start_time': 1776897205.237846, 'checkpoint_manager_blocking_duration_secs': 30.478562831878662}
I0422 22:33:55.716550 136883479603008 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0422 22:33:55.716591 136883479603008 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 22:34:02.166469 136755667769088 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260422_212603/linen_xpk_test_pipeline_scan_nnx_20260422_212603_15_ocdbt_true/checkpoints/19/items/array_metadatas/process_3
I0422 22:34:39.447119 136757279078144 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 36.092 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.76626944541931 s) (per-host)
I0422 22:34:39.447240 136757279078144 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.734870s.
I0422 22:34:47.531960 136757279078144 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 51.819560s.
I0422 22:34:47.532255 136761044870912 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 22:34:47.532379 136761044870912 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 22:34:47.532421 136761044870912 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0422 22:34:47.533837 136761044870912 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0422 22:34:47.534041 136883479603008 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0422 22:34:47.534188 136883479603008 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 22:34:47.535145 136883479603008 metric_logger.py:196] completed step: 19, seconds: 0.147, TFLOP/s/device: 92.120, Tokens/s/device: 13885.311, 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: Wed Apr 22 22:34:59 UTC 2026
EXIT_CODE=0
NNX  ·  5b21b66fc  ·  test_pipeline_scan_nnx_20260422_212603  ·  full log
XPK Start: Wed Apr 22 23:30:08 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-22 23:30:33.292226: 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)
I0422 23:30:33.505647 136352101713728 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 23:30:42.547680 136352101713728 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 23:30:42.550181 136352101713728 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-true-rs-o7fox-slice-job-0-0.mt-15-ocdbt-true-rs-o7fox:8482
I0422 23:30:43.054134 136352101713728 max_utils.py:284] Jax distributed system initialized!
I0422 23:30:49.106747 136352101713728 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 23:30:49.106855 136352101713728 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 23:30:49.106894 136352101713728 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
I0422 23:30:49.106929 136352101713728 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: Wed Apr 22 23:30:59 UTC 2026
EXIT_CODE=1