Skip to content

Commit 55fd216

Browse files
Fix
1 parent a1c97f1 commit 55fd216

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

optimum/intel/openvino/configuration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,6 +1467,8 @@ def or_op(a, b):
14671467

14681468
# Pull dataset-related parameters from child configs
14691469
configs = quantization_configs.values()
1470+
if default_config is not None:
1471+
configs = tuple(configs) + (default_config,)
14701472
num_samples = max((num_samples or 0, *(config.num_samples or 0 for config in configs))) or None
14711473
dataset = reduce(or_op, (dataset, *(config.dataset for config in configs)))
14721474
tokenizer = reduce(or_op, (tokenizer, *(config.tokenizer for config in configs)))

0 commit comments

Comments
 (0)