Skip to content

Commit

Permalink
Fixes mlcommons#566, type error for query counts
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Nov 18, 2024
1 parent 8b42ced commit 88e9a0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/generate-mlperf-inference-user-conf/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def preprocess(i):
ranging_user_conf += ml_model_name + "." + scenario + ".min_query_count = 0 \n"

if query_count:
env['CM_MAX_EXAMPLES'] = query_count #needed for squad accuracy checker
env['CM_MAX_EXAMPLES'] = str(query_count) #needed for squad accuracy checker


import uuid
Expand All @@ -321,7 +321,7 @@ def preprocess(i):


if (env.get('CM_MLPERF_LOADGEN_QUERY_COUNT','') == '') and query_count and ((mode != "accuracy") or (env['CM_MLPERF_RUN_STYLE'] != "valid")):
env['CM_MLPERF_LOADGEN_QUERY_COUNT'] = query_count
env['CM_MLPERF_LOADGEN_QUERY_COUNT'] = str(query_count)

if not run_exists or rerun:

Expand Down

0 comments on commit 88e9a0d

Please sign in to comment.