MaxView

‹ 14_async_ckpt_false_saveCase: 15_ocdbt_false_resume15_ocdbt_false_save ›

Metrics: Linen vs NNX  ·  main

MetricLinen  e27fc1e97NNX  e27fc1e97Diff (NNX − Linen)
Parameters1.104 billion
Final loss5.3910
TFLOP/s92.161
Tok/s13891.5
Avg s/step5.056
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:55:28 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:55:53.140399: 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:55:53.353570 137337464538944 max_utils.py:273] Attempting to initialize the jax distributed system...
I0421 15:56:02.395290 137337464538944 distributed.py:149] Starting JAX distributed service on [::]:8482
I0421 15:56:02.397774 137337464538944 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-false-rs-5vpni-slice-job-0-0.mt-15-ocdbt-false-rs-5vpni:8482
I0421 15:56:03.623158 137337464538944 max_utils.py:284] Jax distributed system initialized!
I0421 15:56:09.664423 137337464538944 max_utils.py:800] System Information: Jax Version: 0.9.2
I0421 15:56:09.664528 137337464538944 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0421 15:56:09.664567 137337464538944 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:56:09.664614 137337464538944 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 15:56:10.356130 137337464538944 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 15:56:10.356413 137337464538944 checkpointing.py:677] Setting up checkpoint logger...
I0421 15:56:10.356469 137337464538944 checkpointing.py:233] Creating checkpoint manager with ocdbt=False and zarr3=True
I0421 15:56:10.356514 137337464538944 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0421 15:56:10.356876 137337464538944 base_pytree_checkpoint_handler.py:441] Created BasePyTreeCheckpointHandler: use_ocdbt=False, use_zarr3=True, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7ce7cd511910>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 15:56:11.688349 137337464538944 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 15:56:11.688589 137337464538944 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 0x7cd36418d6d0>}, handler_registry=None
I0421 15:56:11.688841 137337464538944 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7cd36418d6d0>` 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:56:11.688891 137337464538944 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cd364190620>` 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:56:11.688927 137337464538944 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 0x7cd36418d6d0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7cd36418d6d0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cd364190620>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cd364190620>}).
I0421 15:56:11.689259 137337464538944 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0421 15:56:11.689330 137337464538944 async_checkpointer.py:192] [process=7][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7cd270571580> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0421 15:56:13.491382 137215531276032 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776786802023734025, 'commit_timestamp_nsecs': 1776786816195599052, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/0/_CHECKPOINT_METADATA
I0421 15:56:13.735331 137215531276032 checkpoint_manager.py:1871] Missing metrics for step 0
I0421 15:56:14.159511 137337464538944 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints
I0421 15:56:14.208252 137337464538944 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=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_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7cd3643c2210>
I0421 15:56:14.208407 137337464538944 checkpointing.py:301] Checkpoint manager created!
I0421 15:56:15.140430 137337464538944 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 15:56:15.140548 137337464538944 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 15:56:15.520509 137337464538944 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 15:56:15.520606 137337464538944 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 15:56:15.537095 137337464538944 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 15:56:15.537156 137337464538944 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 15:56:15.560880 137337464538944 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:56:15.560951 137337464538944 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:56:15.577433 137337464538944 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:56:15.577494 137337464538944 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:56:15.593950 137337464538944 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:56:15.594008 137337464538944 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:56:15.618678 137337464538944 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 15:56:15.618762 137337464538944 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:56:15.639761 137337464538944 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 15:56:15.639837 137337464538944 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 15:56:15.848304 137337464538944 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 15:56:15.848415 137337464538944 checkpointing.py:581] restoring from this run's directory step 9
I0421 15:56:16.093573 137337464538944 event_tracking.py:70] [process=7] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/9.
I0421 15:56:16.345350 137337464538944 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/9.
I0421 15:56:16.345788 137337464538944 event_tracking.py:125] [process=7] [sync] Finished blocking load in 0.25 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/9.
I0421 15:56:19.544117    1488 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 15:56:28.138483 137337464538944 jax_array_handlers.py:843] [process=7] /jax/orbax/read/worker/io/requested throughput: 160.491 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 9.846503734588623 s) (per-host)
I0421 15:56:28.156206 137337464538944 base_pytree_checkpoint_handler.py:130] [process=7] /jax/checkpoint/read/gbytes_per_sec: 153.878 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 10.284758567810059 s) (per-host)
I0421 15:56:29.077655 137337464538944 event_tracking.py:138] [process=7] [sync] Finished load in 12.98 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/9
I0421 15:56:29.077859 137337464538944 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints', 'checkpointer_start_time': 1776786976.0934596, 'checkpointer_duration_secs': 12.984365940093994, 'checkpoint_manager_start_time': 1776786975.8486514, 'checkpoint_manager_duration_secs': 13.22917652130127}
fsdp: 32
I0421 15:56:29.499666 137337464538944 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0421 15:56:29.499809 137337464538944 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:56:29.499864 137337464538944 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:56:29.499922 137337464538944 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:56:29.499973 137337464538944 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:56:29.500010 137337464538944 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:56:29.500070 137337464538944 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:56:29.500123 137337464538944 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:56:29.500162 137337464538944 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:56:29.500197 137337464538944 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:56:29.500242 137337464538944 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0421 15:56:29.500286 137337464538944 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0421 15:56:29.990867 137337464538944 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 15:56:29.990962 137337464538944 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 15:56:30.006456 137337464538944 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 15:56:30.006516 137337464538944 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 15:56:40.930718 137337464538944 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:56:40.931505 137337464538944 metric_logger.py:301] number parameters: 1.104 billion
I0421 15:56:52.123861 137337464538944 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0421 15:56:52.811106 137337464538944 checkpointing.py:776] Waited 0.6872272491455078 seconds for step 10 to finish before starting checkpointing.
I0421 15:56:52.813668 137337464538944 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:56:52.815573 137337464538944 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 10
I0421 15:56:52.817069 137337464538944 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/10.
I0421 15:56:53.151205 137337464538944 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 15:56:53.152129 137337464538944 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:56:53.152185 137337464538944 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:56:53.434208 137337464538944 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.283076s
I0421 15:56:53.434375 137337464538944 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 5.374 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.28706979751586914 s) (per-host)
I0421 15:56:53.434427 137337464538944 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.287133s (batch_requests_ready=0.002279s, total_serialization_initiated=0.284783s, others=0.000071s)
I0421 15:56:53.434503 137337464538944 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.291193s (all_items=0.000016s, per_item={'items': '0.00001621'}, temp_paths=0.291177)
I0421 15:56:53.435249 137337464538944 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.62 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/10.
I0421 15:56:53.435548 137212855314176 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 16:16:53.435515
I0421 15:56:53.439870 137337464538944 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 15:56:53.440182 137211759408896 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0421 15:56:53.440333 137337464538944 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776787012.8136501, 'wait_for_prev_duration_secs': 6.103515625e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776787012.8156116, 'checkpointer_blocking_duration_secs': 0.6200854778289795, 'get_old_steps_start_time': 1776787013.4357207, 'get_old_steps_duration_secs': 4.458427429199219e-05, 'checkpoint_manager_blocking_start_time': 1776787012.811488, 'checkpoint_manager_blocking_duration_secs': 0.6288092136383057}
I0421 15:56:53.440439 137337464538944 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0421 15:56:53.440489 137337464538944 max_utils.py:750] 
Memstats: After params initialized:
I0421 15:56:53.440539 137337464538944 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_26(process=7,(2,6,0,0))
I0421 15:56:53.440572 137337464538944 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_27(process=7,(3,6,0,0))
I0421 15:56:53.440598 137337464538944 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_30(process=7,(2,7,0,0))
I0421 15:56:53.440623 137337464538944 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_31(process=7,(3,7,0,0))
I0421 15:56:53.754515 137337464538944 metric_logger.py:196] completed step: 10, seconds: 11.192, TFLOP/s/device: 1.214, Tokens/s/device: 182.984, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0421 15:56:53.935157 137337464538944 metric_logger.py:196] completed step: 11, seconds: 1.629, TFLOP/s/device: 8.340, Tokens/s/device: 1257.144, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0421 15:56:54.082844 137337464538944 metric_logger.py:196] completed step: 12, seconds: 0.034, TFLOP/s/device: 404.656, Tokens/s/device: 60994.133, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0421 15:56:54.230249 137337464538944 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.693, Tokens/s/device: 13368.844, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0421 15:56:54.234682 137337464538944 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0421 15:56:54.524152 137337464538944 checkpointing.py:776] Waited 0.2894299030303955 seconds for step 15 to finish before starting checkpointing.
I0421 15:56:54.527290 137337464538944 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 15:56:58.154244 137212276479744 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_15_ocdbt_false/checkpoints/10/items/array_metadatas/process_7
I0421 15:57:03.441569 137212855314176 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 153.445 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 10.294225692749023 s) (per-host)
I0421 15:57:03.441695 137212855314176 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 10.006038s.
I0421 15:57:09.819061 137212855314176 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 16.383387s.
I0421 15:57:09.819325 137211759408896 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 15:57:09.819442 137211759408896 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0421 15:57:09.819490 137211759408896 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:57:09.822121 137211759408896 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0421 15:57:09.822312 137337464538944 checkpoint_manager.py:2032] [process=7][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0421 15:57:09.822447 137337464538944 checkpoint_manager.py:1452] Waiting for previous save to complete took 15.295156 seconds. If this number is high, consider checkpointing less frequently.
I0421 15:57:09.824306 137337464538944 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 15
I0421 15:57:09.826730 137337464538944 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/15.
I0421 15:57:10.104889 137337464538944 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:57:10.104982 137337464538944 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:57:10.146955 137337464538944 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.043138s
I0421 15:57:10.147124 137337464538944 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 33.063 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.046655893325805664 s) (per-host)
I0421 15:57:10.147176 137337464538944 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.046717s (batch_requests_ready=0.001877s, total_serialization_initiated=0.044772s, others=0.000068s)
I0421 15:57:10.147262 137337464538944 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.051758s (all_items=0.000012s, per_item={'items': '0.00001168'}, temp_paths=0.051746)
I0421 15:57:10.147958 137337464538944 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.32 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/15.
I0421 15:57:10.148300 137211759408896 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 16:17:10.148263
I0421 15:57:10.150257 137337464538944 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=15] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 15:57:10.150486 137208535168768 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0421 15:57:10.150610 137337464538944 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776787014.5272632, 'wait_for_prev_duration_secs': 15.29515552520752, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776787029.8243449, 'checkpointer_blocking_duration_secs': 0.32410216331481934, 'get_old_steps_start_time': 1776787030.1484692, 'get_old_steps_duration_secs': 3.1948089599609375e-05, 'checkpoint_manager_blocking_start_time': 1776787014.5248067, 'checkpoint_manager_blocking_duration_secs': 15.625771284103394}
I0421 15:57:10.150718 137337464538944 checkpointing.py:408] Started an asynchronous checkpoint save for step 15
I0421 15:57:10.151558 137337464538944 metric_logger.py:196] completed step: 14, seconds: 0.148, TFLOP/s/device: 92.086, Tokens/s/device: 13880.229, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0421 15:57:10.157695 137337464538944 metric_logger.py:196] completed step: 15, seconds: 0.147, TFLOP/s/device: 92.230, Tokens/s/device: 13901.899, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0421 15:57:15.773106 137212276479744 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_15_ocdbt_false/checkpoints/15/items/array_metadatas/process_7
I0421 15:57:20.980505 137211759408896 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 145.184 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 10.879977703094482 s) (per-host)
I0421 15:57:20.980626 137211759408896 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 10.832215s.
I0421 15:57:26.449883 137211759408896 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 16.301456s.
I0421 15:57:26.450164 137208535168768 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 15:57:26.450286 137208535168768 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0421 15:57:26.450342 137208535168768 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:57:26.451611 137208535168768 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=15] CheckpointManager Save Finalize is done on all hosts.
I0421 15:57:31.335555 137337464538944 metric_logger.py:196] completed step: 16, seconds: 15.922, TFLOP/s/device: 0.853, Tokens/s/device: 128.631, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0421 15:57:31.482903 137337464538944 metric_logger.py:196] completed step: 17, seconds: 21.032, TFLOP/s/device: 0.646, Tokens/s/device: 97.376, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0421 15:57:31.630250 137337464538944 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.218, Tokens/s/device: 13447.850, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0421 15:57:31.777056 137337464538944 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0421 15:57:31.777814 137337464538944 checkpointing.py:776] Waited 0.0007910728454589844 seconds for step 19 to finish before starting checkpointing.
I0421 15:57:31.779915 137337464538944 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:57:31.781589 137337464538944 checkpoint_manager.py:1512] [process=7] Saving checkpoint at step 19
I0421 15:57:31.782914 137337464538944 event_tracking.py:70] [process=7] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/19.
I0421 15:57:32.075206 137337464538944 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:57:32.075300 137337464538944 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:57:32.118833 137337464538944 base_pytree_checkpoint_handler.py:154] [process=7][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044549s
I0421 15:57:32.118993 137337464538944 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/blocking_gbytes_per_sec: 32.090 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04806995391845703 s) (per-host)
I0421 15:57:32.119050 137337464538944 base_pytree_checkpoint_handler.py:768] [process=7][thread=MainThread] Initiated Pytree async_save. Time taken: 0.048136s (batch_requests_ready=0.001729s, total_serialization_initiated=0.046335s, others=0.000072s)
I0421 15:57:32.119137 137337464538944 composite_checkpoint_handler.py:715] [process=7][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.052183s (all_items=0.000011s, per_item={'items': '0.00001121'}, temp_paths=0.052172)
I0421 15:57:32.119830 137337464538944 event_tracking.py:125] [process=7] [async] Finished blocking save in 0.34 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints/19.
I0421 15:57:32.120109 137208535168768 async_checkpointer.py:76] [process=7][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 16:17:32.120086
I0421 15:57:32.122093 137337464538944 checkpoint_manager.py:1560] [process=7][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 15:57:32.122392 137207494997760 async_checkpointer.py:280] [process=7][thread=save_finalize] Waiting for background save thread=async_save.
I0421 15:57:32.122546 137337464538944 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_false/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776787051.779886, 'wait_for_prev_duration_secs': 7.081031799316406e-05, 'time_between_consecutive_saves_sec': 5.328235626220703, 'checkpointer_blocking_start_time': 1776787051.7816286, 'checkpointer_blocking_duration_secs': 0.33858537673950195, 'get_old_steps_start_time': 1776787052.120232, 'get_old_steps_duration_secs': 2.5033950805664062e-05, 'checkpoint_manager_blocking_start_time': 1776787051.7780552, 'checkpoint_manager_blocking_duration_secs': 0.34445905685424805}
I0421 15:57:32.122652 137337464538944 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0421 15:57:32.122697 137337464538944 checkpoint_manager.py:2020] [process=7][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 15:57:38.537870 137212276479744 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_15_ocdbt_false/checkpoints/19/items/array_metadatas/process_7
I0421 15:57:42.669151 137208535168768 base_pytree_checkpoint_handler.py:130] [process=7] /jax/orbax/write/gbytes_per_sec: 149.044 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 10.598180770874023 s) (per-host)
I0421 15:57:42.669270 137208535168768 async_checkpointer.py:90] [process=7][thread=async_save] 3 Handler Commit operations completed. Time taken: 10.549081s.
I0421 15:57:48.692584 137208535168768 async_checkpointer.py:160] [process=7][thread=async_save] Background save thread done. Time taken: 16.572377s.
I0421 15:57:48.693016 137207494997760 async_checkpointer.py:288] [process=7][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 15:57:48.693158 137207494997760 async_checkpointer.py:298] [process=7][thread=save_finalize] No errors found in background save thread=async_save.
I0421 15:57:48.693214 137207494997760 checkpoint_manager.py:2137] [process=7][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:57:48.695585 137207494997760 checkpoint_manager.py:2146] [process=7][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0421 15:57:48.695800 137337464538944 checkpoint_manager.py:2032] [process=7][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0421 15:57:48.695964 137337464538944 checkpoint_manager.py:2009] [process=7][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:57:48.697019 137337464538944 metric_logger.py:196] completed step: 19, seconds: 0.147, TFLOP/s/device: 92.161, Tokens/s/device: 13891.527, total_weights: 65536, loss: 5.391, lm_loss: 5.391, perplexity: 219.349
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Tue Apr 21 15:57:58 UTC 2026
EXIT_CODE=0
NNX  ·  e27fc1e97  ·  main_20260421_144122  ·  full log
XPK Start: Tue Apr 21 15: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-21 15:23:58.735330: 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:23:58.943656 136639374223168 max_utils.py:273] Attempting to initialize the jax distributed system...
I0421 15:24:07.983821 136639374223168 distributed.py:149] Starting JAX distributed service on [::]:8482
I0421 15:24:07.986306 136639374223168 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-false-rs-obzm1-slice-job-0-0.mt-15-ocdbt-false-rs-obzm1:8482
I0421 15:24:09.423402 136639374223168 max_utils.py:284] Jax distributed system initialized!
I0421 15:24:15.685247 136639374223168 max_utils.py:800] System Information: Jax Version: 0.9.2
I0421 15:24:15.685357 136639374223168 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0421 15:24:15.685398 136639374223168 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:24:15.685432 136639374223168 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:24:23 UTC 2026
EXIT_CODE=1