Preview Flyte 2 for productionHosted on Union.ai
Dgxc-lepton

Dgxc-lepton

flytekitplugins-dgxc-lepton

FlytekitModel Servingnvidiadgxleptongpu

A professional Flytekit plugin that enables seamless deployment and management of AI inference endpoints using Lepton AI infrastructure within Flyte workflows.

Install
pip install flytekitplugins-dgxc-lepton

Quick Start(example, may need adjustment)

pip install flytekitplugins-dgxc-lepton

from flytekit import task, workflow
from flytekitplugins.dgxc_lepton import lepton_endpoint_deployment_task, lepton_endpoint_deletion_task, LeptonEndpointConfig, LeptonEndpointDeploymentTask

@task
def my_task() -> None:
    lepton_endpoint_deployment_task(...)

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

Available Imports (11)

tasklepton_endpoint_deployment_task

Task for Dgxc-lepton.

from flytekitplugins.dgxc_lepton import lepton_endpoint_deployment_task

tasklepton_endpoint_deletion_task

Task for Dgxc-lepton.

from flytekitplugins.dgxc_lepton import lepton_endpoint_deletion_task

configLeptonEndpointConfig

Complete configuration for Lepton AI endpoint deployment.

extends dataclass — configuration or data structure for plugin setup

from flytekitplugins.dgxc_lepton import LeptonEndpointConfig

taskLeptonEndpointDeploymentTask

Task for Dgxc-lepton.

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

from flytekitplugins.dgxc_lepton import LeptonEndpointDeploymentTask

taskLeptonEndpointDeletionTask

Task for Dgxc-lepton.

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

from flytekitplugins.dgxc_lepton import LeptonEndpointDeletionTask

enumEndpointType

Supported endpoint types for Lepton AI.

extends Enum — enumeration of predefined options

from flytekitplugins.dgxc_lepton import EndpointType

configEnvironmentConfig

Unified environment variable configuration for Lepton deployments.

extends dataclass — configuration or data structure for plugin setup

from flytekitplugins.dgxc_lepton import EnvironmentConfig

configMountReader

Mount configuration for Lepton deployments.

extends dataclass — configuration or data structure for plugin setup

from flytekitplugins.dgxc_lepton import MountReader

configScalingConfig

Unified scaling configuration that enforces only one scaling type.

extends dataclass — configuration or data structure for plugin setup

from flytekitplugins.dgxc_lepton import ScalingConfig

enumScalingType

Supported scaling types for Lepton AI.

extends Enum — enumeration of predefined options

from flytekitplugins.dgxc_lepton import ScalingType

configEndpointEngineConfig

Unified endpoint configuration that enforces only one endpoint type.

extends dataclass — configuration or data structure for plugin setup

from flytekitplugins.dgxc_lepton import EndpointEngineConfig

Dependencies

leptonai

Related Plugins

Package Info

Min Flytekit1.9.1
Modules11

Downloads

Last day1
Last week14
Last month171

Contributors