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 289ea80 commit 5891b3fCopy full SHA for 5891b3f
ads/opctl/cmds.py
@@ -170,8 +170,8 @@ def run(config: Dict, **kwargs) -> Dict:
170
Dict
171
dictionary of job id and run id in case of ML Job run, else empty if running locally
172
"""
173
- p = ConfigProcessor(config).step(ConfigMerger, **kwargs)
174
if config:
+ p = ConfigProcessor(config).step(ConfigMerger, **kwargs)
175
if p.config["kind"] != BACKEND_NAME.LOCAL.value and p.config["kind"] != "distributed":
176
p.config["execution"]["backend"] = p.config["kind"]
177
return _BackendFactory(p.config).backend.apply()
0 commit comments