Nodes Browser
ComfyDeploy: How Stable-Diffusion-temperature-settings works in ComfyUI?
What is Stable-Diffusion-temperature-settings?
Provides the ability to set the temperature for both UNET and CLIP. For ComfyUI.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
Stable-Diffusion-temperature-settings
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
Stable-Diffusion-temperature-settings
Provides the ability to set the temperature for both UNET and CLIP. For ComfyUI.
I also added a togglable function compatible with SD 1.x models and SDXL/Turbo which helps to preserve quality weither it is for downscaling or upscaling.
Usage
Like any other model patch:
CLIP temperature at 0.75, 1 and 1.25. Prompt "a bio-organic living plant spaceship"
The temperature scaling option allows to avoid smudged details during an upscale:
Without / with
This does not include tiled upscales since the tiling uses smaller latents as the workaround for this well known issue.
Using SDXL, 512x512, 256x256, 128x128 without / with modification on the U-Net:
Other examples on SDXL.
256x256 without / with
Using SD v1-5-pruned-emaonly:
This is one of my first tests and I only display it as the proof of concept, exposing the possibility to fix the scaling issues with the U-Net.
- Lower temperature applied to all layers except input 1 and 2, output 9, 10 and 11 which were ignored.
- At 0.71.
- Only self-attention
- Resolution at 1024*512
Patreon
Provide an incentive to contributors:
https://www.patreon.com/extraltodeus
Pro tip:
Did you know that my first activity is to write creative model merging functions?
While the code is too much of a mess to be shared, I do expose and share my models. You can find them in this gallery! 😁