For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /nodes/02/SamplerDPMAdaptative.md.

DPMAdaptative采样器(SamplerDPMAdaptative)

SamplerDPMAdaptativemodel/sampling/samplers角色:采样器对象★ 常用节点

SamplerDPMAdaptative 节点实现了一个自适应 DPM(扩散概率模型)采样器,可在采样过程中自动调整步长。它使用基于容差的误差控制来确定最优步长,在计算效率与采样精度之间取得平衡。这种自适应方法有助于在保持质量的同时,潜在地减少所需的步数。

参数

参数类型默认 / 范围说明
orderINT2 ~ 3采样器方法的阶数(默认值:3)
rtolFLOAT0.0 ~ 100.0,步长 0.01误差控制的相对容差(默认值:0.05)
atolFLOAT0.0 ~ 100.0,步长 0.01误差控制的绝对容差(默认值:0.0078)
h_initFLOAT0.0 ~ 100.0,步长 0.01初始步长(默认值:0.05)
pcoeffFLOAT0.0 ~ 100.0,步长 0.01步长控制的比例系数(默认值:0.0)
icoeffFLOAT0.0 ~ 100.0,步长 0.01步长控制的积分系数(默认值:1.0)
dcoeffFLOAT0.0 ~ 100.0,步长 0.01步长控制的微分系数(默认值:0.0)
accept_safetyFLOAT0.0 ~ 100.0,步长 0.01步长接受的安全系数(默认值:0.81)
etaFLOAT0.0 ~ 100.0,步长 0.01随机性参数(默认值:0.0)
s_noiseFLOAT0.0 ~ 100.0,步长 0.01噪声缩放因子(默认值:1.0)

输出

输出类型说明
SAMPLERSAMPLER采样器对象

怎么接

  • 上游:—(仅参数)
  • 下游:SamplerCustom / SamplerCustomAdvanced
  • 接线:输出 SAMPLER 对象,接 SamplerCustom / SamplerCustomAdvanced 的 sampler 口,替代 KSampler 的采样器下拉框。

使用案例

从 order(3)、rtol(0.05)、atol(0.0078) 开始填就能跑起来。输出通常接 SamplerCustom。输出类型是 SAMPLER,只能接同类型的输入端口,颜色对不上就是接错了。

端口与连线示意

SamplerDPMAdaptative 端口与连线示意

同类节点

K采样器选择 · DPMPP_2M_SDE采样器 · DPMPP_3M_SDE采样器 · EulerAncestral采样器 · SamplerLCM · 采样器 AR 视频 · DPMPP_2S_Ancestral采样器 · DPMPP_SDE采样器 · ER_SDE采样器 · EulerAncestralCFG++采样器 · LCM缩放采样器 · LMS采样器