aws-samples / sagemaker-run-notebook

Tools to run Jupyter notebooks as jobs in Amazon SageMaker - ad hoc, on a schedule, or in response to events
Apache License 2.0
142 stars 69 forks source link

No way to change Processing job’s running time #13

Closed jpetuchovas closed 3 years ago

jpetuchovas commented 3 years ago

Currently, the parameter MaxRuntimeInSeconds that allows changing the SageMaker Processing job’s max running time is hardcoded. Some jobs may require a longer running time, so it would be good to be able to change it via the extension or simply increase the stopping condition to allow longer jobs (as far as I understand, SageMaker Processing allows setting longer running time).

jamesbong93 commented 3 years ago

@jpetuchovas Can try to run the command with --extra option to change the max run time in seconds

For example: run-notebook run example.ipynb --extra '{"StoppingCondition": {"MaxRuntimeInSeconds": 3600}}'

tomfaulhaber commented 3 years ago

That's exactly right.