Quota check
Check Quota Availability Before Deployment¶
Before deploying the accelerator, ensure sufficient quota availability for the required model.
Use one of the following scripts based on your needs:
quota_check_params.sh
→ If you know the model and capacity required.quota_check_all_regions.sh
→ If you want to check available capacity across all regions for supported models.
If using Azure Portal and Cloud Shell¶
- Navigate to the Azure Portal.
- Click on Azure Cloud Shell in the top right navigation menu.
- Run the appropriate command based on your requirement:
To check quota for a specific model and capacity:
Text Only | |
---|---|
1 2 3 4 5 |
|
To check available quota across all regions for supported models:
Text Only | |
---|---|
1 2 3 4 5 |
|
If using VS Code or Codespaces¶
- Run the appropriate script based on your requirement:
To check quota for a specific model and capacity:
Text Only | |
---|---|
1 2 3 |
|
To check available quota across all regions for supported models:
Text Only | |
---|---|
1 2 3 |
|
-
If you see the error
_bash: az: command not found_
, install Azure CLI:3. Rerun the script after installing Azure CLI.Bash 1 2
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash az login
Parameters -
<model_name:capacity>
: The name and required capacity for each model, in the format model_name:capacity (e.g., gpt-4o-mini:30,text-embedding-ada-002:20). -[<model_region>] (optional)
: The Azure region to check first. If not provided, all supported regions will be checked (e.g., eastus).