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 2ec9ebb commit 1ff137cCopy full SHA for 1ff137c
tools/AutoTuner/distributed/ray_wrapper.py
@@ -1,10 +1,9 @@
1
import argparse
2
import os
3
import datetime
4
+import yaml
5
from ray.job_submission import JobSubmissionClient
6
-from autotuner.utils.config_helper import parse_config
7
-
8
# Constants
9
FILE_DIR = os.path.dirname(os.path.abspath(__file__))
10
EXPERIMENT_DATETIME = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")
@@ -43,7 +42,9 @@
43
42
44
# Parse configs
45
# TODO: Validations + Schemas
46
-config_args = parse_config(os.path.join(FILE_DIR, "config.yaml"))
+print("Parsing config file...")
+with open(os.path.join(FILE_DIR, "config.yaml")) as file:
47
+ config_args = yaml.safe_load(file)
48
49
50
if __name__ == "__main__":
tools/AutoTuner/src/autotuner/__init__.py
tools/AutoTuner/src/autotuner/utils/config_helper.py
0 commit comments