metaflow README

The project's README from github.com/Netflix/metaflow. As one markdown file: README.md.

Metaflow_Logo_Horizontal_FullColor_Ribbon_Dark_RGB

Metaflow

Metaflow is a human-centric framework designed to help scientists and engineers build and manage real-life AI and ML systems. Serving teams of all sizes and scale, Metaflow streamlines the entire development lifecycle—from rapid prototyping in notebooks to reliable, maintainable production deployments—enabling teams to iterate quickly and deliver robust systems efficiently.

Originally developed at Netflix and now supported by Outerbounds, Metaflow is designed to boost the productivity for research and engineering teams working on a wide variety of projects, from classical statistics to state-of-the-art deep learning and foundation models. By unifying code, data, and compute at every stage, Metaflow ensures seamless, end-to-end management of real-world AI and ML systems.

Today, Metaflow powers thousands of AI and ML experiences across a diverse array of companies, large and small, including Amazon, Doordash, Dyson, Goldman Sachs, Ramp, and many others. At Netflix alone, Metaflow supports over 3000 AI and ML projects, executes hundreds of millions of data-intensive high-performance compute jobs processing petabytes of data and manages tens of petabytes of models and artifacts for hundreds of users across its AI, ML, data science, and engineering teams.

From prototype to production (and back)

Metaflow provides a simple and friendly pythonic API that covers foundational needs of AI and ML systems:

  1. Rapid local prototyping, support for notebooks, and built-in support for experiment tracking, versioning and visualization.
  2. Effortlessly scale horizontally and vertically in your cloud, utilizing both CPUs and GPUs, with fast data access for running massive embarrassingly parallel as well as gang-scheduled compute workloads reliably and efficiently.
  3. Easily manage dependencies and deploy with one-click to highly available production orchestrators with built in support for reactive orchestration.

For full documentation, check out our API Reference or see our Release Notes for the latest features and improvements.

Getting started

Getting up and running is easy. If you don't know where to start, Metaflow sandbox will have you running and exploring in seconds.

Installing Metaflow

To install Metaflow in your Python environment from PyPI:

pip install metaflow

Alternatively, using conda-forge:

conda install -c conda-forge metaflow

Once installed, a great way to get started is by following our tutorial. It walks you through creating and running your first Metaflow flow step by step.

For more details on Metaflow’s features and best practices, check out:

If you need help, don’t hesitate to reach out on our Slack community!

Deploying infrastructure for Metaflow in your cloud

While you can get started with Metaflow easily on your laptop, the main benefits of Metaflow lie in its ability to scale out to external compute clusters and to deploy to production-grade workflow orchestrators. To benefit from these features, follow this guide to configure Metaflow and the infrastructure behind it appropriately.

Get in touch

We'd love to hear from you. Join our community Slack workspace!

Contributing

We welcome contributions to Metaflow. Please see our contribution guide for more details.

metaflow (Netflix/metaflow)

Searching Database…

10.3K ·GitHub
Что это такое?Metaflow — это Python-фреймворк с открытым исходным кодом для создания, управления и развертывания реальных AI- и ML-систем: от быстрого прототипирования в ноутбуках до надежных развертываний в продакшене.
Это фреймворк, под который я пишу код, или платформа, которую сначала нужно развернуть?Это Python-фреймворк: вы устанавливаете пакет и пишете воркфлоу через его удобный питоновский API, а он сам берет на себя отслеживание экспериментов, масштабирование и развертывание вокруг вашего кода.
Как начать с ним работать?Установите пакет из PyPI (pip install metaflow) или conda-forge, затем пройдите официальный туториал, чтобы собрать свой первый флоу. Есть еще хостинговая песочница Metaflow — с ней можно попробовать все за секунды без какой-либо настройки.
Нужно ли что-то, кроме окружения Python?Только окружение Python — пакет ставится прямо из PyPI или conda-forge, так что для первых флоу достаточно ноутбука с установленным Python.
Если все запускать на своем ноутбуке, этого хватит для настоящей работы?Ноутбука вполне хватает для прототипирования, но главные плюсы — масштабирование на внешние вычислительные кластеры и продакшен-оркестрация — требуют настройки инфраструктуры Metaflow в собственном облаке; для этого есть отдельное руководство.
А что с большими задачами — можно ли использовать GPU и выполнять работу параллельно?Да — нагрузки масштабируются по горизонтали и вертикали в вашем облаке как на CPU, так и на GPU, с быстрым доступом к данным для огромных массово параллельных и gang-scheduled вычислительных задач.
Что Metaflow умеет из коробки?Локальное прототипирование с поддержкой ноутбуков, а также встроенные отслеживание экспериментов, версионирование и визуализация для каждого запуска.
Как готовый флоу попадает в продакшен?Вы развертываете в один клик на высокодоступные оркестраторы продакшен-воркфлоу, со встроенной поддержкой реактивной оркестрации, чтобы задачи работали надежно и без перебоев.
What are similar projects?skypilot, serve, kubeflow, mlflow, higgsfield, taipy, kestra, recommenders
Creator
Netflix
Size
48.2 MB
Stars
10.3K
Age
7y
Commits · 90 Days