Skip to content

Commit

Permalink
Merge pull request #3508 from vladmandic/dev
Browse files Browse the repository at this point in the history
refresh master
  • Loading branch information
vladmandic authored Oct 23, 2024
2 parents a57acc7 + f1cd2df commit 0d332ca
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
9 changes: 4 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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...
Expand All @@ -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**
Expand Down Expand Up @@ -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!
Expand Down
2 changes: 1 addition & 1 deletion extensions-builtin/sdnext-modernui
Submodule sdnext-modernui updated 0 files
9 changes: 5 additions & 4 deletions modules/sd_samplers_kdiffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion modules/ui_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[])

Expand Down
2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from 862a9e to 53def8

0 comments on commit 0d332ca

Please sign in to comment.