Skip to content

Commit 08a132b

Browse files
committed
add bug fix to variable tunable check
Signed-off-by: Jack Luar <[email protected]>
1 parent ff8d73a commit 08a132b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/AutoTuner/src/autotuner/distributed.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def parse_config(config, path=os.getcwd()):
412412
else:
413413
# Default case is VAR=VALUE
414414
# Sanity check: ignore all flow variables that are not tunable
415-
if flow_variables.get(key, 0) == 1:
415+
if flow_variables.get(key, 0) == 0:
416416
print(f"[ERROR TUN-0017] Variable {key} is not tunable.")
417417
sys.exit(1)
418418
options += f" {key}={value}"

0 commit comments

Comments
 (0)