Skip to content
forked from flyteorg/flyte

This is a fork of https://github.com/flyteorg/flyte for the purpose of contributing. For your own purposes please refer to the upstream project.

License

Notifications You must be signed in to change notification settings

mercedes-benz/flyte

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flyte and LF AI & Data Logo

Flyte

🏗️ 🚀 📈

Current Release label Sandbox Status label Test Status label License label OpenSSF Best Practices label Flyte Helm Chart label Flyte Slack label

Flyte is an open-source orchestrator that facilitates building production-grade data and ML pipelines. It is built for scalability and reproducibility, leveraging Kubernetes as its underlying platform. With Flyte, user teams can construct pipelines using the Python SDK, and seamlessly deploy them on both cloud and on-premises environments, enabling distributed processing and efficient resource utilization.

Build

Write code in Python or any other language and leverage a robust type engine.

Getting started with Flyte

Deploy & Scale

Either locally or on a remote cluster, execute your models with ease.

Getting started with Flyte

Table of contents


Quick start

  1. Install Flyte's Python SDK
pip install flytekit
  1. Create a workflow (see example)
  2. Run it locally with:
pyflyte run hello_world.py hello_world_wf

Ready to try a Flyte cluster?

  1. Create a new sandbox cluster, running as a Docker container:
flytectl demo start
  1. Now execute your workflows on the cluster:
pyflyte run --remote hello_world.py hello_world_wf

Getting started with Flyte, showing the welcome screen and Flyte dashboard

Do you want to see more but don't want to install anything?

Head over to https://sandbox.union.ai/. It allows you to experiment with Flyte's capabilities from a hosted Jupyter notebook.

Ready to productionize?

Go to the Deployment guide for instructions to install Flyte on different environments

Tutorials

Features

🚀 Strongly typed interfaces: Validate your data at every step of the workflow by defining data guardrails using Flyte types.
🌐 Any language: Write code in any language using raw containers, or choose Python, Java, Scala or JavaScript SDKs to develop your Flyte workflows.
🔒 Immutability: Immutable executions help ensure reproducibility by preventing any changes to the state of an execution.
🧬 Data lineage: Track the movement and transformation of data throughout the lifecycle of your data and ML workflows.
📊 Map tasks: Achieve parallel code execution with minimal configuration using map tasks.
🌎 Multi-tenancy: Multiple users can share the same platform while maintaining their own distinct data and configurations.
🌟 Dynamic workflows: Build flexible and adaptable workflows that can change and evolve as needed, making it easier to respond to changing requirements.
⏯️ Wait for external inputs before proceeding with the execution.
🌳 Branching: Selectively execute branches of your workflow based on static or dynamic data produced by other tasks or input data.
📈 Data visualization: Visualize data, monitor models and view training history through plots.
📂 FlyteFile & FlyteDirectory: Transfer files and directories between local and cloud storage.
🗃️ Structured dataset: Convert dataframes between types and enforce column-level type checking using the abstract 2D representation provided by Structured Dataset.
🛡️ Recover from failures: Recover only the failed tasks.
🔁 Rerun a single task: Rerun workflows at the most granular level without modifying the previous state of a data/ML workflow.
🔍 Cache outputs: Cache task outputs by passing cache=True to the task decorator.
🚩 Intra-task checkpointing: Checkpoint progress within a task execution.
Timeout: Define a timeout period, after which the task is marked as failure.
🏭 Dev to prod: As simple as changing your domain from development or staging to production.
💸 Spot or preemptible instances: Schedule your workflows on spot instances by setting interruptible to True in the task decorator.
☁️ Cloud-native deployment: Deploy Flyte on AWS, GCP, Azure and other cloud services.
📅 Scheduling: Schedule your data and ML workflows to run at a specific time.
📢 Notifications: Stay informed about changes to your workflow's state by configuring notifications through Slack, PagerDuty or email.
⌛️ Timeline view: Evaluate the duration of each of your Flyte tasks and identify potential bottlenecks.
💨 GPU acceleration: Enable and control your tasks’ GPU demands by requesting resources in the task decorator.
🐳 Dependency isolation via containers: Maintain separate sets of dependencies for your tasks so no dependency conflicts arise.
🔀 Parallelism: Flyte tasks are inherently parallel to optimize resource consumption and improve performance.
💾 Allocate resources dynamically at the task level.

Who's using Flyte

Join the likes of LinkedIn, Spotify, Freenome, Pachama, Warner Bros. and many others in adopting Flyte for mission-critical use cases. For a full list of adopters and information on how to add your organization or project, please visit our ADOPTERS page.

How to stay involved

👥 Monthly community sync: Happening the first Tuesday of every month, this is where the Flyte team provides updates on the project, and community members can share their progress and ask questions.
💬 Slack: Join the Flyte community on Slack to chat with other users, ask questions, and get help.
⚠️ Newsletter: join this group to receive the Flyte Monthly newsletter.
📹 Youtube: Tune into panel discussions, customer success stories, community updates and feature deep dives.
📄 Blog: Here, you can find tutorials and feature deep dives to help you learn more about Flyte.
💡 RFCs: RFCs are used for proposing new ideas and features to improve Flyte. You can refer to them to stay updated on the latest developments and contribute to the growth of the platform.

How to contribute

There are many ways to get involved in Flyte, including:

We ❤️ our contributors

9533583709012575971182715929843943888811510830562781080561588921840823728965683793601565339415185242772476316888709277771732306260377798312503235688058036239450452166153358636562898474898576461262572570781228521086981538806453936213261742131269130984698929918151753755849754870219142716281668919375241243648305331339443610471105265401609097694349093709886065051382072089511082011799671345877985026554147282631255434133023324868846792736511035496745882002094358781916389954248170253876010425792917168136052917774471316881227846545402633496993337275247819733683114708546358866924791408591319351550874069898814800485621434433157787913994555850499746030368211097441810591543408168997602151814063960998611534813515178914002198713825688539396598042193452046377440626816709018417209278444071069392973808541833780712768671154219023688641613409384410693660026268253165094909824247998349643122194053226249533853037538992072956975434806901302711670020615211261204700354025771422486260925241168692336529174501713016599109138541130621230543342654873665615083616317165004812336293895545726141014308533102012421126925661228633130702368817639173091872640499973324011005696841476488343717006343886578125105375472644938564310376195441710573247359129137041193451861333172424611279633387040230151245063237416214372619813114629829053051523551464090195067166843150718353391550579670315092599268346581400715023806651629710410463690269208932700000542094262883021790357364396228742222323414531381038492507235833444123013825771677824896664770057655433386011088618419853373344980392017373944104531138474391314695404885946984748283518961274471735895112186669415300491115397282310719265969571739426731030098686774758508604536506810661030055718143659778008473503685753828105876962101579322269537092503814688684372812939299441958590225427286189119026235989116420668349587700011388071183633012569530263994281735176431982395751535975488235067987125364490345139966767992622096508260484118921756625975964233065111665161103072153596231091927689726061421149464787204410522997120040113770222117322020247399496486490810430635319111751041527932781860922797900648658432145940548054046807100478916594151031759107633597509836011367245271443811222448699969161722790725433367673659452725391173869111423809274806211335881100597998483070013977119933272587104383732454340114153851047355538540347015803282626539271447726186406010272077811576787558691413131136528449576968100954621442558513682749234468461190819313393611991289246835608401430267719712630031512204441068153661568889168411899937967739836771142324041196277714996868934381901652662769703322721373988912821510265261324369198753467641431901852291774111796986489331304786156356273244025051025587551467355852013547816270211145677364676594132337675162777012822336466388192132370801499218911753922617235548056316747594611747309309377544368997164042043033592135918981922904912378771222367951082986436989112260015698742815962837490199103451849105445729532638226333851518414663375814008978927237616334601043051219534421646184729942128455404056828138898150935185471021573204710711531367077443821771284190850217804851253032755936685311318345091078931324225130002224465646729471486202804703533182199429103263313130875210976393625318519037413772114784116739793833655626670894866754748863181308139027713919821351301713880001770392617851051119311482198091672417330872419419101450450788414709014793536441242107780986519378614934111324510165947305083303616047081075923929481481478541683714280758917263167100563868876158117518446966928523426880101132285751464240541050821601133561223391642102476273907814968087524866505261154982325031189450413807434165133828320753565583749961058256255976277534753085803506754925486791995707230295710090384173375158296645638848369170839282792388941221669819836490558799137794189828218567580726715863760025115705553

License

Flyte is available under the Apache License 2.0. Use it wisely.

About

This is a fork of https://github.com/flyteorg/flyte for the purpose of contributing. For your own purposes please refer to the upstream project.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.7%
  • Python 1.0%
  • Shell 0.8%
  • Makefile 0.3%
  • Mustache 0.1%
  • Smarty 0.1%