Skip to content

Commit fa7c952

Browse files
committed
AutoTuner: disable check on which variables are tunable
There is no robust way to get a list of tunable variables from ORFS currently Signed-off-by: Øyvind Harboe <[email protected]>
1 parent ea720f9 commit fa7c952

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tools/AutoTuner/src/autotuner/distributed.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,13 @@ def parse_config(config, path=os.getcwd()):
397397
)
398398
# Default case is VAR=VALUE
399399
else:
400+
# FIXME there is no robust way to get this metainformation from
401+
# ORFS about the variables, so disable this code for now.
402+
400403
# Sanity check: ignore all flow variables that are not tunable
401-
if key not in flow_variables:
402-
print(f"[ERROR TUN-0017] Variable {key} is not tunable.")
403-
sys.exit(1)
404+
# if key not in flow_variables:
405+
# print(f"[ERROR TUN-0017] Variable {key} is not tunable.")
406+
# sys.exit(1)
404407
options += f" {key}={value}"
405408
if bool(sdc):
406409
write_sdc(sdc, path)

0 commit comments

Comments
 (0)