Home

Awesome

<p align="center"> <img src="https://raw.githubusercontent.com/flyteorg/static-resources/main/flyte/readme/flyte_and_lf.png" alt="Flyte and LF AI & Data Logo" width="250"> </p> <h1 align="center"> Flyte </h1> <p align="center"> :building_construction: :rocket: :chart_with_upwards_trend: </p> <p align="center"> <a href="https://github.com/flyteorg/flyte/releases/latest"> <img src="https://img.shields.io/github/release/flyteorg/flyte.svg?style=for-the-badge" alt="Current Release label" /></a> <a href="https://github.com/flyteorg/flyte/actions/workflows/sandbox.yml"> <img src="https://img.shields.io/github/actions/workflow/status/flyteorg/flyte/sandbox.yml?label=Sandbox%20docker%20image&style=for-the-badge" alt="Sandbox Status label" /></a> <a href="https://github.com/flyteorg/flyte/actions/workflows/tests.yml"> <img src="https://img.shields.io/github/actions/workflow/status/flyteorg/flyte/tests.yml?label=tests&style=for-the-badge" alt="Test Status label" /></a> <a href="http://www.apache.org/licenses/LICENSE-2.0.html"> <img src="https://img.shields.io/badge/LICENSE-Apache2.0-ff69b4.svg?style=for-the-badge" alt="License label" /></a> <a href="https://bestpractices.coreinfrastructure.org/projects/4670"> <img src="https://img.shields.io/badge/openssf%20best%20practices-passing-green?style=for-the-badge" alt="OpenSSF Best Practices label" /></a> <a href="https://artifacthub.io/packages/search?repo=flyte"> <img src="https://img.shields.io/endpoint?style=for-the-badge&url=https://artifacthub.io/badge/repository/flyte" alt="Flyte Helm Chart label" /></a> <a href="https://twitter.com/flyteorg"> <img src="https://img.shields.io/badge/X-000000.svg?style=for-the-badge&logo=X&logoColor=white" height=30px/></a> <a href="https://slack.flyte.org" alt="Twitter, formerly X logo label"> <img src="https://img.shields.io/badge/Slack-Chat-pink?style=for-the-badge&logo=slack" alt="Flyte Slack label" /></a> </p>

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.

<h2 align="center"> Build </h2> <p> Write code in Python or any other language and leverage a robust type engine. </p> <img alt="Getting started with Flyte" src="https://raw.githubusercontent.com/flyteorg/static-resources/main/common/flytereadmebuildv2.gif" style="width: 60%; height: auto;" /> <h2 align="center"> Deploy & Scale </h2> <p> Either locally or on a remote cluster, execute your models with ease. </p> <img alt="Getting started with Flyte" src="https://raw.githubusercontent.com/flyteorg/static-resources/main/common/flytereadme-deploy.gif" style="width: 60%; height: auto;" /> <h3 align="center"> <a href="#quick-start">Get Started</a> <span> · </span> <a href="https://docs.flyte.org/">Documentation</a> <span> · </span> <a href="#how-to-stay-involved">Resources</a> </h3>

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
<img alt="Getting started with Flyte, showing the welcome screen and Flyte dashboard" src="https://raw.githubusercontent.com/flyteorg/static-resources/main/flytesnacks/getting_started/getting_started_console.gif" style="width: 100%; height: auto;" />

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

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. <br> 💬 Slack: Join the Flyte community on Slack to chat with other users, ask questions, and get help. <br> ⚠️ Newsletter: join this group to receive the Flyte Monthly newsletter. <br> 📹 Youtube: Tune into panel discussions, customer success stories, community updates and feature deep dives. <br> 📄 Blog: Here, you can find tutorials and feature deep dives to help you learn more about Flyte. <br> 💡 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 :heart: our contributors

<!-- CONTRIBUTORS START -->

953358370901257597118271592984394388881151083056278108056158892184082372896568379360156533941518524277247631688870927777173230626037779831250323568805803623945045216615335863656289847489857646126257257078122852108698153880645393621326174213126913098469892991815175375584975487021914271628166891937524124364830533133944361047110526540160909769434909370988606505138207208951108201179967134587798502655414728263125543413302332486884679273651103549674588200209435878191638995424817025387601042579291716813605291777447131688122784654540263349699333727524781973368311470854635886692621434439131935479140851550874069898814800485315778791399455368864165850499789976021460303682110974411534811810591543408165181406396099863515178914002198713825688539396598042193452046377440626816709018417209278444071069392973808541833780712768671154219021697464111340938441069366002626825316509490982424799834964312219405260925243226241716500430375389920729569754348069013027116700206152112612047003540257714224869533851168692173942673336529174501713012744719138541130621230543342654873665615083616338955457261410143085331020124211269256139771199612286331307023688176391730918781233629973324011005696841476488343717006343886578125105375472644938564326404994417105732473591291370411934518613331724246112796333870402301512450632374162143726198131146298290530515235514640901950671668431507183533915505796703150925992683465814007150238066516297104104636902692089327000005420942628830217903573643962287422223234145313810384925072358334441230138257716778248966647700576554333860110886184103761951985337334498039201737394410453113847439131469540488594698474828351896735895112186669415300491115397282310719265969571030098686774758508604536506810661030055718143659778008473503685753828105876962101579322269537092503814688684372812939299441958590225427286189119026235989116420668349587700011388071183633012569530263994281735176431982395751535975488235067987125364490345139966767992622096508260484118921756625975964233065535716251116651611030721535962310919276897260614211494660069744478720441052299712004011377022211732202024739949648649081043063531911175104152793278186092279790064865843214594054805404680710047891659415103175910763359713672452750983601691617222448699914438112243336767365945278691114225391173380927480621133588110059799848307007907251043837324543401141538510473555384683560811991289293093775332725875803282626539271447726186406010272072291774136989112260015540347018755869141313113652844957696810095462487792311442558513682749234468461190819313393640143026771971263003151220444106815366156888916841189993796773983677114232404119627771499686893438190781157671652662769703322721373988912821510265261324413460743691987534676414319018511796986489331304786160060156356273244025051025587551467355852013547816270216884052864676594132337675162777012822336466388192132370801499218911753922617235548056316747594611747301633460443689971640420490607863033592135918981922904969587721237877122236795108298641145677369874281596283749019910345184910544572953263822633385151841466337581400897892723761043051219534421646184729942128455404056828138898150935185471021573204710711531367077443821771284190850217804851253032755936685311318345091078931324225130002224465646729471486202804703533182199429103263313130875210976393625318519037413772114784116739793833655626670894866754748863181308139027713919821351301713880001770392617851051119311482198091672417330872419419101450450788414709014793536441242107780986519378614934111324510165947305083303616047081075923929481481478541683714280758910051726316763868876158117518446966928523426880101132285751464240541050821601133561223391642102476273907814968087524866505261154982325031189450413807434165133828320753565583749961058256255976277534753085803506754925486791995707230295710090384173375158296645638848369170839282792388941221669819836490558799137794189828218567580726715863760025115705553

<!-- CONTRIBUTORS END -->

License

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

<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=6a6b21ca-61bb-444f-aecd-4a6ba5372be5" />