For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Python class
DenoisingCacheConfig
DenoisingCacheConfigβ
class max.pipelines.diffusion.DenoisingCacheConfig(*, config_file=None, section_name=None, first_block_caching=False, taylorseer=False, taylorseer_cache_interval=None, taylorseer_warmup_steps=None, taylorseer_max_order=None)
Bases: ConfigFileModel
Pipeline-level cache configuration for diffusion model denoising.
Controls First-Block Cache (step cache) and TaylorSeer optimizations that skip redundant transformer passes during the denoising loop.
-
Parameters:
first_block_cachingβ
first_block_caching: bool
model_configβ
model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': False, 'strict': False}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
taylorseerβ
taylorseer: bool
taylorseer_cache_intervalβ
taylorseer_max_orderβ
taylorseer_warmup_stepsβ
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!