Skip to content

Commit e3f697a

Browse files
mohamedzeidan2021Mohamed Zeidan
andauthored
changed endpoint name from value user has to manually insert to placeholder value (#206)
Co-authored-by: Mohamed Zeidan <[email protected]>
1 parent 63ff3b4 commit e3f697a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sagemaker/hyperpod/inference/jumpstart_public_hub_visualization_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,16 @@ def _generate_deployment_config(self, model_id):
225225
226226
{types_comment}
227227
228-
# Create configs - REPLACE PLACEHOLDER VALUE BELOW
228+
# Create configs
229229
model = Model(
230230
model_id='{model_id}',
231231
)
232232
server = Server(
233233
instance_type='{instance_type}',
234234
)
235-
endpoint_name = SageMakerEndpoint(name='ENTER-YOUR-ENDPOINT-NAME')
235+
236+
# Default endpoint name using model_id, modify as desired
237+
endpoint_name = SageMakerEndpoint(name='{model_id}')
236238
237239
# Create endpoint spec
238240
js_endpoint = HPJumpStartEndpoint(

0 commit comments

Comments
 (0)