WanVideo Tea Cache (native)

节点功能:用于加速 WanVideo 模型的推理过程。该节点实现了 TeaCache 技术,通过缓存和重用计算结果来减少不必要的计算,从而显著提高视频生成的速度。WanVideo Tea Cache (native)-
节点中英文对比
WanVideo Tea Cache (native)
  • 模型
  • 模型
  • rel_l1_thresh
    start_percent
    end_percent
    cache_device
    coefficients
    WanVideo Tea Cache (native)
  • model
  • model
  • rel_l1_thresh
    start_percent
    end_percent
    cache_device
    coefficients
    WanVideo Tea Cache (native) - 参数说明
    输入参数
    model
    需要应用 TeaCache 的模型实例。
    输出参数
    model
    应用 TeaCache 功能后的模型
    控件参数
    rel_l1_thresh
    判断是否跳过当前步骤的 L1 阈值,决定缓存是否生效。范围应根据是否使用 coefficients 而定。启用系数时推荐值为 0.2~0.4,禁用系数时应约为 0.02~0.05(1.3B 模型除外)。
    start_percent
    指定从多少步骤(按百分比)开始启用 TeaCache。建议设为 0.1 或更高,避免初始阶段跳步影响画面结构。
    end_percent
    指定到多少步骤(按百分比)结束 TeaCache。通常为 1.0,如需精细控制可缩短跳步区间以减少误差积累。
    cache_device
    指定缓存使用的设备(main_device / offload_device)。如果显存充足可用 main_device;否则建议选择 offload_device 减少显存占用。
    coefficients
    用于调整相对距离计算的多项式系数类型,模型相关。
    暂无节点说明
    节点列表 首页