# 权重与偏置（Weights & Biases）

**权重与偏置**（Weights & Biases，简称 W&B）是一家总部位于旧金山的机器学习与人工智能开发者平台，最为人熟知的是实验跟踪功能：记录每次训练运行的指标、超参数、数据集和模型文件，以便团队进行比较和复现。该公司自称是一个 AI 开发者平台，涵盖模型训练、微调以及 AI 应用的开发与监控，其工具已从实验跟踪扩展到工件版本管理、超参数扫描、模型注册表，并通过其 Weave 产品实现大语言模型可观测性。<sup>[1](https://site.wandb.ai/)</sup><sup> • </sup><sup>[2](https://github.com/wandb/wandb)</sup>

| 关键事实 | 详情 |
|---|---|
| 成立时间 | 2017 年由卢卡斯·比瓦尔德（Lukas Biewald）、克里斯·范·佩尔特（Chris Van Pelt）和肖恩·刘易斯（Shawn Lewis）创立；2018 年 5 月公开发布<sup>[3](https://investors.coreweave.com/news/news-details/2025/CoreWeave-to-Acquire-Weights--Biases---Industry-Leading-AI-Developer-Platform-for-Building-and-Deploying-AI-Applications/default.aspx)</sup><sup> • </sup><sup>[4](https://www.globenewswire.com/news-release/2018/05/31/1515224/0/en/Veteran-AI-Experts-Launch-Weights-Biases-to-Offer-State-of-the-Art-Developer-Tools-for-Machine-Learning.html)</sup> |
| 核心产品 | 通过 `wandb` Python SDK 进行实验跟踪：`wandb.init()` 启动一次运行，`run.log()` 记录指标，`wandb.watch()` 记录梯度<sup>[5](https://docs.wandb.ai/ref/python/experiments/run/)</sup> |
| 其他产品 | Artifacts（数据集与模型版本管理）、Sweeps（超参数优化）、Models 注册表、Reports，以及用于追踪和评估 AI 智能体的 Weave<sup>[1](https://site.wandb.ai/)</sup><sup> • </sup><sup>[6](https://github.com/wandb/weave)</sup> |
| 采用情况 | 超过 1,400 家组织和 30 多家基础模型构建方，包括 OpenAI、Meta、NVIDIA、Snowflake、阿斯利康（AstraZeneca）、丰田（Toyota）、Canva、Square 和 Wayve<sup>[3](https://investors.coreweave.com/news/news-details/2025/CoreWeave-to-Acquire-Weights--Biases---Industry-Leading-AI-Developer-Platform-for-Building-and-Deploying-AI-Applications/default.aspx)</sup> |
| 融资 | 2021 年 2 月由 Insight Partners 领投的 4,500 万美元 B 轮融资；被收购前累计融资约 2.5 亿美元<sup>[7](https://www.prnewswire.com/news-releases/weights-and-biases-raises-45m-series-b-to-expand-beyond-experiment-tracking-for-machine-learning-practitioners-everywhere-301218743.html)</sup><sup> • </sup><sup>[8](https://www.axios.com/newsletters/axios-pro-rata-d39f5c8b-6072-4367-aecd-5ffd63f97a0c)</sup> |
| 所有权 | 被 CoreWeave 收购；协议于 2025 年 3 月 4 日宣布，2025 年 5 月 5 日完成，据报道交易价值约 17 亿美元<sup>[9](https://coreweave.com/news/coreweave-completes-acquisition-of-weights-biases-2)</sup><sup> • </sup><sup>[8](https://www.axios.com/newsletters/axios-pro-rata-d39f5c8b-6072-4367-aecd-5ffd63f97a0c)</sup> |
| 部署方式 | Forge（全托管）、Dedicated Cloud（单租户），以及在 AWS、Google Cloud、Azure 或本地基础设施上的 Self-Managed<sup>[10](https://docs.wandb.ai/platform/hosting)</sup> |

## 实验跟踪

最初的核心产品记录机器学习实验过程中发生的事情。训练脚本调用 `wandb.init()` 开启一次运行，可选择传入一个包含超参数的配置字典，然后调用 `run.log()` 记录损失和准确率等值；记录的值会更新运行的历史和摘要指标，并显示在 wandb.ai 或自托管实例的仪表板上。<sup>[5](https://docs.wandb.ai/ref/python/experiments/run/)</sup> 记录的值不限于标量：该平台支持图像、音频、视频、直方图、图表以及通过 `wandb.Table` 创建的结构化表格，名称中包含正斜杠的指标会自动分组到各个板块中。<sup>[5](https://docs.wandb.ai/ref/python/experiments/run/)</sup>

**框架集成。** `wandb` 库与常见的机器学习框架集成，因此可以在现有项目内部添加跟踪功能。添加 `wandb.watch(model)` 会将 PyTorch 梯度记录为直方图，超参数或数据集链接等配置通过 `wandb.init(config=...)` 传入。<sup>[2](https://github.com/wandb/wandb)</sup><sup> • </sup><sup>[11](https://docs.wandb.ai/guides/track/log/?q=tensor)</sup> 该公司网站展示了 PyTorch、[Hugging Face](https://www.edgepedia.org/zh/hugging-face) Transformers、PyTorch Lightning、TensorFlow、Keras、scikit-learn 和 XGBoost 等框架的集成示例。<sup>[1](https://site.wandb.ai/)</sup>

**工件与血缘。** 除了指标之外，W&B 还提供工件管理功能：用户可以对数据集、模型和其他工件进行记录和版本管理，从而能够用特定版本的数据复现实验。<sup>[12](https://dspace.vut.cz/bitstreams/2a6d0363-0d10-4f4b-b18e-fbfe919ee9e7/download)</sup> 该公司自己的白皮书将工件描述为支持数据集版本管理、模型版本管理，以及跨机器学习流水线跟踪依赖关系和结果，为文件变更提供可审计的历史记录。<sup>[13](https://site.wandb.ai/wp-content/uploads/2023/09/MLOps-A-Holistic-Approach-White-Paper-WANDB.pdf)</sup>

## Weave 与大语言模型工具

**Weave** 是该公司用于开发 AI 驱动应用的工具包，被描述为用于追踪和评估 AI 智能体的工具包。对话、轮次、大语言模型调用和工具调用会显示在 Agents 标签页中；支持对智能体和 LLM 应用进行评估；`@weave.op` 装饰器可追踪单个函数，其调用会出现在单独的 Calls 标签页中，用于评估、评分器以及智能体循环之外的 LLM 调用。<sup>[6](https://github.com/wandb/weave)</sup> 调用 `weave.init()` 之后，对普通 OpenAI 客户端的调用会自动被追踪，并且提供了针对 [OpenAI Agents SDK](https://www.edgepedia.org/zh/openai-agents-sdk)、Claude Agent SDK 和 Google ADK 的智能体集成，通过 `start_conversation`、`start_turn`、`start_llm` 和 `start_tool` 包装器支持自定义智能体。<sup>[6](https://github.com/wandb/weave)</sup> Weave 需要 Python 3.10 或更高版本以及 W&B 账户和 API 密钥。<sup>[6](https://github.com/wandb/weave)</sup>

该平台的产品列表还包括用于探索提示词和模型的 Playground、用于持续改进生产环境的 Monitors、Guardrails 以及在线评估，使该公司在 MLOps 之外也立足于 LLMOps 领域。<sup>[1](https://site.wandb.ai/)</sup>

## 部署、安全与隐私

W&B 作为托管服务运行，也可运行在客户的基础设施上。当前的部署选项包括 Forge——在权重与偏置的云基础设施中完全托管的服务；W&B Dedicated Cloud——为有数据驻留或治理要求的组织提供的单租户托管部署，具有隔离的基础设施；以及 W&B Self-Managed——客户在 AWS、Google Cloud、Azure 或本地裸金属上运行和维护 W&B Server。<sup>[10](https://docs.wandb.ai/platform/hosting)</sup> 较早的文档将同样的三选一描述为多租户云（在 W&B 的 Google Cloud 账户中）、Dedicated Cloud（在 W&B 的 AWS、GCP 或 Azure 账户中）和 Self-Managed 部署。<sup>[2](https://github.com/wandb/wandb)</sup>

该平台通过了 [ISO/IEC 27001](https://www.edgepedia.org/zh/iso-iec-27001):2022、ISO/IEC 27017:2015 和 ISO/IEC 27018:2019 认证，并符合 [SOC 2](https://www.edgepedia.org/zh/soc-2) 和 HIPAA 标准；该公司还声明符合 GDPR 要求并支持 NIST 800-53 合规。<sup>[1](https://site.wandb.ai/)</sup> 组织和团队管理员可以配置隐私设置，管理团队可见性、项目访问权限和代码保存默认值，[组织](https://www.edgepedia.org/zh/organization)管理员可以在所有团队中强制执行这些设置。<sup>[14](https://docs.wandb.ai/platform/hosting/privacy-settings)</sup> 该公司声明客户控制其上传的任何数据，云托管数据存储在其 Google Cloud 实例中。<sup>[15](https://wandb.ai/site/data/)</sup>

## 历史与收购

创始人卢卡斯·比瓦尔德和克里斯·范·佩尔特此前共同创立并领导了 CrowdFlower，后者后来更名为 Figure Eight；联合创始人肖恩·刘易斯曾是谷歌的高级软件工程师。<sup>[4](https://www.globenewswire.com/news-release/2018/05/31/1515224/0/en/Veteran-AI-Experts-Launch-Weights-Biases-to-Offer-State-of-the-Art-Developer-Tools-for-Machine-Learning.html)</sup> 该公司自己的关于页面和 [CoreWeave](https://www.edgepedia.org/zh/coreweave) 的公告将 2017 年作为创立年份，<sup>[16](https://wandb.ai/site/company/about-us/)</sup><sup> • </sup><sup>[3](https://investors.coreweave.com/news/news-details/2025/CoreWeave-to-Acquire-Weights--Biases---Industry-Leading-AI-Developer-Platform-for-Building-and-Deploying-AI-Applications/default.aspx)</sup> 而该公司 2021 年 2 月的一份新闻稿称其成立于 2018 年；2018 年 5 月的发布公告标志着其公开亮相。<sup>[7](https://www.prnewswire.com/news-releases/weights-and-biases-raises-45m-series-b-to-expand-beyond-experiment-tracking-for-machine-learning-practitioners-everywhere-301218743.html)</sup><sup> • </sup><sup>[4](https://www.globenewswire.com/news-release/2018/05/31/1515224/0/en/Veteran-AI-Experts-Launch-Weights-Biases-to-Offer-State-of-the-Art-Developer-Tools-for-Machine-Learning.html)</sup> 到 2021 年 2 月，该平台报告在 200 多家企业和机构中拥有超过 70,000 名用户，早期用户包括 OpenAI、丰田研究院（Toyota Research）和 Salesforce Research。<sup>[7](https://www.prnewswire.com/news-releases/weights-and-biases-raises-45m-series-b-to-expand-beyond-experiment-tracking-for-machine-learning-practitioners-everywhere-301218743.html)</sup>

2025 年 3 月，刚刚提交 IPO 申请的 AI 云基础设施提供商 CoreWeave 宣布达成收购权重与偏置的协议，称该交易将 CoreWeave 的基础设施与 W&B 的模型训练及 AI 应用评估和监控开发者平台相结合。<sup>[3](https://investors.coreweave.com/news/news-details/2025/CoreWeave-to-Acquire-Weights--Biases---Industry-Leading-AI-Developer-Platform-for-Building-and-Deploying-AI-Applications/default.aspx)</sup> 据报道交易价格约为 17 亿美元，Axios 报道称 W&B 从 [Insight Partners](https://www.edgepedia.org/zh/insight-partners)、Trinity Ventures、Coatue、Felicis、Bloomberg Beta、Sapphire Ventures 和 BOND 等投资者处累计融资 2.5 亿美元。<sup>[8](https://www.axios.com/newsletters/axios-pro-rata-d39f5c8b-6072-4367-aecd-5ffd63f97a0c)</sup> 收购于 2025 年 5 月 5 日完成，CoreWeave 承诺保持平台的互操作性，以便客户可以继续选择自己的部署选项、基础设施提供商和模型框架。<sup>[9](https://coreweave.com/news/coreweave-completes-acquisition-of-weights-biases-2)</sup> CoreWeave 2025 年第一季度财报电话会议将 W&B 描述为拥有超过 1,400 家客户的领先 AI 开发者平台。<sup>[17](https://s205.q4cdn.com/133937190/files/doc_financials/2025/q1/CORRECTED-TRANSCRIPT_-CoreWeave-Inc-CRWV-US-Q1-2025-Earnings-Call-14-May-2025-5_00-PM-ET.pdf)</sup> 收购完成后，CoreWeave 推出了将其云服务与 W&B 平台配对的软件集成，现在将 W&B 作为 CoreWeave Forge 的一部分呈现。<sup>[18](https://investors.coreweave.com/news/news-details/2025/CoreWeave-and-Weights--Biases-Announce-New-Products-and-Capabilities-Helping-AI-Developers-Iterate-Faster-on-Models-and-Agents/default.aspx)</sup><sup> • </sup><sup>[1](https://site.wandb.ai/)</sup>

## 在替代方案中的定位

最常见的比较对象是 MLflow，这是 [Linux 基金会](https://www.edgepedia.org/zh/linux-foundation)下的一个开源跟踪工具。两者都记录训练运行的参数、指标和工件，并与 PyTorch、TensorFlow 和 Hugging Face 等标准框架集成；实际区别在于部署默认方式和精细程度。MLflow 免费且默认可自托管，而 W&B 以托管为先，提供交互式仪表板、超参数扫描、注册表和血缘层，以及用于 LLM 和智能体追踪的 Weave，并为需要数据留在自己基础设施上的团队提供自托管选项。<sup>[19](https://www.4analytics.com/compare/mlflow-vs-weights-and-biases/)</sup> 对比评测一致将 W&B 的可视化、运行比较和协作 Reports 功能描述为其突出优势，代价是付费 SaaS 模式，并指出一些团队使用 W&B 进行研究迭代，同时依赖 MLflow 的模型注册表作为生产交接点。<sup>[20](https://www.horizonlabs.com.au/insights/mlflow-vs-weights-and-biases-experiment-tracking-model-registry)</sup><sup> • </sup><sup>[21](https://pdpspectra.com/blog/mlflow-vs-weights-biases/)</sup> 2022 年的一份行业生态图谱同样将 W&B 定位为元数据和实验跟踪层，而非编排器或流水线系统，可与其他编排器集成。<sup>[22](https://ai-infrastructure.org/wp-content/uploads/2022/08/AI-Infrastructure-Ecosystem-2022.pdf)</sup>

## References

1. [Weights & Biases: The AI developer platform](https://site.wandb.ai/)
2. [wandb/wandb on GitHub](https://github.com/wandb/wandb)
3. [CoreWeave to Acquire Weights & Biases, March 4, 2025](https://investors.coreweave.com/news/news-details/2025/CoreWeave-to-Acquire-Weights--Biases---Industry-Leading-AI-Developer-Platform-for-Building-and-Deploying-AI-Applications/default.aspx)
4. [Veteran AI Experts Launch Weights & Biases, GlobeNewswire, May 31, 2018](https://www.globenewswire.com/news-release/2018/05/31/1515224/0/en/Veteran-AI-Experts-Launch-Weights-Biases-to-Offer-State-of-the-Art-Developer-Tools-for-Machine-Learning.html)
5. [Run - Weights & Biases Documentation](https://docs.wandb.ai/ref/python/experiments/run/)
6. [wandb/weave on GitHub](https://github.com/wandb/weave)
7. [Weights and Biases Raises $45M Series B, PR Newswire, February 1, 2021](https://www.prnewswire.com/news-releases/weights-and-biases-raises-45m-series-b-to-expand-beyond-experiment-tracking-for-machine-learning-practitioners-everywhere-301218743.html)
8. [Axios Pro Rata: Data center privacy](https://www.axios.com/newsletters/axios-pro-rata-d39f5c8b-6072-4367-aecd-5ffd63f97a0c)
9. [CoreWeave Completes Acquisition of Weights & Biases, May 5, 2025](https://coreweave.com/news/coreweave-completes-acquisition-of-weights-biases-2)
10. [Deployment options overview, W&B Documentation](https://docs.wandb.ai/platform/hosting)
11. [Log objects and media, W&B Documentation](https://docs.wandb.ai/guides/track/log/?q=tensor)
12. [Data science experiments management with Weights & Biases platform, Brno University of Technology thesis](https://dspace.vut.cz/bitstreams/2a6d0363-0d10-4f4b-b18e-fbfe919ee9e7/download)
13. [MLOps: A Holistic Approach, W&B white paper](https://site.wandb.ai/wp-content/uploads/2023/09/MLOps-A-Holistic-Approach-White-Paper-WANDB.pdf)
14. [Configure privacy settings, W&B Documentation](https://docs.wandb.ai/platform/hosting/privacy-settings)
15. [Data Security and Privacy, Weights & Biases](https://wandb.ai/site/data/)
16. [About Weights & Biases](https://wandb.ai/site/company/about-us/)
17. [CoreWeave Q1 2025 Earnings Call transcript](https://s205.q4cdn.com/133937190/files/doc_financials/2025/q1/CORRECTED-TRANSCRIPT_-CoreWeave-Inc-CRWV-US-Q1-2025-Earnings-Call-14-May-2025-5_00-PM-ET.pdf)
18. [CoreWeave and Weights & Biases Announce New Products and Capabilities](https://investors.coreweave.com/news/news-details/2025/CoreWeave-and-Weights--Biases-Announce-New-Products-and-Capabilities-Helping-AI-Developers-Iterate-Faster-on-Models-and-Agents/default.aspx)
19. [MLflow vs Weights & Biases, 4Analytics](https://www.4analytics.com/compare/mlflow-vs-weights-and-biases/)
20. [MLflow vs Weights & Biases: Experiment Tracking and Model Registry, Horizon Labs](https://www.horizonlabs.com.au/insights/mlflow-vs-weights-and-biases-experiment-tracking-model-registry)
21. [MLflow vs Weights & Biases 2026, pdpspectra](https://pdpspectra.com/blog/mlflow-vs-weights-biases/)
22. [AI Infrastructure Ecosystem 2022, ai-infrastructure.org](https://ai-infrastructure.org/wp-content/uploads/2022/08/AI-Infrastructure-Ecosystem-2022.pdf)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › AI companies, people, and products › AI startups and application companies

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/weights-and-biases

English original: https://www.edgepedia.org/weights-and-biases
