ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

服务 · Machine Learning · 基于 AIF-C01

Amazon SageMaker Model Registry

Model groups and versions with approval status, lineage and sharing, for repeatable and auditable releases.

本课尚未翻译,暂以英文显示。

你在AI Practitioner中已学过

  • Model Registry catalogs model versions and their approval status.
  • A version is approved before it is deployed.
阅读AI Practitioner课程
Training pipeline
New model version
Status Approved
Deployment starts
  1. 1A pipeline registers each trained model as a new version.
  2. 2A person or a rule sets the status to Approved.
  3. 3The status change starts the deployment pipeline.
Approval is the switch between a trained model and a deployed one.
  • Model package group

    What it is
    All versions of one model
    Why it matters
    One place to compare and promote
  • Approval status

    What it is
    Pending, Approved, Rejected
    Why it matters
    A change starts deployment
  • Lineage and metrics

    What it is
    Data, code and job behind a version
    Why it matters
    Repeatability and audit
  • Resource policy

    What it is
    Share a group across accounts
    Why it matters
    Train in one account, deploy in another
  • MLflow registry

    What it is
    Managed MLflow model versions
    Why it matters
    Teams that track runs in MLflow
What the registry adds for audit and sharing.

1 / 2

  • Model package group

    What it is
    All versions of one model
    Why it matters
    One place to compare and promote
  • Approval status

    What it is
    Pending, Approved, Rejected
    Why it matters
    A change starts deployment
  • Lineage and metrics

    What it is
    Data, code and job behind a version
    Why it matters
    Repeatability and audit

2 / 2

  • Resource policy

    What it is
    Share a group across accounts
    Why it matters
    Train in one account, deploy in another
  • MLflow registry

    What it is
    Managed MLflow model versions
    Why it matters
    Teams that track runs in MLflow
What the registry adds for audit and sharing.

是什么

A model package group holds the versions of one model. Each version records the container image, the model artifacts in S3, the metrics and the inference setup. A version is created by a pipeline step, so every release is traceable to the data, code and job that made it. A version has an approval status: PendingManualApproval, Approved or Rejected.

是什么

The status drives delivery. With the SageMaker Projects templates, changing a version from PendingManualApproval to Approved starts the deployment pipeline. Changing the latest Approved version to Rejected redeploys the previous approved one. Without a template, an EventBridge rule on the model package state change event starts your own deployment. A pipeline can set the status itself, from a Condition step.

是什么

For audit, use lineage to trace a version back to its training data and job, and model cards for documentation. For sharing across accounts, attach a resource policy to the model package group so a production account can read and deploy the approved versions. Managed MLflow on SageMaker AI tracks experiments and has its own model registry, and registered MLflow models can also appear in SageMaker Model Registry.

要记住

  • A model package group holds versions. A version records image, artifacts and metrics.
  • Status: PendingManualApproval, Approved or Rejected.
  • Approved starts the deployment pipeline in a Projects template. A state change event can start your own.
  • Lineage traces a version to its data and job.

要记住

  • A resource policy shares a group with another account.
  • MLflow has its own registry, and models can be registered in SageMaker Model Registry.

考试中

  • “Deploy automatically after a person approves a model” points to the Approved status in Model Registry with an EventBridge rule or a Projects template.
  • “Prove which data trained the production model” points to Model Registry lineage.
  • “Let the production account use models trained in another account” points to a resource policy on the model package group.