Course 2 week 2 prepare_container_def() got an unexpected keyword argument 'serverless_inference_config'

Hello I am trying to run the lab in my personal account and we I try to deploy the model I keep having this error: prepare_container_def() got an unexpected keyword argument ‘serverless_inference_config’
Help please

Hi @PDS_Mentors,

Can one of you help here ?

Thanks,
Mubsi

https://sagemaker.readthedocs.io/en/stable/api/inference/model.html#sagemaker.model.Model.prepare_container_def

check if you are following it properly.