Nodes/ComfyUI-BerniniR Wrapper/Bernini-R TeaCache Args
ComfyUI Node

Bernini-R TeaCache Args

Configure TeaCache block caching for faster sampling. Connect to BerniniR_KSampler to enable; leave disconnected to disable.

By xiaolibai-sys·Created about a month ago·Updated 28 days ago· 8
Bernini-R TeaCache Args
    • teacache_args
    max_skip_blocks15
    start_block3
    rel_l1_thresh0.08
    warmup_steps1
    cooldown_steps2
    CategoryBernini-R/Config

    Inputs (5)

    NameTypeDefaultDescription
    max_skip_blocksINT151–30Number of blocks in the caching window. Larger = more speedup but higher quality risk.
    start_blockINT30–29Index of the first cacheable block. L1 distance is compared here to decide skip vs compute.
    rel_l1_threshFLOAT0.080–1Skip blocks when the absolute mean L1 distance between consecutive step residuals < threshold (unnormalized). 0.04 = safe (minimal quality loss), 0.12 = fast (may degrade).
    warmup_stepsINT10–100First N denoising steps that never cache (structure formation phase).
    cooldown_stepsINT20–100Last N denoising steps that never cache (detail refinement phase).

    Outputs (1)

    NameTypeDescription
    teacache_argsBERNINI_TEACACHE