Skip to content

Commit 83c6449

Browse files
committed
Merge branch 'main' of github.com:AI-Hypercomputer/maxtext into shuningjin-gmm-clean
2 parents 0a47598 + a8505ff commit 83c6449

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

tests/end_to_end/tpu/gemma3/4b/test_gemma3_to_mt.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ python3 -m maxtext.checkpoint_conversion.to_maxtext \
3939
scan_layers=false \
4040
hardware=cpu skip_jax_distributed_system=True \
4141
checkpoint_storage_use_zarr3=False checkpoint_storage_use_ocdbt=False \
42+
--lazy_load_tensors=False \
4243
--eager_load_method='transformers'
4344

4445
UNSCANNED_CKPT_PATH=${BASE_OUTPUT_DIRECTORY}/unscanned/${run_id}/0/items
@@ -52,6 +53,7 @@ python3 -m maxtext.checkpoint_conversion.to_maxtext \
5253
scan_layers=true \
5354
hardware=cpu skip_jax_distributed_system=True \
5455
checkpoint_storage_use_zarr3=False checkpoint_storage_use_ocdbt=False \
56+
--lazy_load_tensors=False \
5557
--eager_load_method='transformers'
5658

5759
SCANNED_CKPT_PATH=${BASE_OUTPUT_DIRECTORY}/scanned/${run_id}/0/items

tests/post_training/unit/train_distill_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,7 @@ def __call__(self, x):
845845
with self.assertRaises(AssertionError, msg="Weights should have updated on the second pass."):
846846
np.testing.assert_allclose(student.linear.kernel.get_value(), initial_weights)
847847

848+
@pytest.mark.skip(reason="Hangs indefinitely on synthetic datasets")
848849
@mock.patch("clu.metric_writers.create_default_writer")
849850
@mock.patch("maxtext.trainers.post_train.distillation.train_distill.tokenizer.build_tokenizer")
850851
def test_train_save_and_resume(self, mock_build_tokenizer, mock_writer):

0 commit comments

Comments
 (0)