Selecting minimum instance for a Sagemaker Endpoint

0

Good day,

I currently trying to find a way of getting the minimum instance type for deploying a Sagemaker Endpoint and is suitable for a batch job. However i have not been able to get an instance with less than 50% error rate while running performance test.

I have also explored the Sagemaker Inference Recommender, but i am getting the below error: "The inference recommender job 022cc1d4-676b-11ee-9232-1609dc98c377 has failed. INVALID_INPUT : Benchmark(s) failed. To investigate the failure reason for each benchmark, please use the ListInferenceRecommendationsJobSteps API."

Seun
已提問 7 個月前檢視次數 254 次
1 個回答
0

Hi Seun,

What type of endpoint are you deploying and what error are you getting at inference time? Not sure if you are using Batch Transform. When using Batch inference, you have a maximum payload size of GBs and maximum runtime of days. If you're using another type of deployment, such as a real-time endpoint, you might be exceeding a limit of payload size or response timeout. See here for more details.

See this link for a simple script to see the cause of error in the Inference Recommender job. Inference Recommender is the easiest way to assess the minimum instance type that will suit the workload.

Hope this helps.

profile pictureAWS
jnavrro
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南