We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2590794 commit e2f3512Copy full SHA for e2f3512
optimum/commands/export/openvino.py
@@ -364,6 +364,11 @@ def run(self):
364
quantization_config["trust_remote_code"] = self.args.trust_remote_code
365
ov_config = OVConfig(quantization_config=quantization_config)
366
else:
367
+ if self.args.dataset is None:
368
+ raise ValueError(
369
+ "Dataset is required for full quantization. Please provide it with --dataset argument."
370
+ )
371
+
372
quantization_config = {
373
"weight_format": self.args.quant_mode,
374
"activation_format": self.args.quant_mode,
0 commit comments