We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecb3bb6 commit 932409cCopy full SHA for 932409c
tools/AutoTuner/src/autotuner/distributed.py
@@ -397,11 +397,7 @@ def parse_tunable_variables():
397
398
# Read from variables.yaml and get variables with tunable = 1
399
with open(vars_path) as file:
400
- try:
401
- result = yaml.safe_load(file)
402
- except yaml.YAMLError as exc:
403
- print("[ERROR TUN-0018] Error parsing variables.yaml.")
404
- sys.exit(1)
+ result = yaml.safe_load(file)
405
variables = {key for key, value in result.items() if value.get("tunable", 0) == 1}
406
return variables
407
0 commit comments