From 53f6bc1359e48b68a877824bf25fd843c88102a6 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Tue, 31 Oct 2023 14:12:02 -0700 Subject: [PATCH] lu lambdas --- .../en/api/pipelines/stable_diffusion/overview.md | 12 ------------ .../stable_diffusion/stable_diffusion_xl.md | 3 +++ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/docs/source/en/api/pipelines/stable_diffusion/overview.md b/docs/source/en/api/pipelines/stable_diffusion/overview.md index 82b2597a7043..fe30e7177dbf 100644 --- a/docs/source/en/api/pipelines/stable_diffusion/overview.md +++ b/docs/source/en/api/pipelines/stable_diffusion/overview.md @@ -36,10 +36,8 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo Space - - @@ -49,7 +47,6 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo - StableDiffusionImg2Img @@ -58,7 +55,6 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo - StableDiffusionInpaint @@ -67,7 +63,6 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo - StableDiffusionDepth2Img @@ -76,7 +71,6 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo - StableDiffusionImageVariation @@ -85,7 +79,6 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo - StableDiffusionPipelineSafe @@ -94,7 +87,6 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo - StableDiffusion2 @@ -103,7 +95,6 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo - StableDiffusionXL @@ -112,7 +103,6 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo - StableDiffusionLatentUpscale @@ -121,14 +111,12 @@ The table below summarizes the available Stable Diffusion pipelines, their suppo - StableDiffusionUpscale super-resolution - StableDiffusionLDM3D diff --git a/docs/source/en/api/pipelines/stable_diffusion/stable_diffusion_xl.md b/docs/source/en/api/pipelines/stable_diffusion/stable_diffusion_xl.md index aedb03d51caf..d257a6e91edc 100644 --- a/docs/source/en/api/pipelines/stable_diffusion/stable_diffusion_xl.md +++ b/docs/source/en/api/pipelines/stable_diffusion/stable_diffusion_xl.md @@ -20,6 +20,9 @@ The abstract from the paper is: ## Tips +- Using SDXL with a DPM++ scheduler for less than 50 steps is known to produce [visual artifacts](https://github.com/huggingface/diffusers/issues/5433) because the solver becomes numerically unstable. To fix this issue, take a look at this [PR](https://github.com/huggingface/diffusers/pull/5541) which recommends for ODE/SDE solvers: + - set `use_karras_sigmas=True` or `lu_lambdas=True` to improve image quality + - set `euler_at_final=True` if you're using a solver with uniform step sizes (DPM++2M or DPM++2M SDE) - Most SDXL checkpoints work best with an image size of 1024x1024. Image sizes of 768x768 and 512x512 are also supported, but the results aren't as good. Anything below 512x512 is not recommended and likely won't for for default checkpoints like [stabilityai/stable-diffusion-xl-base-1.0](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0). - SDXL can pass a different prompt for each of the text encoders it was trained on. We can even pass different parts of the same prompt to the text encoders. - SDXL output images can be improved by making use of a refiner model in an image-to-image setting.