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/SamplerSASolver.md.

SASolver采样器(SamplerSASolver)

SamplerSASolvermodel/sampling/samplers角色:采样器对象

SamplerSASolver 节点为扩散模型创建并配置自定义采样器。它使用 sa_solver 采样算法,并带有可配置的预测-校正方案和随机微分方程(SDE)设置,返回一个可接入采样节点的采样器对象。sde_start_percent 和 sde_end_percent 的值会使用所连接模型的采样调度转换为 sigma 值,以定义应用随机成分的区间。

参数

参数类型默认 / 范围说明
modelMODEL · 扩散模型—(连线输入)扩散模型(UNet/DiT)。通常来自 CheckpointLoaderSimple 或 UNETLoader。
etaFLOAT0.0 ~ 10.0,步长 0.01控制 SDE 求解器的步长缩放因子(默认值:1.0)
sde_start_percentFLOAT0.0 ~ 1.0,步长 0.001—
sde_end_percentFLOAT0.0 ~ 1.0,步长 0.001—
s_noiseFLOAT0.0 ~ 100.0,步长 0.01控制采样期间添加的噪声量(默认值:1.0)
predictor_orderINT1 ~ 6—
corrector_orderINT0 ~ 6—
use_peceBOOLEAN · 布尔true / false—
simple_order_2BOOLEAN · 布尔true / false—

输出

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

怎么接

  • 上游:CheckpointLoaderSimple / UNETLoader
  • 下游:SamplerCustom / SamplerCustomAdvanced
  • 接线:输出 SAMPLER 对象,接 SamplerCustom / SamplerCustomAdvanced 的 sampler 口,替代 KSampler 的采样器下拉框。

使用案例

从 model、eta(1.0)、sde_start_percent(0.2) 开始填就能跑起来。典型接法:CheckpointLoaderSimple → 本节点 → SamplerCustom。输出类型是 SAMPLER,只能接同类型的输入端口,颜色对不上就是接错了。

端口与连线示意

SamplerSASolver 端口与连线示意

同类节点

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