forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AWS Sagemaker] aws-samples kmeans-hpo pipeline test (kubeflow#3905)
* aws-samples kmeans-hpo pipeline test - code clean up - removed unused args * add test dependency * Trigger Build
- Loading branch information
Showing
16 changed files
with
67 additions
and
59 deletions.
There are no files selected for viewing
2 changes: 0 additions & 2 deletions
2
...nents/aws/sagemaker/tests/integration_tests/component_tests/test_groundtruth_component.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,6 @@ dependencies: | |
- kfp==0.5.* | ||
- minio==5.0.10 | ||
- sagemaker==1.56.* | ||
- ruamel.yaml==0.16.* | ||
|
||
|
31 changes: 31 additions & 0 deletions
31
...emaker/tests/integration_tests/resources/config/aws-samples-hpo-spot-training/config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
PipelineDefinition: ../../../../../samples/contrib/aws-samples/mnist-kmeans-sagemaker/kmeans-hpo-pipeline.py | ||
TestName: aws-samples-hpo-spot-training | ||
Timeout: 7200 | ||
ExpectedTrainingImage: ((KMEANS_REGISTRY)).dkr.ecr.((REGION)).amazonaws.com/kmeans:1 | ||
Arguments: | ||
job_name: HPO-kmeans-sample | ||
region: ((REGION)) | ||
channels: | ||
- ChannelName: train | ||
DataSource: | ||
S3DataSource: | ||
S3Uri: s3://((DATA_BUCKET))/mnist_kmeans_example/train_data | ||
S3DataType: S3Prefix | ||
S3DataDistributionType: FullyReplicated | ||
CompressionType: None | ||
RecordWrapperType: None | ||
InputMode: File | ||
- ChannelName: test | ||
DataSource: | ||
S3DataSource: | ||
S3Uri: s3://((DATA_BUCKET))/mnist_kmeans_example/test_data | ||
S3DataType: S3Prefix | ||
S3DataDistributionType: FullyReplicated | ||
CompressionType: None | ||
RecordWrapperType: None | ||
InputMode: File | ||
output_location: s3://((DATA_BUCKET))/mnist_kmeans_example/output | ||
spot_instance: True | ||
checkpoint_config: | ||
S3Uri: s3://((DATA_BUCKET))/mnist_kmeans_example/output/checkpoints/ | ||
role_arn: ((ROLE_ARN)) |
2 changes: 1 addition & 1 deletion
2
...ker/tests/integration_tests/resources/config/image-classification-groundtruth/config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ts/aws/sagemaker/tests/integration_tests/resources/definition/create_endpoint_pipeline.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...nents/aws/sagemaker/tests/integration_tests/resources/definition/create_model_pipeline.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
components/aws/sagemaker/tests/integration_tests/resources/definition/hpo_pipeline.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ents/aws/sagemaker/tests/integration_tests/resources/definition/transform_job_pipeline.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters