From ecb6730838abf2d4b2cc52746433a65cd76f0f8a Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Thu, 27 Mar 2025 13:22:09 -0400 Subject: [PATCH] fix sampler metadata when using default sampler Signed-off-by: Vladimir Mandic --- CHANGELOG.md | 1 + TODO.md | 12 +++++------- modules/processing_info.py | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd75c5009..c73845f29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -135,6 +135,7 @@ Pretty big performance updates to a) Any model using DiT based architecture: new - fix sd35 with batch processing - fix extra networks cover and inline views - fix token counter error style with modernui + - fix sampler metadata when using default sampler - improve lora compatibility with balanced offload ## Update for 2025-02-28 diff --git a/TODO.md b/TODO.md index c11b65b7d..1bf6102a6 100644 --- a/TODO.md +++ b/TODO.md @@ -18,13 +18,11 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma - Flux: NF4 loader: - IPAdapter: negative guidance: - Control: API enhance scripts compatibility -- Video: add generate context menu -- Video: FasterCache and PyramidAttentionBroadcast granular config -- Video: FasterCache and PyramidAttentionBroadcast for LTX and WAN -- Video: API support -- Video: STG: -- Video SmoothCache: https://github.com/huggingface/diffusers/issues/11135 -- FasterCache, PyramidAttentionBroadcast, SmoothCache general support +- Video: add generate context menu +- Video: API support +- Video: STG: +- Video SmoothCache: https://github.com/huggingface/diffusers/issues/11135 +- SoftFill: https://github.com/zacheryvaughn/softfill-pipelines ## Code TODO diff --git a/modules/processing_info.py b/modules/processing_info.py index 4db8ccaa5..d254168cc 100644 --- a/modules/processing_info.py +++ b/modules/processing_info.py @@ -159,7 +159,7 @@ def create_infotext(p: StableDiffusionProcessing, all_prompts=None, all_seeds=No args["Embeddings"] = ', '.join(sd_hijack.model_hijack.embedding_db.embeddings_used) # samplers - if getattr(p, 'sampler_name', None) is not None: + if getattr(p, 'sampler_name', None) is not None and p.sampler_name.lower() != 'default': args["Sampler eta delta"] = shared.opts.eta_noise_seed_delta if shared.opts.eta_noise_seed_delta != 0 and sd_samplers_common.is_sampler_using_eta_noise_seed_delta(p) else None args["Sampler eta multiplier"] = p.initial_noise_multiplier if getattr(p, 'initial_noise_multiplier', 1.0) != 1.0 else None args['Sampler timesteps'] = shared.opts.schedulers_timesteps if shared.opts.schedulers_timesteps != shared.opts.data_labels.get('schedulers_timesteps').default else None