mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-22 08:40:47 +00:00
support teacache-hunyuanvideo
This commit is contained in:
@@ -4,13 +4,31 @@ TeaCache ([Timestep Embedding Aware Cache](https://github.com/ali-vilab/TeaCache
|
||||
|
||||
## Examples
|
||||
|
||||
We provide examples on FLUX.1-dev. See [./flux_teacache.py](./flux_teacache.py).
|
||||
### FLUX
|
||||
|
||||
Script: [./flux_teacache.py](./flux_teacache.py)
|
||||
|
||||
Model: FLUX.1-dev
|
||||
|
||||
Steps: 50
|
||||
|
||||
GPU: A100
|
||||
|
||||
|TeaCache is disabled|tea_cache_l1_thresh=0.2|tea_cache_l1_thresh=0.4|tea_cache_l1_thresh=0.6|tea_cache_l1_thresh=0.8|
|
||||
|-|-|-|-|-|
|
||||
|23s|13s|9s|6s|5s|
|
||||
|||||
|
||||
|TeaCache is disabled|tea_cache_l1_thresh=0.2|tea_cache_l1_thresh=0.8|
|
||||
|-|-|-|
|
||||
|23s|13s|5s|
|
||||
|||
|
||||
|
||||
### Hunyuan Video
|
||||
|
||||
Script: [./hunyuanvideo_teacache.py](./hunyuanvideo_teacache.py)
|
||||
|
||||
Model: Hunyuan Video
|
||||
|
||||
Steps: 30
|
||||
|
||||
GPU: A100
|
||||
|
||||
The following video was generated using TeaCache. It is nearly identical to [the video without TeaCache enabled](https://github.com/user-attachments/assets/48dd24bb-0cc6-40d2-88c3-10feed3267e9), but with double the speed.
|
||||
|
||||
https://github.com/user-attachments/assets/cd9801c5-88ce-4efc-b055-2c7737166f34
|
||||
|
||||
Reference in New Issue
Block a user