Skip to content

Commit

Permalink
set pytorch as default framework
Browse files Browse the repository at this point in the history
  • Loading branch information
anandhu-eng authored Nov 13, 2024
1 parent aaa7b5c commit cf30e25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script/generate-mlperf-inference-submission/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ def generate_submission(i):
results = [f for f in os.listdir(results_dir) if not os.path.isfile(os.path.join(results_dir, f))]

system_meta_default = state['CM_SUT_META']

# set pytorch as the default framework
if system_meta_default['framework'] == '':
system_meta_default['framework'] = "pytorch"

system_meta = {}
if 'CM_MLPERF_SUBMISSION_SYSTEM_TYPE' in env:
system_meta['system_type'] = env['CM_MLPERF_SUBMISSION_SYSTEM_TYPE']
Expand Down

0 comments on commit cf30e25

Please sign in to comment.