def main()

in torchrecipes/launcher/run.py [0:0]


def main() -> None:
    config_module = os.getenv(CONFIG_MODULE)
    logger.info(f"CONFIG_MODULE: {config_module}")
    # only needed for apps that use hydra config
    if config_module:
        importlib.import_module(config_module)
        run_with_hydra()
    else:
        # TODO: T93277666 add entry point for non-hydra apps
        raise NotImplementedError