Preview Flyte 2 for productionHosted on Union.ai

This is the Flyte SDK (v2) version of this plugin. The Flytekit version is available as flytekitplugins-mlflow.

MLflow tracking

MLflow tracking

flyteplugins-mlflow

Flyte SDK (v2)Developer Toolsmlflow

MLflow tracking plugin for Flyte

Install
pip install flyteplugins-mlflow

Quick Start(example, may need adjustment)

pip install flyteplugins-mlflow

from flytekit import task, workflow
from flyteplugins.mlflow import mlflow_run, get_mlflow_run, mlflow_config, Mlflow

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

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

Available Imports (5)

taskmlflow_run

Task for MLflow tracking.

from flyteplugins.mlflow import mlflow_run

taskget_mlflow_run

Get the current MLflow run if within a `@mlflow_run` decorated task or trace.

from flyteplugins.mlflow import get_mlflow_run

configmlflow_config

Configuration type for MLflow tracking.

from flyteplugins.mlflow import mlflow_config

configMlflow

MLflow UI link for Flyte tasks.

extends dataclass — configuration or data structure for plugin setup

from flyteplugins.mlflow import Mlflow

taskget_mlflow_context

Retrieve current MLflow configuration from Flyte context.

from flyteplugins.mlflow import get_mlflow_context

Dependencies

mlflow

Related Plugins

Package Info

Min Flyte SDK
Modules5

Downloads

Stats unavailable