On-device Sora: Enabling Training-Free Diffusion-based Text-to-Video Generation for Mobile Devices
Bosung Kim, Kyuhwan Lee, Isu Jeong, Jungmin Cheon, Yeojin Lee, Seulki Lee
TL;DR
On-device Sora tackles the problem of running diffusion-based text-to-video directly on mobile devices without retraining. It introduces three techniques—Linear Proportional Leap (LPL) to truncate denoising with Rectified Flow, Temporal Dimension Token Merging (TDTM) to cut temporal attention, and Concurrent Inference with Dynamic Loading (CI-DL) to fit large models into limited memory. Together, these methods enable on-device video generation with quality close to Open-Sora on high-end GPUs while delivering substantial speedups and eliminating the need for training or re-optimizing models. The approach, implemented on the iPhone 15 Pro and validated with VBench across multiple datasets, holds promise for democratizing access to state-of-the-art generative video on commodity devices and can be extended to other diffusion-based models.
Abstract
We present On-device Sora, the first model training-free solution for diffusion-based on-device text-to-video generation that operates efficiently on smartphone-grade devices. To address the challenges of diffusion-based text-to-video generation on computation- and memory-limited mobile devices, the proposed On-device Sora applies three novel techniques to pre-trained video generative models. First, Linear Proportional Leap (LPL) reduces the excessive denoising steps required in video diffusion through an efficient leap-based approach. Second, Temporal Dimension Token Merging (TDTM) minimizes intensive token-processing computation in attention layers by merging consecutive tokens along the temporal dimension. Third, Concurrent Inference with Dynamic Loading (CI-DL) dynamically partitions large models into smaller blocks and loads them into memory for concurrent model inference, effectively addressing the challenges of limited device memory. We implement On-device Sora on the iPhone 15 Pro, and the experimental evaluations show that it is capable of generating high-quality videos on the device, comparable to those produced by high-end GPUs. These results show that On-device Sora enables efficient and high-quality video generation on resource-constrained mobile devices. We envision the proposed On-device Sora as a significant first step toward democratizing state-of-the-art generative technologies, enabling video generation on commodity mobile and embedded devices without resource-intensive re-training for model optimization (compression). The code implementation is available at a GitHub repository(https://github.com/eai-lab/On-device-Sora).
