This lab may not work in an Azure Pass Subscription.
For this lab to work, the Microsoft.PolicyInsights needs to be registered in your subscription. Follow this tutorial
# Delete the compute cluster (only needed if you have an Azue subscription)
az ml compute delete -n gpu-cluster
In this lab you are going to deploy the model in managed endpoint.
Get the scoring script
# Create a directory
mkdir deploy
cd deploy
# Download the scoring script
wget https://raw.githubusercontent.com/GlobalAICommunity/back-together-2021/main/workshop-assets/amls/score.py
Stay in the same directory
Create the scoring environment
Create an empty yml file for the environment configuration.