code: def main(cfg: DictConfig) -> None:
      ray.init(**cfg.ray.init)
  
      results = []
      for model in ["alexnet", "resnet"]:
          for dataset in ["cifar10", "imagenet"]:
              overrides = [f"dataset={dataset}", f"model={model}"]
              run_cfg = hydra.compose(overrides=overrides)
              ret = train.remote(overrides, run_cfg)
              results.append(ret)
  
      for overrides, score in ray.get(results):
          print(f"Result from {overrides} : {score}")
  
imports: import time
  from typing import List, Tuple
  import ray
  from omegaconf import DictConfig, OmegaConf
  import hydra
label_desc: Use image node_id 2 for calling a global function with example usage: main(cfg) without return types