fastvideo.v1.configs.sample.teacache#

Module Contents#

Classes#

API#

class fastvideo.v1.configs.sample.teacache.TeaCacheParams[source]#

Bases: fastvideo.v1.configs.sample.base.CacheParams

cache_type: str[source]#

‘teacache’

coefficients: list[float][source]#

‘field(…)’

teacache_thresh: float[source]#

0.0

class fastvideo.v1.configs.sample.teacache.WanTeaCacheParams[source]#

Bases: fastvideo.v1.configs.sample.base.CacheParams

cache_type: str[source]#

‘teacache’

property coefficients: list[float][source]#
get_cutoff_steps(num_inference_steps: int) int[source]#
non_ret_steps_coeffs: list[float][source]#

‘field(…)’

property ret_steps: int[source]#
ret_steps_coeffs: list[float][source]#

‘field(…)’

teacache_thresh: float[source]#

0.0

use_ret_steps: bool[source]#

True