Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit fcc0c55

Browse files
authored
fix transformers export_onnx no_convert_qat (#524) (#525)
1 parent bafd6be commit fcc0c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sparseml/transformers/utils/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def main():
240240
task=args.task,
241241
model_path=args.model_path,
242242
sequence_length=args.sequence_length,
243-
convert_qat=args.convert_qat,
243+
convert_qat=args.no_convert_qat, # False if flagged
244244
finetuning_task=args.finetuning_task,
245245
onnx_file_name=args.onnx_file_name,
246246
)

0 commit comments

Comments
 (0)