MaxView

‹ 16_zarr3_true_resumeCase: 16_zarr3_true_save— ›

Metrics: Linen vs NNX  ·  main

MetricLinen  8a17c3d19NNX  8a17c3d19Diff (NNX − Linen)
Parameters1.104 billion
Final loss7.1810
TFLOP/s92.327
Tok/s13916.5
Avg s/step7.874
Memory %1.38
JAX0.9.20.9.2

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

Linen  ·  8a17c3d19  ·  main_20260422_071422  ·  full log
XPK Start: Wed Apr 22 08:30:45 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-22 08:31:10.883027: 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)
I0422 08:31:11.094405 132098602301248 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 08:31:20.134891 132098602301248 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 08:31:20.137280 132098602301248 distributed.py:172] Connecting to JAX distributed service on mt-16-zarr3-true-sv-wv7bs-slice-job-0-0.mt-16-zarr3-true-sv-wv7bs:8482
I0422 08:31:21.102024 132098602301248 max_utils.py:284] Jax distributed system initialized!
I0422 08:31:27.152630 132098602301248 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 08:31:27.152735 132098602301248 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 08:31:27.152776 132098602301248 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
I0422 08:31:27.152811 132098602301248 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 08:31:27.848726 132098602301248 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 08:31:27.849024 132098602301248 checkpointing.py:677] Setting up checkpoint logger...
I0422 08:31:27.849081 132098602301248 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 08:31:27.849125 132098602301248 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0422 08:31:27.849456 132098602301248 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 0x78241390a510>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 08:31:30.788501 132098602301248 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0422 08:31:30.788746 132098602301248 checkpoint_manager.py:708] [process=3][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x780f8c711940>}, handler_registry=None
I0422 08:31:30.788998 132098602301248 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x780f8c711940>` 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`.
I0422 08:31:30.789048 132098602301248 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x780f8c715340>` 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`.
I0422 08:31:30.789084 132098602301248 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 0x780f8c711940>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x780f8c711940>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x780f8c715340>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x780f8c715340>}).
I0422 08:31:30.789394 132098602301248 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0422 08:31:30.789464 132098602301248 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x780f644e1580> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0422 08:31:31.624030 132098602301248 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints
I0422 08:31:32.060561 132098602301248 checkpoint_manager.py:929] [process=3][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_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x780f8c711df0>
I0422 08:31:32.060731 132098602301248 checkpointing.py:301] Checkpoint manager created!
I0422 08:31:32.990844 132098602301248 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 08:31:32.990986 132098602301248 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 08:31:33.372256 132098602301248 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 08:31:33.372349 132098602301248 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 08:31:33.389003 132098602301248 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 08:31:33.389063 132098602301248 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 08:31:33.412755 132098602301248 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 08:31:33.412820 132098602301248 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 08:31:33.429641 132098602301248 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 08:31:33.429709 132098602301248 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 08:31:33.446135 132098602301248 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 08:31:33.446197 132098602301248 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 08:31:33.470891 132098602301248 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 08:31:33.470978 132098602301248 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 08:31:33.492079 132098602301248 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 08:31:33.492143 132098602301248 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 08:31:33.702093 132098602301248 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 08:31:33.702204 132098602301248 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0422 08:31:35.125406 132098602301248 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0422 08:31:35.125535 132098602301248 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)
I0422 08:31:35.125590 132098602301248 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)
I0422 08:31:35.125647 132098602301248 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')
I0422 08:31:35.125698 132098602301248 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)
I0422 08:31:35.125736 132098602301248 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)
I0422 08:31:35.125793 132098602301248 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)
I0422 08:31:35.125846 132098602301248 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')
I0422 08:31:35.125886 132098602301248 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)
I0422 08:31:35.125922 132098602301248 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)
I0422 08:31:35.125988 132098602301248 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0422 08:31:35.126038 132098602301248 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0422 08:31:35.624669 132098602301248 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 08:31:35.624765 132098602301248 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 08:31:35.640269 132098602301248 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 08:31:35.640329 132098602301248 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 08:31:46.502165 132098602301248 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.
I0422 08:31:46.502991 132098602301248 metric_logger.py:301] number parameters: 1.104 billion
I0422 08:31:57.656324 132098602301248 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0422 08:31:58.177233 132098602301248 checkpointing.py:776] Waited 0.5208892822265625 seconds for step 0 to finish before starting checkpointing.
I0422 08:31:58.179995 132098602301248 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 08:31:58.181744 132098602301248 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 0
I0422 08:31:58.183088 132098602301248 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints/0.
I0422 08:31:58.963943 132098602301248 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 08:31:58.964916 132098602301248 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 08:31:58.964990 132098602301248 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
I0422 08:31:59.249219 132098602301248 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.285360s
I0422 08:31:59.249391 132098602301248 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.301 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2909994125366211 s) (per-host)
I0422 08:31:59.249442 132098602301248 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.291061s (batch_requests_ready=0.002491s, total_serialization_initiated=0.288499s, others=0.000071s)
I0422 08:31:59.249532 132098602301248 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.295228s (all_items=0.000018s, per_item={'items': '0.00001836'}, temp_paths=0.295209)
I0422 08:31:59.250417 132098602301248 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.07 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints/0.
I0422 08:31:59.250779 131968968681216 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:51:59.250741
I0422 08:31:59.256848 132098602301248 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 08:31:59.257149 131967894939392 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 08:31:59.257304 132098602301248 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776846718.1799662, 'wait_for_prev_duration_secs': 0.00011277198791503906, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776846718.181782, 'checkpointer_blocking_duration_secs': 1.0691611766815186, 'get_old_steps_start_time': 1776846719.2509687, 'get_old_steps_duration_secs': 3.075599670410156e-05, 'checkpoint_manager_blocking_start_time': 1776846718.177756, 'checkpoint_manager_blocking_duration_secs': 1.0795085430145264}
I0422 08:31:59.257411 132098602301248 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0422 08:31:59.257464 132098602301248 max_utils.py:750] 
Memstats: After params initialized:
I0422 08:31:59.257515 132098602301248 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0422 08:31:59.257550 132098602301248 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0422 08:31:59.257576 132098602301248 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0422 08:31:59.257600 132098602301248 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0422 08:31:59.571665 132098602301248 metric_logger.py:196] completed step: 0, seconds: 11.153, TFLOP/s/device: 1.218, Tokens/s/device: 183.624, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0422 08:31:59.744612 132098602301248 metric_logger.py:196] completed step: 1, seconds: 1.914, TFLOP/s/device: 7.100, Tokens/s/device: 1070.152, total_weights: 65536, loss: 10.874, lm_loss: 10.874, perplexity: 52779.875
I0422 08:32:00.173363 132098602301248 metric_logger.py:196] completed step: 2, seconds: 0.026, TFLOP/s/device: 528.518, Tokens/s/device: 79663.918, total_weights: 65536, loss: 10.560, lm_loss: 10.560, perplexity: 38547.719
I0422 08:32:00.320492 132098602301248 metric_logger.py:196] completed step: 3, seconds: 0.429, TFLOP/s/device: 31.680, Tokens/s/device: 4775.173, total_weights: 65536, loss: 9.980, lm_loss: 9.980, perplexity: 21590.506
I0422 08:32:00.325218 132098602301248 checkpointing.py:772] Waiting for step 5 to finish before checkpoint...
I0422 08:32:00.615283 132098602301248 checkpointing.py:776] Waited 0.29003024101257324 seconds for step 5 to finish before starting checkpointing.
I0422 08:32:00.618267 132098602301248 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 08:32:02.869253    2826 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 08:32:05.327869 131967903332096 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints/0/items/array_metadatas/process_3
I0422 08:32:36.571951 131968968681216 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 41.995 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.61350655555725 s) (per-host)
I0422 08:32:36.572074 131968968681216 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.321183s.
I0422 08:32:44.973370 131968968681216 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 45.722461s.
I0422 08:32:44.973658 131967894939392 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 08:32:44.973782 131967894939392 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 08:32:44.973832 131967894939392 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0422 08:32:44.975372 131967894939392 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0422 08:32:44.975542 132098602301248 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0422 08:32:44.975675 132098602301248 checkpoint_manager.py:1452] Waiting for previous save to complete took 44.357409 seconds. If this number is high, consider checkpointing less frequently.
I0422 08:32:44.977535 132098602301248 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 5
I0422 08:32:44.980049 132098602301248 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints/5.
I0422 08:32:45.298225 132098602301248 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 08:32:45.298314 132098602301248 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
I0422 08:32:45.330893 132098602301248 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.033858s
I0422 08:32:45.331046 132098602301248 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 41.409 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.037252187728881836 s) (per-host)
I0422 08:32:45.331094 132098602301248 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.037310s (batch_requests_ready=0.001761s, total_serialization_initiated=0.035484s, others=0.000065s)
I0422 08:32:45.331174 132098602301248 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042312s (all_items=0.000016s, per_item={'items': '0.00001621'}, temp_paths=0.042296)
I0422 08:32:45.331779 132098602301248 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.35 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints/5.
I0422 08:32:45.332028 131968430454528 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:52:45.331988
I0422 08:32:45.341617 132098602301248 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=5] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 08:32:45.341845 131967894939392 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 08:32:45.341981 132098602301248 standard_logger.py:34] {'step': 5, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776846720.6182373, 'wait_for_prev_duration_secs': 44.35740852355957, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776846764.9775736, 'checkpointer_blocking_duration_secs': 0.3545982837677002, 'get_old_steps_start_time': 1776846765.332191, 'get_old_steps_duration_secs': 2.7418136596679688e-05, 'checkpoint_manager_blocking_start_time': 1776846720.615891, 'checkpoint_manager_blocking_duration_secs': 44.72605848312378}
I0422 08:32:45.342078 132098602301248 checkpointing.py:408] Started an asynchronous checkpoint save for step 5
I0422 08:32:45.342870 132098602301248 metric_logger.py:196] completed step: 4, seconds: 0.153, TFLOP/s/device: 88.611, Tokens/s/device: 13356.464, total_weights: 65536, loss: 9.460, lm_loss: 9.460, perplexity: 12840.355
I0422 08:32:45.348654 132098602301248 metric_logger.py:196] completed step: 5, seconds: 0.147, TFLOP/s/device: 92.356, Tokens/s/device: 13920.893, total_weights: 65536, loss: 8.959, lm_loss: 8.959, perplexity: 7776.467
I0422 08:32:50.998388 131947812603648 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints/5/items/array_metadatas/process_3
I0422 08:33:08.371433 132098602301248 metric_logger.py:196] completed step: 6, seconds: 45.022, TFLOP/s/device: 0.302, Tokens/s/device: 45.489, total_weights: 65536, loss: 8.469, lm_loss: 8.469, perplexity: 4762.740
I0422 08:33:08.518762 132098602301248 metric_logger.py:196] completed step: 7, seconds: 22.877, TFLOP/s/device: 0.594, Tokens/s/device: 89.522, total_weights: 65536, loss: 8.003, lm_loss: 8.003, perplexity: 2989.151
I0422 08:33:08.666103 132098602301248 metric_logger.py:196] completed step: 8, seconds: 0.152, TFLOP/s/device: 89.319, Tokens/s/device: 13463.144, total_weights: 65536, loss: 7.572, lm_loss: 7.572, perplexity: 1943.098
I0422 08:33:08.812757 132098602301248 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0422 08:33:08.813473 132098602301248 checkpointing.py:776] Waited 0.0007369518280029297 seconds for step 9 to finish before starting checkpointing.
I0422 08:33:08.815536 132098602301248 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=5][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 08:33:28.844244 131968430454528 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 36.271 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.550419092178345 s) (per-host)
I0422 08:33:28.844349 131968430454528 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 43.512205s.
I0422 08:33:35.329702 131968430454528 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 49.997542s.
I0422 08:33:35.329917 131967894939392 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 08:33:35.329997 131967894939392 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 08:33:35.330044 131967894939392 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=5] CheckpointManager Save Finalize is syncing with other hosts...
I0422 08:33:35.331812 131967894939392 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=5] CheckpointManager Save Finalize is done on all hosts.
I0422 08:33:35.332001 132098602301248 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=5][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=5.
W0422 08:33:35.332146 132098602301248 checkpoint_manager.py:1452] Waiting for previous save to complete took 26.516625 seconds. If this number is high, consider checkpointing less frequently.
I0422 08:33:35.333608 132098602301248 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 9
I0422 08:33:35.335799 132098602301248 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints/9.
I0422 08:33:35.623995 132098602301248 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 08:33:35.624085 132098602301248 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
I0422 08:33:35.657848 132098602301248 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.034764s
I0422 08:33:35.658033 132098602301248 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 40.402 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03818058967590332 s) (per-host)
I0422 08:33:35.658087 132098602301248 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.038245s (batch_requests_ready=0.001640s, total_serialization_initiated=0.036536s, others=0.000069s)
I0422 08:33:35.658182 132098602301248 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.042342s (all_items=0.000011s, per_item={'items': '0.00001097'}, temp_paths=0.042331)
I0422 08:33:35.658857 132098602301248 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.33 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints/9.
I0422 08:33:35.659194 131965218977536 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:53:35.659156
I0422 08:33:35.666616 132098602301248 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 08:33:35.666905 131967894939392 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 08:33:35.667082 132098602301248 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776846788.8154986, 'wait_for_prev_duration_secs': 26.516624689102173, 'time_between_consecutive_saves_sec': 23.840087890625, 'checkpointer_blocking_start_time': 1776846815.333646, 'checkpointer_blocking_duration_secs': 0.3256998062133789, 'get_old_steps_start_time': 1776846815.6593623, 'get_old_steps_duration_secs': 2.4080276489257812e-05, 'checkpoint_manager_blocking_start_time': 1776846788.8137155, 'checkpoint_manager_blocking_duration_secs': 26.85333251953125}
I0422 08:33:35.667195 132098602301248 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0422 08:33:35.667236 132098602301248 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 08:33:40.781854 131947812603648 array_metadata_store.py:203] [process=3][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_16_zarr3_true/checkpoints/9/items/array_metadatas/process_3
I0422 08:34:17.889047 131965218977536 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.370 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.2691535949707 s) (per-host)
I0422 08:34:17.889167 131965218977536 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.229857s.
I0422 08:34:26.454179 131965218977536 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 50.794853s.
I0422 08:34:26.454447 131967894939392 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 08:34:26.454588 131967894939392 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 08:34:26.454630 131967894939392 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0422 08:34:26.456040 131967894939392 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0422 08:34:26.456219 132098602301248 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0422 08:34:26.456378 132098602301248 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 08:34:26.457437 132098602301248 metric_logger.py:196] completed step: 9, seconds: 0.147, TFLOP/s/device: 92.327, Tokens/s/device: 13916.542, 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: Wed Apr 22 08:34:35 UTC 2026
EXIT_CODE=0
NNX  ·  8a17c3d19  ·  main_20260422_071422  ·  full log
XPK Start: Wed Apr 22 09:23:33 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-22 09:23:58.252333: 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)
I0422 09:23:58.461984 131988823787328 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 09:24:07.504070 131988823787328 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 09:24:07.506392 131988823787328 distributed.py:172] Connecting to JAX distributed service on mt-16-zarr3-true-sv-96v41-slice-job-0-0.mt-16-zarr3-true-sv-96v41:8482
I0422 09:24:08.493442 131988823787328 max_utils.py:284] Jax distributed system initialized!
I0422 09:24:13.702675 131988823787328 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 09:24:13.702783 131988823787328 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 09:24:13.702824 131988823787328 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
I0422 09:24:13.702859 131988823787328 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: Wed Apr 22 09:24:23 UTC 2026
EXIT_CODE=1