Skip to content

Commit 91eb9de

Browse files
bugfix
Signed-off-by: Brian Dellabetta <[email protected]>
1 parent 3241205 commit 91eb9de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/llmcompressor/entrypoints/oneshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(
125125
self.output_dir = output_dir
126126

127127
# initialize the model and processor
128-
pre_process(model_args)
128+
pre_process(model_args, dataset_args)
129129

130130
# Set instance attributes
131131
self.model = self.model_args.model

src/llmcompressor/entrypoints/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
from transformers.utils.quantization_config import CompressedTensorsConfig
1717

1818
from llmcompressor.args import (
19+
DatasetArguments,
1920
ModelArguments,
2021
RecipeArguments,
2122
TrainingArguments,
22-
DatasetArguments,
2323
)
2424
from llmcompressor.core import reset_session
2525
from llmcompressor.pytorch.model_load.helpers import parse_dtype

0 commit comments

Comments
 (0)