IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python function

resolve_denoising_cache

resolve_denoising_cache()

max.pipelines.diffusion.config.resolve_denoising_cache(settings, defaults, arch_name=None)

source

Fill unset settings from architecture defaults.

User-set fields win. Unset booleans become False. Remaining unset tuning uses the complete default. Enabling TaylorSeer without resolvable tuning raises here.

Parameters:

  • settings (DenoisingCacheSettings) – User denoising-cache settings.
  • defaults (TaylorSeerDefaults | None) – Architecture TaylorSeer defaults, if any.
  • arch_name (str | None) – Architecture name for error messages.

Raises:

ValueError – TaylorSeer is enabled but its tuning cannot be resolved.

Return type:

DenoisingCacheConfig