We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5e292b commit ab8aacfCopy full SHA for ab8aacf
src/llmcompressor/transformers/finetune/runner.py
@@ -213,6 +213,9 @@ def run_sequential_stages(
213
num_calibration_samples=self._dataset_args.num_calibration_samples,
214
do_shuffle=self._dataset_args.shuffle_calibration_samples,
215
collate_fn=self._dataset_args.data_collator,
216
+ accelerator=self.trainer.accelerator
217
+ if self.trainer is not None
218
+ else None,
219
)
220
221
if do_preprocess:
0 commit comments