Skip to content

Commit ab8aacf

Browse files
author
George Ohashi
committed
comments
1 parent e5e292b commit ab8aacf

File tree

1 file changed

+3
-0
lines changed
  • src/llmcompressor/transformers/finetune

1 file changed

+3
-0
lines changed

src/llmcompressor/transformers/finetune/runner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ def run_sequential_stages(
213213
num_calibration_samples=self._dataset_args.num_calibration_samples,
214214
do_shuffle=self._dataset_args.shuffle_calibration_samples,
215215
collate_fn=self._dataset_args.data_collator,
216+
accelerator=self.trainer.accelerator
217+
if self.trainer is not None
218+
else None,
216219
)
217220

218221
if do_preprocess:

0 commit comments

Comments
 (0)