Unverified Commit 5f9b2ce0 authored by Akshaya Annavajhala's avatar Akshaya Annavajhala Committed by GitHub
Browse files

Avoid collisions in writing metrics via 2 APIs - azureml + mlflow (#20837)

* Avoid collisions in writing metrics via 2 APIs - azureml + mlflow

MLflow tracking API is enabled by default in AzureML and HF MLflow integration is more fully featured. I'd remove the AzureML integration but leaving the current behavior for backwards compatibility (though it should really be removed)

* Trigger CI
parent 5fa0b17c
...@@ -518,7 +518,7 @@ def run_hp_search_wandb(trainer, n_trials: int, direction: str, **kwargs) -> Bes ...@@ -518,7 +518,7 @@ def run_hp_search_wandb(trainer, n_trials: int, direction: str, **kwargs) -> Bes
def get_available_reporting_integrations(): def get_available_reporting_integrations():
integrations = [] integrations = []
if is_azureml_available(): if is_azureml_available() and not is_mlflow_available():
integrations.append("azure_ml") integrations.append("azure_ml")
if is_comet_available(): if is_comet_available():
integrations.append("comet_ml") integrations.append("comet_ml")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment