We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1c97f1 commit 55fd216Copy full SHA for 55fd216
optimum/intel/openvino/configuration.py
@@ -1467,6 +1467,8 @@ def or_op(a, b):
1467
1468
# Pull dataset-related parameters from child configs
1469
configs = quantization_configs.values()
1470
+ if default_config is not None:
1471
+ configs = tuple(configs) + (default_config,)
1472
num_samples = max((num_samples or 0, *(config.num_samples or 0 for config in configs))) or None
1473
dataset = reduce(or_op, (dataset, *(config.dataset for config in configs)))
1474
tokenizer = reduce(or_op, (tokenizer, *(config.tokenizer for config in configs)))
0 commit comments