Skip to content

Commit

Permalink
add bug fix to variable tunable check
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Luar <[email protected]>
  • Loading branch information
luarss committed Oct 14, 2024
1 parent ff8d73a commit 08a132b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/AutoTuner/src/autotuner/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def parse_config(config, path=os.getcwd()):
else:
# Default case is VAR=VALUE
# Sanity check: ignore all flow variables that are not tunable
if flow_variables.get(key, 0) == 1:
if flow_variables.get(key, 0) == 0:
print(f"[ERROR TUN-0017] Variable {key} is not tunable.")
sys.exit(1)
options += f" {key}={value}"
Expand Down

0 comments on commit 08a132b

Please sign in to comment.