Thanks @OlivierCR  for your answers.



 OlivierCR:

The max duration of a SageMaker Training job is 5 days.


Are we talking here of any AWS SageMaker Training instance, and not only AWS SageMaker Spot Training Instance?
I’m asking this because I’ve never seen in the Hugging Face AWS SageMaker notebooks the necessity of setting up a max_run parameter (but the one about Spot instances).
I thought that a AWS SageMaker Training instance stopped only at the end of the whole training job (for example, I do not see max_run in the HF doc “Create a Hugging Face Estimator”).
What do you think?