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

Default VM instance type does not provide enough cores

Abierto
#4 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
290
Forks
152
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

> 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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Empieza leyendo deploy.py y ejecutando `python -m deployment.deploy` para confirmar cómo se selecciona Standard_DS3_v2 y cómo el despliegue de Azure informa del fallo de cuota. Determina el requisito mínimo de núcleos de VM para este ejemplo, actualiza en consecuencia la selección predeterminada de la instancia y verifica que la solicitud de despliegue utiliza el tamaño previsto.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
azure, python
Área
cloud
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.