# ClearML

**ClearML** 是一个开源、端到端的 AI 平台，覆盖机器学习开发的整个生命周期，从实验追踪、[数据版本管理](https://www.edgepedia.org/zh/data-versioning)，到编排、流水线与模型服务，既可自托管，也可作为托管服务使用。<sup>[1](https://clear.ml/docs/latest/docs/getting_started/main/)</sup> 它最初是以色列公司 Allegro AI 的开源项目 Allegro Trains，于 2021 年 1 月更名为 ClearML。<sup>[2](https://finder.startupnationcentral.org/company_page/seematics-systems?section=financials)</sup> Python SDK 以 Apache 2.0 许可证分发，而 ClearML Server 后端则以服务器端公共许可证 v1.0（SSPL）提供。<sup>[3](https://github.com/clearml/clearml/blob/master/README.md)</sup><sup> • </sup><sup>[4](https://github.com/clearml/clearml-server/blob/master/README.md)</sup>

| 关键事实 | 详情 |
|---|---|
| 是什么 | 开源 MLOps/LLMOps 平台，用于实验追踪、数据管理、编排、流水线与模型服务<sup>[1](https://clear.ml/docs/latest/docs/getting_started/main/)</sup> |
| 许可证 | SDK 与 UI 采用 Apache 2.0；服务端采用 SSPL v1.0<sup>[3](https://github.com/clearml/clearml/blob/master/README.md)</sup><sup> • </sup><sup>[5](https://clear.ml/legal/open-source/terms)</sup> |
| 历史 | 2019 年以 Allegro Trains 之名首次发布；2021 年 1 月更名为 ClearML；公司于 2022 年 6 月注册成立<sup>[6](https://societyforaisecurity.com/oss/clearml)</sup><sup> • </sup><sup>[2](https://finder.startupnationcentral.org/company_page/seematics-systems?section=financials)</sup> |
| 最新版本 | v2.1.12，2026 年 8 月 19 日，在 PyPI 上以 `pip install clearml` 安装<sup>[7](https://github.com/clearml/clearml/releases)</sup> |
| 部署方式 | 自托管（Docker、Kubernetes/Helm、云镜像），或使用 app.clear.ml 上的 SaaS 服务<sup>[4](https://github.com/clearml/clearml-server/blob/master/README.md)</sup> |
| 服务器资源占用 | 标准服务器部署约需 4 个 CPU、8 GB 内存和 100 GB 存储；代理的资源需求随工作负载伸缩<sup>[8](https://www.mdpi.com/2073-431X/14/12/506)</sup> |
| 第三方排名 | iTechGuides 在 28 个 MLOps 平台中将其列为第 1（9.4/10，2026 年 10 月），提供免费方案，付费方案自 15 美元/用户/月起<sup>[9](https://www.itechguides.com/best/mlops-platforms/)</sup> |
| 采用情况声明 | 厂商称全球已有超过 2,100 家机构使用 ClearML<sup>[10](https://www.modern-datatools.com/tools/clearml)</sup> |

## 起源与公司

这个项目的根扎在 Allegro AI——一家以色列深度学习公司，2018 年获得现代（Hyundai）的投资，并于 2020 年 1 月发布了用于集群管理的 Allegro Trains 代理。<sup>[2](https://finder.startupnationcentral.org/company_page/seematics-systems?section=financials)</sup> 2021 年 1 月 5 日，这套工具更名为 ClearML，同时推出了新功能和免费的托管方案。<sup>[2](https://finder.startupnationcentral.org/company_page/seematics-systems?section=financials)</sup> ClearML 公司本身于 2022 年 6 月由联合创始人摩西·古特曼（Moses Guttmann，CEO）、哈雷尔·诺姆（Harel Noam，CMO）和吉尔·韦斯特里奇（Gil Westrich，CTO）注册成立，并于 2023 年 12 月获得以色列创新署（Israel Innovation Authority）的资助。<sup>[2](https://finder.startupnationcentral.org/company_page/seematics-systems?section=financials)</sup> 2024 年 3 月，它推出一款开源的 GPU 分片工具，同时发布了新的监控功能。<sup>[2](https://finder.startupnationcentral.org/company_page/seematics-systems?section=financials)</sup>

## 平台架构

ClearML 的文档把当前平台描述为三层。<sup>[11](https://clear.ml/docs/latest/docs/)</sup>

- **基础设施控制平面（Infrastructure Control Plane）**：面向 DevOps 与 IT 团队的计算资源供给与管理，包括 GPU 资源分配、工作负载自动伸缩、监控，以及把云端与本地计算资源整合为“GPU 即服务”的能力。<sup>[11](https://clear.ml/docs/latest/docs/)</sup>
- **AI 开发中心（AI Development Center）**：用于训练、测试和调试模型的环境，配有集成 IDE、可伸缩训练与分布式训练、超参数优化、数据预处理与版本管理、实验追踪，以及通过流水线实现的工作流自动化。<sup>[11](https://clear.ml/docs/latest/docs/)</sup>
- **生成式 AI 应用引擎（GenAI App Engine）**：把大语言模型部署到 GPU 集群，并管理检索增强生成之类的工作负载，为已部署的服务提供网络、认证和基于角色的访问控制。<sup>[11](https://clear.ml/docs/latest/docs/)</sup>

平台管理中心（Platform Management Center）为管理员提供一块仪表板，覆盖整个部署中的租户活动、用量与成本。<sup>[11](https://clear.ml/docs/latest/docs/)</sup> 按模块划分，这套软件包括：用于给代码埋点的 `clearml` Python 包；存储任务、模型与工作流数据并提供 Web UI 的 `clearml-server` 后端；负责编排的代理 `clearml-agent`；在文件系统与对象存储之上做数据管理与版本管理的 `clearml-data`；用于模型部署的 `clearml-serving`；以及用于启动远程 Jupyter 和 VSCode 实例的 `clearml-session`。<sup>[12](https://clear.ml/docs/latest/docs/getting_started/architecture/)</sup>

## 实验追踪

官方宣称，接入只需在现有脚本中加两行代码。埋点之后，SDK 会自动捕获完整的实验设置，包括源码管理信息（含未提交的本地改动）、带有具体包版本的执行环境，以及来自 argparse、Click、PythonFire、TensorFlow defines 和 Hydra 配置的超参数。<sup>[3](https://github.com/clearml/clearml/blob/master/README.md)</sup> 自动捕获的输出包括 stdout 与 stderr、资源监控（CPU 与 GPU 利用率、温度、IO 与网络）、模型快照（可选上传到共享文件夹或 S3、Google Cloud Storage、Azure 或 HTTP 端点）、TensorBoard 的标量与媒体，以及 [Matplotlib](https://www.edgepedia.org/zh/matplotlib) 和 Seaborn 图表。<sup>[3](https://github.com/clearml/clearml/blob/master/README.md)</sup> SDK 文档列出的受支持框架包括 PyTorch（含 Ignite 与 [Lightning](https://www.edgepedia.org/zh/pytorch-lightning)）、TensorFlow、Keras、AutoKeras、FastAI、XGBoost、LightGBM、MegEngine 和 Scikit-Learn。<sup>[3](https://github.com/clearml/clearml/blob/master/README.md)</sup> 一份学术评估把该平台的追踪能力描述为自动记录参数、指标、产物、代码与环境，并配有集成的模型登记库，提供对比工具与可视化。<sup>[8](https://www.mdpi.com/2073-431X/14/12/506)</sup>

## 编排、代理与队列

文档指出，MLOps 的两项核心能力是实验可复现性和把工作扩展到多台机器上，二者都由 ClearML 的工作节点与执行队列承担。<sup>[13](https://clear.ml/docs/latest/docs/fundamentals/agents_and_queues/)</sup> 工作节点通过启动一个 ClearML Agent 来实例化，代理会把代码部署到目标机器，并在虚拟环境或 Docker 容器中搭好完整的执行环境——从安装依赖包到设置环境变量；它还支持在不改代码的情况下即时覆盖参数值，这正是 ClearML 超参数优化的基础。<sup>[13](https://clear.ml/docs/latest/docs/fundamentals/agents_and_queues/)</sup> 代理可以绑定到特定 GPU 以分摊工作负载，可运行在裸金属、虚拟机上，或作为 [Kubernetes](https://www.edgepedia.org/zh/kubernetes) 中的容器运行，并支持 pip、conda 和 poetry 作为包管理器。<sup>[13](https://clear.ml/docs/latest/docs/fundamentals/agents_and_queues/)</sup>

队列是按顺序排定执行的任务列表，一个代理可以按严格优先级或轮询模式服务多个队列。一种特殊的“服务模式”允许单个代理并行运行多个基本空闲的任务，例如流水线控制器、清理或告警服务；默认情况下，开源服务端运行一个监听 `services` 队列的服务模式代理。<sup>[13](https://clear.ml/docs/latest/docs/fundamentals/agents_and_queues/)</sup> 面向 AWS 和 GCP 的云自动伸缩器可自动增减工作节点，该功能已移至 Web UI 的编排页面。<sup>[14](https://www.clear.ml/docs/latest/docs/webapp/applications/apps_overview/)</sup>

## 流水线

ClearML 流水线把多个流程连接起来，把一步的输出送入另一步。流水线由一个持有各步骤交互逻辑的控制器任务实现；既可以通过 `PipelineController` 类用代码构建流水线，也可以通过 `PipelineDecorator` 这组 Python 装饰器把普通函数变成控制器和步骤；由于控制器本身就是一个 ClearML 任务，流水线可以运行其他流水线，也可以并发运行多个任务。<sup>[15](https://clear.ml/docs/latest/docs/pipelines/)</sup> 执行模式有三种：远程（默认，控制器与步骤都通过队列启动）、本地（步骤作为子进程运行），以及面向装饰器流水线的调试模式（一切以普通 Python 函数的方式同步运行）。<sup>[15](https://clear.ml/docs/latest/docs/pipelines/)</sup> 流水线运行时，ClearML 会保存复现它所需的一切，包括 DAG、配置、已安装的包和未提交的改动，因此可以从 Web UI 覆盖参数后重新启动该次运行。<sup>[15](https://clear.ml/docs/latest/docs/pipelines/)</sup> 控制器支持步骤缓存：当代码与输入参数未变时，复用此前已执行步骤的输出；并自动以已完成步骤的比例来跟踪进度。<sup>[15](https://clear.ml/docs/latest/docs/pipelines/)</sup>

## 应用与模型服务

在 Pro 和 Enterprise 方案下，ClearML Applications 是无需写代码即可运行周期性工作流的图形界面应用。类别包括超参数优化与任务调度；AI 开发环境，如远程机器上的 SSH、Jupyter Lab 和 VS Code 会话；面向 Milvus 和 Qdrant 的向量数据库会话；Gradio 与 [Streamlit](https://www.edgepedia.org/zh/streamlit) 的 UI 启动器；用于嵌入模型、vLLM、llama.cpp 和 SGLang 大模型服务的部署应用（通过安全端点提供）；[NVIDIA AI Enterprise](https://www.edgepedia.org/zh/nvidia-ai-enterprise) 集成，如 NIM 和 [NVIDIA Dynamo](https://www.edgepedia.org/zh/nvidia-dynamo)；以及用于部署 Slurm 或 K3s 集群和进行多节点训练的集群应用。<sup>[14](https://www.clear.ml/docs/latest/docs/webapp/applications/apps_overview/)</sup>

厂商把 `clearml-serving` 模块描述为可伸缩、云就绪的模型服务：新的模型端点可在五分钟内上线，由 Nvidia Triton 支撑的优化 GPU 服务，以及开箱即用的模型监控。<sup>[3](https://github.com/clearml/clearml/blob/master/README.md)</sup>

## 部署与资源需求

ClearML Server 由一个托管 UI 的 Web 服务器、一个用于记录与查询任务的 RESTful API 服务器，以及一个存储媒体与模型的文件服务器组成；它出厂即预装一个服务代理。<sup>[16](https://clear.ml/docs/latest/docs/deploying_clearml/clearml_server/)</sup> 它可以从预构建的 AWS EC2 AMI、Google Cloud Platform 自定义镜像、适用于 Linux、macOS 和 [Windows 10](https://www.edgepedia.org/zh/windows-10) 的 Docker 镜像，或使用 Helm 在 Kubernetes 上部署；app.clear.ml 上的免费托管服务就是由厂商维护的同一套服务端。<sup>[16](https://clear.ml/docs/latest/docs/deploying_clearml/clearml_server/)</sup><sup> • </sup><sup>[4](https://github.com/clearml/clearml-server/blob/master/README.md)</sup> 一项为网络威胁检测在本地部署该平台的研究报告称，标准服务器部署约需 4 个 CPU、8 GB 内存和 100 GB 存储，与 Kubeflow 或 Red Hat OpenShift 这类基于 Kubernetes 的替代方案相比并不算高——后者通常需要 16 GB 内存；而代理的资源需求则随工作负载变化。<sup>[8](https://www.mdpi.com/2073-431X/14/12/506)</sup> ClearML 也可以安装在 Kubernetes 集群之上，包括 Tanzu、OpenShift 和 [Rancher](https://www.edgepedia.org/zh/rancher) 的发行版，以及 GKE、AKS 和 EKS 等托管服务。<sup>[17](https://docscontent.nvidia.com/51/5e/8830d195470f9783c3380190906f/clearml-nvidia-ai-enterprise-deployment-guide.pdf)</sup>

## 评价与对比

独立调查和与厂商关系密切的调查，都一致地把 ClearML 归入更宽泛的端到端 MLOps 平台之列，而非单一用途的追踪工具。2023 年 KIT 的一份全景研究把它列为生命周期覆盖范围格外宽广的知名开源平台之一，涵盖追踪、数据版本管理、编排、服务和监控。<sup>[18](https://publikationen.bibliothek.kit.edu/1000180112/157849913)</sup> 学术对比指出了它与更窄的工具之间的差异：MLflow 擅长实验追踪和基本的模型管理，但缺少 ClearML 所提供的更广泛的 MLOps 功能；欧洲的 AITHENA 项目之所以选择 ClearML，是因为它把稳健的 MLOps 功能与复杂 ML 工作流的流水线编排结合在了一起。<sup>[19](https://aithena.eu/wp-content/uploads/2025/04/AITHENA-D2.2-ML-DevOps-oriented-data-life-cycle-governance-and-provenance.pdf)</sup> 2025 年 MDPI 一项针对能源预测 MLOps 的评估发现，[Amazon SageMaker](https://www.edgepedia.org/zh/amazon-sagemaker) 和 Google Vertex AI 等商业平台提供更强的端到端集成，而包括 ClearML 在内的开源平台提供模块化的灵活性，但需要额外的集成工作。<sup>[20](https://www.mdpi.com/2078-2489/17/6/576)</sup> 在 iTechGuides 2026 年 10 月对 28 个 MLOps 平台的排名中，ClearML 以 9.4/10 位居第一，领先于 MLRun（9.3）和 Polyaxon（9.2），并且是提供免费方案的排名最高工具之一，其付费方案自 15 美元/用户/月起。<sup>[9](https://www.itechguides.com/best/mlops-platforms/)</sup> 一份 2026 年的开源基准给 ClearML 打出 97.9/100 分，GitHub 星标约 6.9k，称其为一套完整的开源 MLOps 套件，具备零代码追踪、自动化超参数优化和远程 GPU 工作节点编排能力，但分数仍落后于 MLflow 的 98.6。<sup>[21](https://www.exactbaseline.com/benchmarks/open-source-ml-experiment-tracking-model-registry)</sup>

厂商案例研究中点名的用户包括飞利浦放射信息学（Philips Radiology Informatics），它用实验管理模块自动记录指标、参数和 TensorBoard 数据；以及 WSC Sports、Cisco Meraki、Ultraleap、Trax、Savana 和 [Orbem](https://www.edgepedia.org/zh/orbem) 等机构。<sup>[22](https://www.casestudies.com/company/clearml/case-study/self-documenting-ml-experiments-slash-wasted-time-for-philips)</sup><sup> • </sup><sup>[23](https://clear.ml/case-studies)</sup> 更早的厂商材料还列出了 NVIDIA、三星（Samsung）、现代、博世（Bosch）、微软（Microsoft）、英特尔（Intel）和 IBM 等品牌。<sup>[24](https://clear.ml/wp-content/uploads/2021/12/ClearML-Neural-Guard-Case-Study3a.pdf)</sup> 该 GitHub 仓库截至 2026 年末约有 6.9k 星标和 807 个 fork，采用 Apache 2.0 许可证，并建议在论文中把 ClearML 引用为“你整套 MLOps 技术栈，尽在一个开源工具中”。<sup>[25](https://github.com/clearml/clearml)</sup>

## References

1. [What is ClearML? ClearML documentation](https://clear.ml/docs/latest/docs/getting_started/main/)
2. [ClearML company profile, Startup Nation Finder](https://finder.startupnationcentral.org/company_page/seematics-systems?section=financials)
3. [clearml README, GitHub](https://github.com/clearml/clearml/blob/master/README.md)
4. [clearml-server README, GitHub](https://github.com/clearml/clearml-server/blob/master/README.md)
5. [ClearML Terms of Use, Open Source](https://clear.ml/legal/open-source/terms)
6. [ClearML project profile, Society for AI Security](https://societyforaisecurity.com/oss/clearml)
7. [Releases, clearml/clearml, GitHub](https://github.com/clearml/clearml/releases)
8. [Evaluating Deployment of Deep Learning Model for Early Cyberthreat Detection in On-Premise Scenario Using MLOps Framework, MDPI Computers (2025)](https://www.mdpi.com/2073-431X/14/12/506)
9. [The Best MLOps Platforms in 2026, iTechGuides](https://www.itechguides.com/best/mlops-platforms/)
10. [ClearML Review (2026), Modern DataTools](https://www.modern-datatools.com/tools/clearml)
11. [ClearML Documentation overview](https://clear.ml/docs/latest/docs/)
12. [ClearML Modules, ClearML documentation](https://clear.ml/docs/latest/docs/getting_started/architecture/)
13. [Workers and Queues, ClearML documentation](https://clear.ml/docs/latest/docs/fundamentals/agents_and_queues/)
14. [ClearML Applications, ClearML documentation](https://www.clear.ml/docs/latest/docs/webapp/applications/apps_overview/)
15. [ClearML Pipelines, ClearML documentation](https://clear.ml/docs/latest/docs/pipelines/)
16. [ClearML Server, ClearML documentation](https://clear.ml/docs/latest/docs/deploying_clearml/clearml_server/)
17. [ClearML NVIDIA AI Enterprise Deployment Guide, NVIDIA](https://docscontent.nvidia.com/51/5e/8830d195470f9783c3380190906f/clearml-nvidia-ai-enterprise-deployment-guide.pdf)
18. [Machine learning operations landscape: platforms and tools, KIT publication (2023)](https://publikationen.bibliothek.kit.edu/1000180112/157849913)
19. [AITHENA D2.2: ML DevOps-oriented data life cycle governance and provenance (2025)](https://aithena.eu/wp-content/uploads/2025/04/AITHENA-D2.2-ML-DevOps-oriented-data-life-cycle-governance-and-provenance.pdf)
20. [Operationalising an End-to-End MLOps Lifecycle for Energy Forecasting on ClearML, MDPI Information (2025)](https://www.mdpi.com/2078-2489/17/6/576)
21. [Best Open-Source ML Experiment Tracking & Model Registry Platforms in 2026, ExactBaseline](https://www.exactbaseline.com/benchmarks/open-source-ml-experiment-tracking-model-registry)
22. [Case Study: Philips achieves faster, self-documenting ML experiments with ClearML, CaseStudies.com](https://www.casestudies.com/company/clearml/case-study/self-documenting-ml-experiments-slash-wasted-time-for-philips)
23. [ClearML Case Studies](https://clear.ml/case-studies)
24. [ClearML Neural Guard case study (2021)](https://clear.ml/wp-content/uploads/2021/12/ClearML-Neural-Guard-Case-Study3a.pdf)
25. [clearml/clearml repository, GitHub](https://github.com/clearml/clearml)

---
*Initially written Oct 26, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/clearml

English original: https://www.edgepedia.org/clearml
