MaxView

‹ 16_zarr3_false_resumeCase: 16_zarr3_false_save16_zarr3_true_resume ›

Metrics: Linen vs NNX  ·  main

MetricLinen  59e0f1759NNX  59e0f1759Diff (NNX − Linen)
Parameters1.104 billion
Final loss7.1810
TFLOP/s92.454
Tok/s13935.7
Avg s/step8.362
Memory %1.38
JAX0.9.20.9.2

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

Linen  ·  59e0f1759  ·  main_20260425_071456  ·  full log
XPK Start: Sat Apr 25 08:34:31 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-25 08:34:55.974449: 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)
I0425 08:34:56.179025 133880660555584 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 08:35:05.218970 133880660555584 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 08:35:05.221573 133880660555584 distributed.py:172] Connecting to JAX distributed service on mt-16-zarr3-false-sv-7nbyi-slice-job-0-0.mt-16-zarr3-false-sv-7nbyi:8482
I0425 08:35:06.235509 133880660555584 max_utils.py:284] Jax distributed system initialized!
I0425 08:35:12.378141 133880660555584 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 08:35:12.378248 133880660555584 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 08:35:12.378289 133880660555584 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
I0425 08:35:12.378326 133880660555584 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0425 08:35:13.070418 133880660555584 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1)
I0425 08:35:13.070694 133880660555584 checkpointing.py:677] Setting up checkpoint logger...
I0425 08:35:13.070749 133880660555584 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=False
I0425 08:35:13.070793 133880660555584 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0425 08:35:13.071142 133880660555584 base_pytree_checkpoint_handler.py:441] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x79c2e4318380>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0425 08:35:15.986951 133880660555584 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0425 08:35:15.987210 133880660555584 checkpoint_manager.py:708] [process=6][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79aea4760140>}, handler_registry=None
I0425 08:35:15.987510 133880660555584 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79aea4760140>` 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`.
I0425 08:35:15.987564 133880660555584 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79aea4763d40>` 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`.
I0425 08:35:15.987601 133880660555584 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 0x79aea4760140>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x79aea4760140>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79aea4763d40>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x79aea4763d40>}).
I0425 08:35:15.987925 133880660555584 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0425 08:35:15.987993 133880660555584 async_checkpointer.py:192] [process=6][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x79adbc385800> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0425 08:35:17.113312 133880660555584 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints
I0425 08:35:17.425656 133880660555584 checkpoint_manager.py:929] [process=6][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=None, keep_time_interval=None, keep_period=None, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=True, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, todelete_full_path=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, 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_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x79aea475f500>
I0425 08:35:17.425836 133880660555584 checkpointing.py:301] Checkpoint manager created!
I0425 08:35:18.361887 133880660555584 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0425 08:35:18.362007 133880660555584 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 08:35:18.745600 133880660555584 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 08:35:18.745693 133880660555584 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 08:35:18.762218 133880660555584 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch_attn', 'activation_length_attn', 'activation_embed_attn').
I0425 08:35:18.762285 133880660555584 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0425 08:35:18.786360 133880660555584 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 08:35:18.786430 133880660555584 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 08:35:18.803051 133880660555584 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 08:35:18.803124 133880660555584 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 08:35:18.819685 133880660555584 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_length_attn', 'activation_kv_heads', 'activation_kv_head_dim').
I0425 08:35:18.819746 133880660555584 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 08:35:18.844921 133880660555584 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch_attn', 'activation_length_attn', 'activation_heads', 'activation_kv').
I0425 08:35:18.844992 133880660555584 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0425 08:35:18.866332 133880660555584 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0425 08:35:18.866399 133880660555584 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0425 08:35:19.076300 133880660555584 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0425 08:35:19.076411 133880660555584 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0425 08:35:20.514518 133880660555584 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0425 08:35:20.514643 133880660555584 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 08:35:20.514697 133880660555584 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0425 08:35:20.514753 133880660555584 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0425 08:35:20.514809 133880660555584 maxtext_utils.py:1707]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 08:35:20.514848 133880660555584 maxtext_utils.py:1707]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0425 08:35:20.514899 133880660555584 maxtext_utils.py:1707]  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)
I0425 08:35:20.514948 133880660555584 maxtext_utils.py:1707]  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')
I0425 08:35:20.514986 133880660555584 maxtext_utils.py:1707]  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)
I0425 08:35:20.515020 133880660555584 maxtext_utils.py:1707]  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)
I0425 08:35:20.515066 133880660555584 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0425 08:35:20.515125 133880660555584 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')

    Physical:  (None, 'fsdp')
I0425 08:35:21.006692 133880660555584 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 08:35:21.006785 133880660555584 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 08:35:21.022852 133880660555584 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0425 08:35:21.022914 133880660555584 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0425 08:35:32.005717 133880660555584 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.
I0425 08:35:32.006611 133880660555584 metric_logger.py:301] number parameters: 1.104 billion
I0425 08:35:43.642635 133880660555584 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0425 08:35:43.796680 133880660555584 checkpointing.py:776] Waited 0.15402746200561523 seconds for step 0 to finish before starting checkpointing.
I0425 08:35:43.798977 133880660555584 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 08:35:43.800595 133880660555584 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 0
I0425 08:35:43.802659 133880660555584 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints/0.
I0425 08:35:44.987585 133880660555584 signaling_client.py:364] Using JaxDistributedSignalingClient
I0425 08:35:44.988470 133880660555584 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 08:35:44.988529 133880660555584 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
I0425 08:35:45.273318 133880660555584 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.285805s
I0425 08:35:45.273488 133880660555584 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 5.290 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.29157471656799316 s) (per-host)
I0425 08:35:45.273540 133880660555584 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.291637s (batch_requests_ready=0.002581s, total_serialization_initiated=0.288985s, others=0.000071s)
I0425 08:35:45.273636 133880660555584 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.296144s (all_items=0.000017s, per_item={'items': '0.00001717'}, temp_paths=0.296126)
I0425 08:35:45.274507 133880660555584 event_tracking.py:125] [process=6] [async] Finished blocking save in 1.47 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints/0.
I0425 08:35:45.274870 133752395134720 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 08:55:45.274831
I0425 08:35:45.276921 133880660555584 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 08:35:45.277247 133752340592384 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 08:35:45.277413 133880660555584 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777106143.7989578, 'wait_for_prev_duration_secs': 6.127357482910156e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777106143.800636, 'checkpointer_blocking_duration_secs': 1.474391222000122, 'get_old_steps_start_time': 1777106145.2750523, 'get_old_steps_duration_secs': 3.123283386230469e-05, 'checkpoint_manager_blocking_start_time': 1777106143.7971468, 'checkpoint_manager_blocking_duration_secs': 1.480224609375}
I0425 08:35:45.277526 133880660555584 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0425 08:35:45.277580 133880660555584 max_utils.py:750] 
Memstats: After params initialized:
I0425 08:35:45.277631 133880660555584 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_24(process=6,(0,6,0,0))
I0425 08:35:45.277663 133880660555584 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_25(process=6,(1,6,0,0))
I0425 08:35:45.277690 133880660555584 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_28(process=6,(0,7,0,0))
I0425 08:35:45.277715 133880660555584 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_29(process=6,(1,7,0,0))
I0425 08:35:45.588469 133880660555584 metric_logger.py:196] completed step: 0, seconds: 11.636, TFLOP/s/device: 1.168, Tokens/s/device: 176.007, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 08:35:45.768571 133880660555584 metric_logger.py:196] completed step: 1, seconds: 1.944, TFLOP/s/device: 6.989, Tokens/s/device: 1053.415, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0425 08:35:46.201223 133880660555584 metric_logger.py:196] completed step: 2, seconds: 0.032, TFLOP/s/device: 428.319, Tokens/s/device: 64560.873, total_weights: 65536, loss: 10.560, lm_loss: 10.560, perplexity: 38547.719
I0425 08:35:46.348723 133880660555584 metric_logger.py:196] completed step: 3, seconds: 0.434, TFLOP/s/device: 31.301, Tokens/s/device: 4718.068, total_weights: 65536, loss: 9.980, lm_loss: 9.980, perplexity: 21590.506
I0425 08:35:46.353219 133880660555584 checkpointing.py:772] Waiting for step 5 to finish before checkpoint...
I0425 08:35:46.642746 133880660555584 checkpointing.py:776] Waited 0.28949546813964844 seconds for step 5 to finish before starting checkpointing.
I0425 08:35:46.645646 133880660555584 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 08:35:48.145070    2759 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0425 08:35:50.189199 133752348985088 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints/0/items/array_metadatas/process_6
I0425 08:36:26.830593 133752395134720 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 37.745 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.84864068031311 s) (per-host)
I0425 08:36:26.830719 133752395134720 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.555734s.
I0425 08:36:35.634973 133752395134720 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.359971s.
I0425 08:36:35.635294 133752340592384 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 08:36:35.635438 133752340592384 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 08:36:35.635491 133752340592384 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0425 08:36:35.639132 133752340592384 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0425 08:36:35.639283 133880660555584 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0425 08:36:35.639364 133880660555584 checkpoint_manager.py:1452] Waiting for previous save to complete took 48.993724 seconds. If this number is high, consider checkpointing less frequently.
I0425 08:36:35.641330 133880660555584 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 5
I0425 08:36:35.643820 133880660555584 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints/5.
I0425 08:36:36.369735 133880660555584 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 08:36:36.369827 133880660555584 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
I0425 08:36:36.418873 133880660555584 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.050221s
I0425 08:36:36.419037 133880660555584 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 28.363 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.05438709259033203 s) (per-host)
I0425 08:36:36.419087 133880660555584 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.054447s (batch_requests_ready=0.002568s, total_serialization_initiated=0.051813s, others=0.000065s)
I0425 08:36:36.419190 133880660555584 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.059657s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.059642)
I0425 08:36:36.419898 133880660555584 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.78 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints/5.
I0425 08:36:36.420256 133752340592384 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 08:56:36.420214
I0425 08:36:36.422369 133880660555584 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=5] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 08:36:36.422607 133752348985088 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 08:36:36.422771 133880660555584 standard_logger.py:34] {'step': 5, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777106146.6456163, 'wait_for_prev_duration_secs': 48.99372363090515, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777106195.6413686, 'checkpointer_blocking_duration_secs': 0.7790331840515137, 'get_old_steps_start_time': 1777106196.4204242, 'get_old_steps_duration_secs': 2.8848648071289062e-05, 'checkpoint_manager_blocking_start_time': 1777106146.643376, 'checkpoint_manager_blocking_duration_secs': 49.77935981750488}
I0425 08:36:36.422897 133880660555584 checkpointing.py:408] Started an asynchronous checkpoint save for step 5
I0425 08:36:36.423911 133880660555584 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.636, Tokens/s/device: 13360.210, total_weights: 65536, loss: 9.460, lm_loss: 9.460, perplexity: 12840.355
I0425 08:36:36.430137 133880660555584 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.292, Tokens/s/device: 13911.248, total_weights: 65536, loss: 8.959, lm_loss: 8.959, perplexity: 7776.467
I0425 08:36:41.530821 133727258662656 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints/5/items/array_metadatas/process_6
I0425 08:36:58.752964 133880660555584 metric_logger.py:196] completed step: 6, seconds: 50.075, TFLOP/s/device: 0.271, Tokens/s/device: 40.898, total_weights: 65536, loss: 8.469, lm_loss: 8.469, perplexity: 4762.740
I0425 08:36:58.899908 133880660555584 metric_logger.py:196] completed step: 7, seconds: 22.176, TFLOP/s/device: 0.613, Tokens/s/device: 92.350, total_weights: 65536, loss: 8.003, lm_loss: 8.003, perplexity: 2989.151
I0425 08:36:59.047321 133880660555584 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.131, Tokens/s/device: 13434.794, total_weights: 65536, loss: 7.572, lm_loss: 7.572, perplexity: 1943.098
I0425 08:36:59.194005 133880660555584 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0425 08:36:59.194689 133880660555584 checkpointing.py:776] Waited 0.0007047653198242188 seconds for step 9 to finish before starting checkpointing.
I0425 08:36:59.196807 133880660555584 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=5][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 08:37:19.338893 133752340592384 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.757 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.97420358657837 s) (per-host)
I0425 08:37:19.339022 133752340592384 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.918650s.
I0425 08:37:27.197814 133752340592384 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 50.777425s.
I0425 08:37:27.198091 133752348985088 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 08:37:27.198237 133752348985088 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 08:37:27.198286 133752348985088 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=5] CheckpointManager Save Finalize is syncing with other hosts...
I0425 08:37:27.199565 133752348985088 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=5] CheckpointManager Save Finalize is done on all hosts.
I0425 08:37:27.199750 133880660555584 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=5][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=5.
W0425 08:37:27.199877 133880660555584 checkpoint_manager.py:1452] Waiting for previous save to complete took 28.003077 seconds. If this number is high, consider checkpointing less frequently.
I0425 08:37:27.201397 133880660555584 checkpoint_manager.py:1512] [process=6] Saving checkpoint at step 9
I0425 08:37:27.203472 133880660555584 event_tracking.py:70] [process=6] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints/9.
I0425 08:37:27.742616 133880660555584 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0425 08:37:27.742709 133880660555584 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
I0425 08:37:27.787232 133880660555584 base_pytree_checkpoint_handler.py:154] [process=6][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.045393s
I0425 08:37:27.787391 133880660555584 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/blocking_gbytes_per_sec: 31.535 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04891657829284668 s) (per-host)
I0425 08:37:27.787441 133880660555584 base_pytree_checkpoint_handler.py:768] [process=6][thread=MainThread] Initiated Pytree async_save. Time taken: 0.048977s (batch_requests_ready=0.001787s, total_serialization_initiated=0.047125s, others=0.000064s)
I0425 08:37:27.787528 133880660555584 composite_checkpoint_handler.py:715] [process=6][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.053366s (all_items=0.000010s, per_item={'items': '0.00001049'}, temp_paths=0.053356)
I0425 08:37:27.789405 133880660555584 event_tracking.py:125] [process=6] [async] Finished blocking save in 0.59 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints/9.
I0425 08:37:27.789635 133752348985088 async_checkpointer.py:76] [process=6][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-25 08:57:27.789615
I0425 08:37:27.791517 133880660555584 checkpoint_manager.py:1560] [process=6][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0425 08:37:27.791687 133750750951168 async_checkpointer.py:280] [process=6][thread=save_finalize] Waiting for background save thread=async_save.
I0425 08:37:27.791777 133880660555584 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777106219.1967785, 'wait_for_prev_duration_secs': 28.003076791763306, 'time_between_consecutive_saves_sec': 23.557605266571045, 'checkpointer_blocking_start_time': 1777106247.201436, 'checkpointer_blocking_duration_secs': 0.5882852077484131, 'get_old_steps_start_time': 1777106247.7897358, 'get_old_steps_duration_secs': 2.2649765014648438e-05, 'checkpoint_manager_blocking_start_time': 1777106219.1949134, 'checkpoint_manager_blocking_duration_secs': 28.59683656692505}
I0425 08:37:27.791873 133880660555584 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0425 08:37:27.791912 133880660555584 checkpoint_manager.py:2020] [process=6][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0425 08:37:32.988084 133727258662656 array_metadata_store.py:203] [process=6][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260425_071456/linen_xpk_main_20260425_071456_16_zarr3_false/checkpoints/9/items/array_metadatas/process_6
I0425 08:38:10.442404 133752348985088 base_pytree_checkpoint_handler.py:130] [process=6] /jax/orbax/write/gbytes_per_sec: 36.990 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.70388984680176 s) (per-host)
I0425 08:38:10.442539 133752348985088 async_checkpointer.py:90] [process=6][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.652842s.
I0425 08:38:18.822456 133752348985088 async_checkpointer.py:160] [process=6][thread=async_save] Background save thread done. Time taken: 51.032743s.
I0425 08:38:18.822706 133750750951168 async_checkpointer.py:288] [process=6][thread=save_finalize] Done with waiting for background save thread=async_save.
I0425 08:38:18.822773 133750750951168 async_checkpointer.py:298] [process=6][thread=save_finalize] No errors found in background save thread=async_save.
I0425 08:38:18.822829 133750750951168 checkpoint_manager.py:2137] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0425 08:38:18.824340 133750750951168 checkpoint_manager.py:2146] [process=6][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0425 08:38:18.824470 133880660555584 checkpoint_manager.py:2032] [process=6][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0425 08:38:18.824542 133880660555584 checkpoint_manager.py:2009] [process=6][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0425 08:38:18.825264 133880660555584 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.454, Tokens/s/device: 13935.670, 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: Sat Apr 25 08:38:31 UTC 2026
EXIT_CODE=0
NNX  ·  59e0f1759  ·  main_20260425_071456  ·  full log
XPK Start: Sat Apr 25 09:16:37 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-25 09:17:02.378559: 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)
I0425 09:17:02.582869 133750259726144 max_utils.py:273] Attempting to initialize the jax distributed system...
I0425 09:17:11.623570 133750259726144 distributed.py:149] Starting JAX distributed service on [::]:8482
I0425 09:17:11.625912 133750259726144 distributed.py:172] Connecting to JAX distributed service on mt-16-zarr3-false-sv-v342s-slice-job-0-0.mt-16-zarr3-false-sv-v342s:8482
I0425 09:17:12.536841 133750259726144 max_utils.py:284] Jax distributed system initialized!
I0425 09:17:18.766066 133750259726144 max_utils.py:800] System Information: Jax Version: 0.9.2
I0425 09:17:18.766193 133750259726144 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0425 09:17:18.766236 133750259726144 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
I0425 09:17:18.766271 133750259726144 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: Sat Apr 25 09:17:27 UTC 2026
EXIT_CODE=1