StableDiffusionWebUI: Sampler
Preface
This chapter introduces the samplers in sdwebui.
Sampler
A sampler is the sampling method used during the SD image generation process.
Using the following prompt for txt2img, with a fixed checkpoint and fixed seed, we compare the results of different samplers.
Prompt - Chinese
一个男孩,坐在椅子上,上半身,靠近窗口,蓝色上衣,黑色头发,戴眼镜,面向镜头,左手边是窗子
Prompt - English
A boy sitting on a chair, upper body, close to the window, blue shirt, black hair, wearing glasses, facing the camera, with the window on his left side
Checkpoint
Samaritan 3d Cartoon
Seed
3255625742
DPM++ 2M

DPM++ SDE

DPM++ 2M SDE

DPM++ 2M SDE Heun

DPM++ 2S a

DPM++ 3M SDE

Euler a

Euler

LMS

Heun

DPM2

DPM2 a

DPM fast

DPM adaptive

Restart

DDIM

DDIM CFG++

PLMS

UniPC

LCM

Summary
-
Different samplers produce noticeably different results.
-
Checkpoint authors usually recommend a specific sampler. For example, Samaritan 3d Cartoon recommends Euler a, which works well.
-
Generally speaking, the longer the sampler name, the more internal iterations it performs — similar to iPhone generations. Give them a try, for example DPM++ 2M SDE Heun.
SDWebUI
|—URL: https://sdwebui.ai/?from=vq
|—Authentic Stable Diffusion WebUI V1.10.1~
|—Top-tier 4090 GPU, premium members get exclusive single 4090 for image generation~
|—Supports Mac client, Windows client, and Web online usage~
|—Innovative instant model transfer, upload local models instantly~
|—Supports txt2img, img2img, extras, and image info
|—Supports CLIP interrogation and DeepBooru interrogation
|—Supports HD upscaling (Hires.fix), with 21 built-in upscaling models
|—Supports detail restoration (ADetailer), with 11 built-in restoration models
|—Supports ControlNet, with 44 built-in preprocessors and 68 built-in models
|—Supports ultra-HD upscaling (Tiled Diffusion, Demo Fusion, Tiled VAE)
|—Supports old photo restoration, with 21 built-in upscaling models, plus GFPGAN and CodeFormer restoration models
|—Built-in 2 common Styles, 11 popular Checkpoint models, 7 popular LoRA models, 14 common embeddings
|—Built-in oldsix prompt plugin
|—Built-in 23-lesson beginner tutorial