cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Attach instance profile to Model serving endpoint

megz
New Contributor II

Hi all, 

I'm unable to attach an instance profile to a model serving end point. I followed the instructions on this page to update an existing model with an instance profile arn. I have verified the instance profile works by attaching it to a compute cluster. I get the following error in the response: 

status code and response.text.

400
{"error_code":"BAD_REQUEST","message":"Instance profile config is not supported!"}

 I also tried creating a new end point with instance profile attached. No luck! same error. 

Please advise

Thanks!

2 REPLIES 2

megz
New Contributor II

Hi @Retired_mod , thanks for the reply.
I'm not using any cluster for the serving endpoint. I'm using the serverless model deploy option from ML "serving". There's nothing either in the UI or the API that lets me choose the type of cluster.. The only options I have are the model, model version, compute size. I had to attach the instance profile via the API, which gives me the error "Instance profile config is not supported!". 

. Thanks.

megz
New Contributor II

Code snippet in picture attached.
I also tried to update a previously existing serving endpoint (PUT request to /api/2.0/serving-endpoints/{name}/config ) with the new config (which includes instance profile arn) and still get the same error.  

 

 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group