MaxView

‹ 15_ocdbt_false_saveCase: 15_ocdbt_true_resume15_ocdbt_true_save ›

Metrics: Linen vs NNX  ·  main

MetricLinen  e27fc1e97NNX  e27fc1e97Diff (NNX − Linen)
Parameters1.104 billion
Final loss5.3910
TFLOP/s92.236
Tok/s13902.7
Avg s/step8.585
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:46:51 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:47:16.592578: 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:47:16.804747 138504681899840 max_utils.py:273] Attempting to initialize the jax distributed system...
I0421 15:47:25.846222 138504681899840 distributed.py:149] Starting JAX distributed service on [::]:8482
I0421 15:47:25.848570 138504681899840 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-true-rs-tt3t6-slice-job-0-0.mt-15-ocdbt-true-rs-tt3t6:8482
I0421 15:47:27.568229 138504681899840 max_utils.py:284] Jax distributed system initialized!
I0421 15:47:33.710967 138504681899840 max_utils.py:800] System Information: Jax Version: 0.9.2
I0421 15:47:33.711074 138504681899840 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0421 15:47:33.711115 138504681899840 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:47:33.711151 138504681899840 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0421 15:47:34.402642 138504681899840 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0421 15:47:34.402941 138504681899840 checkpointing.py:677] Setting up checkpoint logger...
I0421 15:47:34.402997 138504681899840 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0421 15:47:34.403043 138504681899840 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0421 15:47:34.403386 138504681899840 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 0x7df788d18ec0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0421 15:47:35.744633 138504681899840 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0421 15:47:35.744897 138504681899840 checkpoint_manager.py:708] [process=4][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7de3b0043c20>}, handler_registry=None
I0421 15:47:35.745137 138504681899840 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7de3b0043c20>` 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:47:35.745187 138504681899840 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7de3b00496a0>` 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:47:35.745224 138504681899840 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 0x7de3b0043c20>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7de3b0043c20>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7de3b00496a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7de3b00496a0>}).
I0421 15:47:35.745627 138504681899840 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0421 15:47:35.745710 138504681899840 async_checkpointer.py:192] [process=4][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7de3385dd580> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0421 15:47:38.056021 138383728809728 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776786233877878108, 'commit_timestamp_nsecs': 1776786282006136090, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/5/_CHECKPOINT_METADATA
I0421 15:47:38.307295 138383728809728 checkpoint_manager.py:1871] Missing metrics for step 5
I0421 15:47:38.712211 138504681899840 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_true/checkpoints
I0421 15:47:39.171963 138504681899840 checkpoint_manager.py:929] [process=4][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_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7de3b0045490>
I0421 15:47:39.172142 138504681899840 checkpointing.py:301] Checkpoint manager created!
I0421 15:47:40.113456 138504681899840 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0421 15:47:40.113574 138504681899840 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 15:47:40.494022 138504681899840 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 15:47:40.494115 138504681899840 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 15:47:40.510589 138504681899840 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0421 15:47:40.510648 138504681899840 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0421 15:47:40.534344 138504681899840 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:47:40.534418 138504681899840 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:47:40.550939 138504681899840 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:47:40.551003 138504681899840 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:47:40.567385 138504681899840 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:47:40.567445 138504681899840 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:47:40.592319 138504681899840 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0421 15:47:40.592388 138504681899840 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0421 15:47:40.613615 138504681899840 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0421 15:47:40.613686 138504681899840 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0421 15:47:40.826260 138504681899840 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0421 15:47:40.826374 138504681899840 checkpointing.py:581] restoring from this run's directory step 9
I0421 15:47:41.080538 138504681899840 event_tracking.py:70] [process=4] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/9.
I0421 15:47:41.759654 138504681899840 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/9.
I0421 15:47:41.760092 138504681899840 event_tracking.py:125] [process=4] [sync] Finished blocking load in 0.68 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/9.
I0421 15:47:43.159629    1448 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0421 15:47:51.089719 138504681899840 jax_array_handlers.py:843] [process=4] /jax/orbax/read/worker/io/requested throughput: 199.130 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 7.935901880264282 s) (per-host)
I0421 15:47:51.095374 138504681899840 base_pytree_checkpoint_handler.py:130] [process=4] /jax/checkpoint/read/gbytes_per_sec: 189.742 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 8.34075140953064 s) (per-host)
I0421 15:47:52.893160 138504681899840 event_tracking.py:138] [process=4] [sync] Finished load in 11.81 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/9
I0421 15:47:52.893326 138504681899840 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_true/checkpoints', 'checkpointer_start_time': 1776786461.0804245, 'checkpointer_duration_secs': 11.812868595123291, 'checkpoint_manager_start_time': 1776786460.8266215, 'checkpoint_manager_duration_secs': 12.066673755645752}
fsdp: 32
I0421 15:47:53.316542 138504681899840 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0421 15:47:53.316711 138504681899840 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:47:53.316790 138504681899840 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:47:53.316884 138504681899840 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:47:53.316951 138504681899840 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:47:53.317010 138504681899840 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:47:53.317093 138504681899840 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:47:53.317172 138504681899840 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:47:53.317239 138504681899840 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:47:53.317294 138504681899840 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:47:53.317367 138504681899840 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0421 15:47:53.317430 138504681899840 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0421 15:47:53.806433 138504681899840 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 15:47:53.806529 138504681899840 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 15:47:53.822249 138504681899840 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0421 15:47:53.822306 138504681899840 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0421 15:48:04.698442 138504681899840 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:48:04.699298 138504681899840 metric_logger.py:301] number parameters: 1.104 billion
I0421 15:48:15.735518 138504681899840 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0421 15:48:16.613558 138504681899840 checkpointing.py:776] Waited 0.8780181407928467 seconds for step 10 to finish before starting checkpointing.
I0421 15:48:16.616028 138504681899840 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:48:16.617924 138504681899840 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 10
I0421 15:48:16.619396 138504681899840 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/10.
I0421 15:48:17.348035 138504681899840 signaling_client.py:364] Using JaxDistributedSignalingClient
I0421 15:48:17.349180 138504681899840 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:48:17.349242 138504681899840 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:48:17.631031 138504681899840 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.283070s
I0421 15:48:17.631197 138504681899840 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 5.376 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2869243621826172 s) (per-host)
I0421 15:48:17.631249 138504681899840 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.286987s (batch_requests_ready=0.002152s, total_serialization_initiated=0.284765s, others=0.000070s)
I0421 15:48:17.631332 138504681899840 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.291059s (all_items=0.000019s, per_item={'items': '0.00001860'}, temp_paths=0.291040)
I0421 15:48:17.632072 138504681899840 event_tracking.py:125] [process=4] [async] Finished blocking save in 1.01 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/10.
I0421 15:48:17.632355 138379912693504 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 16:08:17.632323
I0421 15:48:17.637869 138504681899840 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 15:48:17.638116 138379393419008 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0421 15:48:17.638220 138504681899840 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_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776786496.6160104, 'wait_for_prev_duration_secs': 6.175041198730469e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776786496.6179626, 'checkpointer_blocking_duration_secs': 1.014542579650879, 'get_old_steps_start_time': 1776786497.6325285, 'get_old_steps_duration_secs': 3.266334533691406e-05, 'checkpoint_manager_blocking_start_time': 1776786496.614059, 'checkpoint_manager_blocking_duration_secs': 1.0241246223449707}
I0421 15:48:17.638368 138504681899840 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0421 15:48:17.638425 138504681899840 max_utils.py:750] 
Memstats: After params initialized:
I0421 15:48:17.638476 138504681899840 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_16(process=4,(0,4,0,0))
I0421 15:48:17.638510 138504681899840 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_17(process=4,(1,4,0,0))
I0421 15:48:17.638537 138504681899840 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_20(process=4,(0,5,0,0))
I0421 15:48:17.638561 138504681899840 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_21(process=4,(1,5,0,0))
I0421 15:48:17.951303 138504681899840 metric_logger.py:196] completed step: 10, seconds: 11.036, TFLOP/s/device: 1.231, Tokens/s/device: 185.573, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0421 15:48:18.122089 138504681899840 metric_logger.py:196] completed step: 11, seconds: 2.214, TFLOP/s/device: 6.136, Tokens/s/device: 924.911, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0421 15:48:18.269822 138504681899840 metric_logger.py:196] completed step: 12, seconds: 0.023, TFLOP/s/device: 581.019, Tokens/s/device: 87577.507, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0421 15:48:18.417154 138504681899840 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.578, Tokens/s/device: 13351.413, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0421 15:48:18.421829 138504681899840 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0421 15:48:18.711251 138504681899840 checkpointing.py:776] Waited 0.2893867492675781 seconds for step 15 to finish before starting checkpointing.
I0421 15:48:18.714315 138504681899840 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 15:48:22.620888 138379401811712 array_metadata_store.py:203] [process=4][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_true/checkpoints/10/items/array_metadatas/process_4
I0421 15:48:59.304418 138379912693504 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.645 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.96012473106384 s) (per-host)
I0421 15:48:59.304526 138379912693504 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.672060s.
I0421 15:49:09.045949 138379912693504 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 51.413469s.
I0421 15:49:09.046260 138379393419008 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 15:49:09.046421 138379393419008 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0421 15:49:09.046482 138379393419008 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:49:09.048980 138379393419008 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0421 15:49:09.049154 138504681899840 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0421 15:49:09.049284 138504681899840 checkpoint_manager.py:1452] Waiting for previous save to complete took 50.334971 seconds. If this number is high, consider checkpointing less frequently.
I0421 15:49:09.051397 138504681899840 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 15
I0421 15:49:09.053940 138504681899840 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/15.
I0421 15:49:09.588416 138504681899840 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:49:09.588513 138504681899840 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:49:09.614690 138504681899840 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.027382s
I0421 15:49:09.614863 138504681899840 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 50.106 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.030786514282226562 s) (per-host)
I0421 15:49:09.614913 138504681899840 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.030845s (batch_requests_ready=0.001777s, total_serialization_initiated=0.029001s, others=0.000067s)
I0421 15:49:09.614998 138504681899840 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.035724s (all_items=0.000012s, per_item={'items': '0.00001240'}, temp_paths=0.035712)
I0421 15:49:09.615719 138504681899840 event_tracking.py:125] [process=4] [async] Finished blocking save in 0.56 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/15.
I0421 15:49:09.616043 138379393419008 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 16:09:09.616004
I0421 15:49:09.627227 138504681899840 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=15] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 15:49:09.627481 138379904300800 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0421 15:49:09.627609 138504681899840 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_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776786498.7142866, 'wait_for_prev_duration_secs': 50.3349711894989, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776786549.051446, 'checkpointer_blocking_duration_secs': 0.5647482872009277, 'get_old_steps_start_time': 1776786549.6162202, 'get_old_steps_duration_secs': 3.0279159545898438e-05, 'checkpoint_manager_blocking_start_time': 1776786498.7119248, 'checkpoint_manager_blocking_duration_secs': 50.91564893722534}
I0421 15:49:09.627735 138504681899840 checkpointing.py:408] Started an asynchronous checkpoint save for step 15
I0421 15:49:09.628519 138504681899840 metric_logger.py:196] completed step: 14, seconds: 0.148, TFLOP/s/device: 92.018, Tokens/s/device: 13869.889, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0421 15:49:09.634798 138504681899840 metric_logger.py:196] completed step: 15, seconds: 0.148, TFLOP/s/device: 92.116, Tokens/s/device: 13884.652, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0421 15:49:15.596622 138379401811712 array_metadata_store.py:203] [process=4][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_true/checkpoints/15/items/array_metadatas/process_4
I0421 15:49:30.394098 138504681899840 metric_logger.py:196] completed step: 16, seconds: 51.211, TFLOP/s/device: 0.265, Tokens/s/device: 39.991, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0421 15:49:30.541459 138504681899840 metric_logger.py:196] completed step: 17, seconds: 20.613, TFLOP/s/device: 0.659, Tokens/s/device: 99.354, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0421 15:49:30.688680 138504681899840 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.182, Tokens/s/device: 13442.554, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0421 15:49:30.835323 138504681899840 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0421 15:49:30.836070 138504681899840 checkpointing.py:776] Waited 0.0007686614990234375 seconds for step 19 to finish before starting checkpointing.
I0421 15:49:30.838020 138504681899840 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=15][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 15:49:51.969625 138379393419008 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.267 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.38551115989685 s) (per-host)
I0421 15:49:51.969759 138379393419008 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.353600s.
I0421 15:50:00.570832 138379393419008 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 50.954657s.
I0421 15:50:00.571149 138379904300800 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 15:50:00.571292 138379904300800 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0421 15:50:00.571348 138379904300800 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:50:00.576048 138379904300800 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=15] CheckpointManager Save Finalize is done on all hosts.
I0421 15:50:00.576220 138504681899840 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=15][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=15.
W0421 15:50:00.576345 138504681899840 checkpoint_manager.py:1452] Waiting for previous save to complete took 29.738329 seconds. If this number is high, consider checkpointing less frequently.
I0421 15:50:00.577971 138504681899840 checkpoint_manager.py:1512] [process=4] Saving checkpoint at step 19
I0421 15:50:00.580043 138504681899840 event_tracking.py:70] [process=4] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260421_144122/linen_xpk_main_20260421_144122_15_ocdbt_true/checkpoints/19.
I0421 15:50:00.889070 138504681899840 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0421 15:50:00.889168 138504681899840 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:50:00.915014 138504681899840 base_pytree_checkpoint_handler.py:154] [process=4][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.026854s
I0421 15:50:00.915186 138504681899840 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/blocking_gbytes_per_sec: 50.916 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.03029632568359375 s) (per-host)
I0421 15:50:00.915240 138504681899840 base_pytree_checkpoint_handler.py:768] [process=4][thread=MainThread] Initiated Pytree async_save. Time taken: 0.030361s (batch_requests_ready=0.001631s, total_serialization_initiated=0.028660s, others=0.000070s)
I0421 15:50:00.915340 138504681899840 composite_checkpoint_handler.py:715] [process=4][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.034472s (all_items=0.000011s, per_item={'items': '0.00001097'}, temp_paths=0.034461)
I0421 15:50:00.916028 138504681899840 event_tracking.py:125] [process=4] [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_true/checkpoints/19.
I0421 15:50:00.916300 138379904300800 async_checkpointer.py:76] [process=4][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-21 16:10:00.916279
I0421 15:50:00.919821 138504681899840 checkpoint_manager.py:1560] [process=4][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0421 15:50:00.920093 138376707557120 async_checkpointer.py:280] [process=4][thread=save_finalize] Waiting for background save thread=async_save.
I0421 15:50:00.920254 138504681899840 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_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776786570.837991, 'wait_for_prev_duration_secs': 29.73832941055298, 'time_between_consecutive_saves_sec': 21.788968801498413, 'checkpointer_blocking_start_time': 1776786600.578013, 'checkpointer_blocking_duration_secs': 0.3383815288543701, 'get_old_steps_start_time': 1776786600.9164112, 'get_old_steps_duration_secs': 2.5510787963867188e-05, 'checkpoint_manager_blocking_start_time': 1776786570.836298, 'checkpoint_manager_blocking_duration_secs': 30.083919525146484}
I0421 15:50:00.920361 138504681899840 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0421 15:50:00.920402 138504681899840 checkpoint_manager.py:2020] [process=4][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0421 15:50:07.889408 138379401811712 array_metadata_store.py:203] [process=4][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_true/checkpoints/19/items/array_metadatas/process_4
I0421 15:50:42.828227 138379904300800 base_pytree_checkpoint_handler.py:130] [process=4] /jax/orbax/write/gbytes_per_sec: 37.660 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.943297386169434 s) (per-host)
I0421 15:50:42.828350 138379904300800 async_checkpointer.py:90] [process=4][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.911979s.
I0421 15:50:51.087112 138379904300800 async_checkpointer.py:160] [process=4][thread=async_save] Background save thread done. Time taken: 50.170725s.
I0421 15:50:51.087397 138376707557120 async_checkpointer.py:288] [process=4][thread=save_finalize] Done with waiting for background save thread=async_save.
I0421 15:50:51.087541 138376707557120 async_checkpointer.py:298] [process=4][thread=save_finalize] No errors found in background save thread=async_save.
I0421 15:50:51.087585 138376707557120 checkpoint_manager.py:2137] [process=4][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0421 15:50:51.089334 138376707557120 checkpoint_manager.py:2146] [process=4][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0421 15:50:51.089510 138504681899840 checkpoint_manager.py:2032] [process=4][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0421 15:50:51.089658 138504681899840 checkpoint_manager.py:2009] [process=4][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0421 15:50:51.090593 138504681899840 metric_logger.py:196] completed step: 19, seconds: 0.147, TFLOP/s/device: 92.236, Tokens/s/device: 13902.749, 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:51:01 UTC 2026
EXIT_CODE=0
NNX  ·  e27fc1e97  ·  main_20260421_144122  ·  full log
XPK Start: Tue Apr 21 15:19:25 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:19:49.712944: 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:19:49.926014 138209557423936 max_utils.py:273] Attempting to initialize the jax distributed system...
I0421 15:19:58.965788 138209557423936 distributed.py:149] Starting JAX distributed service on [::]:8482
I0421 15:19:58.968259 138209557423936 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-true-rs-do8jd-slice-job-0-0.mt-15-ocdbt-true-rs-do8jd:8482
I0421 15:20:00.234543 138209557423936 max_utils.py:284] Jax distributed system initialized!
I0421 15:20:06.411225 138209557423936 max_utils.py:800] System Information: Jax Version: 0.9.2
I0421 15:20:06.411329 138209557423936 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0421 15:20:06.411370 138209557423936 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:20:06.411405 138209557423936 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:20:15 UTC 2026
EXIT_CODE=1