From e862760c08c67019a899618fd5950adf9a1d4d37 Mon Sep 17 00:00:00 2001 From: Kriti <53083330+fkriti@users.noreply.github.com> Date: Wed, 5 Jul 2023 11:32:03 -0700 Subject: [PATCH] =?UTF-8?q?updated=20smple=20with=20share=20command,=20upd?= =?UTF-8?q?ated=20description=20as=20a=20tag=20in=20reg=E2=80=A6=20(#2417)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * updated smple with share command, updated description as a tag in registry YAMLs and removed the extra ReadME * updated share syntax --- .../nyc_taxi_data_regression/run-sample.sh | 4 ++-- cli/resources/registry/registry-demo.yml | 4 ++-- cli/resources/registry/registry-storage-options.yml | 4 ++-- cli/resources/registry/registry.yml | 4 ++-- sdk/python/foundation-models/huggingface/README.md | 7 ------- 5 files changed, 8 insertions(+), 15 deletions(-) delete mode 100644 sdk/python/foundation-models/huggingface/README.md diff --git a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/run-sample.sh b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/run-sample.sh index 31f098f7aa..586a7a4aea 100644 --- a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/run-sample.sh +++ b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/run-sample.sh @@ -40,8 +40,8 @@ az ml model create --name nyc-taxi-model --version $version --type mlflow_model echo "model create in workspace failed"; exit 1; } -# copy model created in workspace to registry -az ml model create --registry-name --path azureml://subscriptions/$ws_sub/resourceGroups/$ws_rg/workspaces/$ws_name/models/nyc-taxi-model/versions/$version || { +# share model created in workspace to registry +az ml model share --name nyc-taxi-model --version $version --share-with-name nyc-taxi-model --share-with-version $version --registry-name || { echo "model create in registry failed"; exit 1; } diff --git a/cli/resources/registry/registry-demo.yml b/cli/resources/registry/registry-demo.yml index ba03e6a285..7a988bb6b5 100644 --- a/cli/resources/registry/registry-demo.yml +++ b/cli/resources/registry/registry-demo.yml @@ -1,7 +1,7 @@ name: -description: Basic registry with one primary region and to additional regions tags: foo: bar + description: Basic registry with one primary region and to additional regions location: replication_locations: - - location: + - location: \ No newline at end of file diff --git a/cli/resources/registry/registry-storage-options.yml b/cli/resources/registry/registry-storage-options.yml index b095d20837..6cbee78df1 100644 --- a/cli/resources/registry/registry-storage-options.yml +++ b/cli/resources/registry/registry-storage-options.yml @@ -1,7 +1,7 @@ name: DemoRegistry2 -description: Registry with additional configuration for storage accounts tags: foo: bar + description: Registry with additional configuration for storage accounts location: eastus replication_locations: - location: eastus @@ -15,4 +15,4 @@ replication_locations: - location: westus storage_config: storage_account_hns: False - storage_account_type: Standard_LRS + storage_account_type: Standard_LRS \ No newline at end of file diff --git a/cli/resources/registry/registry.yml b/cli/resources/registry/registry.yml index 94359d0169..b83f848e08 100644 --- a/cli/resources/registry/registry.yml +++ b/cli/resources/registry/registry.yml @@ -1,10 +1,10 @@ name: DemoRegistry -description: Basic registry with one primary region and to additional regions tags: foo: bar + description: Basic registry with one primary region and to additional regions location: eastus replication_locations: - location: eastus - location: eastus2 - location: westus - - location: westus2 + - location: westus2 \ No newline at end of file diff --git a/sdk/python/foundation-models/huggingface/README.md b/sdk/python/foundation-models/huggingface/README.md deleted file mode 100644 index 3977684811..0000000000 --- a/sdk/python/foundation-models/huggingface/README.md +++ /dev/null @@ -1,7 +0,0 @@ - -Test Status is for branch - **_main_** -|Area|Sub-Area|Notebook|Description|Status| -|--|--|--|--|--| -|foundation-models|huggingface|[fill-mask-online-endpoint](foundation-models/huggingface/inference/fill-mask/fill-mask-online-endpoint.ipynb)|*no description*|[![fill-mask-online-endpoint](https://github.com/Azure/azureml-examples/actions/workflows/sdk-foundation-models-huggingface-inference-fill-mask-fill-mask-online-endpoint.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/sdk-foundation-models-huggingface-inference-fill-mask-fill-mask-online-endpoint.yml)| -|foundation-models|huggingface|[summarization-online-endpoint](foundation-models/huggingface/inference/summarization/summarization-online-endpoint.ipynb)|*no description*|[![summarization-online-endpoint](https://github.com/Azure/azureml-examples/actions/workflows/sdk-foundation-models-huggingface-inference-summarization-summarization-online-endpoint.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/sdk-foundation-models-huggingface-inference-summarization-summarization-online-endpoint.yml)| -|foundation-models|huggingface|[text-classification-online-endpoint](foundation-models/huggingface/inference/text-classification/text-classification-online-endpoint.ipynb)|*no description*|[![text-classification-online-endpoint](https://github.com/Azure/azureml-examples/actions/workflows/sdk-foundation-models-huggingface-inference-text-classification-text-classification-online-endpoint.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/sdk-foundation-models-huggingface-inference-text-classification-text-classification-online-endpoint.yml)|