Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: update_endpoint is a no-op in sagemaker>=2. See: https://sagemaker.readthedocs.io/en/stable/v2.html for details. #157

Closed
kartik-binzade opened this issue Jan 31, 2023 · 1 comment

Comments

@kartik-binzade
Copy link

How can we solve this error please guide us.

Error: update_endpoint is a no-op in sagemaker>=2.
See: https://sagemaker.readthedocs.io/en/stable/v2.html for details.

deploy your model in SageMaker and create Real-time inference endpoint:

from tensorflow.keras import backend
from sagemaker.tensorflow.model import TensorFlowModel
role = 'arn:aws:iam::ID:role/AmazonSageMaker-ExecutionRole-.........'
sagemaker_model = TensorFlowModel(model_data='s3://sagemaker-ap-south-1-ID/model/model.tar.gz',
role = role,
framework_version = '1.12',
entry_point = 'train.py')

%%time
predictor = sagemaker_model.deploy(initial_instance_count=1,
instance_type='ml.t3.medium')
print("Success!")
predictor.endpoint

@jeffheaton
Copy link
Owner

Apologies but I really do not have the bandwidth to help with individual issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants