Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Feb 12, 2025
1 parent 4c2d997 commit d1f7afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/app-mlperf-inference-mlcommons-python/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def preprocess(i):

env['MLC_MLPERF_LOADGEN_EXTRA_OPTIONS'] += env['MLC_MLPERF_LOADGEN_QPS_OPT']

if env.get('MLC_NUM_THREADS', '') != '':
if env.get('MLC_NUM_THREADS', '') == '':
if not is_false(env.get('MLC_MINIMIZE_THREADS', '')):
env['MLC_NUM_THREADS'] = str(int(env['MLC_HOST_CPU_TOTAL_CORES']) //
(int(env.get('MLC_HOST_CPU_SOCKETS', '1')) * int(env.get('MLC_HOST_CPU_TOTAL_CORES', '1'))))
Expand Down

0 comments on commit d1f7afe

Please sign in to comment.