MaxView

‹ 09_pdb_lt_1Case: 10_shardy_false10_shardy_true ›

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

MetricLinen  574ad3fb9NNX  574ad3fb9Diff (NNX − Linen)
Parameters1.104 billion
Final loss8.1790
TFLOP/s92.110
Tok/s13883.8
Avg s/step2.513
Memory %1.38
JAX0.8.10.8.1

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

Linen  ·  574ad3fb9  ·  test_pipeline_scan_nnx_20260419_085454  ·  full log
XPK Start: Sun Apr 19 09:32:46 UTC 2026
2026-04-19 09:32:50.294421: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776591170.307226      10 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776591170.310931      10 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776591170.322113      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776591170.322133      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776591170.322135      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776591170.322137      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-19 09:33:09.739281: 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)
I0419 09:33:10.254668 132736742303552 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-19 09:33:19,295:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0419 09:33:19.295817 132736742303552 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-19 09:33:19,298:jax._src.distributed:157: Connecting to JAX distributed service on mt-10-shardy-false-7ohqo-slice-job-0-0.mt-10-shardy-false-7ohqo:8482
I0419 09:33:19.298194 132736742303552 distributed.py:157] Connecting to JAX distributed service on mt-10-shardy-false-7ohqo-slice-job-0-0.mt-10-shardy-false-7ohqo:8482
I0419 09:33:20.187297 132736742303552 max_utils.py:284] Jax distributed system initialized!
I0419 09:33:27.162916 132736742303552 max_utils.py:800] System Information: Jax Version: 0.8.1
I0419 09:33:27.163023 132736742303552 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0419 09:33:27.163063 132736742303552 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0419 09:33:27.163099 132736742303552 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0419 09:33:27.783592 132736742303552 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 09:33:27.783897 132736742303552 checkpointing.py:677] Setting up checkpoint logger...
I0419 09:33:27.783953 132736742303552 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0419 09:33:27.783998 132736742303552 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0419 09:33:27.784348 132736742303552 base_pytree_checkpoint_handler.py:415] 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 0x78b8a9f714f0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0419 09:33:30.510409 132736742303552 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0419 09:33:30.510773 132736742303552 checkpoint_manager.py:709] [process=7][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78a42c0adac0>}, handler_registry=None
I0419 09:33:30.511011 132736742303552 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78a42c0adac0>` 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`.
I0419 09:33:30.511060 132736742303552 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78a42c0b35c0>` 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`.
I0419 09:33:30.511096 132736742303552 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 0x78a42c0adac0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78a42c0adac0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78a42c0b35c0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78a42c0b35c0>}).
I0419 09:33:30.511605 132736742303552 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0419 09:33:30.511690 132736742303552 async_checkpointer.py:177] [process=7][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x78a3ac748040> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0419 09:33:32.182904 132736742303552 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints
I0419 09:33:32.629695 132736742303552 checkpoint_manager.py:929] [process=7][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_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x78a42c0aeb70>
I0419 09:33:32.629878 132736742303552 checkpointing.py:301] Checkpoint manager created!
I0419 09:33:33.529354 132736742303552 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0419 09:33:33.529470 132736742303552 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 09:33:33.902986 132736742303552 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 09:33:33.903083 132736742303552 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 09:33:33.919046 132736742303552 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 09:33:33.919109 132736742303552 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 09:33:33.941985 132736742303552 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 09:33:33.942058 132736742303552 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:33:33.958144 132736742303552 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 09:33:33.958209 132736742303552 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:33:33.974057 132736742303552 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0419 09:33:33.974118 132736742303552 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:33:33.999148 132736742303552 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0419 09:33:33.999219 132736742303552 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 09:33:34.018872 132736742303552 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0419 09:33:34.018939 132736742303552 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0419 09:33:34.217593 132736742303552 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0419 09:33:34.217706 132736742303552 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0419 09:33:35.635031 132736742303552 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0419 09:33:35.635165 132736742303552 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0419 09:33:35.635219 132736742303552 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0419 09:33:35.635278 132736742303552 maxtext_utils.py:1501]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0419 09:33:35.635333 132736742303552 maxtext_utils.py:1501]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0419 09:33:35.635378 132736742303552 maxtext_utils.py:1501]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0419 09:33:35.635432 132736742303552 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0419 09:33:35.635485 132736742303552 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0419 09:33:35.635524 132736742303552 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0419 09:33:35.635591 132736742303552 maxtext_utils.py:1501]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0419 09:33:35.635648 132736742303552 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0419 09:33:35.635698 132736742303552 maxtext_utils.py:1501]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')

I0419 09:33:36.141473 132736742303552 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 09:33:36.141590 132736742303552 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 09:33:36.156526 132736742303552 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 09:33:36.156600 132736742303552 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 09:33:47.006150 132736742303552 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.
I0419 09:33:47.007071 132736742303552 metric_logger.py:289] number parameters: 1.104 billion
I0419 09:33:58.117906 132736742303552 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0419 09:33:58.273171 132736742303552 checkpointing.py:776] Waited 0.15525078773498535 seconds for step 0 to finish before starting checkpointing.
I0419 09:33:58.275590 132736742303552 checkpoint_manager.py:2013] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 09:33:58.277361 132736742303552 checkpoint_manager.py:1518] [process=7] Saving checkpoint at step 0
I0419 09:33:58.280085 132736742303552 async_checkpointer.py:452] [process=7] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints/0.
I0419 09:33:58.877035 132736742303552 signaling_client.py:364] Using JaxDistributedSignalingClient
I0419 09:33:58.878032 132736742303552 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 09:33:58.878088 132736742303552 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
I0419 09:33:59.125987 132736742303552 base_pytree_checkpoint_handler.py:153] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.249035s
I0419 09:33:59.126156 132736742303552 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/blocking_gbytes_per_sec: 3.019 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5108888149261475 s) (per-host)
I0419 09:33:59.126208 132736742303552 base_pytree_checkpoint_handler.py:737] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.510951s (batch_requests_ready=0.257764s, total_serialization_initiated=0.253116s, others=0.000070s)
I0419 09:33:59.126298 132736742303552 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.515196s (all_items=0.000020s, per_item={'items': '0.00001955'}, temp_paths=0.515177)
I0419 09:33:59.127148 132611183724288 async_checkpointer.py:79] [process=7][thread=async_save] Background save thread started.
I0419 09:33:59.127315 132736742303552 async_checkpointer.py:561] Finished blocking save. Time taken: 0.849886s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints/0.
I0419 09:33:59.577911 132736742303552 checkpoint_manager.py:1566] [process=7][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 09:33:59.578289 132609598289664 async_checkpointer.py:265] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0419 09:33:59.578462 132736742303552 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776591238.2755723, 'wait_for_prev_duration_secs': 6.365776062011719e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776591238.2774057, 'checkpointer_blocking_duration_secs': 0.8499841690063477, 'get_old_steps_start_time': 1776591239.1274076, 'get_old_steps_duration_secs': 2.3126602172851562e-05, 'checkpoint_manager_blocking_start_time': 1776591238.2737741, 'checkpoint_manager_blocking_duration_secs': 1.3046398162841797}
I0419 09:33:59.578579 132736742303552 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0419 09:33:59.578629 132736742303552 max_utils.py:750] 
Memstats: After params initialized:
I0419 09:33:59.578684 132736742303552 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0419 09:33:59.578717 132736742303552 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0419 09:33:59.578744 132736742303552 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0419 09:33:59.578769 132736742303552 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0419 09:33:59.844805 132736742303552 metric_logger.py:185] completed step: 0, seconds: 11.111, TFLOP/s/device: 1.223, Tokens/s/device: 184.326, total_weights: 65536, loss: 10.874
I0419 09:34:00.016984 132736742303552 metric_logger.py:185] completed step: 1, seconds: 1.726, TFLOP/s/device: 7.874, Tokens/s/device: 1186.871, total_weights: 65536, loss: 10.874
I0419 09:34:00.436784 132736742303552 metric_logger.py:185] completed step: 2, seconds: 0.025, TFLOP/s/device: 542.704, Tokens/s/device: 81802.205, total_weights: 65536, loss: 10.263
I0419 09:34:00.584389 132736742303552 metric_logger.py:185] completed step: 3, seconds: 0.420, TFLOP/s/device: 32.347, Tokens/s/device: 4875.738, total_weights: 65536, loss: 9.734
I0419 09:34:00.879651 132736742303552 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.905, Tokens/s/device: 13400.686, total_weights: 65536, loss: 9.278
I0419 09:34:00.885562 132736742303552 metric_logger.py:185] completed step: 5, seconds: 0.148, TFLOP/s/device: 92.028, Tokens/s/device: 13871.486, total_weights: 65536, loss: 8.892
I0419 09:34:20.582599 132736742303552 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.935, Tokens/s/device: 6923.761, total_weights: 65536, loss: 8.592
I0419 09:34:20.730201 132736742303552 metric_logger.py:185] completed step: 7, seconds: 19.550, TFLOP/s/device: 0.695, Tokens/s/device: 104.755, total_weights: 65536, loss: 8.384
I0419 09:34:20.877554 132736742303552 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.307, Tokens/s/device: 13461.286, total_weights: 65536, loss: 8.255
I0419 09:34:21.024634 132736742303552 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0419 09:34:21.025299 132736742303552 checkpointing.py:776] Waited 0.0006847381591796875 seconds for step 9 to finish before starting checkpointing.
I0419 09:34:21.027265 132736742303552 checkpoint_manager.py:2024] [process=7][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 09:34:21.704839    2589 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0419 09:34:23.629469 132611192116992 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints/0/items/array_metadatas/process_7
I0419 09:34:55.264918 132611183724288 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/gbytes_per_sec: 27.884 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 56.64960741996765 s) (per-host)
I0419 09:34:55.265040 132611183724288 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 56.137778s.
I0419 09:35:03.871139 132611183724288 async_checkpointer.py:144] [process=7][thread=async_save] Background save thread done. Time taken: 64.743860s.
I0419 09:35:03.871417 132609598289664 async_checkpointer.py:273] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 09:35:03.871582 132609598289664 async_checkpointer.py:283] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0419 09:35:03.871636 132609598289664 checkpoint_manager.py:2133] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0419 09:35:03.872987 132609598289664 checkpoint_manager.py:2142] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0419 09:35:03.873153 132736742303552 checkpoint_manager.py:2036] [process=7][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0419 09:35:03.873306 132736742303552 checkpoint_manager.py:1458] Waiting for previous save to complete took 42.846044 seconds. If this number is high, consider checkpointing less frequently.
I0419 09:35:03.875166 132736742303552 checkpoint_manager.py:1518] [process=7] Saving checkpoint at step 9
I0419 09:35:03.878553 132736742303552 async_checkpointer.py:452] [process=7] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints/9.
I0419 09:35:04.829444 132736742303552 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 09:35:04.829554 132736742303552 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
I0419 09:35:04.876177 132736742303552 base_pytree_checkpoint_handler.py:153] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.047906s
I0419 09:35:04.876340 132736742303552 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.062 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.30474019050598145 s) (per-host)
I0419 09:35:04.876392 132736742303552 base_pytree_checkpoint_handler.py:737] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.304800s (batch_requests_ready=0.255002s, total_serialization_initiated=0.049732s, others=0.000066s)
I0419 09:35:04.876478 132736742303552 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.308746s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.308730)
I0419 09:35:04.877382 132610622555904 async_checkpointer.py:79] [process=7][thread=async_save] Background save thread started.
I0419 09:35:04.877558 132736742303552 async_checkpointer.py:561] Finished blocking save. Time taken: 1.002306s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints/9.
I0419 09:35:05.315828 132736742303552 checkpoint_manager.py:1566] [process=7][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 09:35:05.316207 132609598289664 async_checkpointer.py:265] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0419 09:35:05.316387 132736742303552 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776591261.027237, 'wait_for_prev_duration_secs': 42.846044063568115, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776591303.8752053, 'checkpointer_blocking_duration_secs': 1.0024654865264893, 'get_old_steps_start_time': 1776591304.8776915, 'get_old_steps_duration_secs': 2.6702880859375e-05, 'checkpoint_manager_blocking_start_time': 1776591261.0255272, 'checkpoint_manager_blocking_duration_secs': 44.29082274436951}
I0419 09:35:05.316504 132736742303552 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0419 09:35:05.316569 132736742303552 checkpoint_manager.py:2024] [process=7][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 09:35:09.586284 132611192116992 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_10_shardy_false/checkpoints/9/items/array_metadatas/process_7
I0419 09:35:46.816975 132610622555904 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/gbytes_per_sec: 37.391 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.245330572128296 s) (per-host)
I0419 09:35:46.817093 132610622555904 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.939598s.
I0419 09:35:54.181113 132610622555904 async_checkpointer.py:144] [process=7][thread=async_save] Background save thread done. Time taken: 49.303603s.
I0419 09:35:54.181413 132609598289664 async_checkpointer.py:273] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 09:35:54.181555 132609598289664 async_checkpointer.py:283] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0419 09:35:54.181604 132609598289664 checkpoint_manager.py:2133] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0419 09:35:54.183151 132609598289664 checkpoint_manager.py:2142] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0419 09:35:54.183330 132736742303552 checkpoint_manager.py:2036] [process=7][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0419 09:35:54.183480 132736742303552 checkpoint_manager.py:2013] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 09:35:54.184187 132736742303552 metric_logger.py:185] completed step: 9, seconds: 0.148, TFLOP/s/device: 92.110, Tokens/s/device: 13883.804, total_weights: 65536, loss: 8.179
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sun Apr 19 09:36:06 UTC 2026
EXIT_CODE=0
NNX  ·  574ad3fb9  ·  test_pipeline_scan_nnx_20260419_085454  ·  full log
XPK Start: Sun Apr 19 10:50:40 UTC 2026
2026-04-19 10:50:44.326432: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776595844.338871      10 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776595844.342539      10 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776595844.353923      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776595844.353949      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776595844.353951      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776595844.353953      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-19 10:51:03.505360: 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)
I0419 10:51:04.015026 137363153553216 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-19 10:51:13,054:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0419 10:51:13.054808 137363153553216 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-19 10:51:13,057:jax._src.distributed:157: Connecting to JAX distributed service on mt-10-shardy-false-bsqgc-slice-job-0-0.mt-10-shardy-false-bsqgc:8482
I0419 10:51:13.057128 137363153553216 distributed.py:157] Connecting to JAX distributed service on mt-10-shardy-false-bsqgc-slice-job-0-0.mt-10-shardy-false-bsqgc:8482
I0419 10:51:15.093379 137363153553216 max_utils.py:284] Jax distributed system initialized!
I0419 10:51:22.068223 137363153553216 max_utils.py:800] System Information: Jax Version: 0.8.1
I0419 10:51:22.068329 137363153553216 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0419 10:51:22.068369 137363153553216 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0419 10:51:22.068404 137363153553216 train_utils.py:347] 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 727, in <module>
    app.run(main)
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 316, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 261, in _run_main
    sys.exit(main(argv))
             ^^^^^^^^^^
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 723, in main
    train_func()
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 713, in train_func
    run(config, recorder, diagnostic_config)
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 692, in run
    train_loop(config, recorder)
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 517, in train_loop
    ) = train_utils.setup_train_loop(config, recorder)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/deps/src/maxtext/utils/train_utils.py", line 217, 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: Sun Apr 19 10:51:31 UTC 2026
EXIT_CODE=1