DualPipe is an innovative bidirectional pipeline parallel algorithm developed by the DeepSeek-AI team. By optimizing the overlap of computation and communication, this algorithm significantly reduces pipeline bubbles and improves training efficiency. It performs exceptionally well in large-scale distributed training, especially for deep learning tasks requiring efficient parallelization. DualPipe is developed based on PyTorch, easy to integrate and extend, and suitable for developers and researchers who need high-performance computing.