Skip to content

Commit

Permalink
Preprocess mlperf inference submission, code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Nov 7, 2024
1 parent 69daefe commit 21425ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions script/preprocess-mlperf-inference-submission/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
}
],
"input_mapping": {
"input": "CM_MLPERF_INFERENCE_SUBMISSION_DIR",
"submission_dir": "CM_MLPERF_INFERENCE_SUBMISSION_DIR",
"submitter": "CM_MLPERF_SUBMITTER"
},
Expand Down
2 changes: 1 addition & 1 deletion script/preprocess-mlperf-inference-submission/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def preprocess(i):
print("Please set CM_MLPERF_INFERENCE_SUBMISSION_DIR")
return {'return': 1, 'error':'CM_MLPERF_INFERENCE_SUBMISSION_DIR is not specified'}

submitter = env.get("CM_MLPERF_SUBMITTER", "cTuning")
submitter = env.get("CM_MLPERF_SUBMITTER", "MLCommons")
submission_processed = submission_dir + "_processed"

if os.path.exists(submission_processed):
Expand Down

0 comments on commit 21425ef

Please sign in to comment.