Azure-Samples / openai

The repository for all Azure OpenAI Samples complementing the OpenAI cookbook.
https://aka.ms/azure-openai
MIT License
1.05k stars 353 forks source link

【Azure openai deploy】 The specified scale type 'Standard' of account deployment is not supported by the model 'gpt-4'. #93

Open qiulongquan opened 7 months ago

qiulongquan commented 7 months ago

This issue is for a: (mark with an 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

I am following the example below for deployment https://github.com/Azure-Samples/openai/tree/main/End_to_end_Solutions/AOAISearchDemo When I run the command Run【azd up】 I get the following error

Any log messages given by the failure

I am following the example below for deployment https://github.com/Azure-Samples/openai/tree/main/End_to_end_Solutions/AOAISearchDemo When I run the command Run【azd up】 I get the following error

Expected/desired behavior

I am following the example below for deployment https://github.com/Azure-Samples/openai/tree/main/End_to_end_Solutions/AOAISearchDemo When I run the command Run【azd up】 I get the following error

OS and Version?

Windows 11

Versions

Windows 11

Mention any other details that might be useful

1

I opened the link to see the details of the error, here is a screenshot,Is there anyone who can help me with this?

2

3

4

status message { "status": "Failed", "error": { "code": "InvalidTemplateDeployment", "message": "The template deployment 'openai' is not valid according to the validation procedure. The tracking id is 'c858cf6f-91ce-47cb-86a3-3e39d171e2c3'. See inner errors for details.", "details": [ { "code": "InvalidResourceProperties", "message": "The specified scale type 'Standard' of account deployment is not supported by the model 'gpt-4'." } ] } }

aahamlin commented 6 months ago

@qiulongquan did you ever find a solution or workaround? I am facing the same issue.

tonykcn commented 5 months ago

same issue here.

vaibbavisk20 commented 4 months ago

Scale type is not supported, change it to sku with name and capacity in the main.bicep and update api version in cognitive services file