diff --git a/CHANGELOG.md b/CHANGELOG.md index ab70b2350..71bed0ee6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log for SD.Next -## Update for 2025-04-04 +## Update for 2025-04-05 - Video: add FasterCache and PAB support to WanDB and LTX models - ZLUDA: add more GPUs to recognized list @@ -11,6 +11,8 @@ - Gallery: add max-columns in settings for gradio gallery components - Styles: resize and bring quick-ui to forward on hover - Logging: fix debug logging +- Logging: logging cleanup +- Params: Reset default guidance-rescale from 0.7 to 0.0 ## Update for 2025-04-03 diff --git a/modules/options.py b/modules/options.py index dc84b1a63..079485d81 100644 --- a/modules/options.py +++ b/modules/options.py @@ -76,6 +76,8 @@ class OptionInfo: value = [value] for v in value: if v not in choices: + if isinstance(choices, list) and 'All' in choices or 'all' in choices: # may be added dynamically + continue log.debug(f'Setting validation: "{opt}"="{v}" default="{self.default}" choices={choices}') # return False minimum = args.get("minimum", None) diff --git a/modules/processing_class.py b/modules/processing_class.py index e38a44fd9..6b10f07a7 100644 --- a/modules/processing_class.py +++ b/modules/processing_class.py @@ -41,7 +41,7 @@ class StableDiffusionProcessing: # guidance cfg_scale: float = 6.0, cfg_end: float = 1, - diffusers_guidance_rescale: float = 0.7, + diffusers_guidance_rescale: float = 0.0, pag_scale: float = 0.0, pag_adaptive: float = 0.5, # styles diff --git a/modules/ui_sections.py b/modules/ui_sections.py index 2785c40b6..418b5679d 100644 --- a/modules/ui_sections.py +++ b/modules/ui_sections.py @@ -181,7 +181,7 @@ def create_advanced_inputs(tab, base=True): cfg_scale, cfg_end = None, None with gr.Row(): image_cfg_scale = gr.Slider(minimum=0.0, maximum=30.0, step=0.1, label='Refine guidance', value=6.0, elem_id=f"{tab}_image_cfg_scale") - diffusers_guidance_rescale = gr.Slider(minimum=0.0, maximum=1.0, step=0.05, label='Rescale guidance', value=0.7, elem_id=f"{tab}_image_cfg_rescale", visible=shared.native) + diffusers_guidance_rescale = gr.Slider(minimum=0.0, maximum=1.0, step=0.05, label='Rescale guidance', value=0.0, elem_id=f"{tab}_image_cfg_rescale", visible=shared.native) with gr.Row(): diffusers_pag_scale = gr.Slider(minimum=0.0, maximum=30.0, step=0.05, label='Attention guidance', value=0.0, elem_id=f"{tab}_pag_scale", visible=shared.native) diffusers_pag_adaptive = gr.Slider(minimum=0.0, maximum=1.0, step=0.05, label='Adaptive scaling', value=0.5, elem_id=f"{tab}_pag_adaptive", visible=shared.native) diff --git a/webui.py b/webui.py index 1996c41b5..c6410f646 100644 --- a/webui.py +++ b/webui.py @@ -156,7 +156,7 @@ def initialize(): def load_model(): if not shared.opts.sd_checkpoint_autoload and shared.cmd_opts.ckpt is None: - log.info('Model auto load disabled') + log.info('Model: auto load disabled') else: shared.state.begin('Load') thread_model = Thread(target=lambda: shared.sd_model) @@ -333,8 +333,8 @@ def start_ui(): if public_ip is not None: shared.log.info(f'Public URL: {proto}://{public_ip}:{shared.cmd_opts.port}') if shared.cmd_opts.docs: - shared.log.info(f'API Docs: {local_url[:-1]}/docs') # pylint: disable=unsubscriptable-object - shared.log.info(f'API ReDocs: {local_url[:-1]}/redocs') # pylint: disable=unsubscriptable-object + shared.log.info(f'API docs: {local_url[:-1]}/docs') # pylint: disable=unsubscriptable-object + shared.log.info(f'API redocs: {local_url[:-1]}/redocs') # pylint: disable=unsubscriptable-object if share_url is not None: shared.log.info(f'Share URL: {share_url}') # shared.log.debug(f'Gradio functions: registered={len(shared.demo.fns)}')