Open sivi3883 opened 1 year ago
I hit the same thing. I got around it by changing the accounts/deployments bicep (in infra/core/ai/cognitiveservices.bicep) to use a newer version of the api, and setting sku instead of scaleSettings. Not 100% sure this is right, but I got this by manually deploying a model and then generating bicep from it. (I hardcoded values while I play with things but they should probably be parameters.)
@batchSize(1)
resource deployment 'Microsoft.CognitiveServices/accounts/deployments@2023-05-01' = [for deployment in deployments: {
parent: account
name: deployment.name
sku: {
name: 'Standard'
capacity: 40
}
properties: {
model: deployment.model
raiPolicyName: contains(deployment, 'raiPolicyName') ? deployment.raiPolicyName : null
// scaleSettings: deployment.scaleSettings
}
}]
I hit the same thing. I got around it by changing the accounts/deployments bicep (in infra/core/ai/cognitiveservices.bicep) to use a newer version of the api, and setting sku instead of scaleSettings. Not 100% sure this is right, but I got this by manually deploying a model and then generating bicep from it. (I hardcoded values while I play with things but they should probably be parameters.)
@batchSize(1) resource deployment 'Microsoft.CognitiveServices/accounts/deployments@2023-05-01' = [for deployment in deployments: { parent: account name: deployment.name sku: { name: 'Standard' capacity: 40 } properties: { model: deployment.model raiPolicyName: contains(deployment, 'raiPolicyName') ? deployment.raiPolicyName : null // scaleSettings: deployment.scaleSettings } }]
Thank you! That worked like a charm!
This issue is for a: (mark with an
x
)Minimal steps to reproduce
The template deployment 'openai' is not valid according to the validation procedure. The specified scale type 'Standard' of account deployment is not supported by the model
I tried with both gpt35turbo and gpt4. Please let me how to fix this deployment error
Every resource except openai got deployed successfully
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful