Adi Unnithan
Adi Unnithan

Reputation: 303

Is it possible to speed up local AzureML model deployment?

We want to be able to quickly test changes to entry_script.py. We can test minor changes with unit tests but we want to run a model in the context of our other backend pieces, locally.

So we run az ml model deploy with a deployment config with a computeType of LOCAL. Non-local deployment is slow, but we were hoping that local deployment would be faster. Unfortunately it isn't. In some cases it can take up to 20 minutes to deploy a model to a local endpoint.

Is there a way to speed this up for faster edit-debug loops or a better way of handling this scenario?

Few things I was thinking of:

Upvotes: 1

Views: 798

Answers (1)

Ram
Ram

Reputation: 2754

Please follow the below notebook, If you want to test deploying a model rapidly you should check out https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/deployment/deploy-to-local

the SDK enables building and running the docker locally and updating in place as you iterate on your script to save time.

Upvotes: 1

Related Questions