Not enough quota available when deploying a machine learning model on Azure

jay 41 Reputation points
2022-10-19T03:02:40.563+00:00

I was trying to deploy and score a machine learning model by using an online endpoint.

When I was trying to run code this on Azure Machine Learning Wordspace,

!az ml online-deployment create --name fraud-ga --endpoint endpoint-name -f ../deployment/deployment.yml --all-traffic  

I got this error:

{"errors":{"VmSize":["Not enough quota available for Standard_F16s_v2 in SubscriptionId 671ef6e1-2ded-466b-8fd1-91363cf12275. Current usage/limit: 4/6. Additional needed: 32 Please see troubleshooting guide, available here: https://aka.ms/oe-tsg#error-outofquota"]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"00-a308e99ddee5fc8714e34fd0808b7e93-2031400dbc3e84d1-01"}  

What I understood is that I need more cores.

So, in this case how many cores I needed and how to solve this error?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,336 questions
0 comments No comments
{count} votes

Accepted answer
  1. Manu Philip 20,206 Reputation points MVP Volunteer Moderator
    2022-10-19T04:02:03.51+00:00

    It sounds like you don't have enough quota available in the region where you are trying to deploy the ML model.
    In Azure portal, you can check the allocated quota for each region under the subscription blade:

    251795-image.png

    The error message says: Current usage/limit: 4/6. Additional needed: 32

    Request a quota increase and Azure support team can help on that!
    251719-image.png

    ----------

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    6 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Emeny Louhichi 0 Reputation points
    2023-08-15T10:41:22.49+00:00

    I have this same issue with the quota, how do you suggest we fix it ?

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.