You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to provision a serverless endpoint using azapi_resource for the azureml://registries/azureml/models/Phi-3.5-vision-instruct model in eastus2 but i am getting an error that "The requested model azureml://registries/azureml/models/Phi-3.5-vision-instruct is not available in region East US 2."
From the error message, it seems that the model is not available in region East US 2. Would you please try to deploy it in another region?
Or if you could deploy this resource via Portal or other client tools, you could use the azapi vscode extension to help generate the configuration.
How to generate the azapi configuration with azapi vscode extension?
Copy the resource JSON. You could get the resource from Portal - JSON View, or az cli command like below:
az rest -m GET -u '/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.MachineLearningServices/workspaces/{workspace_name}/serverlessEndpoints/{serverless_endpoint_name}?api-version=2024-04-01'
Paste the resource JSON to the terraform file, the extension will help convert it to the azapi config.
Thanks for your input @ms-henglu.
I was facing the same issue and your command helped me to realize that I was missing the 'sku' block (and anyway the values inside are documented nowhere).
Hi,
I am trying to provision a serverless endpoint using azapi_resource for the azureml://registries/azureml/models/Phi-3.5-vision-instruct model in eastus2 but i am getting an error that "The requested model azureml://registries/azureml/models/Phi-3.5-vision-instruct is not available in region East US 2."
I am following the spec mentioned here -> https://learn.microsoft.com/en-us/azure/templates/microsoft.machinelearningservices/2024-04-01/workspaces/serverlessendpoints?pivots=deployment-language-terraform
Here is my code:
Complete Error:
I am able to to create a serverless deployment via the
Studio UI
andAzure CLI
for the same model without any issue.Any help/insights/guidance here.
The text was updated successfully, but these errors were encountered: