Skip to content

Commit

Permalink
Pass kwargs to HuggingFaceModel.deploy()
Browse files Browse the repository at this point in the history
  • Loading branch information
pintaoz-aws committed Oct 1, 2024
1 parent 66d5fdf commit 1c652f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/sagemaker/huggingface/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,7 @@ def deploy(
container_startup_health_check_timeout=container_startup_health_check_timeout,
inference_recommendation_id=inference_recommendation_id,
explainer_config=explainer_config,
endpoint_logging=kwargs.get("endpoint_logging", False),
endpoint_type=kwargs.get("endpoint_type", None),
resources=kwargs.get("resources", None),
managed_instance_scaling=kwargs.get("managed_instance_scaling", None),
routing_config=kwargs.get("routing_config", None),
**kwargs,
)

def register(
Expand Down

0 comments on commit 1c652f1

Please sign in to comment.