Azure-Samples / Azure-Samples/rag-data-openai-python-promptflow

Default VM instance type does not provide enough cores

Aperta
#4 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
290
Fork
152
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
> Run `python -m deployment.deploy`

### Any log messages given by the failure

azure.core.exceptions.HttpResponseError: (BadRequest) The request is invalid.
Code: BadRequest
Message: The request is invalid.
Exception Details: (InferencingClientCreateDeploymentFailed) InferencingClient HttpRequest error, error detail: {"errors":{"VmSize":["Not enough quota available for **Standard_DS3_v2** in SubscriptionId [REDACTED]. Current usage/limit: 0/6. **Additional needed: 8** 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":"[REDACTED]"}
Code: InferencingClientCreateDeploymentFailed
Message: InferencingClient HttpRequest error, error detail: {"errors":{"VmSize":["Not enough quota available for Standard_DS3_v2 in SubscriptionId [REDACTED]. Current usage/limit: 0/6. Additional needed: 8 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":"[REDACTED]"}

### Expected/desired behavior

VM instance type that provides minimum number of cores for example to run.

### OS and Version?
> Windows 10

### Versions
> Cloned this example from commit 065ef02872cc1bd36978f4beeb6bcfcdb04e3510

### Mention any other details that might be useful

It appears that Standard_DS3_v2 is the VM instance type in deploy.py. This VM instance provides 4 cores. Per the traceback, it seems that 8 cores are required for this example. Does the VM instance type need to be something that provides at least 8 cores?

Thank you in advance for your consideration of this inquiry.

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reading deploy.py and running `python -m deployment.deploy` to confirm how Standard_DS3_v2 is selected and how the Azure deployment reports the quota failure. Determine the minimum VM core requirement for this example, update the default instance selection accordingly, and verify that the deployment request uses the intended size.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, python
Ambito
cloud
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.