Skip to content

Instantly share code, notes, and snippets.

@SaschaDittmann
Created October 21, 2019 16:41
Show Gist options
  • Save SaschaDittmann/1e9892786de61116f6fa6a5b570d679f to your computer and use it in GitHub Desktop.
Save SaschaDittmann/1e9892786de61116f6fa6a5b570d679f to your computer and use it in GitHub Desktop.
DevOps for Machine Learning (Azure MLOps Part 4) - Deploy Your Model to Azure Container Instances
az extension add -n azure-cli-ml
az ml model deploy -g $(azureml.resourceGroup) -w $(azureml.workspaceName) -n $(service.name.staging) -f ../metadata/model.json --dc aciDeploymentConfig.yml --ic inferenceConfig.yml --overwrite
$(System.DefaultWorkingDirectory)/_MLOps-YouTube-CI/drop/setup/install_requirements.sh
pytest integration_test.py --doctest-modules --junitxml=junit/test-results.xml --cov=integration_test --cov-report=xml --cov-report=html --scoreurl $(az ml service show -g $(azureml.resourceGroup) -w $(azureml.workspaceName) -n $(service.name.staging) --query scoringUri -o tsv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment