From f306e7bad22d1bcfd135e75d84c0123fe63116f7 Mon Sep 17 00:00:00 2001 From: vbejan-msft <65432549+vlbejan@users.noreply.github.com> Date: Thu, 10 Aug 2023 15:57:24 -0700 Subject: [PATCH] pin compute metrics component to 0.0.10. The later versions of this component break the pipelines due to the latest changes by the component owners (#2549) --- .../hts_evaluation_pipeline.yml | 2 +- .../many_models_evaluation_pipeline.yml | 2 +- .../automl-forecasting-distributed-tcn.ipynb | 3 ++- ...orecasting-demand-hierarchical-timeseries-in-pipeline.ipynb | 3 ++- .../automl-forecasting-demand-many-models-in-pipeline.ipynb | 3 ++- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/cli/jobs/pipelines/automl/cli-automl-forecasting-demand-with-pipeline-components/cli-automl-forecasting-demand-hierarchical-timeseries/hts_evaluation_pipeline.yml b/cli/jobs/pipelines/automl/cli-automl-forecasting-demand-with-pipeline-components/cli-automl-forecasting-demand-hierarchical-timeseries/hts_evaluation_pipeline.yml index 30d5a5c25e..06319abd2a 100644 --- a/cli/jobs/pipelines/automl/cli-automl-forecasting-demand-with-pipeline-components/cli-automl-forecasting-demand-hierarchical-timeseries/hts_evaluation_pipeline.yml +++ b/cli/jobs/pipelines/automl/cli-automl-forecasting-demand-with-pipeline-components/cli-automl-forecasting-demand-hierarchical-timeseries/hts_evaluation_pipeline.yml @@ -74,7 +74,7 @@ jobs: compute_metrics: type: command - component: azureml://registries/azureml/components/compute_metrics + component: azureml://registries/azureml/components/compute_metrics/versions/0.0.10 inputs: task: "tabular-forecasting" ground_truth: ${{parent.jobs.automl_hts_inference.outputs.evaluation_data}} diff --git a/cli/jobs/pipelines/automl/cli-automl-forecasting-demand-with-pipeline-components/cli-automl-forecasting-demand-many-models/many_models_evaluation_pipeline.yml b/cli/jobs/pipelines/automl/cli-automl-forecasting-demand-with-pipeline-components/cli-automl-forecasting-demand-many-models/many_models_evaluation_pipeline.yml index 97d997a440..5b7d4c225b 100644 --- a/cli/jobs/pipelines/automl/cli-automl-forecasting-demand-with-pipeline-components/cli-automl-forecasting-demand-many-models/many_models_evaluation_pipeline.yml +++ b/cli/jobs/pipelines/automl/cli-automl-forecasting-demand-with-pipeline-components/cli-automl-forecasting-demand-many-models/many_models_evaluation_pipeline.yml @@ -74,7 +74,7 @@ jobs: compute_metrics: type: command - component: azureml://registries/azureml/components/compute_metrics + component: azureml://registries/azureml/components/compute_metrics/versions/0.0.10 inputs: task: "tabular-forecasting" ground_truth: ${{parent.jobs.automl_mm_inference.outputs.evaluation_data}} diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-forecasting-distributed-tcn/automl-forecasting-distributed-tcn.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-forecasting-distributed-tcn/automl-forecasting-distributed-tcn.ipynb index 644f5e4545..661695d272 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-forecasting-distributed-tcn/automl-forecasting-distributed-tcn.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-forecasting-distributed-tcn/automl-forecasting-distributed-tcn.ipynb @@ -685,7 +685,8 @@ "outputs": [], "source": [ "compute_metrics_component = ml_client_registry.components.get(\n", - " name=\"compute_metrics\", label=\"latest\"\n", + " name=\"compute_metrics\",\n", + " version=\"0.0.10\", # label=\"latest\"\n", ")\n", "print(f\"Compute metrics component version: {compute_metrics_component.version}\\n---\")" ] diff --git a/sdk/python/jobs/pipelines/1k_demand_forecasting_with_pipeline_components/automl-forecasting-demand-hierarchical-timeseries-in-pipeline/automl-forecasting-demand-hierarchical-timeseries-in-pipeline.ipynb b/sdk/python/jobs/pipelines/1k_demand_forecasting_with_pipeline_components/automl-forecasting-demand-hierarchical-timeseries-in-pipeline/automl-forecasting-demand-hierarchical-timeseries-in-pipeline.ipynb index 9c0c078043..a0743efa5e 100644 --- a/sdk/python/jobs/pipelines/1k_demand_forecasting_with_pipeline_components/automl-forecasting-demand-hierarchical-timeseries-in-pipeline/automl-forecasting-demand-hierarchical-timeseries-in-pipeline.ipynb +++ b/sdk/python/jobs/pipelines/1k_demand_forecasting_with_pipeline_components/automl-forecasting-demand-hierarchical-timeseries-in-pipeline/automl-forecasting-demand-hierarchical-timeseries-in-pipeline.ipynb @@ -423,7 +423,8 @@ "outputs": [], "source": [ "compute_metrics_component = ml_client_registry.components.get(\n", - " name=\"compute_metrics\", label=\"latest\"\n", + " name=\"compute_metrics\",\n", + " version=\"0.0.10\", # label=\"latest\"\n", ")\n", "print(f\"Compute metrics component version: {compute_metrics_component.version}\\n---\")" ] diff --git a/sdk/python/jobs/pipelines/1k_demand_forecasting_with_pipeline_components/automl-forecasting-demand-many-models-in-pipeline/automl-forecasting-demand-many-models-in-pipeline.ipynb b/sdk/python/jobs/pipelines/1k_demand_forecasting_with_pipeline_components/automl-forecasting-demand-many-models-in-pipeline/automl-forecasting-demand-many-models-in-pipeline.ipynb index 93959dd454..d91310240e 100644 --- a/sdk/python/jobs/pipelines/1k_demand_forecasting_with_pipeline_components/automl-forecasting-demand-many-models-in-pipeline/automl-forecasting-demand-many-models-in-pipeline.ipynb +++ b/sdk/python/jobs/pipelines/1k_demand_forecasting_with_pipeline_components/automl-forecasting-demand-many-models-in-pipeline/automl-forecasting-demand-many-models-in-pipeline.ipynb @@ -432,7 +432,8 @@ "outputs": [], "source": [ "compute_metrics_component = ml_client_registry.components.get(\n", - " name=\"compute_metrics\", label=\"latest\"\n", + " name=\"compute_metrics\",\n", + " version=\"0.0.10\", # label=\"latest\"\n", ")\n", "print(\n", " f\"Many models inference component version: {compute_metrics_component.version}\\n---\"\n",