Skip to content

Commit

Permalink
create measurements path if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
anandhu-eng authored Nov 21, 2024
1 parent 35aa2ac commit 1081135
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/generate-mlperf-inference-submission/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ def generate_submission(env, state, inp, submission_division):
system_path = os.path.join(path_submission, "systems")
submission_system_path = system_path

if not os.path.isdir(measurement_path):
os.makedirs(measurement_path)

if env.get('CM_GET_PLATFORM_DETAILS', '') == "yes":
cm_input = {'action': 'run',
'automation': 'script',
Expand Down

0 comments on commit 1081135

Please sign in to comment.