How to deploy prompt flows created in Azure AI Studio using a compute cluster(or a single compute instance)?

Das Gupta, Abhijeet 75 Reputation points

I want to call my prompt flows as endpoints and using Azure AI studio, this would require each flow to have its own compute instance in order to deployed as a real time endpoint. This would incur a lot of cost.

In the linked post below, I've found that the flows can be deployed using a compute cluster in Azure Machine Learning.

But the thing is, I'm using Azure AI studio to create and work on my flows and when I try create a compute cluster from my associated AzureML workspace linked to my Azure AI Studio hub, the following message is shown that

Clusters are not supported in workspaces created using a hub. Select serverless computeinstead at the time of job creation.

Can anyone explain what does this mean and how would I go about creating a single compute instance/cluster for my prompt flows?


Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,672 questions
{count} votes

Accepted answer
  1. romungi-MSFT 43,541 Reputation points Microsoft Employee

    @Das Gupta, Abhijeet When you use AI studio the corresponding workspace is created of kind Hub. Hub workspace do not support Compute clusters. See the table on his page on what type of features are supported by hub workspace. So, basically this is by design, and you cannot currently use a compute cluster for this type of workspace.

    Also, it looks like prompt flow only supports serverless and compute instance type compute for the flows. See this page for infra setup.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

0 additional answers

Sort by: Most helpful