Python class
TaylorSeerState
TaylorSeerStateβ
class max.pipelines.modeling.base.TaylorSeerState(factor_0=None, factor_1=None, factor_2=None, last_compute_step=None)
Bases: object
Per-request mutable state for TaylorSeer caching.
Allocated fresh for each denoising request via
TaylorSeer.create_state().
-
Parameters:
factor_0β
Cached 0th-order factor (function value).
factor_1β
Cached 1st-order factor (first derivative approximation).
factor_2β
Cached 2nd-order factor (second derivative approximation).
last_compute_stepβ
Step index of the last full transformer computation.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!