From 9da340fdcf3fefaf34687d90414cbcad1055160a Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Fri, 30 Aug 2024 13:47:09 -0400 Subject: [PATCH] bump up default resolution --- CHANGELOG.md | 1 + TODO.md | 2 ++ modules/ui_sections.py | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78e9d05bf..858561580 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,6 +69,7 @@ To use and of the new models, simply select model from *Networks -> Reference* a **Changes & Fixes...** +- default resolution bumped from 512x512 to 1024x1024, time to move on ;) - update default **CUDA** version from 12.1 to 12.4 - updated `requirements` - samplers now prefers the model defaults over the diffusers defaults, thanks @Disty0! diff --git a/TODO.md b/TODO.md index 3c90ee485..61dc038d5 100644 --- a/TODO.md +++ b/TODO.md @@ -8,6 +8,8 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma - animatediff prompt-travel: - async lowvram: - fp8: +- ipadapter-negative: https://github.com/huggingface/diffusers/discussions/7167 +- hd-painter: https://github.com/huggingface/diffusers/blob/main/examples/community/README.md#hd-painter - init latents: variations, img2img - include reference styles diff --git a/modules/ui_sections.py b/modules/ui_sections.py index 874ac7d30..e1be99edc 100644 --- a/modules/ui_sections.py +++ b/modules/ui_sections.py @@ -89,8 +89,8 @@ def ar_change(ar, width, height): def create_resolution_inputs(tab): - width = gr.Slider(minimum=64, maximum=4096, step=8, label="Width", value=512, elem_id=f"{tab}_width") - height = gr.Slider(minimum=64, maximum=4096, step=8, label="Height", value=512, elem_id=f"{tab}_height") + width = gr.Slider(minimum=64, maximum=4096, step=8, label="Width", value=1024, elem_id=f"{tab}_width") + height = gr.Slider(minimum=64, maximum=4096, step=8, label="Height", value=1024, elem_id=f"{tab}_height") ar_list = ['AR'] + [x.strip() for x in shared.opts.aspect_ratios.split(',') if x.strip() != ''] ar_dropdown = gr.Dropdown(show_label=False, interactive=True, choices=ar_list, value=ar_list[0], elem_id=f"{tab}_ar", elem_classes=["ar-dropdown"]) for c in [ar_dropdown, width, height]: