Search is not available for this dataset
repo stringlengths 2 152 ⌀ | file stringlengths 15 239 | code stringlengths 0 58.4M | file_length int64 0 58.4M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 364
values |
|---|---|---|---|---|---|---|
pipelines | pipelines-master/components/PyTorch/pytorch-kfp-components/tests/test_mar_generation.py | #!/usr/bin/env/python3
# Copyright (c) Facebook, Inc. and its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 6,436 | 30.247573 | 115 | py |
pipelines | pipelines-master/components/PyTorch/pytorch-kfp-components/tests/test_minio.py | #!/usr/bin/env/python3
# Copyright (c) Facebook, Inc. and its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 4,548 | 33.203008 | 78 | py |
pipelines | pipelines-master/components/PyTorch/pytorch-kfp-components/tests/test_trainer.py | #!/usr/bin/env/python3
#
# Copyright (c) Facebook, Inc. and its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 7,264 | 34.788177 | 77 | py |
pipelines | pipelines-master/components/PyTorch/pytorch-kfp-components/tests/test_visualization.py | #!/usr/bin/env/python3
#
# Copyright (c) Facebook, Inc. and its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 12,133 | 36.220859 | 110 | py |
pipelines | pipelines-master/components/PyTorch/pytorch-kfp-components/tests/iris/__init__.py | 0 | 0 | 0 | py | |
pipelines | pipelines-master/components/PyTorch/pytorch-kfp-components/tests/iris/iris_classification.py | #!/usr/bin/env/python3
#
# Copyright (c) Facebook, Inc. and its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 3,086 | 29.564356 | 77 | py |
pipelines | pipelines-master/components/PyTorch/pytorch-kfp-components/tests/iris/iris_data_module.py | #!/usr/bin/env/python3
#
# Copyright (c) Facebook, Inc. and its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 3,471 | 28.675214 | 89 | py |
pipelines | pipelines-master/components/PyTorch/pytorch-kfp-components/tests/iris/iris_handler.py | #!/usr/bin/env/python3
#
# Copyright (c) Facebook, Inc. and its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 2,035 | 28.507246 | 79 | py |
pipelines | pipelines-master/components/PyTorch/pytorch-kfp-components/tests/iris/iris_pytorch.py | #!/usr/bin/env/python3
#
# Copyright (c) Facebook, Inc. and its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | 1,752 | 25.164179 | 74 | py |
pipelines | pipelines-master/components/aws/athena/query/component.yaml | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 1,679 | 42.076923 | 116 | yaml |
pipelines | pipelines-master/components/aws/athena/query/src/query.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 3,758 | 30.066116 | 113 | py |
pipelines | pipelines-master/components/aws/emr/common/__init__.py | 0 | 0 | 0 | py | |
pipelines | pipelines-master/components/aws/emr/common/_utils.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,634 | 29.294118 | 134 | py |
pipelines | pipelines-master/components/aws/emr/create_cluster/component.yaml | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 1,899 | 49 | 151 | yaml |
pipelines | pipelines-master/components/aws/emr/create_cluster/src/create_cluster.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 2,256 | 44.14 | 201 | py |
pipelines | pipelines-master/components/aws/emr/delete_cluster/component.yaml | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 1,173 | 40.928571 | 116 | yaml |
pipelines | pipelines-master/components/aws/emr/delete_cluster/src/delete_cluster.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 1,294 | 38.242424 | 97 | py |
pipelines | pipelines-master/components/aws/emr/submit_pyspark_job/component.yaml | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 1,721 | 42.05 | 82 | yaml |
pipelines | pipelines-master/components/aws/emr/submit_pyspark_job/src/submit_pyspark_job.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 2,524 | 37.257576 | 97 | py |
pipelines | pipelines-master/components/aws/emr/submit_spark_job/component.yaml | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 1,980 | 46.166667 | 188 | yaml |
pipelines | pipelines-master/components/aws/emr/submit_spark_job/src/submit_spark_job.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 2,706 | 38.808824 | 149 | py |
pipelines | pipelines-master/components/aws/sagemaker/CONTRIBUTING.md | # How to Contribute
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community.
Please read through this document before submitting any issues or pull requests to ensure we ... | 1,981 | 57.294118 | 410 | md |
pipelines | pipelines-master/components/aws/sagemaker/Changelog.md | # Change log for AWS SageMaker Components
The version of the AWS SageMaker Components is determined by the docker image tag used in YAML spec
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-kf... | 6,492 | 38.591463 | 362 | md |
pipelines | pipelines-master/components/aws/sagemaker/README.md | # Amazon SageMaker Components for Kubeflow Pipelines
## Summary
With Amazon SageMaker Components for Kubeflow Pipelines (KFP), you can create and monitor training, tuning, endpoint deployment, and batch transform jobs in Amazon SageMaker. By running Kubeflow Pipeline jobs on Amazon SageMaker, you move data processing ... | 10,444 | 67.267974 | 864 | md |
pipelines | pipelines-master/components/aws/sagemaker/v2.Dockerfile | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 804 | 25.833333 | 74 | Dockerfile |
pipelines | pipelines-master/components/aws/sagemaker/DataQualityJobDefinition/README.md | # SageMaker Data Quality Job Definition Kubeflow Pipelines component v2
## Overview
Component to create a definition for a job that monitors data quality and drift.
The component can be used with [Monitoring Schedule component](../MonitoringSchedule) to create a monitoring schedule that regularly starts Amazon SageMa... | 3,204 | 64.408163 | 452 | md |
pipelines | pipelines-master/components/aws/sagemaker/DataQualityJobDefinition/component.yaml | name: "Sagemaker - DataQualityJobDefinition"
description: Create DataQualityJobDefinition
inputs:
- {
name: region,
type: String,
description: "The region to use for the training job",
}
###########################GENERATED SECTION BELOW############################
- {
name: data_qu... | 3,809 | 29.48 | 133 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/DataQualityJobDefinition/src/DataQualityJobDefinition_component.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,235 | 30.61194 | 84 | py |
pipelines | pipelines-master/components/aws/sagemaker/DataQualityJobDefinition/src/DataQualityJobDefinition_spec.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 5,394 | 35.452703 | 138 | py |
pipelines | pipelines-master/components/aws/sagemaker/Endpoint/README.md | # SageMaker Endpoint Kubeflow Pipelines component v2
## Overview
Endpoint is one of the three components(along with EndpointConfig and Model) you would use to create a Hosting deployment on Sagemaker.
Component to create [SageMaker Endpoints](https://docs.aws.amazon.com/sagemaker/latest/dg/deploy-model.html) in a Ku... | 2,559 | 61.439024 | 420 | md |
pipelines | pipelines-master/components/aws/sagemaker/Endpoint/component.yaml | name: "Sagemaker - Endpoint"
description: Create Endpoint
inputs:
- {
name: region,
type: String,
description: "The region to use for the training job",
}
###########################GENERATED SECTION BELOW############################
- {
name: deployment_config,
type: JsonObje... | 3,066 | 27.663551 | 143 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/Endpoint/src/Endpoint_component.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 6,498 | 31.823232 | 142 | py |
pipelines | pipelines-master/components/aws/sagemaker/Endpoint/src/Endpoint_spec.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,454 | 34.07874 | 148 | py |
pipelines | pipelines-master/components/aws/sagemaker/EndpointConfig/README.md | # SageMaker Endpoint Config Kubeflow Pipelines component v2
## Overview
EndpointConfig is one of the three components(along with Endpoint and Model) you would use to create a Hosting deployment on Sagemaker.
Component to create [SageMaker Endpoint Configurations](https://docs.aws.amazon.com/sagemaker/latest/dg/deplo... | 3,345 | 51.28125 | 432 | md |
pipelines | pipelines-master/components/aws/sagemaker/EndpointConfig/component.yaml | name: "Sagemaker - EndpointConfig"
description: Create EndpointConfig
inputs:
- {
name: region,
type: String,
description: "The region to use for the training job",
}
###########################GENERATED SECTION BELOW############################
- {
name: async_inference_config,
... | 2,888 | 30.064516 | 223 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/EndpointConfig/src/EndpointConfig_component.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,183 | 29.764706 | 129 | py |
pipelines | pipelines-master/components/aws/sagemaker/EndpointConfig/src/EndpointConfig_spec.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,283 | 34.404959 | 227 | py |
pipelines | pipelines-master/components/aws/sagemaker/ModelBiasJobDefinition/README.md | # SageMaker Model Bias Job Definition Kubeflow Pipelines component v2
## Overview
Component to create the definition for a model bias job.
The component can be used with [Monitoring Schedule component](../MonitoringSchedule) to create a monitoring schedule that regularly starts Amazon SageMaker Processing Jobs to mon... | 3,618 | 57.370968 | 448 | md |
pipelines | pipelines-master/components/aws/sagemaker/ModelBiasJobDefinition/component.yaml | name: "Sagemaker - ModelBiasJobDefinition"
description: Create ModelBiasJobDefinition
inputs:
- {
name: region,
type: String,
description: "The region to use for the training job",
}
###########################GENERATED SECTION BELOW############################
- {
name: job_definit... | 3,745 | 28.968 | 133 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/ModelBiasJobDefinition/src/ModelBiasJobDefinition_component.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,185 | 30.238806 | 80 | py |
pipelines | pipelines-master/components/aws/sagemaker/ModelBiasJobDefinition/src/ModelBiasJobDefinition_spec.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 5,305 | 35.095238 | 138 | py |
pipelines | pipelines-master/components/aws/sagemaker/ModelExplainabilityJobDefinition/README.md | # SageMaker Model Explainability Job Definition Kubeflow Pipelines component v2
## Overview
Component to create the definition for a model explainability job.
The component can be used with [Monitoring Schedule component](../MonitoringSchedule) to create a monitoring schedule that regularly starts Amazon SageMaker Pr... | 3,237 | 76.095238 | 468 | md |
pipelines | pipelines-master/components/aws/sagemaker/ModelExplainabilityJobDefinition/component.yaml | name: "Sagemaker - ModelExplainabilityJobDefinition"
description: Create ModelExplainabilityJobDefinition
inputs:
- {
name: region,
type: String,
description: "The region to use for the training job",
}
###########################GENERATED SECTION BELOW############################
- {
... | 3,961 | 30.696 | 133 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/ModelExplainabilityJobDefinition/src/ModelExplainabilityJobDefinition_component.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,387 | 32.753846 | 132 | py |
pipelines | pipelines-master/components/aws/sagemaker/ModelExplainabilityJobDefinition/src/ModelExplainabilityJobDefinition_spec.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 5,610 | 36.912162 | 138 | py |
pipelines | pipelines-master/components/aws/sagemaker/ModelQualityJobDefinition/README.md | # SageMaker Model Quality Job Definition Kubeflow Pipelines component v2
## Overview
Component to creates a definition for a job that monitors model quality and drift.
The component can be used with [Monitoring Schedule component](../MonitoringSchedule) to create a monitoring schedule that regularly starts Amazon Sag... | 2,939 | 78.459459 | 454 | md |
pipelines | pipelines-master/components/aws/sagemaker/ModelQualityJobDefinition/component.yaml | name: "Sagemaker - ModelQualityJobDefinition"
description: Create ModelQualityJobDefinition
inputs:
- {
name: region,
type: String,
description: "The region to use for the training job",
}
###########################GENERATED SECTION BELOW############################
- {
name: job_d... | 3,814 | 29.52 | 133 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/ModelQualityJobDefinition/src/ModelQualityJobDefinition_component.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,260 | 30.798507 | 86 | py |
pipelines | pipelines-master/components/aws/sagemaker/ModelQualityJobDefinition/src/ModelQualityJobDefinition_spec.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 5,407 | 35.540541 | 138 | py |
pipelines | pipelines-master/components/aws/sagemaker/Modelv2/README.md | # SageMaker Model Kubeflow Pipelines component v2
## Overview
Model is one of the three components(along with Endpoint and EndpointConfig) you would use to create a Hosting deployment on Sagemaker.
Component to create [SageMaker Models](https://docs.aws.amazon.com/sagemaker/latest/dg/deploy-model.html) in a Kubeflow... | 3,136 | 52.169492 | 420 | md |
pipelines | pipelines-master/components/aws/sagemaker/Modelv2/component.yaml | name: "Sagemaker - Model"
description: Create Model
inputs:
- {
name: region,
type: String,
description: "The region to use for the training job",
}
###########################GENERATED SECTION BELOW############################
- {
name: containers,
type: JsonArray,
defa... | 3,344 | 29.688073 | 211 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/Modelv2/src/Model_component.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 3,860 | 28.25 | 111 | py |
pipelines | pipelines-master/components/aws/sagemaker/Modelv2/src/Model_spec.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,609 | 35.299213 | 216 | py |
pipelines | pipelines-master/components/aws/sagemaker/MonitoringSchedule/README.md | # SageMaker Monitoring Schedule Kubeflow Pipelines component v2
Component to create a monitoring schedule that regularly starts Amazon SageMaker Processing Jobs to monitor the data captured for an Amazon SageMaker Endpoint.
The component can be used alone or with one of 4 job definition components:
- [Data Quality Jo... | 3,360 | 69.020833 | 440 | md |
pipelines | pipelines-master/components/aws/sagemaker/MonitoringSchedule/component.yaml | name: "Sagemaker - MonitoringSchedule"
description: Create MonitoringSchedule
inputs:
- {
name: region,
type: String,
description: "The region to use for the training job",
}
###########################GENERATED SECTION BELOW############################
- {
name: monitoring_schedule... | 2,817 | 28.978723 | 117 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/MonitoringSchedule/src/MonitoringSchedule_component.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 6,295 | 31.791667 | 86 | py |
pipelines | pipelines-master/components/aws/sagemaker/MonitoringSchedule/src/MonitoringSchedule_spec.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 4,396 | 34.176 | 122 | py |
pipelines | pipelines-master/components/aws/sagemaker/TrainingJob/README.md | # SageMaker Training Kubeflow Pipelines component v2
Component to create [SageMaker Training jobs](https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works-training.html) in a Kubeflow Pipelines workflow.
## Overview
The Amazon SageMaker components for Kubeflow Pipelines version 1(v1.1.x or below) uses [Boto3 (... | 7,741 | 72.733333 | 893 | md |
pipelines | pipelines-master/components/aws/sagemaker/TrainingJob/component.yaml | name: "Sagemaker - TrainingJob"
description: Create TrainingJob
inputs:
- {
name: region,
type: String,
description: "The region to use for the training job",
}
###########################GENERATED SECTION BELOW############################
- {
name: algorithm_specification,
ty... | 8,538 | 31.101504 | 155 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/TrainingJob/samples/README.md | # Training Job Samples
The samples in this directory demonstrate how to create and monitor Training jobs on SageMaker in a Kubeflow Pipelines workflow.
## Prerequisites
1. Follow the instructions in the [getting started section](../README.md#getting-started) to setup the required configuration to ru... | 3,019 | 55.981132 | 385 | md |
pipelines | pipelines-master/components/aws/sagemaker/TrainingJob/samples/mnist-kmeans-training/README.md | # MNIST Classification with K-Means
The mnist-kmeans-pipeline.py sample runs a pipeline to train a classficiation model using Kmeans with MNIST dataset on SageMaker. This example was taken from an existing [SageMaker example](https://github.com/aws/amazon-sagemaker-examples/blob/8279abfcc78bad091608a4a7135e50a0bd0ec8b... | 2,313 | 55.439024 | 427 | md |
pipelines | pipelines-master/components/aws/sagemaker/TrainingJob/samples/mnist-kmeans-training/mnist-kmeans-training-pipeline.py | #!/usr/bin/env python3
import kfp
from kfp import components
from kfp import dsl
import os
import random
# Training job component, path is relative from this directory.
sagemaker_training_op = components.load_component_from_file("../../component.yaml")
# This section initializes complex data structures that will be u... | 3,044 | 30.71875 | 150 | py |
pipelines | pipelines-master/components/aws/sagemaker/TrainingJob/samples/mnist-kmeans-training/s3-sample-data-creator.py | import pickle, gzip, numpy
import os
import boto3
# If you are gonna use the default values of the pipeline then
# give a bucket name which is in us-east-1 region
bucket = os.getenv("S3_BUCKET_NAME", None)
if not bucket:
raise Exception("S3_BUCKET_NAME not exported")
# Load the dataset
s3 = boto3.client("s3")
s3... | 1,823 | 34.764706 | 86 | py |
pipelines | pipelines-master/components/aws/sagemaker/TrainingJob/src/TrainingJob_component.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 9,430 | 35.1341 | 185 | py |
pipelines | pipelines-master/components/aws/sagemaker/TrainingJob/src/TrainingJob_spec.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 10,301 | 40.373494 | 160 | py |
pipelines | pipelines-master/components/aws/sagemaker/batch_transform/README.md | # SageMaker Batch Transform Kubeflow Pipeline component
## Summary
Component to get inferences for an entire dataset in SageMaker from a Kubeflow Pipelines workflow.
## Details
With [batch transform](https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works-batch.html), you create a batch transform job using a tra... | 10,573 | 106.897959 | 598 | md |
pipelines | pipelines-master/components/aws/sagemaker/batch_transform/component.yaml | name: SageMaker - Batch Transformation
description: Batch Transformation Jobs in SageMaker
inputs:
- {name: region, type: String, description: The region for the SageMaker resource.}
- {name: endpoint_url, type: String, description: The URL to use when communicating
with the SageMaker service., default: ''}
- {name... | 5,379 | 45.782609 | 92 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/batch_transform/src/sagemaker_transform_component.py | """SageMaker component for transform."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 7,082 | 34.064356 | 186 | py |
pipelines | pipelines-master/components/aws/sagemaker/batch_transform/src/sagemaker_transform_spec.py | """Specification for the SageMaker transform component."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 7,987 | 35.309091 | 149 | py |
pipelines | pipelines-master/components/aws/sagemaker/codebuild/deploy.buildspec.yml | version: 0.2
env:
variables:
DOCKER_BUILDKIT: "1"
phases:
pre_build:
commands:
# Log in to Dockerhub
- aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/kubeflow-on-aws
build:
commands:
- cd components/aws/sagemaker... | 396 | 23.8125 | 138 | yml |
pipelines | pipelines-master/components/aws/sagemaker/codebuild/integration-test.buildspec.yml | version: 0.2
env:
variables:
CONTAINER_VARIABLES: "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI EKS_PRIVATE_SUBNETS EKS_PUBLIC_SUBNETS PYTEST_MARKER PYTEST_ADDOPTS S3_DATA_BUCKET EKS_EXISTING_CLUSTER SAGEMAKER_EXECUTION_ROLE_ARN REGION SKIP_FSX_TESTS ROBOMAKER_EXECUTION_ROLE_ARN"
phases:
pre_build:
comman... | 1,407 | 41.666667 | 249 | yml |
pipelines | pipelines-master/components/aws/sagemaker/codebuild/unit-test.buildspec.yml | version: 0.2
phases:
pre_build:
commands:
- aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
build:
commands:
- docker build . -f ./components/aws/sagemaker/tests/unit_tests/Dockerfile -t amazon/unit-test-image --quiet
... | 806 | 34.086957 | 122 | yml |
pipelines | pipelines-master/components/aws/sagemaker/codebuild/scripts/construct_environment_array.sh | #!/usr/bin/env bash
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# dist... | 1,000 | 46.666667 | 80 | sh |
pipelines | pipelines-master/components/aws/sagemaker/codebuild/scripts/deploy.sh | #!/usr/bin/env bash
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# dist... | 3,562 | 31.099099 | 121 | sh |
pipelines | pipelines-master/components/aws/sagemaker/codebuild/scripts/push_stats_to_cloudwatch.py | import boto3
from datetime import datetime
import xml.etree.ElementTree as ET
import os
xml_path = "./integration_tests.xml"
def readXML_and_publish_metrics_to_cw():
if os.path.isfile(xml_path):
tree = ET.parse(xml_path)
testsuite = tree.find("testsuite")
failures = testsuite.attrib["fai... | 2,966 | 28.376238 | 74 | py |
pipelines | pipelines-master/components/aws/sagemaker/common/__init__.py | 0 | 0 | 0 | py | |
pipelines | pipelines-master/components/aws/sagemaker/common/boto3_manager.py | """Class for managing boto3 sessions."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 6,424 | 33.358289 | 87 | py |
pipelines | pipelines-master/components/aws/sagemaker/common/common_inputs.py | """Defines common spec input and output classes."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 4,840 | 30.435065 | 119 | py |
pipelines | pipelines-master/components/aws/sagemaker/common/component_compiler.py | """Compiler for SageMaker component files into YAML."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 11,264 | 35.934426 | 98 | py |
pipelines | pipelines-master/components/aws/sagemaker/common/generate_components.py | #!/usr/bin/env python3
"""A command line tool for generating component specification files."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#... | 4,899 | 30.818182 | 105 | py |
pipelines | pipelines-master/components/aws/sagemaker/common/sagemaker_component.py | """Base class for all SageMaker components."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | 19,942 | 32.349498 | 104 | py |
pipelines | pipelines-master/components/aws/sagemaker/common/sagemaker_component_spec.py | """SageMakerComponentSpec for defining inputs/outputs for
SageMakerComponents."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... | 6,575 | 33.25 | 99 | py |
pipelines | pipelines-master/components/aws/sagemaker/common/spec_input_parsers.py | """Custom argument parser validators for SageMaker components."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 2,287 | 34.2 | 88 | py |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/endpoint_config.template.yaml | EndpointConfigName: ''
ProductionVariants:
- VariantName: 'variant-name-1'
ModelName: ''
InitialInstanceCount: 1
InstanceType: 'ml.m4.xlarge'
InitialVariantWeight: 1.0
AcceleratorType: ''
- VariantName: 'variant-name-2'
ModelName: ''
InitialInstanceCount: 1
InstanceType: 'ml.m4.xlarg... | 566 | 23.652174 | 33 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/gt.template.yaml | LabelingJobName: ''
LabelAttributeName: ''
InputConfig:
DataSource:
S3DataSource:
ManifestS3Uri: ''
DataAttributes:
ContentClassifiers: []
OutputConfig:
S3OutputPath: ''
KmsKeyId: ''
RoleArn: ''
LabelCategoryConfigS3Uri: ''
StoppingConditions:
MaxHumanLabeledObjectCount: 1
MaxPercentageOfInput... | 982 | 22.404762 | 42 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/hpo.template.yaml | HyperParameterTuningJobName: ''
HyperParameterTuningJobConfig:
Strategy: ''
HyperParameterTuningJobObjective:
Type: ''
MetricName: ''
ResourceLimits:
MaxNumberOfTrainingJobs: 0
MaxParallelTrainingJobs: 0
ParameterRanges:
IntegerParameterRanges: []
ContinuousParameterRanges: []
Catego... | 1,138 | 22.729167 | 46 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/model.template.yaml | ModelName: ''
PrimaryContainer:
ContainerHostname: ''
Image: ''
ModelDataUrl: ''
Environment: {}
ModelPackageName: ''
Containers: []
ExecutionRoleArn: ''
Tags: []
VpcConfig:
SecurityGroupIds: []
Subnets: []
EnableNetworkIsolation: True
| 250 | 15.733333 | 28 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/process.template.yaml | ProcessingJobName: ''
ProcessingInputs: []
ProcessingOutputConfig:
Outputs: []
KmsKeyId: ''
RoleArn: ''
ProcessingResources:
ClusterConfig:
InstanceType: ''
InstanceCount: 1
VolumeSizeInGB: 1
VolumeKmsKeyId: ''
NetworkConfig:
EnableInterContainerTrafficEncryption: False
EnableNetworkIsolation:... | 537 | 19.692308 | 46 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/robomaker.create.simulation.app.template.yaml | name: ''
sources:
s3Bucket:
s3Key:
architecture:
simulationSoftwareSuite:
name: ''
version: ''
robotSoftwareSuite:
name: ''
version: ''
renderingEngine:
name: ''
version: ''
tags: {}
| 201 | 11.625 | 24 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/robomaker.delete.simulation.app.template.yaml | application: ''
applicationVersion: ''
| 39 | 12.333333 | 22 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/robomaker.simulation.job.batch.template.yaml | batchPolicy:
timeoutInSeconds:
maxConcurrency:
createSimulationJobRequests: []
tags: {}
| 92 | 14.5 | 31 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/robomaker.simulation.job.template.yaml | outputLocation:
s3Bucket:
s3Prefix:
loggingConfig:
recordAllRosTopics: False
maxJobDurationInSeconds: 28800
iamRole: ''
failureBehavior: 'Fail'
robotApplications: []
simulationApplications: []
dataSources: []
vpcConfig:
subnets: []
securityGroups: []
assignPublicIp: False
compute:
simulationUnitLimit: 15
... | 329 | 16.368421 | 30 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/train.template.yaml | TrainingJobName: ''
HyperParameters: {}
AlgorithmSpecification:
TrainingImage: ''
AlgorithmName: ''
TrainingInputMode: ''
MetricDefinitions: []
RoleArn: ''
InputDataConfig: []
OutputDataConfig:
KmsKeyId: ''
S3OutputPath: ''
ResourceConfig:
InstanceType: ''
InstanceCount: 1
VolumeSizeInGB: 1
VolumeKm... | 667 | 19.242424 | 44 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/transform.template.yaml | TransformJobName: ''
ModelName: ''
MaxConcurrentTransforms: 0
MaxPayloadInMB: 6
BatchStrategy: ''
Environment: {}
TransformInput:
DataSource:
S3DataSource:
S3DataType: 'S3Prefix'
S3Uri: ''
ContentType: ''
CompressionType: 'None'
SplitType: 'None'
TransformOutput:
S3OutputPath: ''
Accept: ''
... | 520 | 16.965517 | 28 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/common/templates/workteam.template.yaml | WorkteamName: ''
MemberDefinitions: []
Description: ''
NotificationConfiguration:
NotificationTopicArn: ''
Tags: []
| 118 | 16 | 26 | yaml |
pipelines | pipelines-master/components/aws/sagemaker/commonv2/__init__.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 1,389 | 41.121212 | 137 | py |
pipelines | pipelines-master/components/aws/sagemaker/commonv2/common_inputs.py | """Defines common spec input and output classes."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 2,884 | 27.564356 | 88 | py |
pipelines | pipelines-master/components/aws/sagemaker/commonv2/sagemaker_component.py | """Base class for all SageMaker components."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | 30,784 | 34.754936 | 206 | py |
pipelines | pipelines-master/components/aws/sagemaker/commonv2/sagemaker_component_spec.py | """SageMakerComponentSpec for defining inputs/outputs for
SageMakerComponents."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... | 6,596 | 33.359375 | 99 | py |
pipelines | pipelines-master/components/aws/sagemaker/commonv2/spec_input_parsers.py | """Custom argument parser validators for SageMaker components."""
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 2,065 | 35.245614 | 88 | py |