Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: artbataev <artbataev@users.noreply.github.com>
  • Loading branch information
artbataev committed Oct 16, 2024
1 parent f62777e commit f4a2f0a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nemo/collections/common/parts/run_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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?
Expand Down

0 comments on commit f4a2f0a

Please sign in to comment.