siliconflow / onediff

OneDiff: An out-of-the-box acceleration library for diffusion models.
https://github.com/siliconflow/onediff/wiki
Apache License 2.0
1.4k stars 85 forks source link

how to change CACHE_INTERVAL and CACHE_BRANCH parameters to increase video quality #952

Closed lss15151161 closed 2 weeks ago

lss15151161 commented 2 weeks ago

example in https://github.com/siliconflow/onediff/tree/main/onediff_diffusers_extensions#run-stable-diffusion-15-with-onediffx,CACHE_INTERVAL = 3, CACHE_BRANCH = 0, but I want to know what is mean of these parameters, and how can I change it?