how to configure ideal value for MaxConcurrentTransforms in setting up a sagemaker batch transform ?

0

based on the documentation , https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html, it states that " The ideal value for MaxConcurrentTransforms is equal to the number of compute workers in the batch transform job." how to figure out what the number of compute workers is , i assume this depends on the instance type. also what about the instance count parameter we can set , do we have to take that into account as well?

已提問 2 年前檢視次數 833 次
1 個回答
1
已接受的答案

The ideal value for MaxConcurrentTransforms varies based on instance type as well as based on your specific model.

it could make sense to increase MaxConcurrentTransforms up to the core count of the instance you are using (for cpu based transform), however, you should also take into account the memory utilisation by your model.

The ultimate answer is it "depends" and I would recommend that you experiment with increasing this number gradually from 1 up to instance core count, while monitoring RAM/cpu utilisation to find the optimal.

AWS
已回答 2 年前
  • @georgios_s - thanks . You pointed out instance count for the cpu based instances , if you don’t mind could you elaborate what would be the case for gpu based

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

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

回答問題指南