-
Notifications
You must be signed in to change notification settings - Fork 27
How to increase timeout limit in batch transform jobs? #77
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @laurenyu any thoughts ? |
I'm not sure if this is what you're looking for, and unfortunately I don't know off the top of my head if there's a limit for how high you can set the timeout, but you could try setting the environment variable Corresponding links of the Docker image code: |
This is perfect thank you! Thanks for the code references as well, it's very helpful. For someone who might be running into this problem, this is how I passed in the parameter transformer = sagemaker_model.transformer(instance_count=1,
instance_type='ml.m4.xlarge',
output_path=batch_output,
env = {'SAGEMAKER_MODEL_SERVER_TIMEOUT' : '3600' }) |
It might also be helpful to pass
to the
with just |
I have configured my batch transform job to download a video file from S3, then processing it frame by frame.
I currently am getting this error due to timeout
I have went over the doc multiple times and only got this https://docs.aws.amazon.com/sagemaker/latest/dg/API_runtime_InvokeEndpoint.html where it says for InvokeEndpoint the timeout is 60 Seconds. Also here https://docs.aws.amazon.com/en_pv/sagemaker/latest/dg/API_CreateTransformJob.html it doesn't specify any parameter to increase timeout for batch transform jobs.
But it doesn't tell me how to increase the timeout from parameter? Please advise on how to to achieve this.
EDIT
FYI, the approximate time I will need to process each input is around 2-3 minutes.
The text was updated successfully, but these errors were encountered: