Skip to content

Commit e626647

Browse files
authored
Pass kwargs to HuggingFaceModel.deploy() (#4881)
1 parent 66d5fdf commit e626647

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/sagemaker/huggingface/model.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,7 @@ def deploy(
334334
container_startup_health_check_timeout=container_startup_health_check_timeout,
335335
inference_recommendation_id=inference_recommendation_id,
336336
explainer_config=explainer_config,
337-
endpoint_logging=kwargs.get("endpoint_logging", False),
338-
endpoint_type=kwargs.get("endpoint_type", None),
339-
resources=kwargs.get("resources", None),
340-
managed_instance_scaling=kwargs.get("managed_instance_scaling", None),
341-
routing_config=kwargs.get("routing_config", None),
337+
**kwargs,
342338
)
343339

344340
def register(

0 commit comments

Comments
 (0)