Azure-Samples / Azure-Samples/rag-data-openai-python-promptflow
Default VM instance type does not provide enough cores
- Vorherrschende Sprache
- Python
- Sterne
- 290
- Forks
- 152
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
> 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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, python
- Bereich
- cloud
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100