Python class
FirstBlockCacheState
FirstBlockCacheStateโ
class max.pipelines.modeling.base.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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!