Skip to content

Commit

Permalink
fix fetch for workload params (#704)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Oviedo <[email protected]>
  • Loading branch information
OVI3D0 authored Dec 9, 2024
1 parent bf8e58e commit f9bc633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osbenchmark/aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, cfg, test_executions_dict, args):

def count_iterations_for_each_op(self, test_execution) -> None:
matching_test_procedure = next((tp for tp in self.loaded_workload.test_procedures if tp.name == self.test_procedure_name), None)
workload_params = getattr(test_execution, 'workload_params', {})
workload_params = test_execution.workload_params if test_execution.workload_params else {}

test_execution_id = test_execution.test_execution_id
self.accumulated_iterations[test_execution_id] = {}
Expand Down

0 comments on commit f9bc633

Please sign in to comment.