/flyte-hub

Flyte workflow example and benchmark

Primary LanguagePythonApache License 2.0Apache-2.0

flyte-app

  • Flyte example - contains many kind of flyte examples for new users
  • Flyte benchmark - microbenchmark testing for evaluating Flyte performance

Prerequisite

Install python dependencies

pip install -r requirements.txt

Start Flyte dev cluster locally

flytectl demo start --dev --image pingsutw/sandbox-lite-test
flyte start --config flyte_local.yaml

Quick Start (flytekit)

from utils import register_and_create_wf
from development.workflow.raw_container import wf

register_and_create_wf(wf, input={"a": 3.0, "b": 4.0}, fast=False)
  • Output will be like
Running workflow [development.workflow.flyte_type_in_dataclass.base_wf]
Time Spend: 4.274042129516602