本地跑只能体验基础功能,扩展与生产部署需按官方指南自行配置云上基础设施;README 未给出默认端口等细节,需查阅文档确认。
pip install metaflowREADME 未说明具体显存或 GPU 型号要求;本地可在笔记本上运行,扩展计算需自备云端 CPU/GPU 集群。
Netflix 开源的 Python 框架,把 ML 流程从本地原型一路管到生产部署
面向 AI/ML 工作流的 Python 编排框架,用装饰器写 DAG,支持本地到 Kubernetes、多云部署,并带实验追踪和成本优化。
核心能力
- 用 Pythonic API 定义流程与步骤,本地即可快速原型
- 内置实验追踪、版本管理与结果可视化
- 支持横向与纵向扩展到云端 CPU/GPU 集群
- 支持 foreach 大规模并行与 gang-scheduled 分布式计算
- 一键部署到生产编排器并支持事件触发式编排
容易踩的坑
- 2.19.41最新正式版2026-11-06 · 2026-11-06 18:53 UTC
What's Changed
- fix: conditional steps issue on argo 3.7.13+/4.0.4+ by @saikonen in https://github.com/Netflix/metaflow/pull/3401
- Quote parameter values in scheduler export scripts by @anand13sethi in https://github.com/Netflix/metaflow/pull/3406
- Split every pip index URL, not just the first nine by @David-Wu1119 in https://github.com/Netflix/metaflow/pull/3382
- fix: pass a timeout to the metadata heartbeat request by @RudraDudhat2509 in https://github.com/Netflix/metaflow/pull/3361
- Reject non-mapping config values passed via --config-value by @eyosi1239 in https://github.com/Netflix/metaflow/pull/3391
- build(deps-dev): bump lodash from 4.17.23 to 4.18.1 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3083
- build(deps): bump picomatch from 2.3.1 to 2.3.2 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3042
- build(deps-dev): bump flatted from 3.3.3 to 3.4.4 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3038
- build(deps-dev): bump rollup from 2.79.2 to 2.80.0 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/2939
- fix(cards): stop get_cards from resetting the global namespace by @devteamaegis in https://github.com/Netflix/metaflow/pull/3396
- release: 2.19.41 by @saikonen in https://github.com/Netflix/metaflow/pull/3433
New Contributors
- @anand13sethi made their first contribution in https://github.com/Netflix/metaflow/pull/3406
- @David-Wu1119 made their first contribution in https://github.com/Netflix/metaflow/pull/3382
- @RudraDudhat2509 made their first contribution in https://github.com/Netflix/metaflow/pull/3361
- @eyosi1239 made their first contribution in https://github.com/Netflix/metaflow/pull/3391
- @devteamaegis made their first contribution in https://github.com/Netflix/metaflow/pull/3396
Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.40...2.19.41
- 2.19.402026-10-29 · 2026-10-29 20:12 UTC
查看更新说明
What's Changed
- [GSoC] Add paginated, filtered run iteration to the core client by @Aryan95614 in https://github.com/Netflix/metaflow/pull/3348
- fix(aws): repair the malformed %s in the tag-key "not permitted" message by @Anai-Guo in https://github.com/Netflix/metaflow/pull/3366
- fix(util): import MetaflowInternalError in read_artifacts_module by @Anai-Guo in https://github.com/Netflix/metaflow/pull/3365
- chore: update metaflow-dev metadata-service to 2.6.1 by @saikonen in https://github.com/Netflix/metaflow/pull/3367
- build(deps-dev): bump js-yaml from 4.3.1 to 4.3.2 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3375
- fix: pin devstack to a legacy minio by @saikonen in https://github.com/Netflix/metaflow/pull/3400
- build(deps-dev): bump brace-expansion from 1.1.16 to 1.1.21 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3404
- fix: failing CI jobs by @saikonen in https://github.com/Netflix/metaflow/pull/3420
- adding timeout of 60s to prevent a hung connection by @iamsgarg-ob in https://github.com/Netflix/metaflow/pull/3421
- build(deps-dev): bump qs from 6.15.2 to 6.17.1 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3423
- build(deps-dev): bump systeminformation from 5.31.17 to 5.33.18 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3424
- build(deps-dev): bump postcss-selector-parser from 6.1.4 to 6.1.5 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3422
- build(deps): bump source-map-js from 1.2.1 to 1.2.2 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3410
- release: 2.19.40 by @saikonen in https://github.com/Netflix/metaflow/pull/3419
New Contributors
- @Aryan95614 made their first contribution in https://github.com/Netflix/metaflow/pull/3348
- @Anai-Guo made their first contribution in https://github.com/Netflix/metaflow/pull/3366
Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.39...2.19.40
- 2.19.392026-09-02 · 2026-09-02 21:17 UTC
查看更新说明
What's Changed
- fix: argo conditional issue by @saikonen in https://github.com/Netflix/metaflow/pull/3340
- Add @package_sources for sibling source directories by @talsperre in https://github.com/Netflix/metaflow/pull/3351
- build(deps-dev): bump postcss-selector-parser from 6.1.2 to 6.1.4 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3359
- Anchor metadata pattern matching so foreach paths do not prefix-match by @nileshpatil6 in https://github.com/Netflix/metaflow/pull/3342
- Anchor service metadata patterns so foreach paths do not prefix-match by @winklemad in https://github.com/Netflix/metaflow/pull/3357
- release: 2.19.39 by @talsperre in https://github.com/Netflix/metaflow/pull/3362
New Contributors
- @nileshpatil6 made their first contribution in https://github.com/Netflix/metaflow/pull/3342
- @winklemad made their first contribution in https://github.com/Netflix/metaflow/pull/3357
Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.38...2.19.39
- 2.19.382026-08-18 · 2026-08-18 00:34 UTC
查看更新说明
What's Changed
- build(deps-dev): bump js-yaml from 4.3.0 to 4.3.1 in /metaflow/plugins/cards/ui by @dependabot[bot] in https://github.com/Netflix/metaflow/pull/3336
- Sanitize StepMutator attributes with to_pod() in _graph_info by @sertansenturk-deliveroo in https://github.com/Netflix/metaflow/pull/3339
- release: 2.19.38 by @talsperre in https://github.com/Netflix/metaflow/pull/3343
New Contributors
- @sertansenturk-deliveroo made their first contribution in https://github.com/Netflix/metaflow/pull/3339
Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.37...2.19.38
- 2.19.372026-08-11 · 2026-08-11 17:15 UTC
查看更新说明
What's Changed
- Fix duplicate test name masking parse_kube_keyvalue_list success cases by @prabhaharanv in https://github.com/Netflix/metaflow/pull/3315
- Set METAFLOW_RUN_ID in AWS Batch and Kubernetes task environments by @Charlietr14 in https://github.com/Netflix/metaflow/pull/3329
- fix(pypi): decode url-encoded wheel filenames by @saikonen in https://github.com/Netflix/metaflow/pull/3333
- fix: detect platform/arch for uv download URL (continues #2799) by @cle-ment in https://github.com/Netflix/metaflow/pull/3332
- fix: card DataFrame rendering on
pandas>=3.0by @ShreehariVaasishta in https://github.com/Netflix/metaflow/pull/3290 - Consolidate duplicate KubernetesException into a single class by @prabhaharanv in https://github.com/Netflix/metaflow/pull/3319
- release: 2.19.37 by @saikonen in https://github.com/Netflix/metaflow/pull/3335
New Contributors
- @prabhaharanv made their first contribution in https://github.com/Netflix/metaflow/pull/3315
- @cle-ment made their first contribution in https://github.com/Netflix/metaflow/pull/3332
Full Changelog: https://github.com/Netflix/metaflow/compare/2.19.36...2.19.37
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。

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:
- Rapid local prototyping, support for notebooks, and built-in support for experiment tracking, versioning and visualization.
- 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.
- 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.