Flytesnacks is intended to be a
learn by example style cookbook. We cover all the various concepts in Flyte along with most of the maintained
plugins. This cookbook is designed to get you running both locally, and on a Flyte cluster using Flyte Python SDK (flytekit)
All the examples in this book are executable locally and we recommend the best way to try out Flyte is to run these examples in your terminal or IDE. If you have access to a whole Flyte platform deployment, this cookbook can also be used as a fully functional workflow repo.
The tutorial is divided into 3 sections:
Core Language Examples - This covers the basics of Flytekit, as well as working with a deployed Flyte platform.
Case Studies - These are examples that showcase the power of Flyte.
Plugins Examples - This section details flytekit extensibility
Please report bugs, suggestions, or comments by creating a GitHub issue or just by opening a PR against this or any Flyte repo. It is our hope new contributors find the community welcoming!
Please join our Slack channel as well through this form.
- Tutorial: Hello World!
- Getting Started with Flytekit [python]
- Basic Examples: Tasks, Workflows, Files etc
- Intermediate Examples: Custom Objects, Schema, Conditions, Dynamic, SubWorkflows etc
- Advanced Examples: Extend Flytekit, combine techniques etc
- Flyte cluster execution - setup & features
- Flyte Plugins
- Executing K8s Pods
- Executing Spark Jobs natively on K8s Cluster
- Executing Jupyter Notebooks as tasks
- Executing Hive Queries
- AWS Sagemaker Training
- Executing Distributed Pytorch training jobs on K8s
- AWS Sagemaker distributed training using PyTorch