Skip to content

Commit 86d497b

Browse files
authored
Resolve invalid combination of endpoint config options (#4659)
This resolves the error: "ManagedInstanceScaling is not supported with the given EndpointConfig setup."
1 parent ad12bf3 commit 86d497b

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

app/grandchallenge/components/backends/amazon_sagemaker_endpoint.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,6 @@ def create_endpoint_config(self):
166166
"InitialInstanceCount": 1,
167167
"InitialVariantWeight": 1,
168168
"InstanceType": self._instance_type.name,
169-
"ManagedInstanceScaling": {
170-
"MaxInstanceCount": 1,
171-
"MinInstanceCount": 1,
172-
"Status": "ENABLED",
173-
},
174169
"ModelName": self._endpoint_name,
175170
"VolumeSizeInGB": self._required_volume_size_gb,
176171
}

app/tests/components_tests/test_amazon_sagemaker_endpoint_backend.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,6 @@ def test_endpoint_create_endpoint_config(settings):
226226
"InitialInstanceCount": 1,
227227
"InitialVariantWeight": 1,
228228
"InstanceType": orchestrator._instance_type.name,
229-
"ManagedInstanceScaling": {
230-
"MaxInstanceCount": 1,
231-
"MinInstanceCount": 1,
232-
"Status": "ENABLED",
233-
},
234229
"ModelName": endpoint.endpoint_name,
235230
"VolumeSizeInGB": orchestrator._required_volume_size_gb,
236231
}

0 commit comments

Comments
 (0)