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/s91.978
Tok/s13863.9
Avg s/step14.168
Memory %1.38
JAX0.9.20.9.2

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

Linen  ·  574ad3fb9  ·  main_20260418_180002  ·  full log
XPK Start: Sat Apr 18 19:17:21 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 19:17:45.399326: 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 19:17:45.934870 139490405168960 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 19:17:54.976177 139490405168960 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 19:17:54.978519 139490405168960 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--uvmb2-slice-job-0-0.mt-14-async-ckpt-false--uvmb2:8482
I0418 19:17:56.935647 139490405168960 max_utils.py:284] Jax distributed system initialized!
I0418 19:18:03.207634 139490405168960 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 19:18:03.207746 139490405168960 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 19:18:03.207786 139490405168960 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 19:18:03.207826 139490405168960 train_utils.py:348] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0418 19:18:03.913358 139490405168960 maxtext_utils.py:1551] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0418 19:18:03.913630 139490405168960 checkpointing.py:677] Setting up checkpoint logger...
I0418 19:18:03.913685 139490405168960 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0418 19:18:03.913730 139490405168960 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0418 19:18:03.914084 139490405168960 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 0x7edd1511c440>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0418 19:18:06.892963 139490405168960 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0418 19:18:06.893219 139490405168960 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 0x7ec8842420f0>}, handler_registry=None
I0418 19:18:06.893457 139490405168960 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ec8842420f0>` 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 19:18:06.893505 139490405168960 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ec8842e6e70>` 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 19:18:06.893539 139490405168960 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 0x7ec8842420f0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7ec8842420f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ec8842e6e70>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7ec8842e6e70>}).
I0418 19:18:06.893862 139490405168960 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0418 19:18:09.603804 139369256048384 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776539583811091898, 'commit_timestamp_nsecs': 1776539628914275193, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/0/_CHECKPOINT_METADATA
I0418 19:18:09.868961 139369239262976 checkpoint_manager.py:1871] Missing metrics for step 9
I0418 19:18:10.289222 139490405168960 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints
I0418 19:18:10.797232 139490405168960 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_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7ec884239040>
I0418 19:18:10.797403 139490405168960 checkpointing.py:301] Checkpoint manager created!
I0418 19:18:11.720750 139490405168960 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0418 19:18:11.720867 139490405168960 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 19:18:12.098598 139490405168960 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 19:18:12.098690 139490405168960 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 19:18:12.114864 139490405168960 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0418 19:18:12.114922 139490405168960 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0418 19:18:12.139039 139490405168960 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 19:18:12.139132 139490405168960 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 19:18:12.155313 139490405168960 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 19:18:12.155372 139490405168960 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 19:18:12.171613 139490405168960 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 19:18:12.171671 139490405168960 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 19:18:12.196288 139490405168960 attentions.py:1197] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0418 19:18:12.196353 139490405168960 attentions.py:1197] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0418 19:18:12.217190 139490405168960 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0418 19:18:12.217254 139490405168960 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0418 19:18:12.433584 139490405168960 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0418 19:18:12.433691 139490405168960 checkpointing.py:581] restoring from this run's directory step 9
I0418 19:18:12.681824 139490405168960 event_tracking.py:70] [process=7] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/9.
I0418 19:18:13.355847 139490405168960 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/9.
I0418 19:18:13.356291 139490405168960 event_tracking.py:125] [process=7] [sync] Finished blocking load in 0.67 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/9.
I0418 19:18:15.182800    1449 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0418 19:18:21.956446 139490405168960 jax_array_handlers.py:843] [process=7] /jax/orbax/read/worker/io/requested throughput: 233.095 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.779536008834839 s) (per-host)
I0418 19:18:21.961328 139490405168960 base_pytree_checkpoint_handler.py:130] [process=7] /jax/checkpoint/read/gbytes_per_sec: 220.577 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 7.174787759780884 s) (per-host)
I0418 19:18:23.587783 139490405168960 event_tracking.py:138] [process=7] [sync] Finished load in 10.91 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/9
I0418 19:18:23.587945 139490405168960 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints', 'checkpointer_start_time': 1776539892.6817443, 'checkpointer_duration_secs': 10.906168460845947, 'checkpoint_manager_start_time': 1776539892.4339414, 'checkpoint_manager_duration_secs': 11.153973817825317}
fsdp: 32
I0418 19:18:24.009872 139490405168960 maxtext_utils.py:1654]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0418 19:18:24.010001 139490405168960 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 19:18:24.010060 139490405168960 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 19:18:24.010137 139490405168960 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 19:18:24.010192 139490405168960 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 19:18:24.010230 139490405168960 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 19:18:24.010281 139490405168960 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 19:18:24.010332 139490405168960 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 19:18:24.010372 139490405168960 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 19:18:24.010410 139490405168960 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 19:18:24.010457 139490405168960 maxtext_utils.py:1654]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0418 19:18:24.010503 139490405168960 maxtext_utils.py:1654]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0418 19:18:24.499561 139490405168960 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 19:18:24.499655 139490405168960 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 19:18:24.515005 139490405168960 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0418 19:18:24.515065 139490405168960 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0418 19:18:35.412334 139490405168960 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 19:18:35.413171 139490405168960 metric_logger.py:301] number parameters: 1.104 billion
I0418 19:18:46.842389 139490405168960 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0418 19:18:46.995490 139490405168960 checkpointing.py:776] Waited 0.15308451652526855 seconds for step 10 to finish before starting checkpointing.
I0418 19:18:46.998808 139490405168960 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 19:18:47.000155 139490405168960 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 10
I0418 19:18:47.001614 139490405168960 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/10.
I0418 19:18:50.293856 139490405168960 signaling_client.py:364] Using JaxDistributedSignalingClient
I0418 19:18:50.296544 139490405168960 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 19:18:52.074266 139490405168960 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 19:18:52.074370 139490405168960 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 19:18:52.355413 139490405168960 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.282044s
I0418 19:18:52.355592 139490405168960 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.372 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28717494010925293 s) (per-host)
I0418 19:18:52.355646 139490405168960 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.287240s (batch_requests_ready=0.002826s, total_serialization_initiated=0.284341s, others=0.000073s)
I0418 19:18:52.355742 139490405168960 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 2.061974s (all_items=0.000032s, per_item={'items': '0.00003219'}, temp_paths=2.061942)
I0418 19:18:52.355787 139490405168960 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 19:18:52.355826 139490405168960 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 19:18:54.435168 139368660461312 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_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/10/items/array_metadatas/process_7
I0418 19:19:31.808252 139490405168960 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 39.748 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.73979616165161 s) (per-host)
I0418 19:19:35.841710 139490405168960 event_tracking.py:125] [process=7] [sync] Finished blocking save in 48.84 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/10.
I0418 19:19:39.682411 139490405168960 event_tracking.py:138] [process=7] [sync] Finished save in 52.68 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/10
I0418 19:19:39.684552 139490405168960 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0418 19:19:39.686168 139490405168960 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=10] CheckpointManager Save Finalize is done on all hosts.
I0418 19:19:39.686221 139490405168960 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=10] Finished synchronous save.
I0418 19:19:39.686274 139490405168960 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776539926.9987898, 'wait_for_prev_duration_secs': 5.9604644775390625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776539927.0001938, 'checkpointer_blocking_duration_secs': 52.68233823776245, 'get_old_steps_start_time': 1776539979.6825533, 'get_old_steps_duration_secs': 2.765655517578125e-05, 'checkpoint_manager_blocking_start_time': 1776539926.9960253, 'checkpoint_manager_blocking_duration_secs': 52.69022297859192}
I0418 19:19:39.686368 139490405168960 checkpointing.py:410] Saved a checkpoint at step 10.
I0418 19:19:39.686414 139490405168960 max_utils.py:750] 
Memstats: After params initialized:
I0418 19:19:39.686471 139490405168960 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0418 19:19:39.686510 139490405168960 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0418 19:19:39.686550 139490405168960 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0418 19:19:39.686576 139490405168960 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0418 19:19:40.002608 139490405168960 metric_logger.py:196] completed step: 10, seconds: 11.429, TFLOP/s/device: 1.189, Tokens/s/device: 179.192, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0418 19:19:40.165319 139490405168960 metric_logger.py:196] completed step: 11, seconds: 53.158, TFLOP/s/device: 0.256, Tokens/s/device: 38.526, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0418 19:19:40.312952 139490405168960 metric_logger.py:196] completed step: 12, seconds: 0.016, TFLOP/s/device: 872.368, Tokens/s/device: 131492.777, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0418 19:19:40.460577 139490405168960 metric_logger.py:196] completed step: 13, seconds: 0.154, TFLOP/s/device: 88.452, Tokens/s/device: 13332.379, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0418 19:19:40.465580 139490405168960 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0418 19:19:40.755041 139490405168960 checkpointing.py:776] Waited 0.28942203521728516 seconds for step 15 to finish before starting checkpointing.
I0418 19:19:40.757941 139490405168960 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 19:19:40.759635 139490405168960 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 15
I0418 19:19:40.761383 139490405168960 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/15.
I0418 19:19:44.044477 139490405168960 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 19:19:45.824834 139490405168960 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 19:19:45.824934 139490405168960 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 19:19:45.852429 139490405168960 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.028805s
I0418 19:19:45.852621 139490405168960 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 47.211 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03267383575439453 s) (per-host)
I0418 19:19:45.852676 139490405168960 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.032740s (batch_requests_ready=0.001793s, total_serialization_initiated=0.030871s, others=0.000075s)
I0418 19:19:45.852779 139490405168960 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.809604s (all_items=0.000034s, per_item={'items': '0.00003409'}, temp_paths=1.809570)
I0418 19:19:45.852823 139490405168960 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 19:19:45.852872 139490405168960 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 19:19:49.194262 139368660461312 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_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/15/items/array_metadatas/process_7
I0418 19:20:24.591169 139490405168960 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 40.742 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.77119016647339 s) (per-host)
I0418 19:20:31.272927 139490405168960 event_tracking.py:125] [process=7] [sync] Finished blocking save in 50.51 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/15.
I0418 19:20:35.560596 139490405168960 event_tracking.py:138] [process=7] [sync] Finished save in 54.80 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/15
I0418 19:20:35.562552 139490405168960 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0418 19:20:35.564135 139490405168960 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=15] CheckpointManager Save Finalize is done on all hosts.
I0418 19:20:35.564196 139490405168960 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=15] Finished synchronous save.
I0418 19:20:35.564250 139490405168960 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776539980.7579207, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': 1.0717110633850098, 'checkpointer_blocking_start_time': 1776539980.7596743, 'checkpointer_blocking_duration_secs': 54.80104064941406, 'get_old_steps_start_time': 1776540035.5607374, 'get_old_steps_duration_secs': 2.6464462280273438e-05, 'checkpoint_manager_blocking_start_time': 1776539980.7557423, 'checkpoint_manager_blocking_duration_secs': 54.808483362197876}
I0418 19:20:35.564343 139490405168960 checkpointing.py:410] Saved a checkpoint at step 15.
I0418 19:20:35.565172 139490405168960 metric_logger.py:196] completed step: 14, seconds: 0.148, TFLOP/s/device: 92.080, Tokens/s/device: 13879.288, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0418 19:20:35.571161 139490405168960 metric_logger.py:196] completed step: 15, seconds: 0.148, TFLOP/s/device: 91.892, Tokens/s/device: 13851.034, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0418 19:20:56.939465 139490405168960 metric_logger.py:196] completed step: 16, seconds: 55.104, TFLOP/s/device: 0.247, Tokens/s/device: 37.166, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0418 19:20:57.087194 139490405168960 metric_logger.py:196] completed step: 17, seconds: 21.222, TFLOP/s/device: 0.640, Tokens/s/device: 96.503, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0418 19:20:57.234611 139490405168960 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.326, Tokens/s/device: 13464.118, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0418 19:20:57.381533 139490405168960 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0418 19:20:57.382256 139490405168960 checkpointing.py:776] Waited 0.0007436275482177734 seconds for step 19 to finish before starting checkpointing.
I0418 19:20:57.384227 139490405168960 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 19:20:57.386290 139490405168960 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 19
I0418 19:20:57.387728 139490405168960 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/19.
I0418 19:21:00.682658 139490405168960 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 19:21:02.081217 139490405168960 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0418 19:21:02.081312 139490405168960 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 19:21:02.110823 139490405168960 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.030763s
I0418 19:21:02.110969 139490405168960 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 44.801 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03443169593811035 s) (per-host)
I0418 19:21:02.111018 139490405168960 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.034492s (batch_requests_ready=0.001792s, total_serialization_initiated=0.032635s, others=0.000065s)
I0418 19:21:02.118039 139490405168960 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.436648s (all_items=0.000020s, per_item={'items': '0.00002003'}, temp_paths=1.436628)
I0418 19:21:02.118131 139490405168960 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 19:21:02.118178 139490405168960 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 19:21:04.583356 139368660461312 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_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/19/items/array_metadatas/process_7
I0418 19:21:42.656454 139490405168960 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 38.926 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 40.57987713813782 s) (per-host)
I0418 19:21:47.345110 139490405168960 event_tracking.py:125] [process=7] [sync] Finished blocking save in 49.96 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/19.
I0418 19:21:51.689705 139490405168960 event_tracking.py:138] [process=7] [sync] Finished save in 54.30 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints/19
I0418 19:21:51.691602 139490405168960 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0418 19:21:51.693366 139490405168960 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=19] CheckpointManager Save Finalize is done on all hosts.
I0418 19:21:51.693418 139490405168960 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=19] Finished synchronous save.
I0418 19:21:51.693469 139490405168960 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260418_180002/linen_xpk_main_20260418_180002_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776540057.38421, 'wait_for_prev_duration_secs': 5.745887756347656e-05, 'time_between_consecutive_saves_sec': 21.8200261592865, 'checkpointer_blocking_start_time': 1776540057.3863297, 'checkpointer_blocking_duration_secs': 54.30348825454712, 'get_old_steps_start_time': 1776540111.68983, 'get_old_steps_duration_secs': 2.2649765014648438e-05, 'checkpoint_manager_blocking_start_time': 1776540057.3824778, 'checkpoint_manager_blocking_duration_secs': 54.310967445373535}
I0418 19:21:51.693555 139490405168960 checkpointing.py:410] Saved a checkpoint at step 19.
I0418 19:21:51.693588 139490405168960 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 19:21:51.693617 139490405168960 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0418 19:21:51.694292 139490405168960 metric_logger.py:196] completed step: 19, seconds: 0.148, TFLOP/s/device: 91.978, Tokens/s/device: 13863.879, 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 19:22:02 UTC 2026
EXIT_CODE=0
NNX  ·  574ad3fb9  ·  main_20260418_180002  ·  full log
XPK Start: Sat Apr 18 20:25:09 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 20:25:33.848586: 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 20:25:34.380867 135787050239808 max_utils.py:273] Attempting to initialize the jax distributed system...
I0418 20:25:43.423123 135787050239808 distributed.py:149] Starting JAX distributed service on [::]:8482
I0418 20:25:43.425690 135787050239808 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--dgkzn-slice-job-0-0.mt-14-async-ckpt-false--dgkzn:8482
I0418 20:25:45.135935 135787050239808 max_utils.py:284] Jax distributed system initialized!
I0418 20:25:51.190528 135787050239808 max_utils.py:800] System Information: Jax Version: 0.9.2
I0418 20:25:51.190630 135787050239808 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0418 20:25:51.190670 135787050239808 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 20:25:51.190703 135787050239808 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 20:26:00 UTC 2026
EXIT_CODE=1