MaxView

‹ 05_fp8Case: 06_grad_accum07_eval ›

Metrics: Linen vs NNX  ·  feat/nnx-set-defaults-true

MetricLinen  73213e044NNX  73213e044Diff (NNX − Linen)
Parameters1.104 billion1.104 billion
Final loss9.45709.45700
TFLOP/s93.96693.982+0.016
Tok/s14163.614166.0+2.449
Avg s/step5.9235.943+0.02
Memory %1.381.380
JAX0.8.10.8.1

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

Linen  ·  73213e044  ·  feat_nnx_set_defaults_true_20260422_154647  ·  full log
XPK Start: Wed Apr 22 16:03:26 UTC 2026
2026-04-22 16:03:30.094540: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776873810.106812      10 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776873810.110698      10 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776873810.121985      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776873810.122002      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776873810.122004      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776873810.122006      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-22 16:03:49.208312: 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 16:03:49.736793 138014124525376 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-22 16:03:58,777:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0422 16:03:58.777872 138014124525376 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-22 16:03:58,780:jax._src.distributed:157: Connecting to JAX distributed service on mt-06-grad-accum-79ahu-slice-job-0-0.mt-06-grad-accum-79ahu:8482
I0422 16:03:58.780173 138014124525376 distributed.py:157] Connecting to JAX distributed service on mt-06-grad-accum-79ahu-slice-job-0-0.mt-06-grad-accum-79ahu:8482
I0422 16:04:00.388361 138014124525376 max_utils.py:284] Jax distributed system initialized!
I0422 16:04:07.359148 138014124525376 max_utils.py:800] System Information: Jax Version: 0.8.1
I0422 16:04:07.359261 138014124525376 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0422 16:04:07.359301 138014124525376 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0422 16:04:07.359336 138014124525376 train_utils.py:377] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 16:04:07.976238 138014124525376 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 16:04:07.976837 138014124525376 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 16:04:07.977015 138014124525376 checkpointing.py:688] Setting up checkpoint logger...
I0422 16:04:07.977064 138014124525376 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 16:04:07.977106 138014124525376 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0422 16:04:07.977494 138014124525376 base_pytree_checkpoint_handler.py:415] 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 0x7d857af754c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 16:04:11.020731 138014124525376 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0422 16:04:11.021082 138014124525376 checkpoint_manager.py:709] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d71081b1e50>}, handler_registry=None
I0422 16:04:11.021329 138014124525376 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d71081b1e50>` 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 16:04:11.021378 138014124525376 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d71081b7200>` 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 16:04:11.021417 138014124525376 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 0x7d71081b1e50>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d71081b1e50>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d71081b7200>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d71081b7200>}).
I0422 16:04:11.021939 138014124525376 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0422 16:04:11.022023 138014124525376 async_checkpointer.py:177] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7d70d858c180> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0422 16:04:11.879248 138014124525376 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints
I0422 16:04:12.329765 138014124525376 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_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7d72a1d5d670>
I0422 16:04:12.329961 138014124525376 checkpointing.py:302] Checkpoint manager created!
I0422 16:04:13.990257 138014124525376 nnx_wrappers.py:455] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 16:04:13.990366 138014124525376 nnx_wrappers.py:455] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 16:04:14.361193 138014124525376 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 16:04:14.361292 138014124525376 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 16:04:14.376965 138014124525376 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 16:04:14.377029 138014124525376 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 16:04:14.399476 138014124525376 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 16:04:14.399550 138014124525376 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 16:04:14.415449 138014124525376 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 16:04:14.415518 138014124525376 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 16:04:14.431313 138014124525376 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 16:04:14.431379 138014124525376 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 16:04:14.455871 138014124525376 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 16:04:14.455945 138014124525376 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 16:04:14.475212 138014124525376 linears.py:541] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 16:04:14.475282 138014124525376 linears.py:541] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 16:04:14.663936 138014124525376 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 16:04:14.664048 138014124525376 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0422 16:04:16.083684 138014124525376 maxtext_utils.py:1740]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0422 16:04:16.083820 138014124525376 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wi_0/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 16:04:16.083875 138014124525376 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wi_1/kernel
    Shape:     float32[2048,16,7168]
    Logical:   PartitionSpec('embed', 'layers', 'mlp')
    Physical:  ('fsdp', None, None)
I0422 16:04:16.083937 138014124525376 maxtext_utils.py:1740]  params/params/decoder/layers/mlp/wo/kernel
    Shape:     float32[7168,16,2048]
    Logical:   PartitionSpec('mlp', 'layers', 'embed')
    Physical:  (None, None, 'fsdp')
I0422 16:04:16.083992 138014124525376 maxtext_utils.py:1740]  params/params/decoder/layers/post_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0422 16:04:16.084031 138014124525376 maxtext_utils.py:1740]  params/params/decoder/layers/pre_self_attention_layer_norm/scale
    Shape:     float32[2048,16]
    Logical:   PartitionSpec('norm', 'layers')
    Physical:  (None, None)
I0422 16:04:16.084084 138014124525376 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/key/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0422 16:04:16.084136 138014124525376 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/out/kernel
    Shape:     float32[16,16,128,2048]
    Logical:   PartitionSpec('heads', 'layers', 'kv', 'embed')
    Physical:  (None, None, None, 'fsdp')
I0422 16:04:16.084178 138014124525376 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/query/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'q_heads', 'kv')
    Physical:  ('fsdp', None, None, None)
I0422 16:04:16.084226 138014124525376 maxtext_utils.py:1740]  params/params/decoder/layers/self_attention/value/kernel
    Shape:     float32[2048,16,16,128]
    Logical:   PartitionSpec('embed', 'layers', 'kv_heads', 'kv_head_dim')
    Physical:  ('fsdp', None, None, None)
I0422 16:04:16.084276 138014124525376 maxtext_utils.py:1740]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0422 16:04:16.084325 138014124525376 maxtext_utils.py:1740]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')

I0422 16:04:16.106600 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048]............................................... Unknown.
I0422 16:04:16.106674 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048]............................................... (None,).
I0422 16:04:16.120894 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,16,7168]....................................... Unknown.
I0422 16:04:16.120949 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,16,7168]....................................... ('fsdp', None, None).
I0422 16:04:16.148986 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[7168,16,2048]....................................... Unknown.
I0422 16:04:16.149050 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[7168,16,2048]....................................... (None, None, 'fsdp').
I0422 16:04:16.163075 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,16]............................................ Unknown.
I0422 16:04:16.163133 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,16]............................................ (None, None).
I0422 16:04:16.191334 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,16,16,128]..................................... Unknown.
I0422 16:04:16.191405 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,16,16,128]..................................... ('fsdp', None, None, None).
I0422 16:04:16.205621 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[16,16,128,2048]..................................... Unknown.
I0422 16:04:16.205684 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[16,16,128,2048]..................................... (None, None, None, 'fsdp').
I0422 16:04:16.247596 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,32000]......................................... Unknown.
I0422 16:04:16.247679 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,32000]......................................... ('fsdp', None).
I0422 16:04:16.261758 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[32000,2048]......................................... Unknown.
I0422 16:04:16.261814 138014124525376 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[32000,2048]......................................... (None, 'fsdp').
I0422 16:04:16.935576 138014124525376 train.py:158] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 16:04:16.935688 138014124525376 train.py:158] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 16:04:16.951008 138014124525376 train.py:165] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0422 16:04:16.951072 138014124525376 train.py:165] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0422 16:04:28.459981 138014124525376 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.
I0422 16:04:28.460880 138014124525376 metric_logger.py:289] number parameters: 1.104 billion
I0422 16:04:30.564574 138014124525376 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0422 16:04:40.484856 138014124525376 checkpointing.py:798] Waited 9.920260667800903 seconds for step 0 to finish before starting checkpointing.
I0422 16:04:40.487525 138014124525376 checkpoint_manager.py:2013] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 16:04:40.489225 138014124525376 checkpoint_manager.py:1518] [process=5] Saving checkpoint at step 0
I0422 16:04:40.492172 138014124525376 async_checkpointer.py:452] [process=5] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/0.
I0422 16:04:41.524940 138014124525376 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 16:04:41.526050 138014124525376 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0422 16:04:41.526109 138014124525376 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 16:04:41.771779 138014124525376 base_pytree_checkpoint_handler.py:153] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.246917s
I0422 16:04:41.771958 138014124525376 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.803 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5504209995269775 s) (per-host)
I0422 16:04:41.772010 138014124525376 base_pytree_checkpoint_handler.py:737] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.550482s (batch_requests_ready=0.299967s, total_serialization_initiated=0.250446s, others=0.000069s)
I0422 16:04:41.772100 138014124525376 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.554614s (all_items=0.000020s, per_item={'items': '0.00001979'}, temp_paths=0.554594)
I0422 16:04:41.773052 137891619510016 async_checkpointer.py:79] [process=5][thread=async_save] Background save thread started.
I0422 16:04:41.773230 138014124525376 async_checkpointer.py:561] Finished blocking save. Time taken: 1.283931s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/0.
I0422 16:04:42.213572 138014124525376 checkpoint_manager.py:1566] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 16:04:42.213977 137887894984448 async_checkpointer.py:265] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0422 16:04:42.214150 138014124525376 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776873880.487507, 'wait_for_prev_duration_secs': 6.246566772460938e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776873880.4892652, 'checkpointer_blocking_duration_secs': 1.28407621383667, 'get_old_steps_start_time': 1776873881.7733624, 'get_old_steps_duration_secs': 2.4557113647460938e-05, 'checkpoint_manager_blocking_start_time': 1776873880.485329, 'checkpoint_manager_blocking_duration_secs': 1.7287790775299072}
I0422 16:04:42.214273 138014124525376 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0422 16:04:42.214328 138014124525376 max_utils.py:750] 
Memstats: After params initialized:
I0422 16:04:42.214385 138014124525376 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0422 16:04:42.214420 138014124525376 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0422 16:04:42.214448 138014124525376 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0422 16:04:42.214474 138014124525376 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0422 16:04:42.478670 138014124525376 metric_logger.py:185] completed step: 0, seconds: 2.104, TFLOP/s/device: 25.836, Tokens/s/device: 3894.308, total_weights: 262144, loss: 10.877
I0422 16:04:43.082641 138014124525376 metric_logger.py:185] completed step: 1, seconds: 11.913, TFLOP/s/device: 4.562, Tokens/s/device: 687.663, total_weights: 262144, loss: 10.877
I0422 16:04:43.661228 138014124525376 metric_logger.py:185] completed step: 2, seconds: 0.026, TFLOP/s/device: 2104.004, Tokens/s/device: 317138.322, total_weights: 262144, loss: 10.563
I0422 16:04:44.239331 138014124525376 metric_logger.py:185] completed step: 3, seconds: 0.584, TFLOP/s/device: 92.985, Tokens/s/device: 14015.638, total_weights: 262144, loss: 10.272
I0422 16:04:45.005341    2418 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 16:04:45.396310 138014124525376 metric_logger.py:185] completed step: 4, seconds: 0.579, TFLOP/s/device: 93.929, Tokens/s/device: 14157.946, total_weights: 262144, loss: 10.022
I0422 16:04:45.402490 138014124525376 metric_logger.py:185] completed step: 5, seconds: 0.578, TFLOP/s/device: 94.029, Tokens/s/device: 14173.059, total_weights: 262144, loss: 9.820
I0422 16:04:47.323291 137891627902720 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/0/items/array_metadatas/process_5
I0422 16:05:19.820200 137891619510016 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/gbytes_per_sec: 40.924 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.59862995147705 s) (per-host)
I0422 16:05:19.820304 137891619510016 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 38.047135s.
I0422 16:05:23.290618 138014124525376 metric_logger.py:185] completed step: 6, seconds: 1.157, TFLOP/s/device: 46.959, Tokens/s/device: 7078.117, total_weights: 262144, loss: 9.667
I0422 16:05:23.869046 138014124525376 metric_logger.py:185] completed step: 7, seconds: 37.310, TFLOP/s/device: 1.457, Tokens/s/device: 219.563, total_weights: 262144, loss: 9.561
I0422 16:05:24.447412 138014124525376 metric_logger.py:185] completed step: 8, seconds: 0.584, TFLOP/s/device: 93.119, Tokens/s/device: 14035.953, total_weights: 262144, loss: 9.496
I0422 16:05:25.025564 138014124525376 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0422 16:05:25.026235 138014124525376 checkpointing.py:798] Waited 0.000690460205078125 seconds for step 9 to finish before starting checkpointing.
I0422 16:05:25.028208 138014124525376 checkpoint_manager.py:2024] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 16:06:04.416134 137891619510016 async_checkpointer.py:144] [process=5][thread=async_save] Background save thread done. Time taken: 82.642949s.
I0422 16:06:04.416446 137887894984448 async_checkpointer.py:273] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 16:06:04.416565 137887894984448 async_checkpointer.py:283] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0422 16:06:04.416617 137887894984448 checkpoint_manager.py:2133] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0422 16:06:04.419362 137887894984448 checkpoint_manager.py:2142] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0422 16:06:04.419527 138014124525376 checkpoint_manager.py:2036] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0422 16:06:04.419669 138014124525376 checkpoint_manager.py:1458] Waiting for previous save to complete took 39.391454 seconds. If this number is high, consider checkpointing less frequently.
I0422 16:06:04.421484 138014124525376 checkpoint_manager.py:1518] [process=5] Saving checkpoint at step 9
I0422 16:06:04.424819 138014124525376 async_checkpointer.py:452] [process=5] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/9.
I0422 16:06:05.441540 138014124525376 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0422 16:06:05.441635 138014124525376 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 16:06:05.485134 138014124525376 base_pytree_checkpoint_handler.py:153] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.044577s
I0422 16:06:05.485309 138014124525376 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/blocking_gbytes_per_sec: 4.634 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.3329014778137207 s) (per-host)
I0422 16:06:05.485363 138014124525376 base_pytree_checkpoint_handler.py:737] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.332964s (batch_requests_ready=0.286426s, total_serialization_initiated=0.046468s, others=0.000070s)
I0422 16:06:05.485454 138014124525376 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.337332s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.337317)
I0422 16:06:05.486270 137887316260608 async_checkpointer.py:79] [process=5][thread=async_save] Background save thread started.
I0422 16:06:05.486430 138014124525376 async_checkpointer.py:561] Finished blocking save. Time taken: 1.064875s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/9.
I0422 16:06:05.896795 138014124525376 checkpoint_manager.py:1566] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 16:06:05.897187 137887894984448 async_checkpointer.py:265] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0422 16:06:05.897362 138014124525376 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776873925.0281785, 'wait_for_prev_duration_secs': 39.391453981399536, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776873964.4215236, 'checkpointer_blocking_duration_secs': 1.0650091171264648, 'get_old_steps_start_time': 1776873965.486552, 'get_old_steps_duration_secs': 2.5510787963867188e-05, 'checkpoint_manager_blocking_start_time': 1776873925.0264513, 'checkpoint_manager_blocking_duration_secs': 40.87087321281433}
I0422 16:06:05.897470 138014124525376 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0422 16:06:05.897516 138014124525376 checkpoint_manager.py:2024] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 16:06:11.014375 137887886591744 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 39 array_metadata.ArrayMetadata to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/linen_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/9/items/array_metadatas/process_5
I0422 16:06:48.350872 137887316260608 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/gbytes_per_sec: 36.566 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 43.19842481613159 s) (per-host)
I0422 16:06:48.350996 137887316260608 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 42.864611s.
I0422 16:06:56.335738 137887316260608 async_checkpointer.py:144] [process=5][thread=async_save] Background save thread done. Time taken: 50.849339s.
I0422 16:06:56.335974 137887894984448 async_checkpointer.py:273] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 16:06:56.336032 137887894984448 async_checkpointer.py:283] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0422 16:06:56.336088 137887894984448 checkpoint_manager.py:2133] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0422 16:06:56.337687 137887894984448 checkpoint_manager.py:2142] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0422 16:06:56.337867 138014124525376 checkpoint_manager.py:2036] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0422 16:06:56.338026 138014124525376 checkpoint_manager.py:2013] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 16:06:56.338691 138014124525376 metric_logger.py:185] completed step: 9, seconds: 0.578, TFLOP/s/device: 93.966, Tokens/s/device: 14163.576, total_weights: 262144, loss: 9.457
Per train step:
 Total TFLOPs: 54.35 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Wed Apr 22 16:07:06 UTC 2026
EXIT_CODE=0
NNX  ·  73213e044  ·  feat_nnx_set_defaults_true_20260422_154647  ·  full log
XPK Start: Wed Apr 22 17:42:31 UTC 2026
2026-04-22 17:42:35.628761: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1776879755.641631      10 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1776879755.645498      10 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1776879755.656604      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776879755.656623      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776879755.656626      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1776879755.656628      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-22 17:42:54.941402: 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 17:42:55.468329 136326068938560 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-22 17:43:04,508:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0422 17:43:04.508410 136326068938560 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-22 17:43:04,510:jax._src.distributed:157: Connecting to JAX distributed service on mt-06-grad-accum-u0mng-slice-job-0-0.mt-06-grad-accum-u0mng:8482
I0422 17:43:04.510894 136326068938560 distributed.py:157] Connecting to JAX distributed service on mt-06-grad-accum-u0mng-slice-job-0-0.mt-06-grad-accum-u0mng:8482
I0422 17:43:05.499607 136326068938560 max_utils.py:284] Jax distributed system initialized!
I0422 17:43:12.303366 136326068938560 max_utils.py:800] System Information: Jax Version: 0.8.1
I0422 17:43:12.303470 136326068938560 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0422 17:43:12.303512 136326068938560 max_utils.py:802] System Information: Jax Backend: PJRT C API
TFRT TPU v6 lite
Built on Nov 12 2025 14:16:36 (1762985796) cl/831091709
I0422 17:43:12.303547 136326068938560 train_utils.py:377] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0422 17:43:12.923645 136326068938560 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0422 17:43:13.039766 136326068938560 checkpointing.py:688] Setting up checkpoint logger...
I0422 17:43:13.039883 136326068938560 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0422 17:43:13.039930 136326068938560 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0422 17:43:13.040139 136326068938560 base_pytree_checkpoint_handler.py:415] 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 0x7bfc599711f0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0422 17:43:16.509783 136326068938560 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0422 17:43:16.510020 136326068938560 checkpoint_manager.py:709] [process=5][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=('items',), item_handlers={'items': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7be9930ef740>}, handler_registry=None
I0422 17:43:16.510265 136326068938560 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7be9930ef740>` 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 17:43:16.510314 136326068938560 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7be992782f90>` 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 17:43:16.510352 136326068938560 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 0x7be9930ef740>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7be9930ef740>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7be992782f90>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7be992782f90>}).
I0422 17:43:16.510708 136326068938560 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0422 17:43:16.510788 136326068938560 async_checkpointer.py:177] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7be9f84c8f40> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0422 17:43:17.223494 136326068938560 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints
I0422 17:43:17.225732 136326068938560 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/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7be9930ed640>
I0422 17:43:17.225847 136326068938560 checkpointing.py:302] Checkpoint manager created!
I0422 17:43:18.948781 136326068938560 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0422 17:43:18.948899 136326068938560 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0422 17:43:20.346261 136326068938560 maxtext_utils.py:1749]  decoder/decoder_norm/scale/value
    Shape:     float32[2048]
    Physical:  (None,)
I0422 17:43:20.346385 136326068938560 maxtext_utils.py:1749]  decoder/layers/mlp/wi_0/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0422 17:43:20.346439 136326068938560 maxtext_utils.py:1749]  decoder/layers/mlp/wi_1/kernel/value
    Shape:     float32[2048,16,7168]
    Physical:  ('fsdp', None, None)
I0422 17:43:20.346484 136326068938560 maxtext_utils.py:1749]  decoder/layers/mlp/wo/kernel/value
    Shape:     float32[7168,16,2048]
    Physical:  (None, None, 'fsdp')
I0422 17:43:20.346521 136326068938560 maxtext_utils.py:1749]  decoder/layers/post_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0422 17:43:20.346557 136326068938560 maxtext_utils.py:1749]  decoder/layers/pre_self_attention_layer_norm/scale/value
    Shape:     float32[2048,16]
    Physical:  (None, None)
I0422 17:43:20.346593 136326068938560 maxtext_utils.py:1749]  decoder/layers/self_attention/key/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0422 17:43:20.346629 136326068938560 maxtext_utils.py:1749]  decoder/layers/self_attention/out/kernel/value
    Shape:     float32[16,16,128,2048]
    Physical:  (None, None, None, 'fsdp')
I0422 17:43:20.346677 136326068938560 maxtext_utils.py:1749]  decoder/layers/self_attention/query/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0422 17:43:20.346713 136326068938560 maxtext_utils.py:1749]  decoder/layers/self_attention/value/kernel/value
    Shape:     float32[2048,16,16,128]
    Physical:  ('fsdp', None, None, None)
I0422 17:43:20.346747 136326068938560 maxtext_utils.py:1749]  decoder/logits_dense/kernel/value
    Shape:     float32[2048,32000]
    Physical:  ('fsdp', None)
I0422 17:43:20.346779 136326068938560 maxtext_utils.py:1749]  token_embedder/embedding/value
    Shape:     float32[32000,2048]
    Physical:  (None, 'fsdp')

I0422 17:43:20.729544 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048]............................................... Unknown.
I0422 17:43:20.729639 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048]............................................... (None,).
I0422 17:43:20.743791 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,16,7168]....................................... Unknown.
I0422 17:43:20.743850 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,16,7168]....................................... ('fsdp', None, None).
I0422 17:43:20.771957 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[7168,16,2048]....................................... Unknown.
I0422 17:43:20.772032 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[7168,16,2048]....................................... (None, None, 'fsdp').
I0422 17:43:20.786195 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,16]............................................ Unknown.
I0422 17:43:20.786250 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,16]............................................ (None, None).
I0422 17:43:20.814337 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,16,16,128]..................................... Unknown.
I0422 17:43:20.814399 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,16,16,128]..................................... ('fsdp', None, None, None).
I0422 17:43:20.828410 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[16,16,128,2048]..................................... Unknown.
I0422 17:43:20.828467 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[16,16,128,2048]..................................... (None, None, None, 'fsdp').
I0422 17:43:20.870464 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[2048,32000]......................................... Unknown.
I0422 17:43:20.870538 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[2048,32000]......................................... ('fsdp', None).
I0422 17:43:20.884599 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Logical: float32[32000,2048]......................................... Unknown.
I0422 17:43:20.884666 136326068938560 gradient_accumulation.py:70] gradient_accumulation/inputs Physical: float32[32000,2048]......................................... (None, 'fsdp').
I0422 17:43:21.106629 136326068938560 nnx_decoders.py:616] nnx_decoders/carry Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 17:43:21.106746 136326068938560 nnx_decoders.py:616] nnx_decoders/carry Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 17:43:21.111076 136326068938560 nnx_decoders.py:616] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0422 17:43:21.111136 136326068938560 nnx_decoders.py:616] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 17:43:21.127381 136326068938560 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 17:43:21.127440 136326068938560 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 17:43:21.142930 136326068938560 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0422 17:43:21.142989 136326068938560 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0422 17:43:21.166083 136326068938560 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 17:43:21.166148 136326068938560 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 17:43:21.181933 136326068938560 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 17:43:21.182000 136326068938560 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 17:43:21.197734 136326068938560 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0422 17:43:21.197795 136326068938560 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 17:43:21.222568 136326068938560 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0422 17:43:21.222632 136326068938560 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0422 17:43:21.241898 136326068938560 linears.py:541] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0422 17:43:21.241961 136326068938560 linears.py:541] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0422 17:43:32.884859 136326068938560 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.
I0422 17:43:32.887233 136326068938560 metric_logger.py:289] number parameters: 1.104 billion
I0422 17:43:34.763878 136326068938560 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0422 17:43:44.753833 136326068938560 checkpointing.py:798] Waited 9.989940404891968 seconds for step 0 to finish before starting checkpointing.
I0422 17:43:44.756347 136326068938560 checkpoint_manager.py:2013] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 17:43:44.758079 136326068938560 checkpoint_manager.py:1518] [process=5] Saving checkpoint at step 0
I0422 17:43:44.761329 136326068938560 async_checkpointer.py:452] [process=5] Started async saving checkpoint to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/0.
I0422 17:43:45.322705 136326068938560 signaling_client.py:364] Using JaxDistributedSignalingClient
I0422 17:43:45.323813 136326068938560 jax_array_handlers.py:358] Scheduling D2H of 69 prioritized jax.Array.
I0422 17:43:45.323871 136326068938560 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 17:43:45.567640 136326068938560 base_pytree_checkpoint_handler.py:153] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.246083s
I0422 17:43:45.567823 136326068938560 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/blocking_gbytes_per_sec: 3.077 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.5012850761413574 s) (per-host)
I0422 17:43:45.567872 136326068938560 base_pytree_checkpoint_handler.py:737] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.501345s (batch_requests_ready=0.248371s, total_serialization_initiated=0.252904s, others=0.000069s)
I0422 17:43:45.567974 136326068938560 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.505485s (all_items=0.000019s, per_item={'items': '0.00001907'}, temp_paths=0.505466)
I0422 17:43:45.568938 136203739326208 async_checkpointer.py:79] [process=5][thread=async_save] Background save thread started.
I0422 17:43:45.569115 136326068938560 async_checkpointer.py:561] Finished blocking save. Time taken: 0.810900s. Continuing background save to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/0.
I0422 17:43:46.001318 136326068938560 checkpoint_manager.py:1566] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 17:43:46.001706 136200518100736 async_checkpointer.py:265] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0422 17:43:46.001875 136326068938560 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776879824.756329, 'wait_for_prev_duration_secs': 6.532669067382812e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776879824.7581809, 'checkpointer_blocking_duration_secs': 0.8110382556915283, 'get_old_steps_start_time': 1776879825.5692396, 'get_old_steps_duration_secs': 2.3126602172851562e-05, 'checkpoint_manager_blocking_start_time': 1776879824.7542396, 'checkpoint_manager_blocking_duration_secs': 1.2475948333740234}
I0422 17:43:46.001990 136326068938560 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0422 17:43:46.002059 136326068938560 max_utils.py:750] 
Memstats: After params initialized:
I0422 17:43:46.002116 136326068938560 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_18(process=5,(2,4,0,0))
I0422 17:43:46.002148 136326068938560 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_19(process=5,(3,4,0,0))
I0422 17:43:46.002175 136326068938560 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_22(process=5,(2,5,0,0))
I0422 17:43:46.002199 136326068938560 max_utils.py:756] 	Using (GB) 0.43 / 31.25 (1.376000%) on TPU_23(process=5,(3,5,0,0))
I0422 17:43:46.268078 136326068938560 metric_logger.py:185] completed step: 0, seconds: 1.876, TFLOP/s/device: 28.977, Tokens/s/device: 4367.664, total_weights: 262144, loss: 10.876
I0422 17:43:46.862990 136326068938560 metric_logger.py:185] completed step: 1, seconds: 11.503, TFLOP/s/device: 4.725, Tokens/s/device: 712.189, total_weights: 262144, loss: 10.876
I0422 17:43:47.441569 136326068938560 metric_logger.py:185] completed step: 2, seconds: 0.018, TFLOP/s/device: 2983.723, Tokens/s/device: 449739.226, total_weights: 262144, loss: 10.561
I0422 17:43:48.020041 136326068938560 metric_logger.py:185] completed step: 3, seconds: 0.584, TFLOP/s/device: 93.087, Tokens/s/device: 14031.073, total_weights: 262144, loss: 10.270
I0422 17:43:48.235692    2397 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0422 17:43:49.177328 136326068938560 metric_logger.py:185] completed step: 4, seconds: 0.579, TFLOP/s/device: 93.843, Tokens/s/device: 14144.990, total_weights: 262144, loss: 10.021
I0422 17:43:49.184395 136326068938560 metric_logger.py:185] completed step: 5, seconds: 0.578, TFLOP/s/device: 94.049, Tokens/s/device: 14176.027, total_weights: 262144, loss: 9.819
I0422 17:43:50.112915 136203747718912 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/0/items/array_metadatas/process_5
I0422 17:44:23.307426 136203739326208 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/gbytes_per_sec: 41.307 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 38.24085760116577 s) (per-host)
I0422 17:44:23.307531 136203739326208 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 37.738473s.
I0422 17:44:27.664211 136326068938560 metric_logger.py:185] completed step: 6, seconds: 1.158, TFLOP/s/device: 46.937, Tokens/s/device: 7074.834, total_weights: 262144, loss: 9.666
I0422 17:44:28.242696 136326068938560 metric_logger.py:185] completed step: 7, seconds: 37.902, TFLOP/s/device: 1.434, Tokens/s/device: 216.134, total_weights: 262144, loss: 9.560
I0422 17:44:28.821151 136326068938560 metric_logger.py:185] completed step: 8, seconds: 0.584, TFLOP/s/device: 93.015, Tokens/s/device: 14020.267, total_weights: 262144, loss: 9.495
I0422 17:44:29.400531 136326068938560 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0422 17:44:29.401102 136326068938560 checkpointing.py:798] Waited 0.0005822181701660156 seconds for step 9 to finish before starting checkpointing.
I0422 17:44:29.403220 136326068938560 checkpoint_manager.py:2024] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 17:45:07.328188 136203739326208 async_checkpointer.py:144] [process=5][thread=async_save] Background save thread done. Time taken: 81.759114s.
I0422 17:45:07.328425 136200518100736 async_checkpointer.py:273] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 17:45:07.328489 136200518100736 async_checkpointer.py:283] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0422 17:45:07.328541 136200518100736 checkpoint_manager.py:2133] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0422 17:45:07.330550 136200518100736 checkpoint_manager.py:2142] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0422 17:45:07.330749 136326068938560 checkpoint_manager.py:2036] [process=5][thread=MainThread][step=0][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=0.
W0422 17:45:07.330888 136326068938560 checkpoint_manager.py:1458] Waiting for previous save to complete took 37.927674 seconds. If this number is high, consider checkpointing less frequently.
I0422 17:45:07.333330 136326068938560 checkpoint_manager.py:1518] [process=5] Saving checkpoint at step 9
I0422 17:45:07.336726 136326068938560 async_checkpointer.py:452] [process=5] Started async saving checkpoint to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/9.
I0422 17:45:08.746813 136326068938560 jax_array_handlers.py:358] Scheduling D2H of 69 prioritized jax.Array.
I0422 17:45:08.746913 136326068938560 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 17:45:08.794313 136326068938560 base_pytree_checkpoint_handler.py:153] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.049905s
I0422 17:45:08.794481 136326068938560 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.034 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.7582132816314697 s) (per-host)
I0422 17:45:08.794532 136326068938560 base_pytree_checkpoint_handler.py:737] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.758272s (batch_requests_ready=0.703811s, total_serialization_initiated=0.054393s, others=0.000068s)
I0422 17:45:08.794628 136326068938560 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.762489s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.762474)
I0422 17:45:08.795526 136200476137216 async_checkpointer.py:79] [process=5][thread=async_save] Background save thread started.
I0422 17:45:08.795693 136326068938560 async_checkpointer.py:561] Finished blocking save. Time taken: 1.462297s. Continuing background save to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/9.
I0422 17:45:08.797608 136326068938560 checkpoint_manager.py:1566] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0422 17:45:08.797918 136200518100736 async_checkpointer.py:265] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0422 17:45:08.798077 136326068938560 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1776879869.4031906, 'wait_for_prev_duration_secs': 37.92767405509949, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1776879907.3333673, 'checkpointer_blocking_duration_secs': 1.462435007095337, 'get_old_steps_start_time': 1776879908.79582, 'get_old_steps_duration_secs': 2.6702880859375e-05, 'checkpoint_manager_blocking_start_time': 1776879869.401328, 'checkpoint_manager_blocking_duration_secs': 39.39671516418457}
I0422 17:45:08.798188 136326068938560 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0422 17:45:08.798232 136326068938560 checkpoint_manager.py:2024] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0422 17:45:13.356925 136203747718912 array_metadata_store.py:203] [process=5][thread=array_type_handler] Wrote 69 array_metadata.ArrayMetadata to gs://lance-maxtext/nnx_ckpt_xpk_feat_nnx_set_defaults_true_20260422_154647/nnx_xpk_feat_nnx_set_defaults_true_20260422_154647_06_grad_accum/checkpoints/9/items/array_metadatas/process_5
I0422 17:45:50.575260 136200476137216 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/gbytes_per_sec: 37.133 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 42.53896117210388 s) (per-host)
I0422 17:45:50.575359 136200476137216 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.779726s.
I0422 17:45:58.453324 136200476137216 async_checkpointer.py:144] [process=5][thread=async_save] Background save thread done. Time taken: 49.657674s.
I0422 17:45:58.453607 136200518100736 async_checkpointer.py:273] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0422 17:45:58.453748 136200518100736 async_checkpointer.py:283] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0422 17:45:58.453796 136200518100736 checkpoint_manager.py:2133] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0422 17:45:58.456161 136200518100736 checkpoint_manager.py:2142] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0422 17:45:58.456363 136326068938560 checkpoint_manager.py:2036] [process=5][thread=MainThread][step=9][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=9.
I0422 17:45:58.456531 136326068938560 checkpoint_manager.py:2013] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0422 17:45:58.457184 136326068938560 metric_logger.py:185] completed step: 9, seconds: 0.578, TFLOP/s/device: 93.982, Tokens/s/device: 14166.025, total_weights: 262144, loss: 9.457
Per train step:
 Total TFLOPs: 54.35 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Wed Apr 22 17:46:11 UTC 2026
EXIT_CODE=0