I deployed a huggingface model onto Sagemaker directly from the huggingface model hub like below.
I’m now wondering what happens if I update the model on the huggingface hub? Will my sagemaker endpoint automatically update to start using the new model or do i have to go through some sort of redeployment?
huggingface_model = HuggingFaceModel(
env=hub, #includes Huggingface model ID
role=role,
transformers_version="4.6",
pytorch_version="1.7",
# framework_version="2.2.0",
py_version="py36",
)
predictor = huggingface_model.deploy(
initial_instance_count=1,
instance_type="ml.m5.xlarge"
)