From f4a2f0a14969da16450227f26a4a2ce551c3e4e1 Mon Sep 17 00:00:00 2001 From: artbataev Date: Wed, 16 Oct 2024 16:13:11 +0000 Subject: [PATCH] Apply isort and black reformatting Signed-off-by: artbataev --- nemo/collections/common/parts/run_utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nemo/collections/common/parts/run_utils.py b/nemo/collections/common/parts/run_utils.py index 61b8c26e222b..51c16b54c4f3 100644 --- a/nemo/collections/common/parts/run_utils.py +++ b/nemo/collections/common/parts/run_utils.py @@ -89,6 +89,7 @@ def get_mounts_from_config(cluster_config: dict, env_vars: dict = None): return mounts + def check_if_mounted(cluster_config, path_to_check): """Will check that path_to_check is referenced inside one of the mounts.""" for mount in get_mounts_from_config(cluster_config) + ['/nemo_run/code:/nemo_run/code']: @@ -330,8 +331,6 @@ def get_mounted_filepath(cluster_config: dict, filepath: str): return filepath - - def get_env_variables(cluster_config): """ Will get the environment variables from the cluster config and the user environment. @@ -570,7 +569,6 @@ def add_task( ) - def run_exp(exp, cluster_config, sequential=False): if cluster_config['executor'] == 'local': # locally we are always running sequentially - does that need to be changed?