arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.18392cs.DC
收藏

Dflow,一个用于构建云原生 AI-for-Science 工作流的 Python 框架

Dflow, a Python framework for constructing cloud-native AI-for-Science workflows

Xinzijian Liu, Yanbo Han, Zhuoyuan Li, Jiahao Fan, Chengqian Zhang, Jinzhe Zeng, Yifan Shan, Yannan Yuan, Wei-Hong Xu, Yun-Pei Liu, Yuzhi Zhang, Tongqi Wen, Dar… 展开作者

Xinzijian Liu, Yanbo Han, Zhuoyuan Li, Jiahao Fan, Chengqian Zhang, Jinzhe Zeng, Yifan Shan, Yannan Yuan, Wei-Hong Xu, Yun-Pei Liu, Yuzhi Zhang, Tongqi Wen, Darrin M. York, Zhicheng Zhong, Hang Zheng, Jun Cheng, Linfeng Zhang, Han Wang

AI总结:

Dflow 是一个开源 Python 工具包,通过简单编程接口与 Kubernetes 容器技术,支持在分布式异构基础设施上构建可扩展至数千节点的云原生 AI-for-Science 工作流,提升复杂科学计算效率并促进组件复用与协作。

摘要:

在 AI-for-Science 时代,并发学习与高通量计算等科学计算场景需要新一代基础设施,以在云端与高性能超级计算机上支持可扩展的计算资源与自动化工作流管理。在此我们介绍 Dflow,这是一个开源 Python 工具包,旨在让科学家通过简单编程接口构建工作流。它利用容器与 Kubernetes 实现灵活性,能够在分布式、异构的基础设施上实现复杂流程控制与任务调度。Dflow 具备高度可观测性,每个工作流可扩展至数千个并发节点,从而提升复杂科学计算任务的效率。Dflow 中的基本单元称为 Operation(OP),可复用且独立于底层基础设施或上下文。基于 Dflow 已开发出数十个工作流项目,覆盖广泛领域。我们预期 Dflow 及其组件的可复用性将鼓励更多科学家发布其工作流与 OP 组件。这些组件反过来可在各种上下文中被改编与复用,从而促进科学界更广泛的合作与创新。

英文摘要:

In the AI-for-science era, scientific computing scenarios such as concurrent learning and high-throughput computing demand a new generation of infrastructure that supports scalable computing resources and automated workflow management on both cloud and high-performance supercomputers. Here we introduce Dflow, an open-source Python toolkit designed for scientists to construct workflows with simple programming interfaces. It enables complex process control and task scheduling across a distributed, heterogeneous infrastructure, leveraging containers and Kubernetes for flexibility. Dflow is highly observable and can scale to thousands of concurrent nodes per workflow, enhancing the efficiency of complex scientific computing tasks. The basic unit in Dflow, known as an Operation (OP), is reusable and independent of the underlying infrastructure or context. Dozens of workflow projects have been developed based on Dflow, spanning a wide range of projects. We anticipate that the reusability of Dflow and its components will encourage more scientists to publish their workflows and OP components. These components, in turn, can be adapted and reused in various contexts, fostering greater collaboration and innovation in the scientific community.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑