Skip to content

Commit 23874df

Browse files
committed
Format
1 parent 4744a4e commit 23874df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxtext/trainers/post_train/distillation/train_distill.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class MaxTextDistillationTrainer(peft_trainer.PeftTrainer):
200200

201201
def __init__(self, model, strategy, optimizer, training_config, **kwargs):
202202
# We pass a dummy optimizer to the base PeftTrainer temporarily to prevent PeftTrainer from eagerly
203-
# allocating massive optimizer states for the entire ModelBundle (including the frozen teacher) before
203+
# allocating massive optimizer states for the entire ModelBundle (including the frozen teacher) before
204204
# redefining the trainer optimizer here.
205205
dummy_optimizer = optax.set_to_zero()
206206
super().__init__(model=model, optimizer=dummy_optimizer, training_config=training_config, **kwargs)

0 commit comments

Comments
 (0)