diff --git a/fooocus_version.py b/fooocus_version.py index d0cd3f73..74f9ed2f 100644 --- a/fooocus_version.py +++ b/fooocus_version.py @@ -1 +1 @@ -version = '2.4.1 (mashb1t)' +version = '2.4.2 (mashb1t)' diff --git a/ldm_patched/k_diffusion/sampling.py b/ldm_patched/k_diffusion/sampling.py index d1bc1e4b..ea5540a4 100644 --- a/ldm_patched/k_diffusion/sampling.py +++ b/ldm_patched/k_diffusion/sampling.py @@ -832,5 +832,7 @@ def sample_tcd(model, x, sigmas, extra_args=None, callback=None, disable=None, n if eta > 0 and sigmas[i + 1] > 0: noise = noise_sampler(sigmas[i], sigmas[i + 1]) x = x / alpha_prod_s[i+1].sqrt() + noise * (sigmas[i+1]**2 + 1 - 1/alpha_prod_s[i+1]).sqrt() + else: + x *= torch.sqrt(1.0 + sigmas[i + 1] ** 2) return x \ No newline at end of file diff --git a/modules/extra_utils.py b/modules/extra_utils.py index 9906c820..e78683a6 100644 --- a/modules/extra_utils.py +++ b/modules/extra_utils.py @@ -1,5 +1,6 @@ import os + def makedirs_with_log(path): try: os.makedirs(path, exist_ok=True) diff --git a/presets/playground_v2.5.json b/presets/playground_v2.5.json index 311bbc1d..fb9bd7f3 100644 --- a/presets/playground_v2.5.json +++ b/presets/playground_v2.5.json @@ -29,7 +29,7 @@ 1.0 ] ], - "default_cfg_scale": 3, + "default_cfg_scale": 3.0, "default_sample_sharpness": 2.0, "default_sampler": "dpmpp_2m", "default_scheduler": "edm_playground_v2.5", diff --git a/update_log.md b/update_log.md index 733f077b..81d0718f 100644 --- a/update_log.md +++ b/update_log.md @@ -1,3 +1,12 @@ +# [2.4.2](https://github.com/lllyasviel/Fooocus/releases/tag/v2.4.2) + +* Fix some small bugs (tcd scheduler when gamma is 0, chown in Dockerfile, update cmd args in readme, translation for aspect ratios, vae default after file reload) +* Fix performance LoRA replacement when data is loaded from history log and inline prompt +* Add support and preset for playground v2.5 (only works with performance Quality or Speed, use with scheduler edm_playground_v2) +* Make textboxes (incl. positive prompt) resizable +* Hide intermediate images when performance of Gradio would bottleneck the generation process (Extreme Speed, Lightning, Hyper-SD) + + # [2.4.1](https://github.com/lllyasviel/Fooocus/releases/tag/v2.4.1) * Fix some small bugs (e.g. adjust clip skip default value from 1 to 2, add type check to aspect ratios js update function)