MaxView

‹ 14_async_ckpt_false_resumeCase: 14_async_ckpt_false_save15_ocdbt_false_resume ›

Metrics: Linen vs NNX  ·  main

MetricLinen  e27fc1e97NNX  e27fc1e97Diff (NNX − Linen)
Parameters1.104 billion
Final loss7.1810
TFLOP/s92.132
Tok/s13887.1
Avg s/step13.900
Memory %1.38
JAX0.9.20.9.2

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

Linen  ·  e27fc1e97  ·  main_20260421_061359  ·  full log
XPK Start: Tue Apr 21 07:04:43 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-21 07:05:08.746430: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0421 07:05:08.958811 135499927480128 max_utils.py:273] Attempting to initialize the jax distributed system...
I0421 07:05:18.001361 135499927480128 distributed.py:149] Starting JAX distributed service on [::]:8482
I0421 07:05:18.003657 135499927480128 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--7ms3f-slice-job-0-0.mt-14-async-ckpt-false--7ms3f:8482
I0421 07:05:19.000151 135499927480128 max_utils.py:284] Jax distributed system initialized!
I0421 07:05:25.299544 135499927480128 max_utils.py:800] System Information: Jax Version: 0.9.2
I0421 07:05:25.299650 135499927480128 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0421 07:05:25.299691 135499927480128 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
I0421 07:05:25.299728 135499927480128 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 07:05:25.990831 135499927480128 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 07:05:25.991112 135499927480128 checkpointing.py:677] Setting up checkpoint logger...
I0421 07:05:25.991166 135499927480128 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0421 07:05:25.991210 135499927480128 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0421 07:05:25.991542 135499927480128 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 0x7b3bff114920>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 07:05:28.947111 135499927480128 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 07:05:28.947348 135499927480128 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 0x7b3ac5278410>}, handler_registry=None
I0421 07:05:28.947584 135499927480128 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b3ac5278410>` for item "items" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`.
I0421 07:05:28.947635 135499927480128 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b275438c3b0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`.
I0421 07:05:28.947673 135499927480128 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 0x7b3ac5278410>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b3ac5278410>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b275438c3b0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b275438c3b0>}).
I0421 07:05:28.948093 135499927480128 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0421 07:05:30.565896 135499927480128 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints
I0421 07:05:31.011325 135499927480128 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_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b275438b5f0>
I0421 07:05:31.011501 135499927480128 checkpointing.py:301] Checkpoint manager created!
I0421 07:05:31.953350 135499927480128 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 07:05:31.953469 135499927480128 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 07:05:32.333290 135499927480128 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 07:05:32.333386 135499927480128 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 07:05:32.349748 135499927480128 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 07:05:32.349813 135499927480128 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 07:05:32.373520 135499927480128 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 07:05:32.373592 135499927480128 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 07:05:32.389996 135499927480128 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 07:05:32.390058 135499927480128 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 07:05:32.406378 135499927480128 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0421 07:05:32.406438 135499927480128 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 07:05:32.431054 135499927480128 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 07:05:32.431125 135499927480128 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 07:05:32.452297 135499927480128 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 07:05:32.452369 135499927480128 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 07:05:32.665960 135499927480128 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 07:05:32.666074 135499927480128 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0421 07:05:34.090160 135499927480128 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0421 07:05:34.090287 135499927480128 maxtext_utils.py:1668]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0421 07:05:34.090339 135499927480128 maxtext_utils.py:1668]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0421 07:05:34.090396 135499927480128 maxtext_utils.py:1668]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0421 07:05:34.090448 135499927480128 maxtext_utils.py:1668]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0421 07:05:34.090486 135499927480128 maxtext_utils.py:1668]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0421 07:05:34.090538 135499927480128 maxtext_utils.py:1668]  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)
I0421 07:05:34.090588 135499927480128 maxtext_utils.py:1668]  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')
I0421 07:05:34.090625 135499927480128 maxtext_utils.py:1668]  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)
I0421 07:05:34.090660 135499927480128 maxtext_utils.py:1668]  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)
I0421 07:05:34.090706 135499927480128 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0421 07:05:34.090770 135499927480128 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0421 07:05:34.584327 135499927480128 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 07:05:34.584428 135499927480128 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 07:05:34.599901 135499927480128 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 07:05:34.599959 135499927480128 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 07:05:45.717097 135499927480128 max_utils.py:791] Total memory size: 1.5 GB, Output size: 0.4 GB, Temp size: 1.1 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0421 07:05:45.717933 135499927480128 metric_logger.py:301] number parameters: 1.104 billion
I0421 07:05:57.557722 135499927480128 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0421 07:05:57.709673 135499927480128 checkpointing.py:776] Waited 0.1519315242767334 seconds for step 0 to finish before starting checkpointing.
I0421 07:05:57.712138 135499927480128 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 07:05:57.713698 135499927480128 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 0
I0421 07:05:57.715136 135499927480128 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/0.
I0421 07:06:01.102591 135499927480128 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 07:06:01.105400 135499927480128 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.
I0421 07:06:02.478534 135499927480128 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 07:06:02.478633 135499927480128 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0421 07:06:02.758187 135499927480128 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.280720s
I0421 07:06:02.758371 135499927480128 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.381 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2866814136505127 s) (per-host)
I0421 07:06:02.758429 135499927480128 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286750s (batch_requests_ready=0.002521s, total_serialization_initiated=0.284153s, others=0.000076s)
I0421 07:06:02.758530 135499927480128 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.656025s (all_items=0.000036s, per_item={'items': '0.00003552'}, temp_paths=1.655990)
I0421 07:06:02.758582 135499927480128 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.
I0421 07:06:02.758623 135499927480128 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.
I0421 07:06:02.771471    2769 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 07:06:06.181246 135373669013248 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/0/items/array_metadatas/process_7
I0421 07:06:35.943777 135499927480128 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 47.192 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 33.47202658653259 s) (per-host)
I0421 07:06:41.802665 135499927480128 event_tracking.py:125] [process=7] [sync] Finished blocking save in 44.09 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/0.
I0421 07:06:46.013704 135499927480128 event_tracking.py:138] [process=7] [sync] Finished save in 48.30 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/0
I0421 07:06:46.015642 135499927480128 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0421 07:06:46.017553 135499927480128 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=0] CheckpointManager Save Finalize is done on all hosts.
I0421 07:06:46.017608 135499927480128 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=0] Finished synchronous save.
I0421 07:06:46.017665 135499927480128 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776755157.712119, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776755157.713749, 'checkpointer_blocking_duration_secs': 48.30009961128235, 'get_old_steps_start_time': 1776755206.0138714, 'get_old_steps_duration_secs': 2.5987625122070312e-05, 'checkpoint_manager_blocking_start_time': 1776755157.7101934, 'checkpoint_manager_blocking_duration_secs': 48.30744242668152}
I0421 07:06:46.017775 135499927480128 checkpointing.py:410] Saved a checkpoint at step 0.
I0421 07:06:46.017820 135499927480128 max_utils.py:750] 
Memstats: After params initialized:
I0421 07:06:46.017867 135499927480128 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0421 07:06:46.017897 135499927480128 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0421 07:06:46.017923 135499927480128 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0421 07:06:46.017946 135499927480128 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0421 07:06:46.338052 135499927480128 metric_logger.py:196] completed step: 0, seconds: 11.840, TFLOP/s/device: 1.148, Tokens/s/device: 172.978, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0421 07:06:46.917165 135499927480128 metric_logger.py:196] completed step: 1, seconds: 48.773, TFLOP/s/device: 0.279, Tokens/s/device: 41.991, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0421 07:06:47.064500 135499927480128 metric_logger.py:196] completed step: 2, seconds: 0.439, TFLOP/s/device: 30.962, Tokens/s/device: 4666.945, total_weights: 65536, loss: 10.560, lm_loss: 10.560, perplexity: 38547.719
I0421 07:06:47.211782 135499927480128 metric_logger.py:196] completed step: 3, seconds: 0.152, TFLOP/s/device: 89.326, Tokens/s/device: 13464.118, total_weights: 65536, loss: 9.980, lm_loss: 9.980, perplexity: 21590.506
I0421 07:06:47.216367 135499927480128 checkpointing.py:772] Waiting for step 5 to finish before checkpoint...
I0421 07:06:47.505914 135499927480128 checkpointing.py:776] Waited 0.28951168060302734 seconds for step 5 to finish before starting checkpointing.
I0421 07:06:47.508705 135499927480128 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 07:06:47.510376 135499927480128 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 5
I0421 07:06:47.512070 135499927480128 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/5.
I0421 07:06:49.914369 135499927480128 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.
I0421 07:06:51.321433 135499927480128 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 07:06:51.321537 135499927480128 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0421 07:06:51.361263 135499927480128 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.041217s
I0421 07:06:51.361433 135499927480128 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 34.195 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04511070251464844 s) (per-host)
I0421 07:06:51.361490 135499927480128 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.045177s (batch_requests_ready=0.002120s, total_serialization_initiated=0.042983s, others=0.000073s)
I0421 07:06:51.368478 135499927480128 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.455188s (all_items=0.000029s, per_item={'items': '0.00002885'}, temp_paths=1.455159)
I0421 07:06:51.368560 135499927480128 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.
I0421 07:06:51.368604 135499927480128 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.
I0421 07:06:53.380936 135349313443584 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/5/items/array_metadatas/process_7
I0421 07:07:29.868087 135499927480128 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 40.973 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.55172944068909 s) (per-host)
I0421 07:07:35.794507 135499927480128 event_tracking.py:125] [process=7] [sync] Finished blocking save in 48.28 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/5.
I0421 07:07:40.019413 135499927480128 event_tracking.py:138] [process=7] [sync] Finished save in 52.51 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/5
I0421 07:07:40.021767 135499927480128 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=5] CheckpointManager Save Finalize is syncing with other hosts...
I0421 07:07:40.023677 135499927480128 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=5] CheckpointManager Save Finalize is done on all hosts.
I0421 07:07:40.023811 135499927480128 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=5] Finished synchronous save.
I0421 07:07:40.023877 135499927480128 standard_logger.py:34] {'step': 5, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776755207.508684, 'wait_for_prev_duration_secs': 8.106231689453125e-05, 'time_between_consecutive_saves_sec': 1.4910871982574463, 'checkpointer_blocking_start_time': 1776755207.5104141, 'checkpointer_blocking_duration_secs': 52.509117603302, 'get_old_steps_start_time': 1776755260.0195525, 'get_old_steps_duration_secs': 2.3365020751953125e-05, 'checkpoint_manager_blocking_start_time': 1776755207.506502, 'checkpoint_manager_blocking_duration_secs': 52.51734232902527}
I0421 07:07:40.023978 135499927480128 checkpointing.py:410] Saved a checkpoint at step 5.
I0421 07:07:40.024960 135499927480128 metric_logger.py:196] completed step: 4, seconds: 0.147, TFLOP/s/device: 92.173, Tokens/s/device: 13893.317, total_weights: 65536, loss: 9.460, lm_loss: 9.460, perplexity: 12840.355
I0421 07:07:40.042263 135499927480128 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.261, Tokens/s/device: 13906.525, total_weights: 65536, loss: 8.959, lm_loss: 8.959, perplexity: 7776.467
I0421 07:08:02.509251 135499927480128 metric_logger.py:196] completed step: 6, seconds: 52.813, TFLOP/s/device: 0.257, Tokens/s/device: 38.778, total_weights: 65536, loss: 8.469, lm_loss: 8.469, perplexity: 4762.740
I0421 07:08:02.656816 135499927480128 metric_logger.py:196] completed step: 7, seconds: 22.332, TFLOP/s/device: 0.608, Tokens/s/device: 91.707, total_weights: 65536, loss: 8.003, lm_loss: 8.003, perplexity: 2989.151
I0421 07:08:02.804170 135499927480128 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.209, Tokens/s/device: 13446.526, total_weights: 65536, loss: 7.572, lm_loss: 7.572, perplexity: 1943.098
I0421 07:08:02.951017 135499927480128 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0421 07:08:02.951668 135499927480128 checkpointing.py:776] Waited 0.0006716251373291016 seconds for step 9 to finish before starting checkpointing.
I0421 07:08:02.953800 135499927480128 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 07:08:02.956006 135499927480128 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 9
I0421 07:08:02.957439 135499927480128 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/9.
I0421 07:08:05.828770 135499927480128 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.
I0421 07:08:07.777788 135499927480128 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 07:08:07.777885 135499927480128 replica_slices.py:424] Transferring arrays to host memory with options: use_replica_parallel=True, min_slice_bytes_for_replica_parallel=None, max_replicas_for_replica_parallel=None, enable_pinned_host_transfer=False
I0421 07:08:07.819430 135499927480128 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.042686s
I0421 07:08:07.819607 135499927480128 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 33.109 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04659080505371094 s) (per-host)
I0421 07:08:07.819660 135499927480128 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.046654s (batch_requests_ready=0.001933s, total_serialization_initiated=0.044653s, others=0.000068s)
I0421 07:08:07.819777 135499927480128 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.992328s (all_items=0.000021s, per_item={'items': '0.00002098'}, temp_paths=1.992307)
I0421 07:08:07.819820 135499927480128 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.
I0421 07:08:07.819857 135499927480128 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.
I0421 07:08:09.797307 135374718351104 array_metadata_store.py:203] [process=7][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/9/items/array_metadatas/process_7
I0421 07:08:46.565069 135499927480128 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 40.720 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.792014598846436 s) (per-host)
I0421 07:08:51.376289 135499927480128 event_tracking.py:125] [process=7] [sync] Finished blocking save in 48.42 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/9.
I0421 07:08:55.793473 135499927480128 event_tracking.py:138] [process=7] [sync] Finished save in 52.84 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints/9
I0421 07:08:55.795344 135499927480128 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0421 07:08:55.797132 135499927480128 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=9] CheckpointManager Save Finalize is done on all hosts.
I0421 07:08:55.797180 135499927480128 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=9] Finished synchronous save.
I0421 07:08:55.797229 135499927480128 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_061359/linen_xpk_main_20260421_061359_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776755282.9537818, 'wait_for_prev_duration_secs': 5.8650970458984375e-05, 'time_between_consecutive_saves_sec': 22.929986238479614, 'checkpointer_blocking_start_time': 1776755282.9560528, 'checkpointer_blocking_duration_secs': 52.83754062652588, 'get_old_steps_start_time': 1776755335.7936084, 'get_old_steps_duration_secs': 1.9788742065429688e-05, 'checkpoint_manager_blocking_start_time': 1776755282.951913, 'checkpoint_manager_blocking_duration_secs': 52.84529232978821}
I0421 07:08:55.797314 135499927480128 checkpointing.py:410] Saved a checkpoint at step 9.
I0421 07:08:55.797345 135499927480128 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 07:08:55.797375 135499927480128 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 07:08:55.798051 135499927480128 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.132, Tokens/s/device: 13887.100, total_weights: 65536, loss: 7.181, lm_loss: 7.181, perplexity: 1314.495
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Tue Apr 21 07:09:03 UTC 2026
EXIT_CODE=0
NNX  ·  e27fc1e97  ·  main_20260421_061359  ·  full log
XPK Start: Tue Apr 21 08:14:06 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-21 08:14:30.791333: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
I0421 08:14:31.002792 133367005484864 max_utils.py:273] Attempting to initialize the jax distributed system...
I0421 08:14:40.044908 133367005484864 distributed.py:149] Starting JAX distributed service on [::]:8482
I0421 08:14:40.047178 133367005484864 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--nrttm-slice-job-0-0.mt-14-async-ckpt-false--nrttm:8482
I0421 08:14:41.220514 133367005484864 max_utils.py:284] Jax distributed system initialized!
I0421 08:14:46.303762 133367005484864 max_utils.py:800] System Information: Jax Version: 0.9.2
I0421 08:14:46.303868 133367005484864 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0421 08:14:46.303909 133367005484864 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
I0421 08:14:46.303945 133367005484864 train_utils.py:361] 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 218, in setup_train_loop
    raise NotImplementedError("Pure NNX support has not been implemented yet.")
NotImplementedError: Pure NNX support has not been implemented yet.
XPK End: Tue Apr 21 08:14:56 UTC 2026
EXIT_CODE=1