Why am I getting a ""Not enough quota available... . Current usage/limit: 0/6. Additional needed: 8" when my YAML specifies `instance_count: 1`? Why does it think I need 8?

Larry O'Brien 5 Reputation points
2023-05-08T23:23:43.15+00:00

I am trying to create a simple deployment. In my deployment.yaml, I have:

instance_type: Standard_E4s_v3
instance_count: 1

When I run, the deployment fails with ""VmSize":["Not enough quota available for Standard_E4s_v3 in SubscriptionId xxxx. Current usage/limit: 0/6. Additional needed: 8" I don't have any CPU compute in this subscription. The error message says I'm using 0 of my 6 but am asking for 8? But I'm not asking for 8. Where did 8 come from?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,598 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. TP 78,426 Reputation points
    2023-05-09T00:09:08.5966667+00:00

    Hi,

    It reserves 20% of compute for performing upgrades. You asked for 1 instance, so it wants to provision ceiling 1.2 x 1 = 2 instances x 4 vCPUs each = 8 vCPUs.

    https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-online-endpoints?view=azureml-api-2&tabs=azure-cli#virtual-machine-quota-allocation-for-deployment

    You can go to your subscription in the portal -- Usage + quotas and request increase.

    If the above was useful please click Accept Answer.

    Thanks.

    -TP

    1 person found this answer helpful.