MaxView

‹ 05_fp8Case: 06_grad_accum07_eval ›

Metrics: Linen vs NNX  ·  main

MetricLinen  b117f50cfNNX  b117f50cfDiff (NNX − Linen)
Parameters1.104 billion
Final loss9.4570
TFLOP/s94.004
Tok/s14169.3
Avg s/step6.945
Memory %1.38
JAX0.9.20.9.2

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

Linen  ·  b117f50cf  ·  main_20260424_070227  ·  full log
XPK Start: Fri Apr 24 07:18:45 UTC 2026
PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
`rope_parameters`'s factor field must be a float >= 1, got 40
`rope_parameters`'s beta_fast field must be a float, got 32
`rope_parameters`'s beta_slow field must be a float, got 1
DeepseekV32Config got `key=rope_scaling` in kwargs but hasn't set it as attribute. For RoPE standardization you need to set `self.rope_parameters` in model's config. 
2026-04-24 07:19:11.244584: 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)
I0424 07:19:11.454986 136837314082624 max_utils.py:273] Attempting to initialize the jax distributed system...
I0424 07:19:20.496431 136837314082624 distributed.py:149] Starting JAX distributed service on [::]:8482
I0424 07:19:20.498794 136837314082624 distributed.py:172] Connecting to JAX distributed service on mt-06-grad-accum-0qdjx-slice-job-0-0.mt-06-grad-accum-0qdjx:8482
I0424 07:19:21.359517 136837314082624 max_utils.py:284] Jax distributed system initialized!
I0424 07:19:27.359252 136837314082624 max_utils.py:800] System Information: Jax Version: 0.9.2
I0424 07:19:27.359357 136837314082624 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0424 07:19:27.359398 136837314082624 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
I0424 07:19:27.359436 136837314082624 train_utils.py:361] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0424 07:19:28.048606 136837314082624 maxtext_utils.py:1604] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 07:19:28.048912 136837314082624 checkpointing.py:677] Setting up checkpoint logger...
I0424 07:19:28.048967 136837314082624 checkpointing.py:233] Creating checkpoint manager with ocdbt=True and zarr3=True
I0424 07:19:28.049019 136837314082624 pytree_checkpoint_handler.py:592] save_device_host_concurrent_bytes=None
I0424 07:19:28.049352 136837314082624 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 0x7c734d918ec0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0424 07:19:31.088770 136837314082624 checkpointing.py:265] Enabling policy for fixed interval checkpointing.
I0424 07:19:31.089003 136837314082624 checkpoint_manager.py:708] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c5eec265130>}, handler_registry=None
I0424 07:19:31.089243 136837314082624 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c5eec265130>` 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`.
I0424 07:19:31.089292 136837314082624 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c5eec26cce0>` 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`.
I0424 07:19:31.089329 136837314082624 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 0x7c5eec265130>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7c5eec265130>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c5eec26cce0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7c5eec26cce0>}).
I0424 07:19:31.089673 136837314082624 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.34
I0424 07:19:31.089743 136837314082624 async_checkpointer.py:192] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7c5ecc5ed800> timeout: 1200 secs and primary_host=0 for async checkpoint writes
I0424 07:19:32.009289 136837314082624 checkpoint_manager.py:1812] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints
I0424 07:19:32.014694 136837314082624 checkpoint_manager.py:929] [process=5][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=10), 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_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7c5eec267050>
I0424 07:19:32.014808 136837314082624 checkpointing.py:301] Checkpoint manager created!
I0424 07:19:33.714348 136837314082624 nnx_wrappers.py:437] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 07:19:33.714462 136837314082624 nnx_wrappers.py:437] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 07:19:34.095364 136837314082624 attentions.py:1088] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0424 07:19:34.095458 136837314082624 attentions.py:1088] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 07:19:34.112244 136837314082624 attentions.py:1089] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0424 07:19:34.112307 136837314082624 attentions.py:1089] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 07:19:34.136965 136837314082624 attentions.py:1154] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 07:19:34.137034 136837314082624 attentions.py:1154] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 07:19:34.153767 136837314082624 attentions.py:1155] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 07:19:34.153826 136837314082624 attentions.py:1155] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 07:19:34.170581 136837314082624 attentions.py:1156] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 07:19:34.170642 136837314082624 attentions.py:1156] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 07:19:34.195411 136837314082624 attentions.py:1198] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0424 07:19:34.195493 136837314082624 attentions.py:1198] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 07:19:34.216834 136837314082624 linears.py:525] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0424 07:19:34.216899 136837314082624 linears.py:525] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0424 07:19:34.429572 136837314082624 checkpointing.py:577] checkpoint manager exists so trying to load this run's existing checkpoint
I0424 07:19:34.429694 136837314082624 checkpointing.py:665] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0424 07:19:35.874355 136837314082624 maxtext_utils.py:1707]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   P('norm',)
    Physical:  (None,)
I0424 07:19:35.874487 136837314082624 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0424 07:19:35.874540 136837314082624 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   P('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0424 07:19:35.874599 136837314082624 maxtext_utils.py:1707]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   P('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0424 07:19:35.874662 136837314082624 maxtext_utils.py:1707]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0424 07:19:35.874807 136837314082624 maxtext_utils.py:1707]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   P('norm', 'layers')
    Physical:  (None, None)
I0424 07:19:35.875104 136837314082624 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0424 07:19:35.875189 136837314082624 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   P('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0424 07:19:35.875249 136837314082624 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0424 07:19:35.875294 136837314082624 maxtext_utils.py:1707]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   P('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0424 07:19:35.875353 136837314082624 maxtext_utils.py:1707]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   P('embed_vocab', 'vocab')
    Physical:  ('fsdp', None)
I0424 07:19:35.875416 136837314082624 maxtext_utils.py:1707]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   P('vocab', 'embed_vocab')
    Physical:  (None, 'fsdp')

I0424 07:19:35.902098 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048]............................................... Unknown.
I0424 07:19:35.902163 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048]............................................... (None,).
I0424 07:19:35.917338 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048,16,7168]....................................... Unknown.
I0424 07:19:35.917392 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048,16,7168]....................................... ('fsdp', None, None).
I0424 07:19:35.947381 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[7168,16,2048]....................................... Unknown.
I0424 07:19:35.947451 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[7168,16,2048]....................................... (None, None, 'fsdp').
I0424 07:19:35.962607 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048,16]............................................ Unknown.
I0424 07:19:35.962678 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048,16]............................................ (None, None).
I0424 07:19:35.992775 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048,16,16,128]..................................... Unknown.
I0424 07:19:35.992836 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048,16,16,128]..................................... ('fsdp', None, None, None).
I0424 07:19:36.007949 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[16,16,128,2048]..................................... Unknown.
I0424 07:19:36.008005 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[16,16,128,2048]..................................... (None, None, None, 'fsdp').
I0424 07:19:36.052964 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[2048,32000]......................................... Unknown.
I0424 07:19:36.053038 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[2048,32000]......................................... ('fsdp', None).
I0424 07:19:36.068126 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Logical: float32[32000,2048]......................................... Unknown.
I0424 07:19:36.068180 136837314082624 gradient_accumulation.py:68] gradient_accumulation/inputs Physical: float32[32000,2048]......................................... (None, 'fsdp').
I0424 07:19:36.752560 136837314082624 train.py:155] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 07:19:36.752664 136837314082624 train.py:155] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 07:19:36.768505 136837314082624 train.py:162] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 07:19:36.768564 136837314082624 train.py:162] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 07:19:48.080011 136837314082624 max_utils.py:791] Total memory size: 1.7 GB, Output size: 0.4 GB, Temp size: 1.3 GB, Argument size: 0.4 GB, Host temp size: 0.0 GB.
I0424 07:19:48.080759 136837314082624 metric_logger.py:301] number parameters: 1.104 billion
I0424 07:19:50.010352 136837314082624 checkpointing.py:772] Waiting for step 0 to finish before checkpoint...
I0424 07:20:01.217697 136837314082624 checkpointing.py:776] Waited 11.20729374885559 seconds for step 0 to finish before starting checkpointing.
I0424 07:20:01.219984 136837314082624 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 07:20:01.221640 136837314082624 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 0
I0424 07:20:01.223084 136837314082624 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints/0.
I0424 07:20:01.837968 136837314082624 signaling_client.py:364] Using JaxDistributedSignalingClient
I0424 07:20:01.838947 136837314082624 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 07:20:01.839003 136837314082624 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
I0424 07:20:02.110103 136837314082624 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.272207s
I0424 07:20:02.110280 136837314082624 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 5.558 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.27755045890808105 s) (per-host)
I0424 07:20:02.110333 136837314082624 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.277615s (batch_requests_ready=0.002177s, total_serialization_initiated=0.275365s, others=0.000072s)
I0424 07:20:02.110427 136837314082624 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.281822s (all_items=0.000018s, per_item={'items': '0.00001812'}, temp_paths=0.281804)
I0424 07:20:02.111225 136837314082624 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.89 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints/0.
I0424 07:20:02.111557 136708374304512 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 07:40:02.111518
I0424 07:20:02.123533 136837314082624 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 07:20:02.123841 136705692657408 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0424 07:20:02.124005 136837314082624 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777015201.219966, 'wait_for_prev_duration_secs': 6.008148193359375e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777015201.2216926, 'checkpointer_blocking_duration_secs': 0.8899738788604736, 'get_old_steps_start_time': 1777015202.1116915, 'get_old_steps_duration_secs': 2.9802322387695312e-05, 'checkpoint_manager_blocking_start_time': 1777015201.2182217, 'checkpoint_manager_blocking_duration_secs': 0.9057421684265137}
I0424 07:20:02.124112 136837314082624 checkpointing.py:408] Started an asynchronous checkpoint save for step 0
I0424 07:20:02.124161 136837314082624 max_utils.py:750] 
Memstats: After params initialized:
I0424 07:20:02.124207 136837314082624 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0424 07:20:02.124239 136837314082624 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0424 07:20:02.124266 136837314082624 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0424 07:20:02.124291 136837314082624 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0424 07:20:02.438288 136837314082624 metric_logger.py:196] completed step: 0, seconds: 1.929, TFLOP/s/device: 28.167, Tokens/s/device: 4245.686, total_weights: 262144, loss: 10.877, lm_loss: 10.877, perplexity: 52959.059
I0424 07:20:03.057926 136837314082624 metric_logger.py:196] completed step: 1, seconds: 12.426, TFLOP/s/device: 4.374, Tokens/s/device: 659.239, total_weights: 262144, loss: 10.877, lm_loss: 10.877, perplexity: 52959.059
I0424 07:20:03.636484 136837314082624 metric_logger.py:196] completed step: 2, seconds: 0.041, TFLOP/s/device: 1323.314, Tokens/s/device: 199464.329, total_weights: 262144, loss: 10.563, lm_loss: 10.563, perplexity: 38662.707
I0424 07:20:04.214736 136837314082624 metric_logger.py:196] completed step: 3, seconds: 0.585, TFLOP/s/device: 92.969, Tokens/s/device: 14013.240, total_weights: 262144, loss: 10.272, lm_loss: 10.272, perplexity: 28909.668
I0424 07:20:05.108313    2657 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0424 07:20:05.371414 136837314082624 metric_logger.py:196] completed step: 4, seconds: 0.578, TFLOP/s/device: 93.949, Tokens/s/device: 14161.079, total_weights: 262144, loss: 10.022, lm_loss: 10.022, perplexity: 22524.992
I0424 07:20:05.377807 136837314082624 metric_logger.py:196] completed step: 5, seconds: 0.579, TFLOP/s/device: 93.910, Tokens/s/device: 14155.206, total_weights: 262144, loss: 9.820, lm_loss: 9.820, perplexity: 18401.865
I0424 07:20:07.230983 136706737465088 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints/0/items/array_metadatas/process_5
I0424 07:20:39.498754 136708374304512 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 41.937 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 37.665985345840454 s) (per-host)
I0424 07:20:39.498878 136708374304512 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.386669s.
I0424 07:20:48.623524 136708374304512 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 46.511299s.
I0424 07:20:48.623833 136705692657408 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 07:20:48.623965 136705692657408 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0424 07:20:48.624016 136705692657408 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0424 07:20:48.626894 136705692657408 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0424 07:20:51.936732 136837314082624 metric_logger.py:196] completed step: 6, seconds: 1.157, TFLOP/s/device: 46.972, Tokens/s/device: 7080.178, total_weights: 262144, loss: 9.667, lm_loss: 9.667, perplexity: 15787.604
I0424 07:20:52.514712 136837314082624 metric_logger.py:196] completed step: 7, seconds: 45.981, TFLOP/s/device: 1.182, Tokens/s/device: 178.159, total_weights: 262144, loss: 9.561, lm_loss: 9.561, perplexity: 14203.827
I0424 07:20:53.092909 136837314082624 metric_logger.py:196] completed step: 8, seconds: 0.583, TFLOP/s/device: 93.195, Tokens/s/device: 14047.386, total_weights: 262144, loss: 9.496, lm_loss: 9.496, perplexity: 13302.920
I0424 07:20:53.670548 136837314082624 checkpointing.py:772] Waiting for step 9 to finish before checkpoint...
I0424 07:20:53.671236 136837314082624 checkpointing.py:776] Waited 0.0007088184356689453 seconds for step 9 to finish before starting checkpointing.
I0424 07:20:53.673281 136837314082624 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 07:20:53.674978 136837314082624 checkpoint_manager.py:1512] [process=5] Saving checkpoint at step 9
I0424 07:20:53.676365 136837314082624 event_tracking.py:70] [process=5] [async] Started save checkpoint @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints/9.
I0424 07:20:53.963263 136837314082624 jax_array_handlers.py:360] Scheduling D2H of 39 prioritized jax.Array.
I0424 07:20:53.963353 136837314082624 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
I0424 07:20:53.999104 136837314082624 base_pytree_checkpoint_handler.py:154] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.036648s
I0424 07:20:53.999268 136837314082624 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/blocking_gbytes_per_sec: 37.885 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.040717124938964844 s) (per-host)
I0424 07:20:53.999319 136837314082624 base_pytree_checkpoint_handler.py:768] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.040779s (batch_requests_ready=0.001641s, total_serialization_initiated=0.039071s, others=0.000067s)
I0424 07:20:53.999407 136837314082624 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.044884s (all_items=0.000016s, per_item={'items': '0.00001621'}, temp_paths=0.044868)
I0424 07:20:54.000066 136837314082624 event_tracking.py:125] [process=5] [async] Finished blocking save in 0.33 seconds. Continuing save @ gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints/9.
I0424 07:20:54.000412 136707869505280 async_checkpointer.py:76] [process=5][thread=async_save] Background save thread started. Deadline for this save operation is 2026-04-24 07:40:54.000372
I0424 07:20:54.002400 136837314082624 checkpoint_manager.py:1560] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 07:20:54.002689 136701963925248 async_checkpointer.py:280] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0424 07:20:54.002817 136837314082624 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777015253.6732478, 'wait_for_prev_duration_secs': 7.271766662597656e-05, 'time_between_consecutive_saves_sec': 5.046308279037476, 'checkpointer_blocking_start_time': 1777015253.675019, 'checkpointer_blocking_duration_secs': 0.32553744316101074, 'get_old_steps_start_time': 1777015254.00058, 'get_old_steps_duration_secs': 2.8133392333984375e-05, 'checkpoint_manager_blocking_start_time': 1777015253.6714602, 'checkpoint_manager_blocking_duration_secs': 0.33132505416870117}
I0424 07:20:54.002977 136837314082624 checkpointing.py:408] Started an asynchronous checkpoint save for step 9
I0424 07:20:54.003029 136837314082624 checkpoint_manager.py:2020] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 07:20:59.414666 136705692657408 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227/linen_xpk_main_20260424_070227_06_grad_accum/checkpoints/9/items/array_metadatas/process_5
I0424 07:21:36.414484 136707869505280 base_pytree_checkpoint_handler.py:130] [process=5] /jax/orbax/write/gbytes_per_sec: 37.206 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.45591449737549 s) (per-host)
I0424 07:21:36.414589 136707869505280 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.414068s.
I0424 07:21:44.204477 136707869505280 async_checkpointer.py:160] [process=5][thread=async_save] Background save thread done. Time taken: 50.203939s.
I0424 07:21:44.204817 136701963925248 async_checkpointer.py:288] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 07:21:44.204941 136701963925248 async_checkpointer.py:298] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0424 07:21:44.204990 136701963925248 checkpoint_manager.py:2137] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0424 07:21:44.207411 136701963925248 checkpoint_manager.py:2146] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0424 07:21:44.207587 136837314082624 checkpoint_manager.py:2032] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0424 07:21:44.207747 136837314082624 checkpoint_manager.py:2009] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 07:21:44.208695 136837314082624 metric_logger.py:196] completed step: 9, seconds: 0.578, TFLOP/s/device: 94.004, Tokens/s/device: 14169.284, total_weights: 262144, loss: 9.457, lm_loss: 9.457, perplexity: 12802.546
Per train step:
 Total TFLOPs: 54.35 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Fri Apr 24 07:21:56 UTC 2026
EXIT_CODE=0
NNX  ·  b117f50cf  ·  main_20260424_070227  ·  full log
XPK Start: Fri Apr 24 08:41:53 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-24 08:42:18.493217: 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)
I0424 08:42:18.698492 137476709652288 max_utils.py:273] Attempting to initialize the jax distributed system...
I0424 08:42:27.738990 137476709652288 distributed.py:149] Starting JAX distributed service on [::]:8482
I0424 08:42:27.741284 137476709652288 distributed.py:172] Connecting to JAX distributed service on mt-06-grad-accum-0ff34-slice-job-0-0.mt-06-grad-accum-0ff34:8482
I0424 08:42:28.666732 137476709652288 max_utils.py:284] Jax distributed system initialized!
I0424 08:42:35.105390 137476709652288 max_utils.py:800] System Information: Jax Version: 0.9.2
I0424 08:42:35.105499 137476709652288 max_utils.py:801] System Information: Jaxlib Version: 0.9.2
I0424 08:42:35.105539 137476709652288 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
I0424 08:42:35.105575 137476709652288 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: Fri Apr 24 08:42:43 UTC 2026
EXIT_CODE=1