Skip to content

Commit 785e963

Browse files
Merge pull request #4036 from AI-Hypercomputer:bvandermoon-refactor-temp-dirs
PiperOrigin-RevId: 925019809
2 parents 811ac80 + 45eadfe commit 785e963

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/post_training/unit/train_distill_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,6 @@ def __call__(self, input_tokens, **kwargs):
10471047
if hasattr(trainer2.checkpoint_manager, "wait_until_finished"):
10481048
trainer2.checkpoint_manager.wait_until_finished()
10491049

1050-
@mock.patch("maxtext.trainers.post_train.distillation.train_distill.distillation_utils.OfflineArrayRecordIterator")
10511050
@mock.patch("maxtext.trainers.post_train.distillation.train_distill.MaxTextDistillationTrainer")
10521051
@mock.patch("maxtext.trainers.post_train.distillation.train_distill.input_pipeline_interface.create_data_iterator")
10531052
@mock.patch("maxtext.trainers.post_train.distillation.train_distill.get_maxtext_model")
@@ -1062,7 +1061,6 @@ def test_main_offline_mode_skips_teacher_loading(
10621061
mock_get_model,
10631062
mock_create_iterator,
10641063
mock_trainer_cls,
1065-
mock_offline_iter_cls,
10661064
):
10671065
"""Verifies offline mode (offline_data_dir is set) skips teacher model loading."""
10681066
# 1. Configs

0 commit comments

Comments
 (0)