diff --git a/dpbench/infrastructure/benchmark_runner.py b/dpbench/infrastructure/benchmark_runner.py index 1fe53357..2333e31d 100644 --- a/dpbench/infrastructure/benchmark_runner.py +++ b/dpbench/infrastructure/benchmark_runner.py @@ -318,12 +318,13 @@ def run_benchmark_in_sub_process( brc = BaseRunConfig.from_instance(rc) - brc.ref_framework: cfg.Framework = [ - f - for f in cfg.GLOBAL.frameworks - if rc.benchmark.reference_implementation_postfix - in {p.postfix for p in f.postfixes} - ][0] + if rc.validate: + brc.ref_framework: cfg.Framework = [ + f + for f in cfg.GLOBAL.frameworks + if rc.benchmark.reference_implementation_postfix + in {p.postfix for p in f.postfixes} + ][0] conn.send(brc)