metaflow

NetflixApache-2.0活跃维护

面向 AI/ML 工作流的 Python 编排框架,用装饰器写 DAG,支持本地到 Kubernetes、多云部署,并带实验追踪和成本优化。

Build, Manage and Deploy AI/ML Systems

2.19.41发布于 2026-11-06 18:53 UTC10,341star1,394fork同步于 2026-11-10 11:29 UTC

怎么上手

由 README 提炼,执行前请确认
pip install metaflow
硬件要求按 README 说明

README 未说明具体显存或 GPU 型号要求;本地可在笔记本上运行,扩展计算需自备云端 CPU/GPU 集群。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Netflix 开源的 Python 框架,把 ML 流程从本地原型一路管到生产部署

面向 AI/ML 工作流的 Python 编排框架,用装饰器写 DAG,支持本地到 Kubernetes、多云部署,并带实验追踪和成本优化。

核心能力

  • 用 Pythonic API 定义流程与步骤,本地即可快速原型
  • 内置实验追踪、版本管理与结果可视化
  • 支持横向与纵向扩展到云端 CPU/GPU 集群
  • 支持 foreach 大规模并行与 gang-scheduled 分布式计算
  • 一键部署到生产编排器并支持事件触发式编排

容易踩的坑

本地跑只能体验基础功能,扩展与生产部署需按官方指南自行配置云上基础设施;README 未给出默认端口等细节,需查阅文档确认。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本2.19.41
  1. 2.19.41最新正式版2026-11-06 · 2026-11-06 18:53 UTC

    What's Changed

    New Contributors

    Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.40...2.19.41

  2. 2.19.402026-10-29 · 2026-10-29 20:12 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.39...2.19.40

  3. 2.19.392026-09-02 · 2026-09-02 21:17 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.38...2.19.39

  4. 2.19.382026-08-18 · 2026-08-18 00:34 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.37...2.19.38

  5. 2.19.372026-08-11 · 2026-08-11 17:15 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.36...2.19.37

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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.