MaxView

‹ 15_ocdbt_false_resumeCase: 15_ocdbt_false_save15_ocdbt_true_resume ›

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

MetricLinen  574ad3fb9NNX  574ad3fb9Diff (NNX − Linen)
Parameters1.104 billion
Final loss7.1810
TFLOP/s92.111
Tok/s13883.9
Avg s/step4.491
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 10:07:26 UTC 2026
2026-04-19 10:07:30.337400: 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:1776593250.350337      11 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:1776593250.354044      11 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:1776593250.365301      11 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776593250.365319      11 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776593250.365322      11 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776593250.365324      11 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-19 10:07:49.700484: 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:07:50.215266 132369114552128 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-19 10:07:59,256:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0419 10:07:59.256941 132369114552128 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-19 10:07:59,259:jax._src.distributed:157: Connecting to JAX distributed service on mt-15-ocdbt-false-sv-31i0q-slice-job-0-0.mt-15-ocdbt-false-sv-31i0q:8482
I0419 10:07:59.259389 132369114552128 distributed.py:157] Connecting to JAX distributed service on mt-15-ocdbt-false-sv-31i0q-slice-job-0-0.mt-15-ocdbt-false-sv-31i0q:8482
I0419 10:08:00.263392 132369114552128 max_utils.py:284] Jax distributed system initialized!
I0419 10:08:06.181846 132369114552128 max_utils.py:800] System Information: Jax Version: 0.8.1
I0419 10:08:06.181949 132369114552128 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0419 10:08:06.181990 132369114552128 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:08:06.182025 132369114552128 train_utils.py:347] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0419 10:08:06.804687 132369114552128 maxtext_utils.py:1398] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0419 10:08:06.804990 132369114552128 checkpointing.py:677] Setting up checkpoint logger...
I0419 10:08:06.805064 132369114552128 checkpointing.py:233] Creating checkpoint manager with ocdbt=False and zarr3=True
I0419 10:08:06.805124 132369114552128 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0419 10:08:06.805560 132369114552128 base_pytree_checkpoint_handler.py:415] Created BasePyTreeCheckpointHandler: use_ocdbt=False, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x786314379190>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0419 10:08:09.735975 132369114552128 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0419 10:08:09.736216 132369114552128 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 0x7850f9356b40>}, handler_registry=None
I0419 10:08:09.736451 132369114552128 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7850f9356b40>` 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 10:08:09.736500 132369114552128 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x785067aa2330>` 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 10:08:09.736549 132369114552128 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 0x7850f9356b40>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7850f9356b40>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x785067aa2330>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x785067aa2330>}).
I0419 10:08:09.737051 132369114552128 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0419 10:08:09.737129 132369114552128 async_checkpointer.py:177] [process=7][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x784f84584040> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0419 10:08:10.835520 132369114552128 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_15_ocdbt_false/checkpoints
I0419 10:08:11.268000 132369114552128 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=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_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_15_ocdbt_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7850f8e888c0>
I0419 10:08:11.268185 132369114552128 checkpointing.py:301] Checkpoint manager created!
I0419 10:08:12.166636 132369114552128 nnx_wrappers.py:453] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0419 10:08:12.166739 132369114552128 nnx_wrappers.py:453] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 10:08:12.542834 132369114552128 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 10:08:12.542932 132369114552128 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 10:08:12.558642 132369114552128 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0419 10:08:12.558702 132369114552128 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0419 10:08:12.581633 132369114552128 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 10:08:12.581704 132369114552128 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 10:08:12.597575 132369114552128 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 10:08:12.597639 132369114552128 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 10:08:12.613588 132369114552128 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 10:08:12.613650 132369114552128 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 10:08:12.638816 132369114552128 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0419 10:08:12.638888 132369114552128 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0419 10:08:12.658494 132369114552128 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0419 10:08:12.658571 132369114552128 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0419 10:08:12.852545 132369114552128 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0419 10:08:12.852658 132369114552128 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0419 10:08:14.291435 132369114552128 maxtext_utils.py:1501]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0419 10:08:14.291584 132369114552128 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 10:08:14.291640 132369114552128 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 10:08:14.291700 132369114552128 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 10:08:14.291753 132369114552128 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 10:08:14.291791 132369114552128 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 10:08:14.291843 132369114552128 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 10:08:14.291896 132369114552128 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 10:08:14.291937 132369114552128 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 10:08:14.291974 132369114552128 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 10:08:14.292021 132369114552128 maxtext_utils.py:1501]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0419 10:08:14.292068 132369114552128 maxtext_utils.py:1501]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')

I0419 10:08:14.798332 132369114552128 train.py:156] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 10:08:14.798437 132369114552128 train.py:156] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 10:08:14.813329 132369114552128 train.py:163] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0419 10:08:14.813391 132369114552128 train.py:163] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0419 10:08:25.304272 132369114552128 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 10:08:25.305221 132369114552128 metric_logger.py:289] number parameters: 1.104 billion
I0419 10:08:36.347176 132369114552128 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0419 10:08:36.696754 132369114552128 checkpointing.py:776] Waited 0.349562406539917 seconds for step 0 to finish before starting checkpointing.
I0419 10:08:36.699254 132369114552128 checkpoint_manager.py:2013] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 10:08:36.701008 132369114552128 checkpoint_manager.py:1518] [process=7] Saving checkpoint at step 0
I0419 10:08:36.703956 132369114552128 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_15_ocdbt_false/checkpoints/0.
I0419 10:08:37.728852 132369114552128 signaling_client.py:364] Using JaxDistributedSignalingClient
I0419 10:08:37.729784 132369114552128 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 10:08:37.729844 132369114552128 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 10:08:37.983749 132369114552128 base_pytree_checkpoint_handler.py:153] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.254981s
I0419 10:08:37.983922 132369114552128 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.804 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5501818656921387 s) (per-host)
I0419 10:08:37.983975 132369114552128 base_pytree_checkpoint_handler.py:737] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.550244s (batch_requests_ready=0.291504s, total_serialization_initiated=0.258670s, others=0.000070s)
I0419 10:08:37.984067 132369114552128 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.554640s (all_items=0.000022s, per_item={'items': '0.00002170'}, temp_paths=0.554619)
I0419 10:08:37.984981 132250188359424 async_checkpointer.py:79] [process=7][thread=async_save] Background save thread started.
I0419 10:08:37.985094 132369114552128 async_checkpointer.py:561] Finished blocking save. Time taken: 1.284013s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_15_ocdbt_false/checkpoints/0.
I0419 10:08:38.004677 132369114552128 checkpoint_manager.py:1566] [process=7][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 10:08:38.004963 132245364913920 async_checkpointer.py:265] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0419 10:08:38.005126 132369114552128 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_15_ocdbt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776593316.6992364, 'wait_for_prev_duration_secs': 6.604194641113281e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776593316.701047, 'checkpointer_blocking_duration_secs': 1.2841575145721436, 'get_old_steps_start_time': 1776593317.9852262, 'get_old_steps_duration_secs': 2.5510787963867188e-05, 'checkpoint_manager_blocking_start_time': 1776593316.697335, 'checkpoint_manager_blocking_duration_secs': 1.3077540397644043}
I0419 10:08:38.005234 132369114552128 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0419 10:08:38.005289 132369114552128 max_utils.py:750] 
Memstats: After params initialized:
I0419 10:08:38.005342 132369114552128 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0419 10:08:38.005376 132369114552128 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0419 10:08:38.005405 132369114552128 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0419 10:08:38.005431 132369114552128 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0419 10:08:38.274618 132369114552128 metric_logger.py:185] completed step: 0, seconds: 11.042, TFLOP/s/device: 1.231, Tokens/s/device: 185.476, total_weights: 65536, loss: 10.874
I0419 10:08:38.455834 132369114552128 metric_logger.py:185] completed step: 1, seconds: 1.926, TFLOP/s/device: 7.054, Tokens/s/device: 1063.266, total_weights: 65536, loss: 10.874
I0419 10:08:38.867773 132369114552128 metric_logger.py:185] completed step: 2, seconds: 0.034, TFLOP/s/device: 401.428, Tokens/s/device: 60507.578, total_weights: 65536, loss: 10.560
I0419 10:08:39.015057 132369114552128 metric_logger.py:185] completed step: 3, seconds: 0.412, TFLOP/s/device: 32.956, Tokens/s/device: 4967.546, total_weights: 65536, loss: 9.980
I0419 10:08:39.019848 132369114552128 checkpointing.py:772] Waiting for step 5 to finish before checkpoint...
I0419 10:08:39.310052 132369114552128 checkpointing.py:776] Waited 0.29016804695129395 seconds for step 5 to finish before starting checkpointing.
I0419 10:08:39.312857 132369114552128 checkpoint_manager.py:2024] [process=7][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 10:08:41.159465    2569 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0419 10:08:43.482502 132250196752128 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_15_ocdbt_false/checkpoints/0/items/array_metadatas/process_7
I0419 10:08:48.957822 132250188359424 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/gbytes_per_sec: 137.069 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 11.524056911468506 s) (per-host)
I0419 10:08:48.957924 132250188359424 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 10.972882s.
I0419 10:08:55.187552 132250188359424 async_checkpointer.py:144] [process=7][thread=async_save] Background save thread done. Time taken: 17.202480s.
I0419 10:08:55.187757 132245364913920 async_checkpointer.py:273] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 10:08:55.187816 132245364913920 async_checkpointer.py:283] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0419 10:08:55.187863 132245364913920 checkpoint_manager.py:2133] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0419 10:08:55.189540 132245364913920 checkpoint_manager.py:2142] [process=7][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0419 10:08:55.189738 132369114552128 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 10:08:55.189874 132369114552128 checkpoint_manager.py:1458] Waiting for previous save to complete took 15.877019 seconds. If this number is high, consider checkpointing less frequently.
I0419 10:08:55.191796 132369114552128 checkpoint_manager.py:1518] [process=7] Saving checkpoint at step 5
I0419 10:08:55.195742 132369114552128 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_15_ocdbt_false/checkpoints/5.
I0419 10:08:56.581779 132369114552128 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 10:08:56.581879 132369114552128 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 10:08:56.627673 132369114552128 base_pytree_checkpoint_handler.py:153] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.047436s
I0419 10:08:56.627839 132369114552128 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.112 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.7305529117584229 s) (per-host)
I0419 10:08:56.627892 132369114552128 base_pytree_checkpoint_handler.py:737] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.730613s (batch_requests_ready=0.681148s, total_serialization_initiated=0.049399s, others=0.000066s)
I0419 10:08:56.627981 132369114552128 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.735798s (all_items=0.000015s, per_item={'items': '0.00001550'}, temp_paths=0.735783)
I0419 10:08:56.628853 132241078339328 async_checkpointer.py:79] [process=7][thread=async_save] Background save thread started.
I0419 10:08:56.629012 132369114552128 async_checkpointer.py:561] Finished blocking save. Time taken: 1.437146s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_15_ocdbt_false/checkpoints/5.
I0419 10:08:56.630961 132369114552128 checkpoint_manager.py:1566] [process=7][thread=MainThread][step=5] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 10:08:56.631163 132245364913920 async_checkpointer.py:265] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0419 10:08:56.631280 132369114552128 standard_logger.py:34] {'step': 5, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_15_ocdbt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776593319.3128297, 'wait_for_prev_duration_secs': 15.877019166946411, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776593335.1918366, 'checkpointer_blocking_duration_secs': 1.437279224395752, 'get_old_steps_start_time': 1776593336.6291356, 'get_old_steps_duration_secs': 2.6941299438476562e-05, 'checkpoint_manager_blocking_start_time': 1776593319.3107128, 'checkpoint_manager_blocking_duration_secs': 17.320533514022827}
I0419 10:08:56.631383 132369114552128 checkpointing.py:408] Started an asynchronous checkpoint save for step 5
I0419 10:08:56.631969 132369114552128 metric_logger.py:185] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.723, Tokens/s/device: 13373.297, total_weights: 65536, loss: 9.460
I0419 10:08:56.637773 132369114552128 metric_logger.py:185] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.327, Tokens/s/device: 13916.542, total_weights: 65536, loss: 8.959
I0419 10:09:16.616430 132369114552128 metric_logger.py:185] completed step: 6, seconds: 17.617, TFLOP/s/device: 0.771, Tokens/s/device: 116.254, total_weights: 65536, loss: 8.469
I0419 10:09:16.764041 132369114552128 metric_logger.py:185] completed step: 7, seconds: 19.833, TFLOP/s/device: 0.685, Tokens/s/device: 103.265, total_weights: 65536, loss: 8.003
I0419 10:09:16.911277 132369114552128 metric_logger.py:185] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.319, Tokens/s/device: 13463.144, total_weights: 65536, loss: 7.572
I0419 10:09:17.058332 132369114552128 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0419 10:09:17.059020 132369114552128 checkpointing.py:776] Waited 0.0007073879241943359 seconds for step 9 to finish before starting checkpointing.
I0419 10:09:17.060991 132369114552128 checkpoint_manager.py:2024] [process=7][thread=MainThread][step=5][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 10:09:20.086474 132250196752128 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_15_ocdbt_false/checkpoints/5/items/array_metadatas/process_7
I0419 10:09:26.662506 132241078339328 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/gbytes_per_sec: 51.344 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 30.765178680419922 s) (per-host)
I0419 10:09:26.662655 132241078339328 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 30.033688s.
I0419 10:09:32.422418 132241078339328 async_checkpointer.py:144] [process=7][thread=async_save] Background save thread done. Time taken: 35.793436s.
I0419 10:09:32.422701 132245364913920 async_checkpointer.py:273] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 10:09:32.422777 132245364913920 async_checkpointer.py:283] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0419 10:09:32.422824 132245364913920 checkpoint_manager.py:2133] [process=7][thread=save_finalize][step=5] CheckpointManager Save Finalize is syncing with other hosts...
I0419 10:09:32.424461 132245364913920 checkpoint_manager.py:2142] [process=7][thread=save_finalize][step=5] CheckpointManager Save Finalize is done on all hosts.
I0419 10:09:32.424649 132369114552128 checkpoint_manager.py:2036] [process=7][thread=MainThread][step=5][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=5.
W0419 10:09:32.424770 132369114552128 checkpoint_manager.py:1458] Waiting for previous save to complete took 15.363791 seconds. If this number is high, consider checkpointing less frequently.
I0419 10:09:32.426388 132369114552128 checkpoint_manager.py:1518] [process=7] Saving checkpoint at step 9
I0419 10:09:32.430007 132369114552128 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_15_ocdbt_false/checkpoints/9.
I0419 10:09:32.968125 132369114552128 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0419 10:09:32.968222 132369114552128 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 10:09:33.011491 132369114552128 base_pytree_checkpoint_handler.py:153] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044393s
I0419 10:09:33.011676 132369114552128 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.071 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.3042008876800537 s) (per-host)
I0419 10:09:33.011728 132369114552128 base_pytree_checkpoint_handler.py:737] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.304262s (batch_requests_ready=0.257696s, total_serialization_initiated=0.046499s, others=0.000067s)
I0419 10:09:33.011819 132369114552128 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.308638s (all_items=0.000012s, per_item={'items': '0.00001168'}, temp_paths=0.308626)
I0419 10:09:33.012571 132242695796480 async_checkpointer.py:79] [process=7][thread=async_save] Background save thread started.
I0419 10:09:33.012699 132369114552128 async_checkpointer.py:561] Finished blocking save. Time taken: 0.586250s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_test_pipeline_scan_nnx_20260419_085454/linen_xpk_test_pipeline_scan_nnx_20260419_085454_15_ocdbt_false/checkpoints/9.
I0419 10:09:33.054482 132369114552128 checkpoint_manager.py:1566] [process=7][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0419 10:09:33.054826 132245364913920 async_checkpointer.py:265] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0419 10:09:33.054998 132369114552128 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_15_ocdbt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776593357.060963, 'wait_for_prev_duration_secs': 15.363790512084961, 'time_between_consecutive_saves_sec': 21.87138295173645, 'checkpointer_blocking_start_time': 1776593372.4264274, 'checkpointer_blocking_duration_secs': 0.586416482925415, 'get_old_steps_start_time': 1776593373.0128572, 'get_old_steps_duration_secs': 1.9788742065429688e-05, 'checkpoint_manager_blocking_start_time': 1776593357.0592508, 'checkpoint_manager_blocking_duration_secs': 15.995715856552124}
I0419 10:09:33.055113 132369114552128 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0419 10:09:33.055156 132369114552128 checkpoint_manager.py:2024] [process=7][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0419 10:09:37.634485 132250196752128 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_15_ocdbt_false/checkpoints/9/items/array_metadatas/process_7
I0419 10:09:43.589899 132242695796480 base_pytree_checkpoint_handler.py:129] [process=7] /jax/checkpoint/write/gbytes_per_sec: 145.152 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 10.882382154464722 s) (per-host)
I0419 10:09:43.590014 132242695796480 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 10.577245s.
I0419 10:09:50.305872 132242695796480 async_checkpointer.py:144] [process=7][thread=async_save] Background save thread done. Time taken: 17.293086s.
I0419 10:09:50.306161 132245364913920 async_checkpointer.py:273] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0419 10:09:50.306285 132245364913920 async_checkpointer.py:283] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0419 10:09:50.306341 132245364913920 checkpoint_manager.py:2133] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0419 10:09:50.307862 132245364913920 checkpoint_manager.py:2142] [process=7][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0419 10:09:50.308039 132369114552128 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 10:09:50.308196 132369114552128 checkpoint_manager.py:2013] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0419 10:09:50.308959 132369114552128 metric_logger.py:185] completed step: 9, seconds: 0.148, TFLOP/s/device: 92.111, Tokens/s/device: 13883.899, total_weights: 65536, loss: 7.181
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sun Apr 19 10:10:02 UTC 2026
EXIT_CODE=0
NNX  ·  574ad3fb9  ·  test_pipeline_scan_nnx_20260419_085454  ·  full log
XPK Start: Sun Apr 19 11:54:44 UTC 2026
2026-04-19 11:54:48.145232: 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:1776599688.158016      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:1776599688.161675      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:1776599688.172949      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776599688.172968      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776599688.172971      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776599688.172973      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-19 11:55:07.238985: 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 11:55:07.759380 138512525727552 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-19 11:55:16,800:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0419 11:55:16.800806 138512525727552 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-19 11:55:16,803:jax._src.distributed:157: Connecting to JAX distributed service on mt-15-ocdbt-false-sv-zxqaf-slice-job-0-0.mt-15-ocdbt-false-sv-zxqaf:8482
I0419 11:55:16.803260 138512525727552 distributed.py:157] Connecting to JAX distributed service on mt-15-ocdbt-false-sv-zxqaf-slice-job-0-0.mt-15-ocdbt-false-sv-zxqaf:8482
I0419 11:55:18.572563 138512525727552 max_utils.py:284] Jax distributed system initialized!
I0419 11:55:25.315888 138512525727552 max_utils.py:800] System Information: Jax Version: 0.8.1
I0419 11:55:25.315990 138512525727552 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0419 11:55:25.316030 138512525727552 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 11:55:25.316065 138512525727552 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 11:55:34 UTC 2026
EXIT_CODE=1