зеркало из https://github.com/microsoft/hi-ml.git
BUG: Remove all calls to get_ml_client outside v2 (#665)
There was still another call to get_ml_client that was asking for credentials again preventing running on aml v1 strictly
This commit is contained in:
Родитель
a597534462
Коммит
c4e25b8a79
|
@ -261,7 +261,7 @@ class Runner:
|
|||
else:
|
||||
hyperparam_args = self.lightning_container.get_hyperparam_args()
|
||||
hyperdrive_config = None
|
||||
ml_client = get_ml_client()
|
||||
ml_client = get_ml_client() if not self.experiment_config.strictly_aml_v1 else None
|
||||
|
||||
env_file = choose_conda_env_file(env_file=self.experiment_config.conda_env)
|
||||
logging.info(f"Using this Conda environment definition: {env_file}")
|
||||
|
|
Загрузка…
Ссылка в новой задаче