2025-05-28 · 专家 · 机器学习 · 计算机视觉

Minute-Long Videos with Dual Parallelisms

该论文提出了一种名为DualParal的新型分布式推理策略,通过并行处理视频序列和模型层,并采用块状去噪方案,以实现长视频的高效生成。

更新于 2025-05-28。作者:Zeqing Wang、Bowen Zheng、Xingyi Yang、Yuecong Xu、Xinchao Wang。

中文摘要

基于扩散变换器(DiT)的视频扩散模型能够在规模上生成高质量的视频,但长视频的处理延迟和内存成本却非常高。为了解决这个问题,我们提出了一种新颖的分布式推理策略,称为DualParal。其核心思想是,我们不是在单个GPU上生成整个视频,而是在GPU之间并行化时间帧和模型层。然而,这种分区的朴素实现面临一个关键限制:由于扩散模型需要在帧之间同步噪声水平,这种实现导致原始并行性的序列化。我们利用块状去噪方案来解决这个问题。具体来说,我们通过管道处理一系列帧块,噪声水平逐步降低。每个GPU处理特定的块和层子集,同时将前一个GPU的结果传递给下一个GPU,从而实现异步计算和通信。为了进一步优化性能,我们引入了两个关键改进。首先,在每块GPU上实现了一个特征缓存,用于存储和重用前一个块的特征作为上下文,以最小化GPU之间的通信和冗余计算。其次,我们采用了一种协调的噪声初始化策略,通过在GPU之间共享初始噪声模式,确保全局一致的时间动态,而不增加额外的资源成本。这些改进共同实现了快速、无瑕疵、无限长视频的生成。应用于最新的扩散变换器视频生成器,我们的方法在8块RTX 4090 GPU上高效地生成了1,025帧的视频,延迟降低了高达6.54倍,内存成本降低了1.48倍。

英文摘要

Diffusion Transformer (DiT)-based video diffusion models generate high-quality videos at scale but incur prohibitive processing latency and memory costs for long videos. To address this, we propose a novel distributed inference strategy, termed DualParal. The core idea is that, instead of generating an entire video on a single GPU, we parallelize both temporal frames and model layers across GPUs. However, a naive implementation of this division faces a key limitation: since diffusion models require synchronized noise levels across frames, this implementation leads to the serialization of original parallelisms. We leverage a block-wise denoising scheme to handle this. Namely, we process a sequence of frame blocks through the pipeline with progressively decreasing noise levels. Each GPU handles a specific block and layer subset while passing previous results to the next GPU, enabling asynchronous computation and communication. To further optimize performance, we incorporate two key enhancements. Firstly, a feature cache is implemented on each GPU to store and reuse features from the prior block as context, minimizing inter-GPU communication and redundant computation. Secondly, we employ a coordinated noise initialization strategy, ensuring globally consistent temporal dynamics by sharing initial noise patterns across GPUs without extra resource costs. Together, these enable fast, artifact-free, and infinitely long video generation. Applied to the latest diffusion transformer video generator, our method efficiently produces 1,025-frame videos with up to 6.54times lower latency and 1.48times lower memory cost on 8timesRTX 4090 GPUs.

解读

一句话总结

该论文提出了一种名为DualParal的新型分布式推理策略,通过并行处理视频序列和模型层,并采用块状去噪方案,以实现长视频的高效生成。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt