feat(components): SageMaker V2 model monitor component release (#9368)

* Generate using updated generator

* Update license version

* Update container image version

* Update Changelog.md

* Update changelog

* Update Changelog.md
This commit is contained in:
rd-pong 2023-05-09 15:26:42 -07:00 committed by GitHub
parent a207980feb
commit 29444f905c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 26 additions and 18 deletions

View File

@ -4,6 +4,14 @@ The version of the AWS SageMaker Components is determined by the docker image ta
Repository: [Public ECR](https://gallery.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components) or [Dockerhub](https://hub.docker.com/repository/docker/amazon/aws-sagemaker-kfp-components). New releases after v1.1.1 will be using the public ECR repository
---------------------------------------------
** Change log for version 2.3.0 **
- Introducing SageMaker Model Monitor components v2. This release includes [Monitoring Schedule](./MonitoringSchedule/), [DataQualityJobDefinition](./DataQualityJobDefinition/), [ModelQualityJobDefinition](./ModelQualityJobDefinition/), [ModelExplainabilityJobDefinition](./ModelExplainabilityJobDefinition/), [ModelBiasJobDefinition](./ModelBiasJobDefinition/).
> Pull request : [#9253](https://github.com/kubeflow/pipelines/pull/9253), [#9368](https://github.com/kubeflow/pipelines/pull/9368)
Note: [#9253](https://github.com/kubeflow/pipelines/pull/9253) was merged accidentally with image pointing to an unofficial repository. Please do not pin to the commit corresponding to this PR.
** Change log for version 2.2.1 **
- Fix: Path issue with git clone on macbook. Directory name for version 2 of Model component has been updated from `components/aws/sagemaker/Model` to `components/aws/sagemaker/Modelv2`.
> Pull request : [#9331](https://github.com/kubeflow/pipelines/pull/9331)

View File

@ -92,7 +92,7 @@ outputs:
implementation:
container:
image: rdpen/test-modelmoni:31
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.3.0
command: [python3]
args:
- DataQualityJobDefinition/src/DataQualityJobDefinition_component.py

View File

@ -86,7 +86,7 @@ outputs:
implementation:
container:
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.2.1
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.3.0
command: [python3]
args:
- Endpoint/src/Endpoint_component.py

View File

@ -44,8 +44,8 @@ class SageMakerEndpointComponent(SageMakerComponent):
############GENERATED SECTION BELOW############
self.job_name = spec.inputs.endpoint_name = (
spec.inputs.endpoint_name # todo: need customize
if spec.inputs.endpoint_name # todo: need customize
spec.inputs.endpoint_name
if spec.inputs.endpoint_name
else SageMakerComponent._generate_unique_timestamped_id(prefix="endpoint")
)

View File

@ -68,7 +68,7 @@ outputs:
implementation:
container:
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.2.1
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.3.0
command: [python3]
args:
- EndpointConfig/src/EndpointConfig_component.py

View File

@ -44,8 +44,8 @@ class SageMakerEndpointConfigComponent(SageMakerComponent):
############GENERATED SECTION BELOW############
self.job_name = spec.inputs.endpoint_config_name = (
spec.inputs.endpoint_config_name # todo: need customize
if spec.inputs.endpoint_config_name # todo: need customize
spec.inputs.endpoint_config_name
if spec.inputs.endpoint_config_name
else SageMakerComponent._generate_unique_timestamped_id(
prefix="endpoint-config"
)

View File

@ -92,7 +92,7 @@ outputs:
implementation:
container:
image: rdpen/test-modelmoni:31
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.3.0
command: [python3]
args:
- ModelBiasJobDefinition/src/ModelBiasJobDefinition_component.py

View File

@ -92,7 +92,7 @@ outputs:
implementation:
container:
image: rdpen/test-modelmoni:31
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.3.0
command: [python3]
args:
- ModelExplainabilityJobDefinition/src/ModelExplainabilityJobDefinition_component.py

View File

@ -92,7 +92,7 @@ outputs:
implementation:
container:
image: rdpen/test-modelmoni:31
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.3.0
command: [python3]
args:
- ModelQualityJobDefinition/src/ModelQualityJobDefinition_component.py

View File

@ -80,7 +80,7 @@ outputs:
implementation:
container:
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.2.1
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.3.0
command: [python3]
args:
- Modelv2/src/Model_component.py

View File

@ -44,8 +44,8 @@ class SageMakerModelComponent(SageMakerComponent):
############GENERATED SECTION BELOW############
self.job_name = spec.inputs.model_name = (
spec.inputs.model_name # todo: need customize
if spec.inputs.model_name # todo: need customize
spec.inputs.model_name
if spec.inputs.model_name
else SageMakerComponent._generate_unique_timestamped_id(prefix="model")
)

View File

@ -75,7 +75,7 @@ outputs:
implementation:
container:
image: rdpen/test-modelmoni:31
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.3.0
command: [python3]
args:
- MonitoringSchedule/src/MonitoringSchedule_component.py

View File

@ -1,4 +1,4 @@
** Amazon SageMaker Components for Kubeflow Pipelines; version 2.2.1 --
** Amazon SageMaker Components for Kubeflow Pipelines; version 2.3.0 --
https://github.com/kubeflow/pipelines/tree/master/components/aws/sagemaker
Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
** pathlib2; version 2.3.5 --

View File

@ -209,7 +209,7 @@ outputs:
implementation:
container:
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.2.1
image: public.ecr.aws/kubeflow-on-aws/aws-sagemaker-kfp-components:2.3.0
command: [python3]
args:
- TrainingJob/src/TrainingJob_component.py

View File

@ -44,8 +44,8 @@ class SageMakerTrainingJobComponent(SageMakerComponent):
############GENERATED SECTION BELOW############
self.job_name = spec.inputs.training_job_name = (
spec.inputs.training_job_name # todo: need customize
if spec.inputs.training_job_name # todo: need customize
spec.inputs.training_job_name
if spec.inputs.training_job_name
else SageMakerComponent._generate_unique_timestamped_id(
prefix="training-job"
)