MaxView

‹ 10_shardy_falseCase: 11_optimizer_offload_true13_scan_layers_false ›

Metrics: main (b117f50cf) vs feat/nnx-set-defaults-true (73213e044)

Metricmain  b117f50cffeat/nnx-set-defaults-true  73213e044Diff (feat/nnx-set-defaults-true − main)
Parameters1.104 billion
Final loss8.1790
TFLOP/s83.075
Tok/s12521.9
Avg s/step2.410
Memory %0.54
JAX0.8.1

Diff = branch value − main value. Green = branch improved. Red = branch regressed.

main  ·  b117f50cf  ·  main_20260424_070227  ·  full log
XPK Start: Fri Apr 24 07:39:44 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:40:09.407214: 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:40:09.611532 136179606476608 max_utils.py:273] Attempting to initialize the jax distributed system...
I0424 07:40:18.654208 136179606476608 distributed.py:149] Starting JAX distributed service on [::]:8482
I0424 07:40:18.656491 136179606476608 distributed.py:172] Connecting to JAX distributed service on mt-11-optimizer-offload-vppxf-slice-job-0-0.mt-11-optimizer-offload-vppxf:8482
F0424 07:45:23.658731      10 client.h:80] Terminating process because the JAX distributed service detected fatal errors. This most likely indicates that another task died; see the other task logs for more details. Disable Python buffering, i.e. `python -u`, to be sure to see all the previous output. absl::Status: DEADLINE_EXCEEDED: Deadline Exceeded

RPC: /tensorflow.CoordinationService/RegisterTask
*** Check failure stack trace: ***
    @     0x7bda1a958464  absl::lts_20250814::log_internal::LogMessage::SendToLog()
    @     0x7bda1a9583e6  absl::lts_20250814::log_internal::LogMessage::Flush()
    @     0x7bda1a9afa3e  std::_Function_handler<>::_M_invoke()
    @     0x7bda171989d5  std::_Function_handler<>::_M_invoke()
    @     0x7bda171b2e31  xla::CoordinationServiceAgent::SetError()
    @     0x7bda171b27a2  xla::CoordinationServiceAgent::Connect()
    @     0x7bda1719743a  xla::DistributedRuntimeCoordinationServiceClient::Connect()
    @     0x7bda1a9ab413  nanobind::detail::func_create<>()::{lambda()#1}::__invoke()
    @     0x7bda170d600d  nanobind::detail::nb_func_vectorcall_simple_1()
    @     0x7bdac9676501  PyObject_Vectorcall
Fatal Python error: Aborted

Current thread 0x00007bdac911d740 (most recent call first):
  File "/usr/local/lib/python3.12/site-packages/jax/_src/distributed.py", line 173 in initialize
  File "/usr/local/lib/python3.12/site-packages/jax/_src/distributed.py", line 331 in initialize
  File "/deps/src/maxtext/utils/max_utils.py", line 275 in maybe_initialize_jax_distributed_system
  File "/deps/src/maxtext/configs/pyconfig.py", line 459 in initialize_pydantic
  File "/deps/src/maxtext/configs/pyconfig.py", line 326 in initialize
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 665 in initialize
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 736 in main
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 312 in _run_main
  File "/usr/local/lib/python3.12/site-packages/absl/app.py", line 367 in run
  File "/deps/src/maxtext/trainers/pre_train/train.py", line 744 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main

Extension modules: numpy._core._multiarray_umath, numpy._core._multiarray_tests, numpy.linalg._umath_linalg, jaxlib.cpu_feature_guard, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, zstandard.backend_c, uvloop.loop, msgpack._cmsgpack, yaml._yaml, simplejson._speedups, google._upb._message, charset_normalizer.md, charset_normalizer.cd, requests.packages.charset_normalizer.md, requests.packages.chardet.md, requests.packages.charset_normalizer.cd, requests.packages.chardet.cd, _cffi_backend, grpc._cython.cygrpc, multidict._multidict, yarl._quoting_c, propcache._helpers_c, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket.mask, aiohttp._websocket.reader_c, frozenlist._frozenlist, h5py._errors, h5py.defs, h5py._objects, h5py.h5, h5py.utils, h5py.h5t, h5py.h5s, h5py.h5ac, h5py.h5p, h5py.h5r, h5py._npystrings, h5py._proxy, h5py._conv, h5py.h5z, h5py.h5a, h5py.h5d, h5py.h5ds, h5py.h5g, h5py.h5i, h5py.h5o, h5py.h5f, h5py.h5fd, h5py.h5pl, h5py.h5l, h5py._selector, _cyutility, scipy._cyutility, scipy._lib._ccallback_c, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, PIL._imaging, psutil._psutil_linux, pyarrow.lib, pandas._libs._cyutility, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.properties, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.timestamps, pandas._libs.tslibs.offsets, pandas._libs.tslibs.strptime, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.lib, pyarrow._compute, pandas._libs.ops, pandas._libs.hashing, pandas._libs.arrays, pandas._libs.tslib, pandas._libs.sparse, pandas._libs.internals, pandas._libs.indexing, pandas._libs.index, pandas._libs.writers, pandas._libs.join, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.groupby, pandas._libs.json, pandas._libs.parsers, pandas._libs.testing, kiwisolver._cext, markupsafe._speedups, regex._regex, sentencepiece._sentencepiece, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._batched_linalg, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_schur_sqrtm, scipy.linalg._matfuncs_expm, scipy.linalg._linalg_pythran, scipy.linalg.cython_blas, scipy.linalg._decomp_update, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.special._ufuncs_cxx, scipy.special._ellip_harm_2, scipy.special._special_ufuncs, scipy.special._gufuncs, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.spatial._hausdorff, scipy.spatial._distance_wrap, scipy.spatial.transform._rotation_cy, scipy.spatial.transform._rigid_transform_cy, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpacklib, scipy.sparse.linalg._propack, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._slsqplib, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy._lib._uarray._uarray, scipy.linalg._decomp_interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, scipy.integrate._odepack, scipy.integrate._quadpack, scipy.integrate._vode, scipy.integrate._dop, scipy.interpolate._fitpack, scipy.interpolate._dfitpack, scipy.interpolate._dierckx, scipy.interpolate._ppoly, scipy.interpolate._interpnd, scipy.interpolate._rbfinterp_pythran, scipy.interpolate._rgi_cython, scipy.special.cython_special, scipy.stats._stats, scipy.stats._biasedurn, scipy.stats._stats_pythran, scipy.stats._levy_stable.levyst, scipy.stats._ansari_swilk_statistics, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.stats._sobol, scipy.stats._qmc_cy, scipy.stats._rcont.rcont, scipy.stats._qmvnt_cy, scipy.ndimage._nd_image, scipy.ndimage._rank_filter_1d, _ni_label, scipy.ndimage._ni_label (total: 191)
bash: line 5:    10 Aborted                 (core dumped) python3 -m maxtext.trainers.pre_train.train src/maxtext/configs/base.yml pure_nnx=False pure_nnx_decoder=False enable_nnx=False base_output_directory=gs://lance-maxtext/linen_ckpt_xpk_main_20260424_070227 dataset_type=synthetic steps=10 learning_rate_schedule_steps=10 enable_checkpointing=True checkpoint_period=10 enable_goodput_recording=False per_device_batch_size=1 ici_fsdp_parallelism=32 log_config=False tokenizer_path=src/maxtext/assets/tokenizers/tokenizer.llama2 use_vertex_tensorboard=False vertex_tensorboard_project='' vertex_tensorboard_region='' enable_pathways_goodput=False enable_gcp_goodput_metrics=False monitor_goodput=False attention=dot_product profiler=xplane debug_sharding=True run_name=linen_xpk_main_20260424_070227_11_optimizer_offload_true optimizer_memory_host_offload=True
XPK End: Fri Apr 24 07:45:29 UTC 2026
EXIT_CODE=134
XPK Start: Fri Apr 24 15:34:45 UTC 2026
2026-04-24 15:34:49.329434: 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:1777044889.341969      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:1777044889.345771      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:1777044889.356973      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1777044889.356990      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1777044889.356993      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1777044889.356995      10 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2026-04-24 15:35:08.644088: 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 15:35:09.171599 137507730003776 max_utils.py:273] Attempting to initialize the jax distributed system...
INFO:2026-04-24 15:35:18,210:jax._src.distributed:140: Starting JAX distributed service on [::]:8482
I0424 15:35:18.210480 137507730003776 distributed.py:140] Starting JAX distributed service on [::]:8482
INFO:2026-04-24 15:35:18,212:jax._src.distributed:157: Connecting to JAX distributed service on mt-11-optimizer-offload-y4prg-slice-job-0-0.mt-11-optimizer-offload-y4prg:8482
I0424 15:35:18.212917 137507730003776 distributed.py:157] Connecting to JAX distributed service on mt-11-optimizer-offload-y4prg-slice-job-0-0.mt-11-optimizer-offload-y4prg:8482
I0424 15:35:19.180055 137507730003776 max_utils.py:284] Jax distributed system initialized!
I0424 15:35:25.090989 137507730003776 max_utils.py:800] System Information: Jax Version: 0.8.1
I0424 15:35:25.091095 137507730003776 max_utils.py:801] System Information: Jaxlib Version: 0.8.1
I0424 15:35:25.091135 137507730003776 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
I0424 15:35:25.091170 137507730003776 train_utils.py:377] WARNING: Sequence packing is essentially ignored for synthetic data. Please use a real dataset to use sequence packing.
I0424 15:35:25.706560 137507730003776 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 15:35:25.707159 137507730003776 maxtext_utils.py:1631] Num_devices: 32, shape (1, 1, 1, 32, 1, 1, 1, 1, 1, 1, 1, 1, 1)
I0424 15:35:25.707348 137507730003776 checkpointing.py:688] Setting up checkpoint logger...
I0424 15:35:25.707396 137507730003776 checkpointing.py:234] Creating checkpoint manager with ocdbt=True and zarr3=True
I0424 15:35:25.707440 137507730003776 pytree_checkpoint_handler.py:589] save_device_host_concurrent_bytes=None
I0424 15:35:25.707812 137507730003776 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 0x7d0f871791c0>, enable_pinned_host_transfer=False, save_concurrent_bytes: 96000000000 (89.4 GiB), restore_concurrent_bytes: 96000000000 (89.4 GiB)
I0424 15:35:28.670164 137507730003776 checkpointing.py:266] Enabling policy for fixed interval checkpointing.
I0424 15:35:28.670518 137507730003776 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 0x7cfd459251f0>}, handler_registry=None
I0424 15:35:28.670786 137507730003776 composite_checkpoint_handler.py:237] Deferred registration for item: "items". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7cfd459251f0>` 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 15:35:28.670842 137507730003776 composite_checkpoint_handler.py:237] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cfd4592a2a0>` 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 15:35:28.670878 137507730003776 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 0x7cfd459251f0>, ('items', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7cfd459251f0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cfd4592a2a0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7cfd4592a2a0>}).
I0424 15:35:28.671394 137507730003776 abstract_checkpointer.py:35] orbax-checkpoint version: 0.11.33
I0424 15:35:28.671472 137507730003776 async_checkpointer.py:177] [process=5][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>._fn at 0x7cfd4549c180> timeout: 600 secs and primary_host=0 for async checkpoint writes
I0424 15:35:29.767032 137507730003776 checkpoint_manager.py:1818] Found 0 checkpoint steps in gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints
I0424 15:35:29.788667 137507730003776 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_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7cfd45925670>
I0424 15:35:29.788802 137507730003776 checkpointing.py:302] Checkpoint manager created!
I0424 15:35:30.681876 137507730003776 nnx_wrappers.py:455] Unknown Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_norm_length', 'activation_embed').
I0424 15:35:30.681984 137507730003776 nnx_wrappers.py:455] Unknown Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 15:35:31.056840 137507730003776 attentions.py:1084] attentions/inputs_q Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0424 15:35:31.056932 137507730003776 attentions.py:1084] attentions/inputs_q Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 15:35:31.072791 137507730003776 attentions.py:1085] attentions/inputs_kv Logical: bfloat16[32,2048,2048]...................................... ('activation_batch', 'activation_attn_length', 'activation_attn_embed').
I0424 15:35:31.072852 137507730003776 attentions.py:1085] attentions/inputs_kv Physical: bfloat16[32,2048,2048]...................................... ('fsdp', None, None).
I0424 15:35:31.095695 137507730003776 attentions.py:1150] attentions/query Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 15:35:31.095760 137507730003776 attentions.py:1150] attentions/query Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 15:35:31.111609 137507730003776 attentions.py:1151] attentions/key Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 15:35:31.111681 137507730003776 attentions.py:1151] attentions/key Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 15:35:31.127459 137507730003776 attentions.py:1152] attentions/value Logical: bfloat16[32,2048,16,128].................................... ('activation_kv_batch', 'activation_attn_length', 'activation_kv_heads', 'activation_kv_head_dim').
I0424 15:35:31.127525 137507730003776 attentions.py:1152] attentions/value Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 15:35:31.152374 137507730003776 attentions.py:1193] attentions/out Logical: bfloat16[32,2048,16,128].................................... ('activation_batch', 'activation_attn_length', 'activation_heads', 'activation_kv').
I0424 15:35:31.152448 137507730003776 attentions.py:1193] attentions/out Physical: bfloat16[32,2048,16,128].................................... ('fsdp', None, None, None).
I0424 15:35:31.172008 137507730003776 linears.py:541] linears/x Logical: bfloat16[32,2048,7168]...................................... ('activation_batch', 'activation_length', 'activation_mlp').
I0424 15:35:31.172070 137507730003776 linears.py:541] linears/x Physical: bfloat16[32,2048,7168]...................................... ('fsdp', None, None).
I0424 15:35:31.362460 137507730003776 checkpointing.py:578] checkpoint manager exists so trying to load this run's existing checkpoint
I0424 15:35:31.362574 137507730003776 checkpointing.py:676] No existing checkpoints found, not restoring checkpoint.
fsdp: 32
I0424 15:35:33.185949 137507730003776 maxtext_utils.py:1740]  params/params/decoder/decoder_norm/scale
    Shape:     float32[2048]
    Logical:   PartitionSpec('norm',)
    Physical:  (None,)
I0424 15:35:33.186077 137507730003776 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)
I0424 15:35:33.186135 137507730003776 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)
I0424 15:35:33.186203 137507730003776 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')
I0424 15:35:33.186260 137507730003776 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)
I0424 15:35:33.186299 137507730003776 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)
I0424 15:35:33.186352 137507730003776 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)
I0424 15:35:33.186405 137507730003776 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')
I0424 15:35:33.186446 137507730003776 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)
I0424 15:35:33.186483 137507730003776 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)
I0424 15:35:33.186531 137507730003776 maxtext_utils.py:1740]  params/params/decoder/logits_dense/kernel
    Shape:     float32[2048,32000]
    Logical:   PartitionSpec('embed', 'vocab')
    Physical:  ('fsdp', None)
I0424 15:35:33.186579 137507730003776 maxtext_utils.py:1740]  params/params/token_embedder/embedding
    Shape:     float32[32000,2048]
    Logical:   PartitionSpec('vocab', 'embed')
    Physical:  (None, 'fsdp')

I0424 15:35:33.692862 137507730003776 train.py:158] train/xent Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 15:35:33.692956 137507730003776 train.py:158] train/xent Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 15:35:33.707808 137507730003776 train.py:165] train/z_loss Logical: float32[32,2048]............................................ ('activation_embed_and_logits_batch', 'activation_length').
I0424 15:35:33.707868 137507730003776 train.py:165] train/z_loss Physical: float32[32,2048]............................................ ('fsdp', None).
I0424 15:35:44.424564 137507730003776 max_utils.py:791] Total memory size: 1.3 GB, Output size: 0.1 GB, Temp size: 1.1 GB, Argument size: 0.1 GB, Host temp size: 0.0 GB.
I0424 15:35:44.425457 137507730003776 metric_logger.py:289] number parameters: 1.104 billion
I0424 15:35:55.551280 137507730003776 checkpointing.py:794] Waiting for step 0 to finish before checkpoint...
I0424 15:35:55.722274 137507730003776 checkpointing.py:798] Waited 0.1709752082824707 seconds for step 0 to finish before starting checkpointing.
I0424 15:35:55.724951 137507730003776 checkpoint_manager.py:2013] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 15:35:55.726715 137507730003776 checkpoint_manager.py:1518] [process=5] Saving checkpoint at step 0
I0424 15:35:55.729587 137507730003776 async_checkpointer.py:452] [process=5] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints/0.
I0424 15:35:56.713258 137507730003776 signaling_client.py:364] Using JaxDistributedSignalingClient
I0424 15:35:56.714407 137507730003776 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0424 15:35:56.714466 137507730003776 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 15:35:56.962755 137507730003776 base_pytree_checkpoint_handler.py:153] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.249575s
I0424 15:35:56.962930 137507730003776 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/blocking_gbytes_per_sec: 2.233 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.6906323432922363 s) (per-host)
I0424 15:35:56.962982 137507730003776 base_pytree_checkpoint_handler.py:737] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.690694s (batch_requests_ready=0.436284s, total_serialization_initiated=0.254340s, others=0.000070s)
I0424 15:35:56.963079 137507730003776 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.694828s (all_items=0.000019s, per_item={'items': '0.00001884'}, temp_paths=0.694809)
I0424 15:35:56.963984 137387447400192 async_checkpointer.py:79] [process=5][thread=async_save] Background save thread started.
I0424 15:35:56.964156 137507730003776 async_checkpointer.py:561] Finished blocking save. Time taken: 1.237370s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints/0.
I0424 15:35:56.966158 137507730003776 checkpoint_manager.py:1566] [process=5][thread=MainThread][step=0] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 15:35:56.966449 137363296601856 async_checkpointer.py:265] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0424 15:35:56.966603 137507730003776 standard_logger.py:34] {'step': 0, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777044955.724933, 'wait_for_prev_duration_secs': 6.508827209472656e-05, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777044955.726754, 'checkpointer_blocking_duration_secs': 1.237515926361084, 'get_old_steps_start_time': 1777044956.9642901, 'get_old_steps_duration_secs': 2.5033950805664062e-05, 'checkpoint_manager_blocking_start_time': 1777044955.722789, 'checkpoint_manager_blocking_duration_secs': 1.2437751293182373}
I0424 15:35:56.966718 137507730003776 checkpointing.py:409] Started an asynchronous checkpoint save for step 0
I0424 15:35:56.966767 137507730003776 max_utils.py:750] 
Memstats: After params initialized:
I0424 15:35:56.966814 137507730003776 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_18(process=5,(2,4,0,0))
I0424 15:35:56.966847 137507730003776 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_19(process=5,(3,4,0,0))
I0424 15:35:56.966872 137507730003776 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_22(process=5,(2,5,0,0))
I0424 15:35:56.966895 137507730003776 max_utils.py:756] 	Using (GB) 0.17 / 31.25 (0.544000%) on TPU_23(process=5,(3,5,0,0))
I0424 15:35:57.237100 137507730003776 metric_logger.py:185] completed step: 0, seconds: 11.126, TFLOP/s/device: 1.221, Tokens/s/device: 184.078, total_weights: 65536, loss: 10.874
I0424 15:35:57.411384 137507730003776 metric_logger.py:185] completed step: 1, seconds: 1.684, TFLOP/s/device: 8.066, Tokens/s/device: 1215.801, total_weights: 65536, loss: 10.874
I0424 15:35:57.792744 137507730003776 metric_logger.py:185] completed step: 2, seconds: 0.011, TFLOP/s/device: 1238.910, Tokens/s/device: 186742.044, total_weights: 65536, loss: 10.263
I0424 15:35:57.956466 137507730003776 metric_logger.py:185] completed step: 3, seconds: 0.382, TFLOP/s/device: 35.588, Tokens/s/device: 5364.177, total_weights: 65536, loss: 9.735
I0424 15:35:58.284129 137507730003776 metric_logger.py:185] completed step: 4, seconds: 0.169, TFLOP/s/device: 80.507, Tokens/s/device: 12134.858, total_weights: 65536, loss: 9.278
I0424 15:35:58.289697 137507730003776 metric_logger.py:185] completed step: 5, seconds: 0.164, TFLOP/s/device: 82.965, Tokens/s/device: 12505.343, total_weights: 65536, loss: 8.892
I0424 15:36:17.074275 137507730003776 metric_logger.py:185] completed step: 6, seconds: 0.328, TFLOP/s/device: 41.439, Tokens/s/device: 6246.111, total_weights: 65536, loss: 8.592
I0424 15:36:17.237976 137507730003776 metric_logger.py:185] completed step: 7, seconds: 18.622, TFLOP/s/device: 0.730, Tokens/s/device: 109.979, total_weights: 65536, loss: 8.384
I0424 15:36:17.401629 137507730003776 metric_logger.py:185] completed step: 8, seconds: 0.168, TFLOP/s/device: 80.773, Tokens/s/device: 12175.040, total_weights: 65536, loss: 8.255
I0424 15:36:17.564832 137507730003776 checkpointing.py:794] Waiting for step 9 to finish before checkpoint...
I0424 15:36:17.565495 137507730003776 checkpointing.py:798] Waited 0.0006830692291259766 seconds for step 9 to finish before starting checkpointing.
I0424 15:36:17.567502 137507730003776 checkpoint_manager.py:2024] [process=5][thread=MainThread][step=0][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 15:36:18.436702    2548 google_auth_provider.cc:181] Running on GCE, using service account 562977990677-compute@developer.gserviceaccount.com
I0424 15:36:20.858825 137387455792896 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_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints/0/items/array_metadatas/process_5
I0424 15:36:53.005358 137387447400192 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/gbytes_per_sec: 27.841 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 56.733028173446655 s) (per-host)
I0424 15:36:53.005463 137387447400192 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 56.041366s.
I0424 15:37:01.630949 137387447400192 async_checkpointer.py:144] [process=5][thread=async_save] Background save thread done. Time taken: 64.666835s.
I0424 15:37:01.631226 137363296601856 async_checkpointer.py:273] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 15:37:01.631357 137363296601856 async_checkpointer.py:283] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0424 15:37:01.631409 137363296601856 checkpoint_manager.py:2133] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is syncing with other hosts...
I0424 15:37:01.632848 137363296601856 checkpoint_manager.py:2142] [process=5][thread=save_finalize][step=0] CheckpointManager Save Finalize is done on all hosts.
I0424 15:37:01.633026 137507730003776 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.
W0424 15:37:01.633164 137507730003776 checkpoint_manager.py:1458] Waiting for previous save to complete took 44.065666 seconds. If this number is high, consider checkpointing less frequently.
I0424 15:37:01.635143 137507730003776 checkpoint_manager.py:1518] [process=5] Saving checkpoint at step 9
I0424 15:37:01.638610 137507730003776 async_checkpointer.py:452] [process=5] Started async saving checkpoint to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints/9.
I0424 15:37:02.194877 137507730003776 jax_array_handlers.py:358] Scheduling D2H of 39 prioritized jax.Array.
I0424 15:37:02.194985 137507730003776 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 15:37:02.236426 137507730003776 base_pytree_checkpoint_handler.py:153] [process=5][thread=MainThread] Initiated "orbax.checkpoint._src.serialization.jax_array_handlers.ArrayHandler".serialize. Time taken: 0.042631s
I0424 15:37:02.236594 137507730003776 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/blocking_gbytes_per_sec: 5.101 GiB/s (total gbytes: 1.5 GiB) (time elapsed: 0.30237388610839844 s) (per-host)
I0424 15:37:02.236646 137507730003776 base_pytree_checkpoint_handler.py:737] [process=5][thread=MainThread] Initiated Pytree async_save. Time taken: 0.302435s (batch_requests_ready=0.257951s, total_serialization_initiated=0.044415s, others=0.000068s)
I0424 15:37:02.236754 137507730003776 composite_checkpoint_handler.py:715] [process=5][thread=MainThread] Initiated CompositeCheckpointHandler.async_save. Time taken: 0.306445s (all_items=0.000015s, per_item={'items': '0.00001478'}, temp_paths=0.306431)
I0424 15:37:02.237557 137376726767360 async_checkpointer.py:79] [process=5][thread=async_save] Background save thread started.
I0424 15:37:02.237675 137507730003776 async_checkpointer.py:561] Finished blocking save. Time taken: 0.602452s. Continuing background save to gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints/9.
I0424 15:37:02.260818 137507730003776 checkpoint_manager.py:1566] [process=5][thread=MainThread][step=9] Starting CheckpointManager Save Finalize thread=save_finalize
I0424 15:37:02.261144 137363296601856 async_checkpointer.py:265] [process=5][thread=save_finalize] Waiting for background save thread=async_save.
I0424 15:37:02.261316 137507730003776 standard_logger.py:34] {'step': 9, 'event_type': 'save', 'directory': 'gs://lance-maxtext/linen_ckpt_xpk_feat_nnx_set_defaults_true_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1777044977.5674736, 'wait_for_prev_duration_secs': 44.06566596031189, 'time_between_consecutive_saves_sec': None, 'checkpointer_blocking_start_time': 1777045021.6351833, 'checkpointer_blocking_duration_secs': 0.602602481842041, 'get_old_steps_start_time': 1777045022.237804, 'get_old_steps_duration_secs': 2.4318695068359375e-05, 'checkpoint_manager_blocking_start_time': 1777044977.5657303, 'checkpoint_manager_blocking_duration_secs': 44.69554781913757}
I0424 15:37:02.261420 137507730003776 checkpointing.py:409] Started an asynchronous checkpoint save for step 9
I0424 15:37:02.261466 137507730003776 checkpoint_manager.py:2024] [process=5][thread=MainThread][step=9][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete.
I0424 15:37:07.198868 137387455792896 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_20260424_145744/linen_xpk_feat_nnx_set_defaults_true_20260424_145744_11_optimizer_offload_true/checkpoints/9/items/array_metadatas/process_5
I0424 15:37:43.369409 137376726767360 base_pytree_checkpoint_handler.py:129] [process=5] /jax/checkpoint/write/gbytes_per_sec: 38.121 MiB/s (total gbytes: 1.5 GiB) (time elapsed: 41.43515586853027 s) (per-host)
I0424 15:37:43.369518 137376726767360 async_checkpointer.py:90] [process=5][thread=async_save] 3 Handler Commit operations completed. Time taken: 41.131898s.
I0424 15:37:57.314524 137376726767360 async_checkpointer.py:144] [process=5][thread=async_save] Background save thread done. Time taken: 55.076888s.
I0424 15:37:57.314818 137363296601856 async_checkpointer.py:273] [process=5][thread=save_finalize] Done with waiting for background save thread=async_save.
I0424 15:37:57.314944 137363296601856 async_checkpointer.py:283] [process=5][thread=save_finalize] No errors found in background save thread=async_save.
I0424 15:37:57.314993 137363296601856 checkpoint_manager.py:2133] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is syncing with other hosts...
I0424 15:37:57.316469 137363296601856 checkpoint_manager.py:2142] [process=5][thread=save_finalize][step=9] CheckpointManager Save Finalize is done on all hosts.
I0424 15:37:57.316644 137507730003776 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.
I0424 15:37:57.316797 137507730003776 checkpoint_manager.py:2013] [process=5][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning.
I0424 15:37:57.317369 137507730003776 metric_logger.py:185] completed step: 9, seconds: 0.164, TFLOP/s/device: 83.075, Tokens/s/device: 12521.935, total_weights: 65536, loss: 8.179
Per train step:
 Total TFLOPs: 13.59 
 split as 93.93% learnable weight flops and 6.07% attention flops
XPK End: Fri Apr 24 15:38:10 UTC 2026
EXIT_CODE=0