azure-search-openai-demo icon indicating copy to clipboard operation
azure-search-openai-demo copied to clipboard

Deployment Error Details: DuplicatedDeploymentForSameModel: The deployment 'chat' has the same model with an existing deployment 'Hodel-01'. Only 1 deployment is allowed for the same model.

Open DevOps-zhuang opened this issue 2 years ago • 1 comments

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Use existing resources:

I just followed below steps for Use existing resources sections:

  1. Run azd env set AZURE_OPENAI_SERVICE {Name of existing OpenAI service}
  2. Run azd env set AZURE_OPENAI_RESOURCE_GROUP {Name of existing resource group that OpenAI service is provisioned to}
  3. Run azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT {Name of existing ChatGPT deployment}. Only needed if your ChatGPT deployment is not the default 'chat'.
  4. Run azd env set AZURE_OPENAI_GPT_DEPLOYMENT {Name of existing GPT deployment}. Only needed if your ChatGPT deployment is not the default 'davinci'.
  5. Run azd up

Any log messages given by the failure

ERROR: deployment failed: error deploying infrastructure: deploying to subscription:

Deployment Error Details: DuplicatedDeploymentForSameModel: The deployment 'chat' has the same model with an existing deployment 'Hodel-01'. Only 1 deployment is allowed for the same model.

Expected/desired behavior

the deployment will use the AZURE_OPENAI_CHATGPT_DEPLOYMENT parameters I set by running azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT Hodel-01. not trying to create a new gpt 3.5 model against current OpenAI, it will fail.

OS and Version?

Windows 11

Versions

Mention any other details that might be useful

so the issue is that the deplyment doesn't use the Hodel-01 I already set for AZURE_OPENAI_CHATGPT_DEPLOYMENT, it try to create a new one, which is not allowed by current Azure OpenAI policy. how to fix it? thanks.


Thanks! We'll be in touch soon.

DevOps-zhuang avatar May 05 '23 01:05 DevOps-zhuang

having the same issue I use the parameters but it keeps trying to set up a new instance

nickroseth avatar May 18 '23 18:05 nickroseth

Same issue here. Is there a different configuration to use an already deployed model?

lucazav avatar Jun 01 '23 14:06 lucazav

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

github-actions[bot] avatar Dec 26 '23 01:12 github-actions[bot]