Preview Flyte 2 for productionHosted on Union.ai
AWS SageMaker

AWS SageMaker

flytekitplugins-awssagemaker

FlytekitCloud & Infrastructureawssagemakermltraining

The plugin currently features a SageMaker deployment connector.

Install
pip install flytekitplugins-awssagemaker

Quick Start(example, may need adjustment)

See full examples
pip install flytekitplugins-awssagemaker

from flytekit import task, workflow
from flytekitplugins.awssagemaker_inference import BotoConnector, BotoConfig, BotoTask, SageMakerEndpointConnector

@task(task_config=BotoTask(...))
def my_task() -> None:
    ...

@workflow
def my_workflow() -> None:
    my_task()

Available Imports (6)

connectorBotoConnector

A general purpose boto3 connector that can be used to call any boto3 method.

from flytekitplugins.awssagemaker_inference import BotoConnector

configBotoConfig

Configuration type for AWS SageMaker.

extends dataclass — configuration or data structure for plugin setup

from flytekitplugins.awssagemaker_inference import BotoConfig

taskBotoTask

Task for AWS SageMaker.

extends PythonTask — a flyte task that can be used in workflows

from flytekitplugins.awssagemaker_inference import BotoTask

connectorSageMakerEndpointConnector

This connector creates an endpoint.

from flytekitplugins.awssagemaker_inference import SageMakerEndpointConnector

taskcreate_sagemaker_deployment

Task for AWS SageMaker.

from flytekitplugins.awssagemaker_inference import create_sagemaker_deployment

taskdelete_sagemaker_deployment

Task for AWS SageMaker.

from flytekitplugins.awssagemaker_inference import delete_sagemaker_deployment

Dependencies

aioboto3xxhash

Related Plugins

Package Info

Min Flytekit1.14.6
Modules6

Downloads

Last day7
Last week79
Last month1,442