MaxView

‹ 15_ocdbt_false_saveCase: 15_ocdbt_true_resume15_ocdbt_true_save ›

Metrics: Linen vs NNX  ·  main

MetricLinen  8a17c3d19NNX  8a17c3d19Diff (NNX − Linen)
Parameters1.104 billion
Final loss5.3910
TFLOP/s92.299
Tok/s13912.3
Avg s/step8.483
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:18:41 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:19:06.143023: 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:19:06.353135 135788806346560 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 08:19:15.394039 135788806346560 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 08:19:15.398524 135788806346560 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-true-rs-a1mv7-slice-job-0-0.mt-15-ocdbt-true-rs-a1mv7:8482
I0422 08:19:16.640761 135788806346560 max_utils.py:284] Jax distributed system initialized!
I0422 08:19:22.860661 135788806346560 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 08:19:22.860773 135788806346560 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 08:19:22.860815 135788806346560 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:19:22.860850 135788806346560 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 08:19:23.550011 135788806346560 maxtext_utils.py:1565] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 08:19:23.550301 135788806346560 checkpointing.py:677] Setting up checkpoint logger...
I0422 08:19:23.550357 135788806346560 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 08:19:23.550401 135788806346560 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0422 08:19:23.550757 135788806346560 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 0x7b7f3291ce00>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 08:19:24.876303 135788806346560 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0422 08:19:24.876550 135788806346560 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 0x7b6af8751d30>}, handler_registry=None
I0422 08:19:24.876790 135788806346560 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b6af8751d30>` 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:19:24.876839 135788806346560 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b6af8753a40>` 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:19:24.876876 135788806346560 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 0x7b6af8751d30>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7b6af8751d30>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b6af8753a40>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7b6af8753a40>}).
I0422 08:19:24.877219 135788806346560 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0422 08:19:24.877291 135788806346560 async_checkpointer.py:192] [process=3][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7b6a08341580> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0422 08:19:27.220639 135668126697216 checkpoint.py:228] Read Metadata={'item_handlers': {'items': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1776845753162056387, 'commit_timestamp_nsecs': 1776845798312294499, 'custom_metadata': {}} from gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/5/_CHECKPOINT_METADATA
I0422 08:19:27.837430 135668118304512 checkpoint_manager.py:1871] Missing metrics for step 9
I0422 08:19:27.884948 135788806346560 checkpoint_manager.py:1812] Found 3 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints
I0422 08:19:29.564528 135788806346560 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_15_ocdbt_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7b6b081f83b0>
I0422 08:19:29.564707 135788806346560 checkpointing.py:301] Checkpoint manager created!
I0422 08:19:30.487247 135788806346560 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 08:19:30.487370 135788806346560 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 08:19:30.865985 135788806346560 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 08:19:30.866085 135788806346560 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 08:19:30.882581 135788806346560 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 08:19:30.882645 135788806346560 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 08:19:30.906646 135788806346560 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:19:30.906719 135788806346560 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 08:19:30.923339 135788806346560 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:19:30.923403 135788806346560 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 08:19:30.939968 135788806346560 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:19:30.940029 135788806346560 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 08:19:30.964985 135788806346560 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 08:19:30.965057 135788806346560 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 08:19:30.986623 135788806346560 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 08:19:30.986696 135788806346560 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 08:19:31.197517 135788806346560 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 08:19:31.197630 135788806346560 checkpointing.py:581] restoring from this run's directory step 9
I0422 08:19:31.463073 135788806346560 event_tracking.py:70] [process=3] [sync] Started load checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/9.
I0422 08:19:31.713401 135788806346560 checkpointer.py:307] Restoring checkpoint from gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/9.
I0422 08:19:31.713842 135788806346560 event_tracking.py:125] [process=3] [sync] Finished blocking load in 0.25 seconds. Continuing load @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/9.
I0422 08:19:33.263354    1443 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 08:19:39.177110 135788806346560 jax_array_handlers.py:843] [process=3] /jax/orbax/read/worker/io/requested throughput: 266.945 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 5.919855356216431 s) (per-host)
I0422 08:19:39.183645 135788806346560 base_pytree_checkpoint_handler.py:130] [process=3] /jax/checkpoint/read/gbytes_per_sec: 250.081 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 6.328320026397705 s) (per-host)
I0422 08:19:41.550178 135788806346560 event_tracking.py:138] [process=3] [sync] Finished load in 10.09 seconds @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/9
I0422 08:19:41.550339 135788806346560 standard_logger.py:34] {'step': 9, 'event_type': 'restore', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints', 'checkpointer_start_time': 1776845971.462962, 'checkpointer_duration_secs': 10.087344884872437, 'checkpoint_manager_start_time': 1776845971.1978726, 'checkpoint_manager_duration_secs': 10.352437019348145}
fsdp: 32
I0422 08:19:41.971461 135788806346560 maxtext_utils.py:1668]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0422 08:19:41.971596 135788806346560 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:19:41.971651 135788806346560 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:19:41.971710 135788806346560 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:19:41.971763 135788806346560 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:19:41.971803 135788806346560 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:19:41.971855 135788806346560 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:19:41.971906 135788806346560 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:19:41.971960 135788806346560 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:19:41.972000 135788806346560 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:19:41.972047 135788806346560 maxtext_utils.py:1668]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)

I0422 08:19:41.972094 135788806346560 maxtext_utils.py:1668]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')
I0422 08:19:42.460472 135788806346560 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 08:19:42.460575 135788806346560 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 08:19:42.476595 135788806346560 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 08:19:42.476655 135788806346560 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 08:19:53.349223 135788806346560 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:19:53.350072 135788806346560 metric_logger.py:301] number parameters: 1.104 billion
I0422 08:20:04.857577 135788806346560 checkpointing.py:772] Waiting for step 10 to finish before checkpoint...
I0422 08:20:05.396633 135788806346560 checkpointing.py:776] Waited 0.5390346050262451 seconds for step 10 to finish before starting checkpointing.
I0422 08:20:05.399139 135788806346560 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 08:20:05.401277 135788806346560 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 10
I0422 08:20:05.402732 135788806346560 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/10.
I0422 08:20:06.145232 135788806346560 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 08:20:06.146152 135788806346560 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 08:20:06.146207 135788806346560 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:20:06.426208 135788806346560 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.281051s
I0422 08:20:06.426383 135788806346560 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 5.412 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.2850346565246582 s) (per-host)
I0422 08:20:06.426439 135788806346560 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.285101s (batch_requests_ready=0.002266s, total_serialization_initiated=0.282760s, others=0.000075s)
I0422 08:20:06.426536 135788806346560 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.289234s (all_items=0.000016s, per_item={'items': '0.00001621'}, temp_paths=0.289218)
I0422 08:20:06.427250 135788806346560 event_tracking.py:125] [process=3] [async] Finished blocking save in 1.03 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/10.
I0422 08:20:06.427597 135667547895552 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:40:06.427560
I0422 08:20:06.433571 135788806346560 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=10] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 08:20:06.433821 135665928890112 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 08:20:06.433960 135788806346560 standard_logger.py:34] {'step': 10, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776846005.3991222, 'wait_for_prev_duration_secs': 6.079673767089844e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776846005.4013193, 'checkpointer_blocking_duration_secs': 1.0264294147491455, 'get_old_steps_start_time': 1776846006.427773, 'get_old_steps_duration_secs': 3.170967102050781e-05, 'checkpoint_manager_blocking_start_time': 1776846005.3971617, 'checkpoint_manager_blocking_duration_secs': 1.0367467403411865}
I0422 08:20:06.434066 135788806346560 checkpointing.py:408] Started an asynchronous checkpoint save for step 10
I0422 08:20:06.434118 135788806346560 max_utils.py:750] 
Memstats: After params initialized:
I0422 08:20:06.434166 135788806346560 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_10(process=3,(2,2,0,0))
I0422 08:20:06.434201 135788806346560 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_11(process=3,(3,2,0,0))
I0422 08:20:06.434229 135788806346560 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_14(process=3,(2,3,0,0))
I0422 08:20:06.434255 135788806346560 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_15(process=3,(3,3,0,0))
I0422 08:20:06.743119 135788806346560 metric_logger.py:196] completed step: 10, seconds: 11.507, TFLOP/s/device: 1.181, Tokens/s/device: 177.973, total_weights: 65536, loss: 6.833, lm_loss: 6.833, perplexity: 927.869
I0422 08:20:07.018950 135788806346560 metric_logger.py:196] completed step: 11, seconds: 1.884, TFLOP/s/device: 7.212, Tokens/s/device: 1087.063, total_weights: 65536, loss: 6.527, lm_loss: 6.527, perplexity: 683.659
I0422 08:20:07.166318 135788806346560 metric_logger.py:196] completed step: 12, seconds: 0.129, TFLOP/s/device: 105.650, Tokens/s/device: 15924.731, total_weights: 65536, loss: 6.265, lm_loss: 6.265, perplexity: 526.068
I0422 08:20:07.313866 135788806346560 metric_logger.py:196] completed step: 13, seconds: 0.153, TFLOP/s/device: 88.618, Tokens/s/device: 13357.422, total_weights: 65536, loss: 6.045, lm_loss: 6.045, perplexity: 422.001
I0422 08:20:07.318419 135788806346560 checkpointing.py:772] Waiting for step 15 to finish before checkpoint...
I0422 08:20:07.607613 135788806346560 checkpointing.py:776] Waited 0.28915858268737793 seconds for step 15 to finish before starting checkpointing.
I0422 08:20:07.610754 135788806346560 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=10][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 08:20:12.100668 135665937282816 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_15_ocdbt_true/checkpoints/10/items/array_metadatas/process_3
I0422 08:20:48.521658 135667547895552 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.272 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.38027381896973 s) (per-host)
I0422 08:20:48.521789 135667547895552 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.094083s.
I0422 08:20:55.946271 135667547895552 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 49.518548s.
I0422 08:20:55.946564 135665928890112 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 08:20:55.946688 135665928890112 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 08:20:55.946735 135665928890112 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=10] CheckpointManager Save Finalize is syncing with other hosts...
I0422 08:20:55.948509 135665928890112 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=10] CheckpointManager Save Finalize is done on all hosts.
I0422 08:20:55.948676 135788806346560 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=10][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=10.
W0422 08:20:55.948812 135788806346560 checkpoint_manager.py:1452] Waiting for previous save to complete took 48.338065 seconds. If this number is high, consider checkpointing less frequently.
I0422 08:20:55.950635 135788806346560 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 15
I0422 08:20:55.953122 135788806346560 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/15.
I0422 08:20:56.670698 135788806346560 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 08:20:56.670797 135788806346560 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:20:56.717080 135788806346560 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.047504s
I0422 08:20:56.717243 135788806346560 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 30.221 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.051043033599853516 s) (per-host)
I0422 08:20:56.717293 135788806346560 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.051101s (batch_requests_ready=0.001896s, total_serialization_initiated=0.049139s, others=0.000067s)
I0422 08:20:56.717381 135788806346560 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.056150s (all_items=0.000013s, per_item={'items': '0.00001287'}, temp_paths=0.056138)
I0422 08:20:56.718141 135788806346560 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.77 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/15.
I0422 08:20:56.718489 135667539502848 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:40:56.718449
I0422 08:20:56.720465 135788806346560 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=15] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 08:20:56.720769 135665928890112 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 08:20:56.720888 135788806346560 standard_logger.py:34] {'step': 15, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776846007.6107175, 'wait_for_prev_duration_secs': 48.338064670562744, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776846055.950674, 'checkpointer_blocking_duration_secs': 0.7679681777954102, 'get_old_steps_start_time': 1776846056.7186658, 'get_old_steps_duration_secs': 3.0517578125e-05, 'checkpoint_manager_blocking_start_time': 1776846007.6082897, 'checkpoint_manager_blocking_duration_secs': 49.11256718635559}
I0422 08:20:56.721009 135788806346560 checkpointing.py:408] Started an asynchronous checkpoint save for step 15
I0422 08:20:56.721904 135788806346560 metric_logger.py:196] completed step: 14, seconds: 0.148, TFLOP/s/device: 92.083, Tokens/s/device: 13879.758, total_weights: 65536, loss: 5.864, lm_loss: 5.864, perplexity: 352.193
I0422 08:20:56.728123 135788806346560 metric_logger.py:196] completed step: 15, seconds: 0.147, TFLOP/s/device: 92.259, Tokens/s/device: 13906.336, total_weights: 65536, loss: 5.719, lm_loss: 5.719, perplexity: 304.661
I0422 08:21:01.726833 135665937282816 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_15_ocdbt_true/checkpoints/15/items/array_metadatas/process_3
I0422 08:21:18.025433 135788806346560 metric_logger.py:196] completed step: 16, seconds: 49.408, TFLOP/s/device: 0.275, Tokens/s/device: 41.451, total_weights: 65536, loss: 5.605, lm_loss: 5.605, perplexity: 271.872
I0422 08:21:18.172687 135788806346560 metric_logger.py:196] completed step: 17, seconds: 21.151, TFLOP/s/device: 0.642, Tokens/s/device: 96.826, total_weights: 65536, loss: 5.517, lm_loss: 5.517, perplexity: 248.975
I0422 08:21:18.320041 135788806346560 metric_logger.py:196] completed step: 18, seconds: 0.152, TFLOP/s/device: 89.301, Tokens/s/device: 13460.489, total_weights: 65536, loss: 5.448, lm_loss: 5.448, perplexity: 232.333
I0422 08:21:18.466668 135788806346560 checkpointing.py:772] Waiting for step 19 to finish before checkpoint...
I0422 08:21:18.467426 135788806346560 checkpointing.py:776] Waited 0.0007765293121337891 seconds for step 19 to finish before starting checkpointing.
I0422 08:21:18.469439 135788806346560 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=15][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 08:21:38.674385 135667539502848 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.602 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.008145570755005 s) (per-host)
I0422 08:21:38.674523 135667539502848 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.955910s.
I0422 08:21:44.383018 135667539502848 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 47.664389s.
I0422 08:21:44.383262 135665928890112 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 08:21:44.383326 135665928890112 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 08:21:44.383382 135665928890112 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=15] CheckpointManager Save Finalize is syncing with other hosts...
I0422 08:21:44.384845 135665928890112 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=15] CheckpointManager Save Finalize is done on all hosts.
I0422 08:21:44.385012 135788806346560 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=15][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=15.
W0422 08:21:44.385135 135788806346560 checkpoint_manager.py:1452] Waiting for previous save to complete took 25.915713 seconds. If this number is high, consider checkpointing less frequently.
I0422 08:21:44.386627 135788806346560 checkpoint_manager.py:1512] [process=3] Saving checkpoint at step 19
I0422 08:21:44.388686 135788806346560 event_tracking.py:70] [process=3] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/19.
I0422 08:21:45.094586 135788806346560 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0422 08:21:45.094680 135788806346560 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:21:45.139824 135788806346560 base_pytree_checkpoint_handler.py:154] [process=3][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.046195s
I0422 08:21:45.140004 135788806346560 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/blocking_gbytes_per_sec: 30.970 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.04980874061584473 s) (per-host)
I0422 08:21:45.140057 135788806346560 base_pytree_checkpoint_handler.py:768] [process=3][thread=MainThread] Initiated Pytree async_save. Time taken: 0.049872s (batch_requests_ready=0.001768s, total_serialization_initiated=0.048035s, others=0.000069s)
I0422 08:21:45.140146 135788806346560 composite_checkpoint_handler.py:715] [process=3][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.054147s (all_items=0.000011s, per_item={'items': '0.00001121'}, temp_paths=0.054136)
I0422 08:21:45.140870 135788806346560 event_tracking.py:125] [process=3] [async] Finished blocking save in 0.75 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints/19.
I0422 08:21:45.141230 135662674093824 async_checkpointer.py:76] [process=3][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-22 08:41:45.141191
I0422 08:21:45.143111 135788806346560 checkpoint_manager.py:1560] [process=3][thread=MainThread][step=19] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 08:21:45.143493 135665928890112 async_checkpointer.py:280] [process=3][thread=save_finalize] Waiting for background save thread=async_save.
I0422 08:21:45.143623 135788806346560 standard_logger.py:34] {'step': 19, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260422_071422/linen_xpk_main_20260422_071422_15_ocdbt_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776846078.4693987, 'wait_for_prev_duration_secs': 25.91571283340454, 'time_between_consecutive_saves_sec': 22.520848512649536, 'checkpointer_blocking_start_time': 1776846104.3866677, 'checkpointer_blocking_duration_secs': 0.7547128200531006, 'get_old_steps_start_time': 1776846105.1413987, 'get_old_steps_duration_secs': 2.6226043701171875e-05, 'checkpoint_manager_blocking_start_time': 1776846078.467665, 'checkpoint_manager_blocking_duration_secs': 26.675926446914673}
I0422 08:21:45.143788 135788806346560 checkpointing.py:408] Started an asynchronous checkpoint save for step 19
I0422 08:21:45.143834 135788806346560 checkpoint_manager.py:2020] [process=3][thread=MainThread][step=19][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 08:21:50.449974 135665937282816 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_15_ocdbt_true/checkpoints/19/items/array_metadatas/process_3
I0422 08:22:27.313747 135662674093824 base_pytree_checkpoint_handler.py:130] [process=3] /jax/orbax/write/gbytes_per_sec: 37.410 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.2235312461853 s) (per-host)
I0422 08:22:27.313854 135662674093824 async_checkpointer.py:90] [process=3][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.172504s.
I0422 08:22:34.056103 135662674093824 async_checkpointer.py:160] [process=3][thread=async_save] Background save thread done. Time taken: 48.914736s.
I0422 08:22:34.056395 135665928890112 async_checkpointer.py:288] [process=3][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 08:22:34.056523 135665928890112 async_checkpointer.py:298] [process=3][thread=save_finalize] No errors found in background save thread=async_save.
I0422 08:22:34.056565 135665928890112 checkpoint_manager.py:2137] [process=3][thread=save_finalize][step=19] CheckpointManager Save Finalize is syncing with other hosts...
I0422 08:22:34.061542 135665928890112 checkpoint_manager.py:2146] [process=3][thread=save_finalize][step=19] CheckpointManager Save Finalize is done on all hosts.
I0422 08:22:34.061728 135788806346560 checkpoint_manager.py:2032] [process=3][thread=MainThread][step=19][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=19.
I0422 08:22:34.061879 135788806346560 checkpoint_manager.py:2009] [process=3][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 08:22:34.062740 135788806346560 metric_logger.py:196] completed step: 19, seconds: 0.147, TFLOP/s/device: 92.299, Tokens/s/device: 13912.287, 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: Wed Apr 22 08:22:46 UTC 2026
EXIT_CODE=0
NNX  ·  8a17c3d19  ·  main_20260422_071422  ·  full log
XPK Start: Wed Apr 22 09:17:56 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:18:21.285495: 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:18:21.498984 139760515651392 max_utils.py:273] Attempting to initialize the jax distributed system...
I0422 09:18:30.540543 139760515651392 distributed.py:149] Starting JAX distributed service on [::]:8482
I0422 09:18:30.543010 139760515651392 distributed.py:172] Connecting to JAX distributed service on mt-15-ocdbt-true-rs-oo99g-slice-job-0-0.mt-15-ocdbt-true-rs-oo99g:8482
I0422 09:18:31.671617 139760515651392 max_utils.py:284] Jax distributed system initialized!
I0422 09:18:38.035970 139760515651392 max_utils.py:800] System Information: Jax Version: 0.9.2
I0422 09:18:38.036074 139760515651392 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0422 09:18:38.036134 139760515651392 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:18:38.036174 139760515651392 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:18:46 UTC 2026
EXIT_CODE=1