- 新しい順
- 投票が多い順
- コメントが多い順
Hi,
AWS SageMaker list-models ( see https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sagemaker/list-models.html for CLI version - See https://boto3.amazonaws.com/v1/documentation/api/1.26.98/reference/services/sagemaker/client/list_models.html for Python) will allow you to list all models.
There is a sort-by parameter with which you can sort by creationTime.
Re. update, you can add you new model and remove the oldest one by following https://docs.aws.amazon.com/sagemaker/latest/dg/add-models-to-endpoint.html
If you need to be more sophisticated (blue/green deployment, etc.), please follow https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateEndpoint.html
Finally, best practices for model deployment: https://docs.aws.amazon.com/sagemaker/latest/dg/deployment-best-practices.html
Best,
Didier
関連するコンテンツ
- AWS公式更新しました 1年前
How to 'automatically' implement this? In other words, how would the deployment pipeline know that a recent model has appeared in model registry?
Re. update, how to replace the first version with the second (I don't want two models at a time in the endpoint)?
Hi, you pipeline (after it created a new model) has to list the models active behind the endpoint. Then, using the creation time of such models, the pipeline removes the oldest model and replaces it with the newly created one.