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.141
Tok/s13888.5
Avg s/step13.829
Memory %1.38
JAX0.9.20.9.2

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

Linen  ·  e27fc1e97  ·  main_20260421_144122  ·  full log
XPK Start: Tue Apr 21 15:30:53 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 15:31:18.854463: 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 15:31:19.066059 132763328280384 max_utils.py:273] Attempting to initialize the jax distributed system...
I0421 15:31:28.107869 132763328280384 distributed.py:149] Starting JAX distributed service on [::]:8482
I0421 15:31:28.110206 132763328280384 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--8slg7-slice-job-0-0.mt-14-async-ckpt-false--8slg7:8482
I0421 15:31:29.451463 132763328280384 max_utils.py:284] Jax distributed system initialized!
I0421 15:31:35.329766 132763328280384 max_utils.py:800] System Information: Jax Version: 0.9.2
I0421 15:31:35.329872 132763328280384 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0421 15:31:35.329912 132763328280384 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 15:31:35.329948 132763328280384 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 15:31:36.038177 132763328280384 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 15:31:36.038460 132763328280384 checkpointing.py:677] Setting up checkpoint logger...
I0421 15:31:36.038514 132763328280384 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0421 15:31:36.038558 132763328280384 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0421 15:31:36.038919 132763328280384 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 0x78bea754c380>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 15:31:39.348442 132763328280384 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 15:31:39.348677 132763328280384 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 0x78aac8115820>}, handler_registry=None
I0421 15:31:39.348930 132763328280384 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78aac8115820>` 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 15:31:39.348980 132763328280384 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78aac8325e80>` 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 15:31:39.349021 132763328280384 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 0x78aac8115820>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x78aac8115820>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78aac8325e80>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x78aac8325e80>}).
I0421 15:31:39.349344 132763328280384 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0421 15:31:40.522835 132763328280384 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints
I0421 15:31:40.965655 132763328280384 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_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x78aac81149b0>
I0421 15:31:40.965847 132763328280384 checkpointing.py:301] Checkpoint manager created!
I0421 15:31:41.890016 132763328280384 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 15:31:41.890136 132763328280384 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 15:31:42.272333 132763328280384 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 15:31:42.272427 132763328280384 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 15:31:42.288908 132763328280384 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 15:31:42.288968 132763328280384 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 15:31:42.312716 132763328280384 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 15:31:42.312803 132763328280384 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:31:42.329470 132763328280384 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 15:31:42.329535 132763328280384 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:31:42.346222 132763328280384 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 15:31:42.346283 132763328280384 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:31:42.371085 132763328280384 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 15:31:42.371153 132763328280384 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:31:42.392288 132763328280384 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 15:31:42.392361 132763328280384 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 15:31:42.602905 132763328280384 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 15:31:42.603014 132763328280384 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0421 15:31:44.035302 132763328280384 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0421 15:31:44.035432 132763328280384 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 15:31:44.035484 132763328280384 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 15:31:44.035542 132763328280384 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 15:31:44.035594 132763328280384 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 15:31:44.035633 132763328280384 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 15:31:44.035685 132763328280384 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 15:31:44.035760 132763328280384 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 15:31:44.035808 132763328280384 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 15:31:44.035845 132763328280384 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 15:31:44.035893 132763328280384 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0421 15:31:44.035941 132763328280384 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0421 15:31:44.527041 132763328280384 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 15:31:44.527143 132763328280384 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 15:31:44.542961 132763328280384 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 15:31:44.543024 132763328280384 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 15:31:55.597403 132763328280384 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 15:31:55.598256 132763328280384 metric_logger.py:301] number parameters: 1.104 billion
I0421 15:32:06.810238 132763328280384 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0421 15:32:06.988405 132763328280384 checkpointing.py:776] Waited 0.1781466007232666 seconds for step 0 to finish before starting checkpointing.
I0421 15:32:06.991064 132763328280384 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:32:06.992784 132763328280384 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 0
I0421 15:32:06.994336 132763328280384 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/0.
I0421 15:32:10.381245 132763328280384 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 15:32:10.382695 132763328280384 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 15:32:12.195219 132763328280384 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:32:12.195321 132763328280384 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 15:32:12.477820 132763328280384 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.283483s
I0421 15:32:12.478002 132763328280384 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.321 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28989076614379883 s) (per-host)
I0421 15:32:12.478058 132763328280384 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.289955s (batch_requests_ready=0.002931s, total_serialization_initiated=0.286950s, others=0.000074s)
I0421 15:32:12.478161 132763328280384 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 2.097002s (all_items=0.000033s, per_item={'items': '0.00003290'}, temp_paths=2.096969)
I0421 15:32:12.478219 132763328280384 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 15:32:12.478265 132763328280384 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 15:32:12.489704    2717 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 15:32:15.497253 132638034114304 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_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/0/items/array_metadatas/process_7
I0421 15:32:46.931504 132763328280384 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 45.465 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 34.74336647987366 s) (per-host)
I0421 15:32:50.579935 132763328280384 event_tracking.py:125] [process=7] [sync] Finished blocking save in 43.59 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/0.
I0421 15:32:54.861598 132763328280384 event_tracking.py:138] [process=7] [sync] Finished save in 47.87 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/0
I0421 15:32:54.864078 132763328280384 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:32:54.865952 132763328280384 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=0] CheckpointManager Save Finalize is done on all hosts.
I0421 15:32:54.866018 132763328280384 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=0] Finished synchronous save.
I0421 15:32:54.866074 132763328280384 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776785526.9910386, 'wait_for_prev_duration_secs': 9.012222290039062e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776785526.99285, 'checkpointer_blocking_duration_secs': 47.86886787414551, 'get_old_steps_start_time': 1776785574.8617592, 'get_old_steps_duration_secs': 3.147125244140625e-05, 'checkpoint_manager_blocking_start_time': 1776785526.9889603, 'checkpoint_manager_blocking_duration_secs': 47.8770854473114}
I0421 15:32:54.866165 132763328280384 checkpointing.py:410] Saved a checkpoint at step 0.
I0421 15:32:54.866208 132763328280384 max_utils.py:750] 
Memstats: After params initialized:
I0421 15:32:54.866254 132763328280384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0421 15:32:54.866287 132763328280384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0421 15:32:54.866315 132763328280384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0421 15:32:54.866339 132763328280384 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0421 15:32:55.616372 132763328280384 metric_logger.py:196] completed step: 0, seconds: 11.212, TFLOP/s/device: 1.212, Tokens/s/device: 182.664, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0421 15:32:55.749112 132763328280384 metric_logger.py:196] completed step: 1, seconds: 48.792, TFLOP/s/device: 0.278, Tokens/s/device: 41.974, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0421 15:32:55.896719 132763328280384 metric_logger.py:196] completed step: 2, seconds: 0.018, TFLOP/s/device: 744.786, Tokens/s/device: 112262.238, total_weights: 65536, loss: 10.560, lm_loss: 10.560, perplexity: 38547.719
I0421 15:32:56.044230 132763328280384 metric_logger.py:196] completed step: 3, seconds: 0.133, TFLOP/s/device: 101.827, Tokens/s/device: 15348.412, total_weights: 65536, loss: 9.980, lm_loss: 9.980, perplexity: 21590.506
I0421 15:32:56.048808 132763328280384 checkpointing.py:772] Waiting for step 5 to finish before checkpoint...
I0421 15:32:56.338217 132763328280384 checkpointing.py:776] Waited 0.28937363624572754 seconds for step 5 to finish before starting checkpointing.
I0421 15:32:56.341168 132763328280384 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:32:56.342811 132763328280384 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 5
I0421 15:32:56.344654 132763328280384 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/5.
I0421 15:32:58.766099 132763328280384 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 15:33:00.156893 132763328280384 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:33:00.157011 132763328280384 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 15:33:00.206209 132763328280384 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.050382s
I0421 15:33:00.206390 132763328280384 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 28.348 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.05441474914550781 s) (per-host)
I0421 15:33:00.206447 132763328280384 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.054481s (batch_requests_ready=0.002247s, total_serialization_initiated=0.052160s, others=0.000074s)
I0421 15:33:00.206544 132763328280384 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.441751s (all_items=0.000029s, per_item={'items': '0.00002885'}, temp_paths=1.441722)
I0421 15:33:00.206595 132763328280384 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 15:33:00.206646 132763328280384 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 15:33:02.692557 132638034114304 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_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/5/items/array_metadatas/process_7
I0421 15:33:39.646379 132763328280384 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 39.995 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 39.49437165260315 s) (per-host)
I0421 15:33:44.184416 132763328280384 event_tracking.py:125] [process=7] [sync] Finished blocking save in 47.84 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/5.
I0421 15:33:48.351916 132763328280384 event_tracking.py:138] [process=7] [sync] Finished save in 52.01 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/5
I0421 15:33:48.354522 132763328280384 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=5] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:33:48.356332 132763328280384 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=5] CheckpointManager Save Finalize is done on all hosts.
I0421 15:33:48.356388 132763328280384 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=5] Finished synchronous save.
I0421 15:33:48.356439 132763328280384 standard_logger.py:34] {'step': 5, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776785576.3411477, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': 1.4751436710357666, 'checkpointer_blocking_start_time': 1776785576.3428533, 'checkpointer_blocking_duration_secs': 52.0092077255249, 'get_old_steps_start_time': 1776785628.3520892, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1776785576.3388572, 'checkpoint_manager_blocking_duration_secs': 52.01755714416504}
I0421 15:33:48.356528 132763328280384 checkpointing.py:410] Saved a checkpoint at step 5.
I0421 15:33:48.357402 132763328280384 metric_logger.py:196] completed step: 4, seconds: 0.148, TFLOP/s/device: 92.034, Tokens/s/device: 13872.331, total_weights: 65536, loss: 9.460, lm_loss: 9.460, perplexity: 12840.355
I0421 15:33:48.376886 132763328280384 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.177, Tokens/s/device: 13893.883, total_weights: 65536, loss: 8.959, lm_loss: 8.959, perplexity: 7776.467
I0421 15:34:11.122491 132763328280384 metric_logger.py:196] completed step: 6, seconds: 52.313, TFLOP/s/device: 0.260, Tokens/s/device: 39.149, total_weights: 65536, loss: 8.469, lm_loss: 8.469, perplexity: 4762.740
I0421 15:34:11.270038 132763328280384 metric_logger.py:196] completed step: 7, seconds: 22.613, TFLOP/s/device: 0.601, Tokens/s/device: 90.568, total_weights: 65536, loss: 8.003, lm_loss: 8.003, perplexity: 2989.151
I0421 15:34:11.417496 132763328280384 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.146, Tokens/s/device: 13436.998, total_weights: 65536, loss: 7.572, lm_loss: 7.572, perplexity: 1943.098
I0421 15:34:11.564034 132763328280384 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0421 15:34:11.564690 132763328280384 checkpointing.py:776] Waited 0.0006766319274902344 seconds for step 9 to finish before starting checkpointing.
I0421 15:34:11.566834 132763328280384 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:34:11.568634 132763328280384 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 9
I0421 15:34:11.570085 132763328280384 event_tracking.py:70] [process=7] [sync] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/9.
I0421 15:34:14.595048 132763328280384 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 15:34:16.424585 132763328280384 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:34:16.424690 132763328280384 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 15:34:16.475933 132763328280384 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.052561s
I0421 15:34:16.476115 132763328280384 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 27.256 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.0565948486328125 s) (per-host)
I0421 15:34:16.476168 132763328280384 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.056658s (batch_requests_ready=0.002305s, total_serialization_initiated=0.054286s, others=0.000067s)
I0421 15:34:16.476268 132763328280384 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 1.882543s (all_items=0.000025s, per_item={'items': '0.00002527'}, temp_paths=1.882517)
I0421 15:34:16.476308 132763328280384 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 15:34:16.476345 132763328280384 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 15:34:18.932458 132639084226304 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_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/9/items/array_metadatas/process_7
I0421 15:34:55.381906 132763328280384 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 40.542 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.96234464645386 s) (per-host)
I0421 15:34:59.811039 132763328280384 event_tracking.py:125] [process=7] [sync] Finished blocking save in 48.24 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/9.
I0421 15:35:04.100235 132763328280384 event_tracking.py:138] [process=7] [sync] Finished save in 52.53 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints/9
I0421 15:35:04.102666 132763328280384 checkpoint_manager.py:2137] [process=7][thread=MainThread][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:35:04.104378 132763328280384 checkpoint_manager.py:2146] [process=7][thread=MainThread][step=9] CheckpointManager Save Finalize is done on all hosts.
I0421 15:35:04.104431 132763328280384 checkpoint_manager.py:1581] [process=7][thread=MainThread][step=9] Finished synchronous save.
I0421 15:35:04.104481 132763328280384 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_14_async_ckpt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': True, 'wait_for_prev_start_time': 1776785651.5668168, 'wait_for_prev_duration_secs': 5.7697296142578125e-05, 'time_between_consecutive_saves_sec': 23.210440397262573, 'checkpointer_blocking_start_time': 1776785651.5686731, 'checkpointer_blocking_duration_secs': 52.53168797492981, 'get_old_steps_start_time': 1776785704.100376, 'get_old_steps_duration_secs': 2.0742416381835938e-05, 'checkpoint_manager_blocking_start_time': 1776785651.56495, 'checkpoint_manager_blocking_duration_secs': 52.5395073890686}
I0421 15:35:04.104566 132763328280384 checkpointing.py:410] Saved a checkpoint at step 9.
I0421 15:35:04.104606 132763328280384 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:35:04.104637 132763328280384 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:35:04.105267 132763328280384 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.141, Tokens/s/device: 13888.512, 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 15:35:14 UTC 2026
EXIT_CODE=0
NNX  ·  e27fc1e97  ·  main_20260421_144122  ·  full log
XPK Start: Tue Apr 21 15:11:42 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 15:12:07.255457: 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 15:12:07.466073 138167370790720 max_utils.py:273] Attempting to initialize the jax distributed system...
I0421 15:12:16.507986 138167370790720 distributed.py:149] Starting JAX distributed service on [::]:8482
I0421 15:12:16.510239 138167370790720 distributed.py:172] Connecting to JAX distributed service on mt-14-async-ckpt-false--2poxr-slice-job-0-0.mt-14-async-ckpt-false--2poxr:8482
I0421 15:12:17.821871 138167370790720 max_utils.py:284] Jax distributed system initialized!
I0421 15:12:23.962230 138167370790720 max_utils.py:800] System Information: Jax Version: 0.9.2
I0421 15:12:23.962331 138167370790720 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0421 15:12:23.962371 138167370790720 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 15:12:23.962406 138167370790720 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 15:12:32 UTC 2026
EXIT_CODE=1