74 lines
3.6 KiB
Markdown
74 lines
3.6 KiB
Markdown
# 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](https://github.com/Extraltodeus/shared_models_galleries)! 😁
|