Skip to content

fix: default time for compilation jobs #2501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sagemaker/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def compile_model(
'onnx', 'xgboost'
framework_version (str): The version of the framework
compile_max_run (int): Timeout in seconds for compilation (default:
3 * 60). After this amount of time Amazon SageMaker Neo
15 * 60). After this amount of time Amazon SageMaker Neo
terminates the compilation job regardless of its current status.
tags (list[dict]): List of tags for labeling a compilation job. For
more, see
Expand Down
4 changes: 2 additions & 2 deletions src/sagemaker/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def compile(
role,
tags=None,
job_name=None,
compile_max_run=5 * 60,
compile_max_run=15 * 60,
framework=None,
framework_version=None,
target_platform_os=None,
Expand Down Expand Up @@ -588,7 +588,7 @@ def compile(
https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html.
job_name (str): The name of the compilation job
compile_max_run (int): Timeout in seconds for compilation (default:
3 * 60). After this amount of time Amazon SageMaker Neo
15 * 60). After this amount of time Amazon SageMaker Neo
terminates the compilation job regardless of its current status.
framework (str): The framework that is used to train the original
model. Allowed values: 'mxnet', 'tensorflow', 'keras', 'pytorch',
Expand Down