From 6ce63d7db9d82565b7919b41c76839f3e13f02d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Somoza?= Date: Sun, 12 May 2024 22:54:57 -0400 Subject: [PATCH] doc suggestions applied --- docs/source/en/using-diffusers/callback.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/source/en/using-diffusers/callback.md b/docs/source/en/using-diffusers/callback.md index 12d16146f802..7445513dbf4b 100644 --- a/docs/source/en/using-diffusers/callback.md +++ b/docs/source/en/using-diffusers/callback.md @@ -23,11 +23,12 @@ This guide will demonstrate how callbacks work by a few features you can impleme We provide a list of callbacks you can plug into an existing pipeline and modify the denoising loop. This is the current list of official callbacks: -- `SDCFGCutoffCallback`: Disables the CFG after a certain number of steps for SD 1.5 pipelines. -- `SDXLCFGCutoffCallback`: Disables the CFG after a certain number of steps for SDXL pipelines. -- `IPAdapterScaleCutoffCallback`: Disables the IP Adapter after a certain number of steps. +- `SDCFGCutoffCallback`: Disables the CFG after a certain number of steps for all SD 1.5 pipelines, including text-to-image, image-to-image, inpaint, and controlnet. +- `SDXLCFGCutoffCallback`: Disables the CFG after a certain number of steps for all SDXL pipelines, including text-to-image, image-to-image, inpaint, and controlnet. +- `IPAdapterScaleCutoffCallback`: Disables the IP Adapter after a certain number of steps for all pipelines supporting IP-Adapter. -> These callbacks also work with the `ControlNet` pipelines of the corresponding model architecture. +> [!TIP] +> If you want to add a new official callback, feel free to open a [feature request](https://github.com/huggingface/diffusers/issues/new/choose) or [submit a PR](https://huggingface.co/docs/diffusers/main/en/conceptual/contribution#how-to-open-a-pr). To set up a callback, you need to specify the number of denoising steps after which the callback comes into effect. You can do so by using either one of these two arguments