11## Check Quota Availability Before Deployment
22
33Before deploying the accelerator, ** ensure sufficient quota availability** for the required model.
4+ > ** We recommend increasing the capacity to 100k tokens for optimal performance.**
5+
6+ ### Login if you have not done so already
7+ ```
8+ azd auth login
9+ ```
10+
411
512### Login if you have not done so already
613```
@@ -20,27 +27,34 @@ eastus, uksouth, eastus2, northcentralus, swedencentral, westus, westus2, southc
2027- Only model(s) provided → The script will check for those models in the default regions.
2128- Only region(s) provided → The script will check default models in the specified regions.
2229- Both models and regions provided → The script will check those models in the specified regions.
30+ - ` --verbose ` passed → Enables detailed logging output for debugging and traceability.
2331
2432### ** Input Formats**
25- ✔️ Run without parameters to check default models & regions:
33+ > Use the --models, --regions, and --verbose options for parameter handling:
34+
35+ ✔️ Run without parameters to check default models & regions without verbose logging:
2636 ```
2737 ./quota_check_params.sh
2838 ```
29- ✔️ Model name and required capacity in the format:
39+ ✔️ Enable verbose logging:
40+ ```
41+ ./quota_check_params.sh --verbose
42+ ```
43+ ✔️ Check specific model(s) in default regions:
3044 ```
31- ./quota_check_params.sh gpt-4o:30
45+ ./quota_check_params.sh --models gpt-4o:30,text-embedding-ada-002:80
3246 ```
33- ✔️ Multiple models can be passed, separated by commas :
47+ ✔️ Check default models in specific region(s) :
3448 ```
35- ./quota_check_params.sh gpt-4o:30,text-embedding-ada-002:80
49+ ./quota_check_params.sh --regions eastus,westus
3650 ```
3751✔️ Passing Both models and regions:
3852 ```
39- ./quota_check_params.sh gpt-4o:30 eastus,westus2
53+ ./quota_check_params.sh --models gpt-4o:30 --regions eastus,westus2
4054 ```
41- ✔️ Check default models in specific regions :
55+ ✔️ All parameters combined :
4256 ```
43- ./quota_check_params.sh "" eastus,westus2
57+ ./quota_check_params.sh --models gpt-4:30,text-embedding-ada-002:80 --regions eastus,westus --verbose
4458 ```
4559
4660### ** Sample Output**
@@ -67,7 +81,7 @@ The final table lists regions with available quota. You can select any of these
6781# ## **If using VS Code or Codespaces**
68821. Open the terminal in VS Code or Codespaces.
69832. If you' re using VS Code, click the dropdown on the right side of the terminal window, and select `Git Bash`.
70- 
84+ 
71853. Navigate to the `scripts` folder where the script files are located and make the script as executable:
7286 ```sh
7387 cd infra/scripts
0 commit comments