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 class
FirstBlockCacheState
FirstBlockCacheStateโ
class max.pipelines.diffusion.FirstBlockCacheState(prev_residual=None, prev_output=None)
Bases: object
Per-request mutable state for FirstBlockCache.
Allocated fresh for each denoising request via
FirstBlockCache.create_state().
prev_outputโ
Full transformer output from the previous step.
prev_residualโ
First-block output residual from the previous step.