sampler in stable diffusion webui

Stable Diffusion - Sampler - Zhihu Sampler : Stable Diffusion's webUI provides a large number of samplers for us to choose from, such as Eular a, Heum, DDIM, etc. What are the differences between different samplers? In operation How to choose? This article will explain in detail how the sampler works, and various sampling... icon-default.png?t=N7T8https://zhuanlan.zhihu.com/p/621083328 https://github.com/huggingface/diffusers/issues /1633 icon-default.png?t=N7T8https://github.com/huggingface/diffusers/issues/1633

Full analysis of Stable diffusion sampler, 30 sampling algorithm tutorials_bilibili_bilibili There are 22 types of stable diffusion samplers, and the just updated version 1.6 of Stable diffusion adds 8 new samplers, for a total of 30 types Sampling algorithm, this tutorial will explain it to you one by one. , video views 5599, comments 9, likes 620, coins tossed 430, favorites 1241, retweets 69, video author CG fan Li Chen, author profile CG fan official website cgmi.com, WeChat cgmi66, related videos : [SD tutorial one button to put on and take off clothes] stable diffusion uses Lora to control the number of clothes, [Stable Diffusion] V1.6 version update new features detailed explanation, a comprehensive comparison between Midjourney and Stable Diffusion, which one should I learn? Let’s explain it clearly once, the [AI Painting] model trainer is released! Simple yet professional one-click package for LoRA model training, Savage Test: The difference between Stable Diffusion Sampler <1>, Stable Diffusion Tutorial: Super powerful SAM plug-in, quick change of clothes in one second, AI is evolving again! Can Lora make alchemy into a real-life model? One-stop nanny-level tutorial, learn how to replicate an AI yourself in no time! , Stable Diffusion difference expression production: Dynamic Prompts and After Detailer, Stable Diffusion V1.6 major upgrade: DW Pose plug-in, precise control of postures, Stable Diffusion webui v1.6 version released, this time added 9 new sampling methods, sd How to choose the sampling method? Just read this reviewicon-default.png?t=N7T8https://www.bilibili.com/video/BV1FN411i7sB/?spm_id_from=333.1007.top_right_bar_window_default_collection.content.click&vd_source=4aed82e35f26bb600bc5b46e65e25c22 

There are currently 30 samplers in stable-diffusion-webui 1.6. In principle, most of them are based on DDPM. Based on the basic paradigm of the diffusion model, the noise addition and denoising process can be basically divided into three major categories in terms of application. The first is the early old-school samplers, the second is the DPM algorithm released in 2022, and the third is the new sampler in 2023.

In the first category, DDIM and PLMS were proposed with the first version of sd and are outdated. Euler, Heun, and LMS are all classic ODE solvers. Heun is improved from Euler and is twice as slow. LMS is a linear polynomial solver. Footwork, just keep Euler/a. The samplers with a in them are all ancestor samplers, and the generated graphs are not convergent. This type of ancestor samplers will add noise in each sampling step. As the number of sampling steps increases, the picture will become more or less different. There are some changes and there is no convergence. On the contrary, a sampler that can converge will tend to a fixed picture as the number of sampling steps increases. The advantage of not converging is that it brings certain random details to the picture.

The above is the DPM algorithm that can be retained. The DPM generation algorithm is not used, and the DPM2 sampler is not recommended. The quality may be better, but the rendering time will be doubled. DPM++ is an improvement of the first generation algorithm. Compared with the original algorithm, the one with karras is better. After 8 steps of sampling, the noise will be much less, better images can be produced with fewer sampling steps, and the speed of adding heun will be very slow. s represents single step, 2m represents 2-order multi-step sampling, and 2m is an upgraded version of 2s.

Guess you like

Origin blog.csdn.net/u012193416/article/details/132026571