Skip to content

Commit

Permalink
Update client registry to public for AutoML forecasting components (#…
Browse files Browse the repository at this point in the history
…2522)

* update client registry to public

* update registries for cli components
  • Loading branch information
vlbejan authored Aug 3, 2023
1 parent f438719 commit 1efde68
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ outputs:
jobs:
automl_hts_training:
type: command
component: azureml://registries/azureml-preview/components/automl_hts_training
component: azureml://registries/azureml/components/automl_hts_training
inputs:
raw_data: ${{parent.inputs.raw_data}}
automl_config: ${{parent.inputs.automl_config}}
Expand All @@ -52,7 +52,7 @@ jobs:

automl_hts_inference:
type: command
component: azureml://registries/azureml-preview/components/automl_hts_inference
component: azureml://registries/azureml/components/automl_hts_inference
inputs:
raw_data: ${{parent.inputs.inference_data}}
forecast_level: ${{parent.inputs.forecast_level}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ outputs:
jobs:
automl_mm_training:
type: command
component: azureml://registries/azureml-preview/components/automl_many_models_training
component: azureml://registries/azureml/components/automl_many_models_training
inputs:
raw_data: ${{parent.inputs.raw_data}}
automl_config: ${{parent.inputs.automl_config}}
Expand All @@ -53,7 +53,7 @@ jobs:

automl_mm_inference:
type: command
component: azureml://registries/azureml-preview/components/automl_many_models_inference
component: azureml://registries/azureml/components/automl_many_models_inference
inputs:
raw_data: ${{parent.inputs.inference_data}}
max_concurrency_per_node: ${{parent.inputs.max_concurrency_per_node}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,24 +335,12 @@
},
"outputs": [],
"source": [
"# get registry for all components with the exception of compute metrics component\n",
"ml_client_registry = MLClient(credential=credential, registry_name=\"azureml-preview\")\n",
"# get registry for all components\n",
"ml_client_registry = MLClient(credential=credential, registry_name=\"azureml\")\n",
"print(ml_client_registry)\n",
"print(\"---\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# get registry for the compute metrics component\n",
"ml_client_metrics_registry = MLClient(credential=credential, registry_name=\"azureml\")\n",
"print(ml_client_metrics_registry)\n",
"print(\"---\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -434,7 +422,7 @@
},
"outputs": [],
"source": [
"compute_metrics_component = ml_client_metrics_registry.components.get(\n",
"compute_metrics_component = ml_client_registry.components.get(\n",
" name=\"compute_metrics\", label=\"latest\"\n",
")\n",
"print(f\"Compute metrics component version: {compute_metrics_component.version}\\n---\")"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,24 +324,12 @@
},
"outputs": [],
"source": [
"# get registry for all components with the exception of compute metrics component\n",
"ml_client_registry = MLClient(credential=credential, registry_name=\"azureml-preview\")\n",
"# get registry for all components\n",
"ml_client_registry = MLClient(credential=credential, registry_name=\"azureml\")\n",
"print(ml_client_registry)\n",
"print(\"---\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# get registry for the compute metrics component\n",
"ml_client_metrics_registry = MLClient(credential=credential, registry_name=\"azureml\")\n",
"print(ml_client_metrics_registry)\n",
"print(\"---\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -443,7 +431,7 @@
},
"outputs": [],
"source": [
"compute_metrics_component = ml_client_metrics_registry.components.get(\n",
"compute_metrics_component = ml_client_registry.components.get(\n",
" name=\"compute_metrics\", label=\"latest\"\n",
")\n",
"print(\n",
Expand Down

0 comments on commit 1efde68

Please sign in to comment.