Skip to content

Commit 3c61cc4

Browse files
Merge pull request #817 from mlcommons/formatting_fixes
Formatting fixes
2 parents adc5ea9 + bb2b361 commit 3c61cc4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scoring/performance_profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def compute_performance_profiles(submissions,
321321
df = df[BASE_WORKLOADS + HELDOUT_WORKLOADS]
322322
# Sort workloads alphabetically (for better display)
323323
df = df.reindex(sorted(df.columns), axis=1)
324-
324+
325325
# Save time to target dataframe
326326
df.to_csv(os.path.join(output_dir, 'time_to_targets.csv'))
327327
# For each held-out workload set to inf if the base workload is inf or nan

scoring/score_submissions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ def main(_):
211211
verbosity=0,
212212
self_tuning_ruleset=FLAGS.self_tuning_ruleset,
213213
strict=FLAGS.strict,
214-
output_dir=FLAGS.output_dir,)
214+
output_dir=FLAGS.output_dir,
215+
)
215216
if not os.path.exists(FLAGS.output_dir):
216217
os.mkdir(FLAGS.output_dir)
217218
performance_profile.plot_performance_profiles(

0 commit comments

Comments
 (0)