OneFlow: Redesign the Distributed Deep Learning Framework from Scratch
Not on the map. Why?
Abstract (arXiv)
Deep learning frameworks such as TensorFlow and PyTorch provide a productive interface for expressing and training a deep neural network (DNN) model on a single device or using data parallelism. Still, they may not be flexible or efficient enough in training emerging large models on distributed devices, which require more sophisticated parallelism beyond data parallelism. Plugins or wrappers have been developed to strengthen these frameworks for model or pipeline parallelism, but they complicate the usage and implementation of distributed deep learning. Aiming at a simple, neat redesign of distributed deep learning frameworks for various parallelism paradigms, we present OneFlow, a novel distributed training framework based on an SBP (split, broadcast and partial-value) abstraction and the actor model. SBP enables much easier programming of data parallelism and model parallelism than existing frameworks, and the actor model provides a succinct runtime mechanism to manage the complex dependencies imposed by resource constraints, data movement and computation in distributed deep learning. We demonstrate the general applicability and efficiency of OneFlow for training various large DNN models with case studies and extensive experiments. The results show that OneFlow outperforms many well-known customized libraries built on top of the state-of-the-art frameworks. The code of OneFlow is available at: https://github.com/Oneflow-Inc/oneflow.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 28 of its 51 references that are in the map. First posted on arXiv 28 Oct 2021.
Builds on
28 of 51 references.
References · 28
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2017Mixed Precision Trainingcited by 1,135
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
16 more
- 2016Wide & Deep Learning for Recommender Systemscited by 745
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 516
- 2018Horovod: fast and easy distributed deep learning in TensorFlowcited by 275
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 2015MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systemscited by 195
- 2018MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devicescited by 180
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
- 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
- 2017Revisiting Distributed Synchronous SGDcited by 142
- 2019MLPerf Training Benchmarkcited by 114
- 2018Supporting Very Large Models using Automatic Dataflow Graph Partitioningcited by 43
- 2018TicTac: Accelerating Distributed Deep Learning with Communication Schedulingcited by 27
- 2018Exploring Hidden Dimensions in Parallelizing Convolutional Neural Networkscited by 23
- 2019Optimizing Multi-GPU Parallelization Strategies for Deep Learning Trainingcited by 9
- 2020Exploring the limits of Concurrency in ML Training on Google TPUscited by 9
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 5; 2024: 3; 2025: 4; 2026: 1.
15 papers.
Sort:
By area:
- 2023A Survey of Large Language Modelscited by 2,537
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
- 2025MAGI-1: Autoregressive Video Generation at Scalecited by 262
- 2024DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Modelscited by 98
- 2024Understanding LLMs: A Comprehensive Overview from Training to Inferencecited by 58
- 2025Efficient Diffusion Models: A Surveycited by 35
- 2022Merak: An Efficient Distributed DNN Training Framework with Automated 3D Parallelism for Giant Foundation Modelscited by 11
- 2021End-to-end Adaptive Distributed Training on PaddlePaddlecited by 5
- 2023SuperScaler: Supporting Flexible DNN Parallelization via a Unified Abstractioncited by 5
- 2023Coop: Memory is not a Commoditycited by 3
- 2025TrainVerify: Equivalence-Based Verification for Distributed LLM Trainingcited by 3
- 2026AAFLOW: Scalable Patterns for Agentic AI Workflows4 May 2026
- 2025A Cycle-Consistency Constrained Framework for Dynamic Solution Space Reduction in Noninjective Regression7 Jul 2025
- 2025TrainVerify: Equivalence-Based Verification for Distributed LLM Training19 Jun 2025
- 2025MAGI-1: Autoregressive Video Generation at Scale19 May 2025
- 2025Efficient Diffusion Models: A Survey3 Feb 2025
- 2024Artificial Intelligence for Biomedical Video Generation12 Nov 2024
- 2024DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Models29 Feb 2024
- 2024Understanding LLMs: A Comprehensive Overview from Training to Inference4 Jan 2024
- 2023Coop: Memory is not a Commodity1 Nov 2023
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel21 Apr 2023
- 2023A Survey of Large Language Models31 Mar 2023
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-X30 Mar 2023
- 2024DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Modelscited by 98
- 2025Efficient Diffusion Models: A Surveycited by 35
- 2026AAFLOW: Scalable Patterns for Agentic AI Workflowscited by 2
- 2026AAFLOW: Scalable Patterns for Agentic AI Workflows4 May 2026
- 2025MAGI-1: Autoregressive Video Generation at Scalecited by 262
- 2025MAGI-1: Autoregressive Video Generation at Scale19 May 2025
- 2023A Survey of Large Language Modelscited by 2,537
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
- 2024Understanding LLMs: A Comprehensive Overview from Training to Inferencecited by 58
- 2022Merak: An Efficient Distributed DNN Training Framework with Automated 3D Parallelism for Giant Foundation Modelscited by 11
- 2021End-to-end Adaptive Distributed Training on PaddlePaddlecited by 5
- 2023SuperScaler: Supporting Flexible DNN Parallelization via a Unified Abstractioncited by 5
- 2023Coop: Memory is not a Commoditycited by 3
- 2025TrainVerify: Equivalence-Based Verification for Distributed LLM Trainingcited by 3
- 2024Artificial Intelligence for Biomedical Video Generationcited by 2
- 2025A Cycle-Consistency Constrained Framework for Dynamic Solution Space Reduction in Noninjective Regressioncited by 0
- 2025A Cycle-Consistency Constrained Framework for Dynamic Solution Space Reduction in Noninjective Regression7 Jul 2025
- 2025TrainVerify: Equivalence-Based Verification for Distributed LLM Training19 Jun 2025
- 2024Artificial Intelligence for Biomedical Video Generation12 Nov 2024
- 2024Understanding LLMs: A Comprehensive Overview from Training to Inference4 Jan 2024
- 2023Coop: Memory is not a Commodity1 Nov 2023
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel21 Apr 2023
- 2023A Survey of Large Language Models31 Mar 2023
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-X30 Mar 2023
- 2023SuperScaler: Supporting Flexible DNN Parallelization via a Unified Abstraction21 Jan 2023
- 2022Merak: An Efficient Distributed DNN Training Framework with Automated 3D Parallelism for Giant Foundation Models10 Jun 2022
- 2021End-to-end Adaptive Distributed Training on PaddlePaddle6 Dec 2021