MaxView

‹ 13_scan_layers_trueCase: 14_async_ckpt_false_resume14_async_ckpt_false_save ›

Metrics: Linen vs NNX  ·  main

MetricLinen  574ad3fb9NNX  574ad3fb9Diff (NNX − Linen)
Parameters1.104 billion
Final loss5.3910
TFLOP/s92.197
Tok/s13896.9
Avg s/step14.136
Memory %1.38
JAX0.9.20.9.2

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

Linen  ·  574ad3fb9  ·  main_20260418_125719  ·  full log
XPK Start: Sat Apr 18 14:02:48 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-18 14:03:11.971104: 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)
I0418 14:03:12.504642 138421303490368 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 14:03:21.545338 138421303490368 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 14:03:21.547563 138421303490368 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--7bo9w-slice-job-0-0.mt-14-async-ckpt-false--7bo9w:8482
I0418 14:03:22.665377 138421303490368 max_utils.py:284] Jax distributed system initialized!
I0418 14:03:28.768867 138421303490368 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 14:03:28.768968 138421303490368 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 14:03:28.769008 138421303490368 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0418 14:03:28.769043 138421303490368 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 14:03:29.463843 138421303490368 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 14:03:29.464141 138421303490368 checkpointing.py:677] Setting up checkpoint logger...
I0418 14:03:29.464195 138421303490368 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 14:03:29.464239 138421303490368 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 14:03:29.464569 138421303490368 base_pytree_checkpoint_handler.py:441] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7de401050500>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 14:03:30.778396 138421303490368 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 14:03:30.778631 138421303490368 checkpoint_manager.py:708] [process=7][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dcedc648f80>}, handler_registry=None
I0418 14:03:30.778874 138421303490368 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dcedc648f80>` 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`.
I0418 14:03:30.778922 138421303490368 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7de2f49d3d40>` 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`.
I0418 14:03:30.778958 138421303490368 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 0x7dcedc648f80>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7dcedc648f80>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7de2f49d3d40>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7de2f49d3d40>}).
I0418 14:03:30.779284 138421303490368 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 14:03:33.679362 138299733690112 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776520765011180736, 'commit_timestamp_nsecs': 1776520813678751333, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/5/_CHECKPOINT_METADATA
I0418 14:03:33.935834 138299725297408 checkpoint_manager.py:1871] Missing metrics for step 9
I0418 14:03:35.183068 138421303490368 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints
I0418 14:03:35.737831 138421303490368 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=False, 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_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7dcf005d5a60>
I0418 14:03:35.738007 138421303490368 checkpointing.py:301] Checkpoint manager created!
I0418 14:03:36.659618 138421303490368 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 14:03:36.659733 138421303490368 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 14:03:37.035174 138421303490368 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 14:03:37.035263 138421303490368 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 14:03:37.051537 138421303490368 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 14:03:37.051596 138421303490368 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 14:03:37.075856 138421303490368 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 14:03:37.075927 138421303490368 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 14:03:37.092201 138421303490368 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 14:03:37.092257 138421303490368 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 14:03:37.108491 138421303490368 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0418 14:03:37.108549 138421303490368 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 14:03:37.133031 138421303490368 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 14:03:37.133116 138421303490368 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 14:03:37.154472 138421303490368 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 14:03:37.154535 138421303490368 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 14:03:37.371627 138421303490368 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 14:03:37.371733 138421303490368 checkpointing.py:581] restoring from this run's directory step 9
I0418 14:03:38.450139 138421303490368 event_tracking.py:70] [process=7] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/9.
I0418 14:03:40.256812 138421303490368 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/9.
I0418 14:03:40.257269 138421303490368 event_tracking.py:125] [process=7] [sync] Finished blocking load in 1.81 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/9.
I0418 14:03:42.638799    1455 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 14:03:48.904794 138421303490368 jax_array_handlers.py:843] [process=7] /jax/orbax/read/worker/io/requested throughput: 251.961 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.271896839141846 s) (per-host)
I0418 14:03:48.910749 138421303490368 base_pytree_checkpoint_handler.py:130] [process=7] /jax/checkpoint/read/gbytes_per_sec: 237.222 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.67136025428772 s) (per-host)
I0418 14:03:49.349707 138421303490368 event_tracking.py:138] [process=7] [sync] Finished load in 10.90 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/9
I0418 14:03:49.349868 138421303490368 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints', 'checkpointer_start_time': 1776521018.45004, 'checkpointer_duration_secs': 10.899787902832031, 'checkpoint_manager_start_time': 1776521017.3719752, 'checkpoint_manager_duration_secs': 11.977855205535889}
fsdp: 32
I0418 14:03:49.763433 138421303490368 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 14:03:49.763555 138421303490368 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 14:03:49.763607 138421303490368 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0418 14:03:49.763664 138421303490368 maxtext_utils.py:1654]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0418 14:03:49.763715 138421303490368 maxtext_utils.py:1654]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 14:03:49.763753 138421303490368 maxtext_utils.py:1654]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0418 14:03:49.763804 138421303490368 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0418 14:03:49.763854 138421303490368 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0418 14:03:49.763893 138421303490368 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0418 14:03:49.763929 138421303490368 maxtext_utils.py:1654]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0418 14:03:49.763975 138421303490368 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0418 14:03:49.764021 138421303490368 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0418 14:03:50.245910 138421303490368 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 14:03:50.246003 138421303490368 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 14:03:50.261141 138421303490368 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 14:03:50.261197 138421303490368 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 14:04:01.103818 138421303490368 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.
I0418 14:04:01.104613 138421303490368 metric_logger.py:301] number parameters: 1.104 billion
I0418 14:04:12.209399 138421303490368 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0418 14:04:12.631437 138421303490368 checkpointing.py:776] Waited 0.4220151901245117 seconds for step 10 to finish before starting checkpointing.
I0418 14:04:12.633999 138421303490368 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 14:04:12.636016 138421303490368 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 10
I0418 14:04:12.638386 138421303490368 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/10.
I0418 14:04:15.600775 138421303490368 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 14:04:15.602185 138421303490368 future.py:372] [process=7][thread=MainThread][operation_id=1] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0418 14:04:16.965948 138421303490368 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 14:04:16.966047 138421303490368 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
I0418 14:04:17.251302 138421303490368 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.286392s
I0418 14:04:17.251481 138421303490368 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.306 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.29070281982421875 s) (per-host)
I0418 14:04:17.251533 138421303490368 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.290766s (batch_requests_ready=0.002343s, total_serialization_initiated=0.288351s, others=0.000073s)
I0418 14:04:17.251629 138421303490368 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.650941s (all_items=0.000035s, per_item={'items': '0.00003529'}, temp_paths=1.650906)
I0418 14:04:17.251674 138421303490368 future.py:372] [process=7][thread=MainThread][operation_id=1] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0418 14:04:17.251714 138421303490368 future.py:372] [process=7][thread=MainThread][operation_id=1] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0418 14:04:19.292307 138299146495744 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/10/items/array_metadatas/process_7
I0418 14:04:56.510510 138421303490368 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 39.940 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.549715757369995 s) (per-host)
I0418 14:05:01.377193 138421303490368 event_tracking.py:125] [process=7] [sync] Finished blocking save in 48.74 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/10.
I0418 14:05:05.800133 138421303490368 event_tracking.py:138] [process=7] [sync] Finished save in 53.16 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/10
I0418 14:05:05.802740 138421303490368 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0418 14:05:05.804303 138421303490368 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=10] CheckpointManager Save Finalize is done on all hosts.
I0418 14:05:05.804352 138421303490368 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=10] Finished synchronous save.
I0418 14:05:05.804404 138421303490368 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776521052.6339817, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776521052.6360533, 'checkpointer_blocking_duration_secs': 53.16419696807861, 'get_old_steps_start_time': 1776521105.8002706, 'get_old_steps_duration_secs': 2.765655517578125e-05, 'checkpoint_manager_blocking_start_time': 1776521052.6319127, 'checkpoint_manager_blocking_duration_secs': 53.172465085983276}
I0418 14:05:05.804488 138421303490368 checkpointing.py:410] Saved a checkpoint at step 10.
I0418 14:05:05.804532 138421303490368 max_utils.py:750] 
Memstats: After params initialized:
I0418 14:05:05.804578 138421303490368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0418 14:05:05.804608 138421303490368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0418 14:05:05.804634 138421303490368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0418 14:05:05.804657 138421303490368 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0418 14:05:06.123531 138421303490368 metric_logger.py:196] completed step: 10, seconds: 11.105, TFLOP/s/device: 1.224, Tokens/s/device: 184.427, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0418 14:05:06.387708 138421303490368 metric_logger.py:196] completed step: 11, seconds: 53.913, TFLOP/s/device: 0.252, Tokens/s/device: 37.987, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0418 14:05:06.535434 138421303490368 metric_logger.py:196] completed step: 12, seconds: 0.117, TFLOP/s/device: 116.052, Tokens/s/device: 17492.612, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0418 14:05:06.682817 138421303490368 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.651, Tokens/s/device: 13362.390, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0418 14:05:06.687470 138421303490368 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0418 14:05:06.976784 138421303490368 checkpointing.py:776] Waited 0.289278507232666 seconds for step 15 to finish before starting checkpointing.
I0418 14:05:06.979815 138421303490368 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 14:05:06.981542 138421303490368 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 15
I0418 14:05:06.983431 138421303490368 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/15.
I0418 14:05:11.167829 138421303490368 future.py:372] [process=7][thread=MainThread][operation_id=2] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0418 14:05:12.564189 138421303490368 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 14:05:12.564286 138421303490368 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
I0418 14:05:12.591565 138421303490368 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.028632s
I0418 14:05:12.591742 138421303490368 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 47.521 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03246116638183594 s) (per-host)
I0418 14:05:12.591798 138421303490368 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.032526s (batch_requests_ready=0.001768s, total_serialization_initiated=0.030687s, others=0.000072s)
I0418 14:05:12.591897 138421303490368 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.425488s (all_items=0.000028s, per_item={'items': '0.00002789'}, temp_paths=1.425460)
I0418 14:05:12.591944 138421303490368 future.py:372] [process=7][thread=MainThread][operation_id=2] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0418 14:05:12.591984 138421303490368 future.py:372] [process=7][thread=MainThread][operation_id=2] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0418 14:05:15.075154 138299146495744 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/15/items/array_metadatas/process_7
I0418 14:05:51.545622 138421303490368 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 40.517 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.986303091049194 s) (per-host)
I0418 14:05:56.671622 138421303490368 event_tracking.py:125] [process=7] [sync] Finished blocking save in 49.69 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/15.
I0418 14:06:00.962941 138421303490368 event_tracking.py:138] [process=7] [sync] Finished save in 53.98 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/15
I0418 14:06:00.965562 138421303490368 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0418 14:06:00.967216 138421303490368 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=15] CheckpointManager Save Finalize is done on all hosts.
I0418 14:06:00.967265 138421303490368 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=15] Finished synchronous save.
I0418 14:06:00.967317 138421303490368 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776521106.9797945, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': 1.1754529476165771, 'checkpointer_blocking_start_time': 1776521106.981579, 'checkpointer_blocking_duration_secs': 53.9814772605896, 'get_old_steps_start_time': 1776521160.9631052, 'get_old_steps_duration_secs': 2.6702880859375e-05, 'checkpoint_manager_blocking_start_time': 1776521106.9774344, 'checkpoint_manager_blocking_duration_secs': 53.98985719680786}
I0418 14:06:00.967400 138421303490368 checkpointing.py:410] Saved a checkpoint at step 15.
I0418 14:06:00.968189 138421303490368 metric_logger.py:196] completed step: 14, seconds: 0.149, TFLOP/s/device: 91.386, Tokens/s/device: 13774.642, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0418 14:06:00.973803 138421303490368 metric_logger.py:196] completed step: 15, seconds: 0.146, TFLOP/s/device: 92.792, Tokens/s/device: 13986.683, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0418 14:06:22.316992 138421303490368 metric_logger.py:196] completed step: 16, seconds: 54.285, TFLOP/s/device: 0.250, Tokens/s/device: 37.727, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0418 14:06:22.464533 138421303490368 metric_logger.py:196] completed step: 17, seconds: 21.197, TFLOP/s/device: 0.641, Tokens/s/device: 96.618, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0418 14:06:22.612123 138421303490368 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.117, Tokens/s/device: 13432.679, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0418 14:06:22.758891 138421303490368 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0418 14:06:22.759528 138421303490368 checkpointing.py:776] Waited 0.0006573200225830078 seconds for step 19 to finish before starting checkpointing.
I0418 14:06:22.761633 138421303490368 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 14:06:22.763477 138421303490368 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 19
I0418 14:06:22.764853 138421303490368 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/19.
I0418 14:06:26.659030 138421303490368 future.py:372] [process=7][thread=MainThread][operation_id=3] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0418 14:06:28.524394 138421303490368 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 14:06:28.524492 138421303490368 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
I0418 14:06:28.552812 138421303490368 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.029743s
I0418 14:06:28.552988 138421303490368 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 46.173 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.033408403396606445 s) (per-host)
I0418 14:06:28.553042 138421303490368 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.033473s (batch_requests_ready=0.001776s, total_serialization_initiated=0.031627s, others=0.000070s)
I0418 14:06:28.553151 138421303490368 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.895334s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=1.895317)
I0418 14:06:28.553194 138421303490368 future.py:372] [process=7][thread=MainThread][operation_id=3] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0418 14:06:28.553230 138421303490368 future.py:372] [process=7][thread=MainThread][operation_id=3] _SignalingThread.join() waiting for signals ([]) blocking the main thread will slow down blocking save times. This is likely due to main thread calling result() on a CommitFuture.
I0418 14:06:31.476715 138299146495744 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/19/items/array_metadatas/process_7
I0418 14:07:07.455517 138421303490368 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 40.569 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.935898542404175 s) (per-host)
I0418 14:07:13.531594 138421303490368 event_tracking.py:125] [process=7] [sync] Finished blocking save in 50.77 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/19.
I0418 14:07:17.885741 138421303490368 event_tracking.py:138] [process=7] [sync] Finished save in 55.12 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints/19
I0418 14:07:17.888382 138421303490368 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0418 14:07:17.890140 138421303490368 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=19] CheckpointManager Save Finalize is done on all hosts.
I0418 14:07:17.890191 138421303490368 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=19] Finished synchronous save.
I0418 14:07:17.890238 138421303490368 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_125719/linen_xpk_main_20260418_125719_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776521182.7616172, 'wait_for_prev_duration_secs': 5.7697296142578125e-05, 'time_between_consecutive_saves_sec': 21.794362545013428, 'checkpointer_blocking_start_time': 1776521182.7635143, 'checkpointer_blocking_duration_secs': 55.12234544754028, 'get_old_steps_start_time': 1776521237.8858728, 'get_old_steps_duration_secs': 2.0742416381835938e-05, 'checkpoint_manager_blocking_start_time': 1776521182.7597544, 'checkpoint_manager_blocking_duration_secs': 55.130462646484375}
I0418 14:07:17.890323 138421303490368 checkpointing.py:410] Saved a checkpoint at step 19.
I0418 14:07:17.890356 138421303490368 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 14:07:17.890387 138421303490368 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 14:07:17.890985 138421303490368 metric_logger.py:196] completed step: 19, seconds: 0.147, TFLOP/s/device: 92.197, Tokens/s/device: 13896.900, total_weights: 65536, loss: 5.391, lm_loss: 5.391, perplexity: 219.349
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Sat Apr 18 14:07:29 UTC 2026
EXIT_CODE=0
NNX  ·  574ad3fb9  ·  main_20260418_125719  ·  full log
XPK Start: Sat Apr 18 13:31:24 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
2026-04-18 13:31:48.552932: 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)
I0418 13:31:49.094591 132143193315136 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 13:31:58.135782 132143193315136 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 13:31:58.138108 132143193315136 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--l4qhz-slice-job-0-0.mt-14-async-ckpt-false--l4qhz:8482
I0418 13:31:59.759476 132143193315136 max_utils.py:284] Jax distributed system initialized!
I0418 13:32:05.852662 132143193315136 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 13:32:05.852766 132143193315136 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 13:32:05.852807 132143193315136 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Mar 4 2026 11:32:08 (1772652728) cl/878335365
I0418 13:32:05.852871 132143193315136 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 744, in <module>
    app.run(main)
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 367, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 312, in _run_main
    sys.exit(main(argv))
             ^^^^^^^^^^
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 740, in main
    train_func()
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 730, in train_func
    run(config, recorder, diagnostic_config)
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 709, in run
    train_loop(config, recorder)
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 536, in train_loop
    ) = train_utils.setup_train_loop(config, recorder)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/deps/src/maxtext/utils/train_utils.py", line 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: Sat Apr 18 13:32:14 UTC 2026
EXIT_CODE=1