From a4329c3356b282c06bdd48ca520db762f9e47203 Mon Sep 17 00:00:00 2001 From: Extraltodeus Date: Thu, 30 May 2024 00:08:43 +0200 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 4fb2065..0818579 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,26 @@ # Stable-Diffusion-temperature-settings Provides the ability to set the temperature for both UNET and CLIP. For ComfyUI. + +## The nodes + +![image](https://github.com/Extraltodeus/Stable-Diffusion-temperature-settings/assets/15731540/2d04cb28-2a1d-4384-8e62-9e9a6b0829dc) + +## Specifities + +- The CLIP patch ignores the connections and patches the model within the memory. Simply disconnecting it does not revert the behavior. To revert to default behavior set it at 1 or reload the model without the node connected. It is the only node ignoring the connections and does not modify anything but the connected CLIP model. +- For SD1 and SDXL nodes: settings the temperature at zero will use a dynamic scale proportional to the resolution. It is good for lower resolutions but not on point for higher. + +## Usage + +Like any other model patch: + +![image](https://github.com/Extraltodeus/Stable-Diffusion-temperature-settings/assets/15731540/32b73433-df6a-4c49-99a6-5ddf21a4777a) + +## Requirements: + +Requires pytorch 2.3 and above. + +## Interesting side-effect: + +Changing the UNET temperature allows to obtain better results a different resolutions. While it is not the full solution to the scaling issues of Stable Diffusion, it is a strong clue indicating the possibility to sample at much higher (or lower) resolutions. +