MaxView

‹ 09_pdb_lt_1Case: 10_shardy_false10_shardy_true ›

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

MetricLinen  e27fc1e97NNX  e27fc1e97Diff (NNX − Linen)
Parameters1.104 billion
Final loss8.1790
TFLOP/s92.279
Tok/s13909.4
Avg s/step2.478
Memory %1.38
JAX0.8.10.8.1

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

Linen  ·  e27fc1e97  ·  test_pipeline_scan_nnx_20260421_005327  ·  full log
XPK Start: Tue Apr 21 01:29:02 UTC 2026
2026-04-21 01:29:06.056379: 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:1776734946.068983      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:1776734946.072726      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:1776734946.084307      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776734946.084325      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776734946.084327      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776734946.084329      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-21 01:29:25.192447: 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)
I0421 01:29:25.706523 136952584496960 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-21 01:29:34,748:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0421 01:29:34.748307 136952584496960 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-21 01:29:34,750:jax._src.distributed:157: Connecting to JAX distributed service on mt-10-shardy-false-dl0ul-slice-job-0-0.mt-10-shardy-false-dl0ul:8482
I0421 01:29:34.750685 136952584496960 distributed.py:157] Connecting to JAX distributed service on mt-10-shardy-false-dl0ul-slice-job-0-0.mt-10-shardy-false-dl0ul:8482
I0421 01:29:35.879730 136952584496960 max_utils.py:284] Jax distributed system initialized!
I0421 01:29:42.795685 136952584496960 max_utils.py:800] System Information: Jax Version: 0.8.1
I0421 01:29:42.795793 136952584496960 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0421 01:29:42.795833 136952584496960 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
I0421 01:29:42.795868 136952584496960 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 01:29:43.418503 136952584496960 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 01:29:43.418796 136952584496960 checkpointing.py:677] Setting up checkpoint logger...
I0421 01:29:43.418851 136952584496960 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0421 01:29:43.418900 136952584496960 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0421 01:29:43.419264 136952584496960 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 0x7c8e433711c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 01:29:46.807704 136952584496960 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 01:29:46.807945 136952584496960 checkpoint_manager.py:709] [process=1][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c7b90da06b0>}, handler_registry=None
I0421 01:29:46.808177 136952584496960 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c7b90da06b0>` 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`.
I0421 01:29:46.808225 136952584496960 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c7b90da7e00>` 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`.
I0421 01:29:46.808262 136952584496960 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 0x7c7b90da06b0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c7b90da06b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c7b90da7e00>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c7b90da7e00>}).
I0421 01:29:46.810899 136952584496960 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0421 01:29:46.810982 136952584496960 async_checkpointer.py:177] [process=1][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c8e307f72e0> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0421 01:29:47.923855 136952584496960 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints
I0421 01:29:47.926069 136952584496960 checkpoint_manager.py:929] [process=1][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_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c7b90da4890>
I0421 01:29:47.926186 136952584496960 checkpointing.py:301] Checkpoint manager created!
I0421 01:29:48.832332 136952584496960 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 01:29:48.832451 136952584496960 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:29:49.202736 136952584496960 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 01:29:49.202832 136952584496960 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:29:49.218886 136952584496960 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 01:29:49.218946 136952584496960 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 01:29:49.242616 136952584496960 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 01:29:49.242687 136952584496960 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:29:49.258639 136952584496960 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 01:29:49.258703 136952584496960 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:29:49.274600 136952584496960 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 01:29:49.274664 136952584496960 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:29:49.298903 136952584496960 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 01:29:49.298975 136952584496960 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 01:29:49.318832 136952584496960 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 01:29:49.318897 136952584496960 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 01:29:49.508878 136952584496960 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 01:29:49.508990 136952584496960 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0421 01:29:50.899283 136952584496960 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0421 01:29:50.899422 136952584496960 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)
I0421 01:29:50.899480 136952584496960 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)
I0421 01:29:50.899538 136952584496960 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')
I0421 01:29:50.899590 136952584496960 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)
I0421 01:29:50.899629 136952584496960 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)
I0421 01:29:50.899679 136952584496960 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)
I0421 01:29:50.899730 136952584496960 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')
I0421 01:29:50.899769 136952584496960 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)
I0421 01:29:50.899804 136952584496960 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)
I0421 01:29:50.899851 136952584496960 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)

I0421 01:29:50.899897 136952584496960 maxtext_utils.py:1501]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')
I0421 01:29:51.405358 136952584496960 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 01:29:51.405470 136952584496960 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 01:29:51.420474 136952584496960 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 01:29:51.420532 136952584496960 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 01:30:02.268848 136952584496960 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.
I0421 01:30:02.269736 136952584496960 metric_logger.py:289] number parameters: 1.104 billion
I0421 01:30:13.187099 136952584496960 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0421 01:30:13.342039 136952584496960 checkpointing.py:776] Waited 0.1549234390258789 seconds for step 0 to finish before starting checkpointing.
I0421 01:30:13.345266 136952584496960 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:30:13.347070 136952584496960 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 0
I0421 01:30:13.351077 136952584496960 async_checkpointer.py:452] [process=1] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints/0.
I0421 01:30:14.351565 136952584496960 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 01:30:14.352541 136952584496960 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 01:30:14.352595 136952584496960 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
I0421 01:30:14.597783 136952584496960 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.246298s
I0421 01:30:14.597954 136952584496960 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.961 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5209481716156006 s) (per-host)
I0421 01:30:14.598005 136952584496960 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.521008s (batch_requests_ready=0.271136s, total_serialization_initiated=0.249804s, others=0.000068s)
I0421 01:30:14.598101 136952584496960 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.525266s (all_items=0.000019s, per_item={'items': '0.00001931'}, temp_paths=0.525247)
I0421 01:30:14.599058 136830921983744 async_checkpointer.py:79] [process=1][thread=async_save] Background save thread started.
I0421 01:30:14.599187 136952584496960 async_checkpointer.py:561] Finished blocking save. Time taken: 1.252046s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints/0.
I0421 01:30:14.627764 136952584496960 checkpoint_manager.py:1566] [process=1][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 01:30:14.628058 136825536489216 async_checkpointer.py:265] [process=1][thread=save_finalize] Waiting for background save thread=async_save.
I0421 01:30:14.628222 136952584496960 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776735013.3452473, 'wait_for_prev_duration_secs': 6.628036499023438e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776735013.347109, 'checkpointer_blocking_duration_secs': 1.2522633075714111, 'get_old_steps_start_time': 1776735014.5993934, 'get_old_steps_duration_secs': 4.2438507080078125e-05, 'checkpoint_manager_blocking_start_time': 1776735013.342617, 'checkpoint_manager_blocking_duration_secs': 1.285567045211792}
I0421 01:30:14.628329 136952584496960 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0421 01:30:14.628379 136952584496960 max_utils.py:750] 
Memstats: After params initialized:
I0421 01:30:14.628448 136952584496960 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_2(process=1,(2,0,0,0))
I0421 01:30:14.628482 136952584496960 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_3(process=1,(3,0,0,0))
I0421 01:30:14.628510 136952584496960 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_6(process=1,(2,1,0,0))
I0421 01:30:14.628535 136952584496960 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_7(process=1,(3,1,0,0))
I0421 01:30:14.893370 136952584496960 metric_logger.py:185] completed step: 0, seconds: 10.917, TFLOP/s/device: 1.245, Tokens/s/device: 187.593, total_weights: 65536, loss: 10.874
I0421 01:30:15.057440 136952584496960 metric_logger.py:185] completed step: 1, seconds: 1.705, TFLOP/s/device: 7.969, Tokens/s/device: 1201.147, total_weights: 65536, loss: 10.874
I0421 01:30:15.478663 136952584496960 metric_logger.py:185] completed step: 2, seconds: 0.017, TFLOP/s/device: 799.807, Tokens/s/device: 120555.686, total_weights: 65536, loss: 10.263
I0421 01:30:15.626169 136952584496960 metric_logger.py:185] completed step: 3, seconds: 0.421, TFLOP/s/device: 32.238, Tokens/s/device: 4859.299, total_weights: 65536, loss: 9.734
I0421 01:30:15.921430 136952584496960 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 89.005, Tokens/s/device: 13415.872, total_weights: 65536, loss: 9.278
I0421 01:30:15.927186 136952584496960 metric_logger.py:185] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.172, Tokens/s/device: 13893.223, total_weights: 65536, loss: 8.892
I0421 01:30:35.338811 136952584496960 metric_logger.py:185] completed step: 6, seconds: 0.296, TFLOP/s/device: 45.931, Tokens/s/device: 6923.152, total_weights: 65536, loss: 8.592
I0421 01:30:35.486298 136952584496960 metric_logger.py:185] completed step: 7, seconds: 19.265, TFLOP/s/device: 0.705, Tokens/s/device: 106.306, total_weights: 65536, loss: 8.384
I0421 01:30:35.633918 136952584496960 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.331, Tokens/s/device: 13464.914, total_weights: 65536, loss: 8.255
I0421 01:30:35.781170 136952584496960 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0421 01:30:35.781844 136952584496960 checkpointing.py:776] Waited 0.0006949901580810547 seconds for step 9 to finish before starting checkpointing.
I0421 01:30:35.783700 136952584496960 checkpoint_manager.py:2024] [process=1][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 01:30:36.881807    2610 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 01:30:40.150911 136830930376448 array_metadata_store.py:203] [process=1][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints/0/items/array_metadatas/process_1
I0421 01:31:11.155310 136830921983744 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 27.674 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 57.0782630443573 s) (per-host)
I0421 01:31:11.155453 136830921983744 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 56.556183s.
I0421 01:31:20.387869 136830921983744 async_checkpointer.py:144] [process=1][thread=async_save] Background save thread done. Time taken: 65.788584s.
I0421 01:31:20.388164 136825536489216 async_checkpointer.py:273] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 01:31:20.388294 136825536489216 async_checkpointer.py:283] [process=1][thread=save_finalize] No errors found in background save thread=async_save.
I0421 01:31:20.388343 136825536489216 checkpoint_manager.py:2133] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0421 01:31:20.389757 136825536489216 checkpoint_manager.py:2142] [process=1][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0421 01:31:20.389967 136952584496960 checkpoint_manager.py:2036] [process=1][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0421 01:31:20.390102 136952584496960 checkpoint_manager.py:1458] Waiting for previous save to complete took 44.606408 seconds. If this number is high, consider checkpointing less frequently.
I0421 01:31:20.392043 136952584496960 checkpoint_manager.py:1518] [process=1] Saving checkpoint at step 9
I0421 01:31:20.395535 136952584496960 async_checkpointer.py:452] [process=1] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints/9.
I0421 01:31:21.350485 136952584496960 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0421 01:31:21.350600 136952584496960 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
I0421 01:31:21.395666 136952584496960 base_pytree_checkpoint_handler.py:153] [process=1][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.046470s
I0421 01:31:21.395835 136952584496960 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.195 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2969319820404053 s) (per-host)
I0421 01:31:21.395888 136952584496960 base_pytree_checkpoint_handler.py:737] [process=1][thread=MainThread] Initiated Pytree async_save. Time taken: 0.296994s (batch_requests_ready=0.248082s, total_serialization_initiated=0.048843s, others=0.000069s)
I0421 01:31:21.395986 136952584496960 composite_checkpoint_handler.py:715] [process=1][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.301167s (all_items=0.000016s, per_item={'items': '0.00001645'}, temp_paths=0.301150)
I0421 01:31:21.396894 136826652194560 async_checkpointer.py:79] [process=1][thread=async_save] Background save thread started.
I0421 01:31:21.397022 136952584496960 async_checkpointer.py:561] Finished blocking save. Time taken: 1.004907s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints/9.
I0421 01:31:21.843882 136952584496960 checkpoint_manager.py:1566] [process=1][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 01:31:21.844254 136825536489216 async_checkpointer.py:265] [process=1][thread=save_finalize] Waiting for background save thread=async_save.
I0421 01:31:21.844449 136952584496960 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776735035.7836711, 'wait_for_prev_duration_secs': 44.6064076423645, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776735080.392082, 'checkpointer_blocking_duration_secs': 1.005113124847412, 'get_old_steps_start_time': 1776735081.3972168, 'get_old_steps_duration_secs': 2.47955322265625e-05, 'checkpoint_manager_blocking_start_time': 1776735035.7820637, 'checkpoint_manager_blocking_duration_secs': 46.062326431274414}
I0421 01:31:21.844561 136952584496960 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0421 01:31:21.844608 136952584496960 checkpoint_manager.py:2024] [process=1][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 01:31:26.920092 136830930376448 array_metadata_store.py:203] [process=1][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260421_005327/linen_xpk_test_pipeline_scan_nnx_20260421_005327_10_shardy_false/checkpoints/9/items/array_metadatas/process_1
I0421 01:32:04.109613 136826652194560 base_pytree_checkpoint_handler.py:129] [process=1] /jax/checkpoint/write/gbytes_per_sec: 36.726 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.01066827774048 s) (per-host)
I0421 01:32:04.109733 136826652194560 async_checkpointer.py:90] [process=1][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.712631s.
I0421 01:32:11.224066 136826652194560 async_checkpointer.py:144] [process=1][thread=async_save] Background save thread done. Time taken: 49.826948s.
I0421 01:32:11.224357 136825536489216 async_checkpointer.py:273] [process=1][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 01:32:11.224498 136825536489216 async_checkpointer.py:283] [process=1][thread=save_finalize] No errors found in background save thread=async_save.
I0421 01:32:11.224547 136825536489216 checkpoint_manager.py:2133] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0421 01:32:11.225916 136825536489216 checkpoint_manager.py:2142] [process=1][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0421 01:32:11.226112 136952584496960 checkpoint_manager.py:2036] [process=1][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0421 01:32:11.226255 136952584496960 checkpoint_manager.py:2013] [process=1][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 01:32:11.226934 136952584496960 metric_logger.py:185] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.279, Tokens/s/device: 13909.358, 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: Tue Apr 21 01:32:22 UTC 2026
EXIT_CODE=0
NNX  ·  e27fc1e97  ·  test_pipeline_scan_nnx_20260421_005327  ·  full log
XPK Start: Tue Apr 21 02:47:59 UTC 2026
2026-04-21 02:48:03.202260: 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:1776739683.215089      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:1776739683.218784      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:1776739683.230117      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776739683.230135      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776739683.230138      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776739683.230140      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-21 02:48:22.256790: 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)
I0421 02:48:22.770206 132647409395520 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-21 02:48:31,809:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0421 02:48:31.809729 132647409395520 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-21 02:48:31,812:jax._src.distributed:157: Connecting to JAX distributed service on mt-10-shardy-false-a5ch8-slice-job-0-0.mt-10-shardy-false-a5ch8:8482
I0421 02:48:31.812080 132647409395520 distributed.py:157] Connecting to JAX distributed service on mt-10-shardy-false-a5ch8-slice-job-0-0.mt-10-shardy-false-a5ch8:8482
I0421 02:48:33.123394 132647409395520 max_utils.py:284] Jax distributed system initialized!
I0421 02:48:39.821270 132647409395520 max_utils.py:800] System Information: Jax Version: 0.8.1
I0421 02:48:39.821379 132647409395520 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0421 02:48:39.821437 132647409395520 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
I0421 02:48:39.821474 132647409395520 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: Tue Apr 21 02:48:49 UTC 2026
EXIT_CODE=1