Skip to content

Commit c7af0d3

Browse files
authored
Update customize.py | Fix boolean value for --compliance (#254)
1 parent 1c6fda2 commit c7af0d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/run-mlperf-inference-app/customize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def preprocess(i):
305305
if state.get('docker', {}):
306306
del (state['docker'])
307307

308-
if env.get("MLC_MLPERF_LOADGEN_COMPLIANCE", "") == "yes":
308+
if is_true(env.get("MLC_MLPERF_LOADGEN_COMPLIANCE", "")):
309309
for test in test_list:
310310
env['MLC_MLPERF_LOADGEN_COMPLIANCE_TEST'] = test
311311
env['MLC_MLPERF_LOADGEN_MODE'] = "compliance"

0 commit comments

Comments
 (0)