MaxView

‹ 13_scan_layers_trueCase: 14_async_ckpt_false_resume14_async_ckpt_false_save ›

Metrics: Linen vs NNX  ·  main

MetricLinen  147168c3aNNX  1b5e4eb5aDiff (NNX − Linen)
Parameters1.104 billion
Final loss5.3910
TFLOP/s91.883
Tok/s13849.6
Avg s/step15.200
Memory %1.38
JAX0.9.20.9.2

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

Linen  ·  147168c3a  ·  main_20260417_235819  ·  full log
XPK Start: Sat Apr 18 01:18:23 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 01:18:47.753709: 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 01:18:48.295063 133002574710592 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 01:18:57.337010 133002574710592 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 01:18:57.339300 133002574710592 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--2symr-slice-job-0-0.mt-14-async-ckpt-false--2symr:8482
I0418 01:18:58.325747 133002574710592 max_utils.py:284] Jax distributed system initialized!
I0418 01:19:03.542783 133002574710592 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 01:19:03.542904 133002574710592 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 01:19:03.542945 133002574710592 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 01:19:03.542980 133002574710592 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 01:19:04.236917 133002574710592 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 01:19:04.237186 133002574710592 checkpointing.py:677] Setting up checkpoint logger...
I0418 01:19:04.237242 133002574710592 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 01:19:04.237287 133002574710592 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 01:19:04.237631 133002574710592 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 0x78f679b18140>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 01:19:05.942509 133002574710592 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 01:19:05.942750 133002574710592 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78e2c451dc70>}, handler_registry=None
I0418 01:19:05.942998 133002574710592 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78e2c451dc70>` 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 01:19:05.943054 133002574710592 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78e2c45ca030>` 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 01:19:05.943089 133002574710592 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 0x78e2c451dc70>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78e2c451dc70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78e2c45ca030>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78e2c45ca030>}).
I0418 01:19:05.943397 133002574710592 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 01:19:09.989411 132884115474176 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776474848679528123, 'commit_timestamp_nsecs': 1776474893094793786, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/0/_CHECKPOINT_METADATA
I0418 01:19:10.667387 132884115474176 checkpoint_manager.py:1871] Missing metrics for step 0
I0418 01:19:11.511039 133002574710592 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints
I0418 01:19:11.968488 133002574710592 checkpoint_manager.py:929] [process=6][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_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x78e2c45c81a0>
I0418 01:19:11.968669 133002574710592 checkpointing.py:301] Checkpoint manager created!
I0418 01:19:12.907417 133002574710592 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 01:19:12.907533 133002574710592 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 01:19:13.285393 133002574710592 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 01:19:13.285480 133002574710592 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 01:19:13.302193 133002574710592 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 01:19:13.302253 133002574710592 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 01:19:13.325956 133002574710592 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 01:19:13.326022 133002574710592 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 01:19:13.342493 133002574710592 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 01:19:13.342559 133002574710592 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 01:19:13.359011 133002574710592 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 01:19:13.359070 133002574710592 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 01:19:13.385685 133002574710592 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 01:19:13.385756 133002574710592 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 01:19:13.407194 133002574710592 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 01:19:13.407260 133002574710592 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 01:19:13.622101 133002574710592 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 01:19:13.622205 133002574710592 checkpointing.py:581] restoring from this run's directory step 9
I0418 01:19:13.871240 133002574710592 event_tracking.py:70] [process=6] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/9.
I0418 01:19:14.542358 133002574710592 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/9.
I0418 01:19:14.542778 133002574710592 event_tracking.py:125] [process=6] [sync] Finished blocking load in 0.67 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/9.
I0418 01:19:15.942344    1413 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 01:19:22.410933 133002574710592 jax_array_handlers.py:843] [process=6] /jax/orbax/read/worker/io/requested throughput: 244.074 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.474571704864502 s) (per-host)
I0418 01:19:22.416393 133002574710592 base_pytree_checkpoint_handler.py:130] [process=6] /jax/checkpoint/read/gbytes_per_sec: 230.029 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.879986047744751 s) (per-host)
I0418 01:19:25.015124 133002574710592 event_tracking.py:138] [process=6] [sync] Finished load in 11.14 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/9
I0418 01:19:25.015275 133002574710592 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints', 'checkpointer_start_time': 1776475153.871166, 'checkpointer_duration_secs': 11.144078969955444, 'checkpoint_manager_start_time': 1776475153.6224968, 'checkpoint_manager_duration_secs': 11.39275050163269}
fsdp: 32
I0418 01:19:25.428491 133002574710592 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 01:19:25.428611 133002574710592 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 01:19:25.428663 133002574710592 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 01:19:25.428720 133002574710592 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 01:19:25.428771 133002574710592 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 01:19:25.428809 133002574710592 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 01:19:25.428885 133002574710592 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 01:19:25.428939 133002574710592 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 01:19:25.428979 133002574710592 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 01:19:25.429017 133002574710592 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 01:19:25.429063 133002574710592 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0418 01:19:25.429107 133002574710592 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0418 01:19:25.920440 133002574710592 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 01:19:25.920535 133002574710592 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 01:19:25.935965 133002574710592 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 01:19:25.936025 133002574710592 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 01:19:36.943305 133002574710592 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 01:19:36.944101 133002574710592 metric_logger.py:301] number parameters: 1.104 billion
I0418 01:19:48.331865 133002574710592 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0418 01:19:48.484031 133002574710592 checkpointing.py:776] Waited 0.1521768569946289 seconds for step 10 to finish before starting checkpointing.
I0418 01:19:48.486445 133002574710592 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 01:19:48.488382 133002574710592 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 10
I0418 01:19:48.489726 133002574710592 event_tracking.py:70] [process=6] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/10.
I0418 01:19:52.617586 133002574710592 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 01:19:52.618921 133002574710592 future.py:372] [process=6][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 01:19:53.974278 133002574710592 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 01:19:53.974374 133002574710592 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 01:19:54.257952 133002574710592 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.284965s
I0418 01:19:54.258126 133002574710592 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.335 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28912878036499023 s) (per-host)
I0418 01:19:54.258177 133002574710592 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.289191s (batch_requests_ready=0.002398s, total_serialization_initiated=0.286722s, others=0.000071s)
I0418 01:19:54.265544 133002574710592 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.648048s (all_items=0.000031s, per_item={'items': '0.00003076'}, temp_paths=1.648017)
I0418 01:19:54.265616 133002574710592 future.py:372] [process=6][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 01:19:54.265661 133002574710592 future.py:372] [process=6][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 01:19:56.569254 132883494708992 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/10/items/array_metadatas/process_6
I0418 01:20:33.158897 133002574710592 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 40.306 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.18986368179321 s) (per-host)
I0418 01:20:37.619962 133002574710592 event_tracking.py:125] [process=6] [sync] Finished blocking save in 49.13 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/10.
I0418 01:20:43.645650 133002574710592 event_tracking.py:138] [process=6] [sync] Finished save in 55.16 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/10
I0418 01:20:43.647681 133002574710592 checkpoint_manager.py:2137] [process=6][thread=MainThread][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0418 01:20:43.649689 133002574710592 checkpoint_manager.py:2146] [process=6][thread=MainThread][step=10] CheckpointManager Save Finalize is done on all hosts.
I0418 01:20:43.649759 133002574710592 checkpoint_manager.py:1581] [process=6][thread=MainThread][step=10] Finished synchronous save.
I0418 01:20:43.649832 133002574710592 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776475188.4864266, 'wait_for_prev_duration_secs': 6.222724914550781e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776475188.4884207, 'checkpointer_blocking_duration_secs': 55.15734601020813, 'get_old_steps_start_time': 1776475243.6457868, 'get_old_steps_duration_secs': 6.699562072753906e-05, 'checkpoint_manager_blocking_start_time': 1776475188.4845583, 'checkpoint_manager_blocking_duration_secs': 55.165236473083496}
I0418 01:20:43.649939 133002574710592 checkpointing.py:410] Saved a checkpoint at step 10.
I0418 01:20:43.649990 133002574710592 max_utils.py:750] 
Memstats: After params initialized:
I0418 01:20:43.650052 133002574710592 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0418 01:20:43.650091 133002574710592 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0418 01:20:43.650131 133002574710592 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0418 01:20:43.650164 133002574710592 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0418 01:20:43.963930 133002574710592 metric_logger.py:196] completed step: 10, seconds: 11.388, TFLOP/s/device: 1.193, Tokens/s/device: 179.844, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0418 01:20:44.142784 133002574710592 metric_logger.py:196] completed step: 11, seconds: 55.631, TFLOP/s/device: 0.244, Tokens/s/device: 36.814, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0418 01:20:44.290190 133002574710592 metric_logger.py:196] completed step: 12, seconds: 0.032, TFLOP/s/device: 427.000, Tokens/s/device: 64362.036, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0418 01:20:44.437619 133002574710592 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.680, Tokens/s/device: 13366.750, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0418 01:20:44.445479 133002574710592 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0418 01:20:44.731977 133002574710592 checkpointing.py:776] Waited 0.28646326065063477 seconds for step 15 to finish before starting checkpointing.
I0418 01:20:44.735008 133002574710592 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 01:20:44.736541 133002574710592 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 15
I0418 01:20:44.738280 133002574710592 event_tracking.py:70] [process=6] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/15.
I0418 01:20:50.321319 133002574710592 future.py:372] [process=6][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 01:20:52.978618 133002574710592 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 01:20:52.978718 133002574710592 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 01:20:53.006153 133002574710592 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.028451s
I0418 01:20:53.006336 133002574710592 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 47.505 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03247189521789551 s) (per-host)
I0418 01:20:53.006396 133002574710592 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.032541s (batch_requests_ready=0.001975s, total_serialization_initiated=0.030488s, others=0.000078s)
I0418 01:20:53.006503 133002574710592 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 2.686542s (all_items=0.000026s, per_item={'items': '0.00002599'}, temp_paths=2.686516)
I0418 01:20:53.006544 133002574710592 future.py:372] [process=6][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 01:20:53.006588 133002574710592 future.py:372] [process=6][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 01:20:55.834121 132883486316288 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/15/items/array_metadatas/process_6
I0418 01:21:33.068046 133002574710592 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 39.397 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 40.09415888786316 s) (per-host)
I0418 01:21:37.810927 133002574710592 event_tracking.py:125] [process=6] [sync] Finished blocking save in 53.07 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/15.
I0418 01:21:46.373628 133002574710592 event_tracking.py:138] [process=6] [sync] Finished save in 61.64 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/15
I0418 01:21:46.376155 133002574710592 checkpoint_manager.py:2137] [process=6][thread=MainThread][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0418 01:21:46.378016 133002574710592 checkpoint_manager.py:2146] [process=6][thread=MainThread][step=15] CheckpointManager Save Finalize is done on all hosts.
I0418 01:21:46.378067 133002574710592 checkpoint_manager.py:1581] [process=6][thread=MainThread][step=15] Finished synchronous save.
I0418 01:21:46.378120 133002574710592 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776475244.7349896, 'wait_for_prev_duration_secs': 5.9604644775390625e-05, 'time_between_consecutive_saves_sec': 1.0852458477020264, 'checkpointer_blocking_start_time': 1776475244.736578, 'checkpointer_blocking_duration_secs': 61.6371750831604, 'get_old_steps_start_time': 1776475306.3737729, 'get_old_steps_duration_secs': 2.5033950805664062e-05, 'checkpoint_manager_blocking_start_time': 1776475244.7326114, 'checkpoint_manager_blocking_duration_secs': 61.64548468589783}
I0418 01:21:46.378206 133002574710592 checkpointing.py:410] Saved a checkpoint at step 15.
I0418 01:21:46.379043 133002574710592 metric_logger.py:196] completed step: 14, seconds: 0.148, TFLOP/s/device: 92.011, Tokens/s/device: 13868.855, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0418 01:21:46.385116 133002574710592 metric_logger.py:196] completed step: 15, seconds: 0.150, TFLOP/s/device: 90.382, Tokens/s/device: 13623.362, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0418 01:22:08.787478 133002574710592 metric_logger.py:196] completed step: 16, seconds: 61.938, TFLOP/s/device: 0.219, Tokens/s/device: 33.065, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0418 01:22:08.935072 133002574710592 metric_logger.py:196] completed step: 17, seconds: 22.257, TFLOP/s/device: 0.610, Tokens/s/device: 92.017, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0418 01:22:09.082372 133002574710592 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.465, Tokens/s/device: 13485.129, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0418 01:22:09.229262 133002574710592 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0418 01:22:09.229995 133002574710592 checkpointing.py:776] Waited 0.0007522106170654297 seconds for step 19 to finish before starting checkpointing.
I0418 01:22:09.232030 133002574710592 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 01:22:09.234034 133002574710592 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 19
I0418 01:22:09.235456 133002574710592 event_tracking.py:70] [process=6] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/19.
I0418 01:22:14.763590 133002574710592 future.py:372] [process=6][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 01:22:16.550755 133002574710592 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 01:22:16.550866 133002574710592 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 01:22:16.577808 133002574710592 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.028306s
I0418 01:22:16.577969 133002574710592 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 48.061 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.032095909118652344 s) (per-host)
I0418 01:22:16.578019 133002574710592 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.032155s (batch_requests_ready=0.001877s, total_serialization_initiated=0.030213s, others=0.000065s)
I0418 01:22:16.584708 133002574710592 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.822431s (all_items=0.000020s, per_item={'items': '0.00001979'}, temp_paths=1.822411)
I0418 01:22:16.584777 133002574710592 future.py:372] [process=6][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 01:22:16.584830 133002574710592 future.py:372] [process=6][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 01:22:19.491285 132883494708992 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/19/items/array_metadatas/process_6
I0418 01:22:55.650899 133002574710592 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 40.394 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.10498571395874 s) (per-host)
I0418 01:22:58.988712 133002574710592 event_tracking.py:125] [process=6] [sync] Finished blocking save in 49.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/19.
I0418 01:23:02.900190 133002574710592 event_tracking.py:138] [process=6] [sync] Finished save in 53.67 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints/19
I0418 01:23:02.902411 133002574710592 checkpoint_manager.py:2137] [process=6][thread=MainThread][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0418 01:23:02.904379 133002574710592 checkpoint_manager.py:2146] [process=6][thread=MainThread][step=19] CheckpointManager Save Finalize is done on all hosts.
I0418 01:23:02.904429 133002574710592 checkpoint_manager.py:1581] [process=6][thread=MainThread][step=19] Finished synchronous save.
I0418 01:23:02.904476 133002574710592 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260417_235819/linen_xpk_main_20260417_235819_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776475329.232015, 'wait_for_prev_duration_secs': 5.602836608886719e-05, 'time_between_consecutive_saves_sec': 22.85395884513855, 'checkpointer_blocking_start_time': 1776475329.234071, 'checkpointer_blocking_duration_secs': 53.6662335395813, 'get_old_steps_start_time': 1776475382.9003186, 'get_old_steps_duration_secs': 2.0265579223632812e-05, 'checkpoint_manager_blocking_start_time': 1776475329.2302234, 'checkpoint_manager_blocking_duration_secs': 53.67423057556152}
I0418 01:23:02.904565 133002574710592 checkpointing.py:410] Saved a checkpoint at step 19.
I0418 01:23:02.904597 133002574710592 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 01:23:02.904625 133002574710592 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 01:23:02.905286 133002574710592 metric_logger.py:196] completed step: 19, seconds: 0.148, TFLOP/s/device: 91.883, Tokens/s/device: 13849.629, 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 01:23:14 UTC 2026
EXIT_CODE=0
NNX  ·  1b5e4eb5a  ·  main_20260417_235819  ·  full log
XPK Start: Sat Apr 18 02:36:00 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 02:36:24.676327: 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 02:36:25.206864 135306259109696 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 02:36:34.246961 135306259109696 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 02:36:34.249274 135306259109696 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--sfce5-slice-job-0-0.mt-14-async-ckpt-false--sfce5:8482
I0418 02:36:35.828591 135306259109696 max_utils.py:284] Jax distributed system initialized!
I0418 02:36:41.858341 135306259109696 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 02:36:41.858440 135306259109696 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 02:36:41.858498 135306259109696 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 02:36:41.858535 135306259109696 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 02:36:50 UTC 2026
EXIT_CODE=1