Deploying SageMaker models using CI/CD

0

My project needs to use CI/CD pipeline to run containers to train models and deploy it? Looking for an automated approach to accomplish this ?

已提问 1 年前337 查看次数
3 回答
0
已接受的回答

in addition to _takanash

i can give you following link to crate your pipeline

https://www.edlitera.com/blog/posts/aws-sagemaker-ci-cd-pipelines

in summary

  • You'll need to create a SageMaker Studio instance, enable SageMaker project templates, and create a new user that uses the same role as the Studio instance. Note that if you didn't set up your Studio to allow project templates in the beginning, you won't be able to use these templates​.
  • SageMaker Studio provides three different templates: "MLOps template for model deployment", "MLOps template for model building and training", and "MLOps template for model building, training, and deployment". You should select the template that includes model building, model training, and model deployment, which allows you to look at and analyze an example of a complete end-to-end workflow​1​.
  • Once you create a new project, SageMaker creates two repositories for model building and model deployment. You should clone both repositories, which contain all the artifacts needed to create a full end-to-end workflow​1​.
  • You write individual steps, define those steps with parameters, and afterward connect the steps in a specified order to create a pipeline​1​.
  • This can be separated into two parts. First, you need to define the processor and afterward the processing step itself​1​.
  • First, you need to define the model you are going to use alongside the parameters of that model. Afterward, you need to define the step itself​1​.
  • Once the model is trained, you should register it. This is done in a similar way to how you define the previous steps. You need to define the model you are going to use, alongside the parameters of that model. Then you need to define the step itself. Unfortunately, the specifics of this step were not visible in the source I found.
profile picture
专家
已回答 1 年前
profile picture
专家
已审核 1 年前
0
profile picture
专家
已回答 1 年前
profile picture
专家
已审核 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则