Skip to content

Commit 318e058

Browse files
Update quota_check.md
1 parent 2741655 commit 318e058

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

docs/quota_check.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
1+
This file will contain instructions for checking quota availability using two different scripts
12

3+
## Check Quota Availability Before Deployment
4+
5+
Before deploying the accelerator, check the quota availability for the model to ensure sufficient capacity.
6+
7+
## **If using Azure Portal and Cloud Shell**
8+
9+
1. Navigate to the [Azure Portal](https://portal.azure.com).
10+
2. Click on **Azure Cloud Shell** in the top right navigation menu.
11+
3. Run the following commands:
12+
13+
```sh
14+
curl -L -o check_azure_quota_public.sh "https://raw.githubusercontent.com/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator/main/infra/scripts/quota_check_params.sh"
15+
chmod +x quota_check_params.sh
16+
./quota_check_params.sh <model_name:capacity> [<model_region>]
17+
```
18+
## **If using VS Code or Codespaces**
19+
20+
1. Run the script:
21+
22+
```sh
23+
./quota_check_params.sh <model_name:capacity> [<model_region>]
24+
```
25+
26+
If you see this error: _bash: az: command not found_
27+
28+
```sh
29+
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
30+
az login
31+
```
32+
Then, rerun the script.
33+
34+
**Parameters**
35+
- `<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**).
36+
- `[<model_region>] (optional)`: The Azure region to check first. If not provided, all supported regions will be checked (**e.g., eastus**).
37+
38+
If sufficient quota is available, proceed with the deployment.

0 commit comments

Comments
 (0)