Skip to content

Commit 5807700

Browse files
updated Readme
1 parent b34445b commit 5807700

File tree

1 file changed

+29
-17
lines changed

1 file changed

+29
-17
lines changed

docs/quota_check.md

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
## Check Quota Availability Before Deployment
22

33
Before deploying the accelerator, **ensure sufficient quota availability** for the required model.
4+
> **For Global Standard | GPT-4o - the capacity to at least 150k tokens post-deployment for optimal performance.**
5+
6+
> **For Standard | GPT-4 - ensure a minimum of 30k–40k tokens for best results.**
7+
8+
### Login if you have not done so already
9+
```
10+
azd auth login
11+
```
12+
413

514
### 📌 Default Models & Capacities:
615
```
@@ -15,33 +24,40 @@ eastus, uksouth, eastus2, northcentralus, swedencentral, westus, westus2, southc
1524
- Only model(s) provided → The script will check for those models in the default regions.
1625
- Only region(s) provided → The script will check default models in the specified regions.
1726
- Both models and regions provided → The script will check those models in the specified regions.
27+
- `--verbose` passed → Enables detailed logging output for debugging and traceability.
1828

1929
### **Input Formats**
20-
✔️ Run without parameters to check default models & regions:
30+
> Use the --models, --regions, and --verbose options for parameter handling:
31+
32+
✔️ Run without parameters to check default models & regions without verbose logging:
2133
```
2234
./quota_check_params.sh
2335
```
24-
✔️ Model name and required capacity in the format:
36+
✔️ Enable verbose logging:
37+
```
38+
./quota_check_params.sh --verbose
39+
```
40+
✔️ Check specific model(s) in default regions:
2541
```
26-
./quota_check_params.sh gpt-4o:30
42+
./quota_check_params.sh --models gpt-4o:30,text-embedding-ada-002:80
2743
```
28-
✔️ Multiple models can be passed, separated by commas:
44+
✔️ Check default models in specific region(s):
2945
```
30-
./quota_check_params.sh gpt-4o:30,text-embedding-ada-002:80
46+
./quota_check_params.sh --regions eastus,westus
3147
```
3248
✔️ Passing Both models and regions:
3349
```
34-
./quota_check_params.sh gpt-4o:30 eastus,westus2
50+
./quota_check_params.sh --models gpt-4o:30 --regions eastus,westus2
3551
```
36-
✔️ Check default models in specific regions:
52+
✔️ All parameters combined:
3753
```
38-
./quota_check_params.sh "" eastus,westus2
54+
./quota_check_params.sh --models gpt-4:30,text-embedding-ada-002:80 --regions eastus,westus --verbose
3955
```
4056

4157
### **Sample Output**
4258
The final table lists regions with available quota. You can select any of these regions for deployment.
4359

44-
![quota-check-ouput](Images/quota-check-output.png)
60+
![quota-check-ouput](images/quota-check-output.png)
4561

4662
---
4763
### **If using Azure Portal and Cloud Shell**
@@ -63,16 +79,12 @@ The final table lists regions with available quota. You can select any of these
6379
1. Open the terminal in VS Code or Codespaces.
6480
2. If you're using VS Code, click the dropdown on the right side of the terminal window, and select `Git Bash`.
6581
![git_bash](images/git_bash.png)
66-
3. Log in to your Azure account (if not already logged in):
67-
```sh
68-
az login
69-
```
70-
4. Navigate to the `scripts` folder where the script files are located and make the script as executable:
82+
3. Navigate to the `scripts` folder where the script files are located and make the script as executable:
7183
```sh
7284
cd infra/scripts
7385
chmod +x quota_check_params.sh
7486
```
75-
5. Run the appropriate script based on your requirement:
87+
4. Run the appropriate script based on your requirement:
7688
7789
**To check quota for the deployment**
7890
@@ -81,10 +93,10 @@ The final table lists regions with available quota. You can select any of these
8193
```
8294
- Refer to [Input Formats](#input-formats) for detailed commands.
8395
84-
6. If you see the error `_bash: az: command not found_`, install Azure CLI:
96+
5. If you see the error `_bash: az: command not found_`, install Azure CLI:
8597
8698
```sh
8799
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
88100
az login
89101
```
90-
7. Rerun the script after installing Azure CLI.
102+
6. Rerun the script after installing Azure CLI.

0 commit comments

Comments
 (0)