Skip to content
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
4 changes: 2 additions & 2 deletions src/sagemaker/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ def compile_model(
'var2':[1,1,28,28]}
output_path (str): Specifies where to store the compiled model
framework (str): The framework that is used to train the original
model. Allowed values: 'mxnet', 'tensorflow', 'pytorch', 'onnx',
'xgboost'
model. Allowed values: 'mxnet', 'tensorflow', 'keras', 'pytorch',
'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
Expand Down
6 changes: 3 additions & 3 deletions src/sagemaker/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"qcs605",
]
)
NEO_ALLOWED_FRAMEWORKS = set(["mxnet", "tensorflow", "pytorch", "onnx", "xgboost"])
NEO_ALLOWED_FRAMEWORKS = set(["mxnet", "tensorflow", "keras", "pytorch", "onnx", "xgboost"])

NEO_IMAGE_ACCOUNT = {
"us-west-1": "710691900526",
Expand Down Expand Up @@ -322,8 +322,8 @@ def compile(
3 * 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', 'pytorch', 'onnx',
'xgboost'
model. Allowed values: 'mxnet', 'tensorflow', 'keras', 'pytorch',
'onnx', 'xgboost'
framework_version (str):

Returns:
Expand Down