Xin Zhou1*,
Dingkang Liang1*,
Kaijin Chen1, Tianrui Feng1,
Xiwu
Chen2, Hongkai Lin1,
Yikang
Ding2, Feiyang Tan2,
Hengshuang Zhao3,
Xiang
Bai1†
1 Huazhong University of Science and Technology, 2 MEGVII Technology, 3 University of
Hong Kong
(*) Equal contribution. (†) Corresponding author.
This document provides the implementation for accelerating the Wan2.2 model using EasyCache.
This is a nightly preview version that has only been tested on Wan2.2-TI2V-5B.
Prompt: "The camera follows behind a white vintage SUV with a black roof rack ...
Prompt: "The camera follows behind a white vintage SUV with a black roof rack as it speeds up a steep dirt road surrounded by pine trees on a steep mountain slope, dust kicks up from it’s tires, the sunlight shines on the SUV as it speeds along the dirt road, casting a warm glow over the scene. The dirt road curves gently into the distance, with no other cars or vehicles in sight. The trees on either side of the road are redwoods, with patches of greenery scattered throughout. The car is seen from the rear following the curve with ease, making it seem as if it is on a rugged drive through the rugged terrain. The dirt road itself is surrounded by steep hills and mountains, with a clear blue sky above with wispy clouds."
| Wan2.2-T2V-A14B (720p, H20) | EasyCache (Ours, 720p, H20) |
|---|---|
![]() |
![]() |
| Inference Time: ~5729s | Inference Time: ~2603s (~2.2x Speedup) |
Prompt: "A cinematic shot of a Star Wars X-wing fighter in flight ...
Prompt: "A cinematic shot of a Star Wars X-wing fighter in flight, positioned against the backdrop of a lush, tropical planet featuring clear blue oceans, green islands, and swirling white clouds, as seen from space. A massive, circular space station is visible orbiting the planet in the distance. Several other Rebel starfighters are scattered in the background, creating a sense of a larger fleet presence. The primary X-wing is sharply detailed, highlighting its iconic design and battle-worn texture. The glow from its engines is a vibrant reddish-pink, indicating active propulsion. The camera smoothly moves around the X-wing, offering dynamic views of the spacecraft and the breathtaking vista of the planet and the orbital station. Add subtle atmospheric haze and lens effects for added visual depth and realism."
| Wan2.2-I2V-A14B (720p, H20) | EasyCache (Ours, 720p, H20) |
|---|---|
![]() |
![]() |
| Inference Time: ~5481s | Inference Time: ~2491s (~2.2x Speedup) |
Prompt: "A campfire burns in a sunlit forest clearing ...
Prompt: "A campfire burns in a sunlit forest clearing, with bright sparks occasionally leaping out."
| Wan2.1-TI2V-5B (T2V task, 720p, H20) | EasyCache (Ours, 720p, H20) |
|---|---|
![]() |
![]() |
| Inference Time: ~578s | Inference Time: ~255s (~2.3x Speedup) |
Prompt: "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard ...
Prompt: "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside."
| Wan2.2-TI2V-5B (I2V task, 720p, H20) | EasyCache (Ours, 720p, H20) |
|---|---|
![]() |
![]() |
| Inference Time: ~560s | Inference Time: ~224s (~2.5x Speedup) |
a. Prerequisites ⚙️
Before you begin, please follow the instructions in the official Wan2.2 repository to configure the required environment and download the pretrained model weights.
b. Copy Files 📂
Copy easycache_generate.py into the root directory of your local Wan2.2 project.
c. Run Inference
python easycache_generate.py \
--task t2v-A14B \
--size "1280*720" \
--ckpt_dir ./Wan2.2-T2V-A14B \
--offload_model True \
--convert_model_dtype \
--prompt "The camera follows behind a white vintage SUV with a black roof rack as it speeds up a steep dirt road surrounded by pine trees on a steep mountain slope, dust kicks up from it’s tires, the sunlight shines on the SUV as it speeds along the dirt road, casting a warm glow over the scene. The dirt road curves gently into the distance, with no other cars or vehicles in sight. The trees on either side of the road are redwoods, with patches of greenery scattered throughout. The car is seen from the rear following the curve with ease, making it seem as if it is on a rugged drive through the rugged terrain. The dirt road itself is surrounded by steep hills and mountains, with a clear blue sky above with wispy clouds." \
--base_seed 42python easycache_generate.py \
--task i2v-A14B --size "1280*720" \
--ckpt_dir ./Wan2.2-I2V-A14B \
--offload_model True \
--convert_model_dtype \
--image examples/xwing.png \
--prompt "A cinematic shot of a Star Wars X-wing fighter in flight, positioned against the backdrop of a lush, tropical planet featuring clear blue oceans, green islands, and swirling white clouds, as seen from space. A massive, circular space station is visible orbiting the planet in the distance. Several other Rebel starfighters are scattered in the background, creating a sense of a larger fleet presence. The primary X-wing is sharply detailed, highlighting its iconic design and battle-worn texture. The glow from its engines is a vibrant reddish-pink, indicating active propulsion. The camera smoothly moves around the X-wing, offering dynamic views of the spacecraft and the breathtaking vista of the planet and the orbital station. Add subtle atmospheric haze and lens effects for added visual depth and realism." \
--base_seed 42python easycache_generate.py \
--task ti2v-5B \
--size "1280*704" \
--ckpt_dir ./Wan2.2-TI2V-5B \
--prompt "A campfire burns in a sunlit forest clearing, with bright sparks occasionally leaping out." \
--base_seed 42python easycache_generate.py \
--task ti2v-5B \
--size "1280*704" \
--ckpt_dir ./Wan2.2-TI2V-5B \
--image examples/i2v_input.JPG \
--prompt "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside." \
--base_seed 42We would like to thank the contributors to the Wan2.2 repository, for the open research and exploration. We also extend our gratitude to @AChowdhury1211 for the assistance.
If you find this repository useful in your research, please consider giving a star ⭐ and a citation.
@article{zhou2025easycache,
title={Less is Enough: Training-Free Video Diffusion Acceleration via Runtime-Adaptive Caching},
author={Zhou, Xin and Liang, Dingkang and Chen, Kaijin and and Feng, Tianrui and Chen, Xiwu and Lin, Hongkai and Ding, Yikang and Tan, Feiyang and Zhao, Hengshuang and Bai, Xiang},
journal={arXiv preprint arXiv:2507.02860},
year={2025}
}






