diff --git a/CHANGELOG.md b/CHANGELOG.md index 10a51b724..a91cc0530 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ A month later and with nearly 300 commits, here is the latest [SD.Next](https://github.com/vladmandic/automatic) update! -#### Workflow highlights +#### Workflow highlights for 2024-10-23 - **Reprocess**: New workflow options that allow you to generate at lower quality and then reprocess at higher quality for select images only or generate without hires/refine and then reprocess with hires/refine @@ -17,7 +17,7 @@ A month later and with nearly 300 commits, here is the latest [SD.Next](https:// - **Extract LoRA**: load any LoRA(s) and play with generate as usual and once you like the results simply extract combined LoRA for future use! -#### New models +#### New models for 2024-10-23 - New fine-tuned [CLiP-ViT-L]((https://huggingface.co/zer0int/CLIP-GmP-ViT-L-14)) 1st stage **text-encoders** used by most models (SD15/SDXL/SD3/Flux/etc.) brings additional details to your images - New models: @@ -30,7 +30,7 @@ A month later and with nearly 300 commits, here is the latest [SD.Next](https:// [APG: Adaptive Projected Guidance](https://arxiv.org/pdf/2410.02416) for optimal **guidance** control, [LinFusion](https://github.com/Huage001/LinFusion) for on-the-fly **distillation** of any sd15/sdxl model -#### What else? +#### What else for 2024-10-23 - Tons of work on **dynamic quantization** that can be applied *on-the-fly* during model load to any model type (*you do not need to use pre-quantized models*) Supported quantization engines include `BitsAndBytes`, `TorchAO`, `Optimum.quanto`, `NNCF` compression, and more... @@ -46,7 +46,6 @@ their respective parameters and architecture overview: [Models Overview](https:/ And there are also other goodies like multiple *XYZ grid* improvements, additional *Flux ControlNets*, additional *Interrogate models*, better *LoRA tags* support, and more... [README](https://github.com/vladmandic/automatic/blob/master/README.md) | [CHANGELOG](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) | [WiKi](https://github.com/vladmandic/automatic/wiki) | [Discord](https://discord.com/invite/sd-next-federal-batch-inspectors-1101998836328697867) - ### Details for 2024-10-23 - **reprocess** @@ -691,7 +690,7 @@ But theres more than SD3: First, yes, it is here and supported: [**StabilityAI Stable Diffusion 3 Medium**](https://stability.ai/news/stable-diffusion-3-medium) for details on how to download and use, see [Wiki](https://github.com/vladmandic/automatic/wiki/SD3) -#### What else? +#### What else 2024-06-13? A lot of work on state-of-the-art multi-lingual models with both [Tenecent HunyuanDiT](https://github.com/Tencent/HunyuanDiT) and [MuLan](https://github.com/mulanai/MuLan) Plus tons of minor features such as optimized initial install experience, **T-Gate** and **ResAdapter**, additional ModernUI themes (both light and dark) and fixes since the last release which was only 2 weeks ago! diff --git a/extensions-builtin/sdnext-modernui b/extensions-builtin/sdnext-modernui index 74e12fb5e..906bd2a98 160000 --- a/extensions-builtin/sdnext-modernui +++ b/extensions-builtin/sdnext-modernui @@ -1 +1 @@ -Subproject commit 74e12fb5e5e67c8a219ff1c4bf1cf6f986e0740e +Subproject commit 906bd2a98ba0736c235925f2beaea787a050aeed diff --git a/modules/sd_samplers_kdiffusion.py b/modules/sd_samplers_kdiffusion.py index 392842449..f885c8869 100644 --- a/modules/sd_samplers_kdiffusion.py +++ b/modules/sd_samplers_kdiffusion.py @@ -4,17 +4,18 @@ from collections import deque import torch from modules import prompt_parser -from modules import devices +from modules import devices, errors from modules import sd_samplers_common import modules.shared as shared from modules.script_callbacks import CFGDenoiserParams, cfg_denoiser_callback from modules.script_callbacks import CFGDenoisedParams, cfg_denoised_callback from modules.script_callbacks import AfterCFGCallbackParams, cfg_after_cfg_callback from modules.script_callbacks import ExtraNoiseParams, extra_noise_callback - +from installer import install # deal with k-diffusion imports k_sampling = None +install('clean-fid') try: import k_diffusion # pylint: disable=wrong-import-order k_sampling = k_diffusion.sampling @@ -25,8 +26,8 @@ import importlib k_diffusion = importlib.import_module('modules.k-diffusion.k_diffusion') k_sampling = k_diffusion.sampling -except Exception: - pass +except Exception as e: + errors.display(e, 'k-diffusion') if k_sampling is None: shared.log.info(f'Path search: {sys.path}') shared.log.error("Module not found: k-diffusion") diff --git a/modules/ui_sections.py b/modules/ui_sections.py index a38037392..391b5c609 100644 --- a/modules/ui_sections.py +++ b/modules/ui_sections.py @@ -270,7 +270,7 @@ def set_sampler_preset(preset): sampler_options = gr.CheckboxGroup(label='Sampler options', elem_id=f"{tabname}_sampler_options", choices=options, value=values, type='value') with gr.Row(elem_classes=['flex-break']): shared.opts.data['schedulers_sigma'] = shared.opts.data.get('schedulers_sigma', 'default') - sampler_algo = gr.Radio(label='Sigma algorithm', elem_id=f"{tabname}_sigma_algo", choices=['default', 'karras', 'exponential', 'polyexponential'], value=shared.opts.data.schedulers_sigma, type='value') + sampler_algo = gr.Dropdown(label='Sigma algorithm', elem_id=f"{tabname}_sigma_algo", choices=['default', 'karras', 'exponential', 'polyexponential'], value=shared.opts.schedulers_sigma, type='value') sampler_options.change(fn=set_sampler_original_options, inputs=[sampler_options, sampler_algo], outputs=[]) sampler_algo.change(fn=set_sampler_original_options, inputs=[sampler_options, sampler_algo], outputs=[]) diff --git a/wiki b/wiki index 862a9ef5d..53def8203 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 862a9ef5de7dec16a8c10f90e2af26b60fc744f2 +Subproject commit 53def8203b6799cbd659327c1af6aa5af9cb9a70