diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-12 15:40:06 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-12 15:40:06 +0000 |
commit | 843b2b64fcd41be4a9e934ba83a3a499c7aff5c0 (patch) | |
tree | 5981ba18a9729c80f49d87e0d0ffec36fcaf6206 /modules/ui.py | |
parent | 535b25ad26d31d53ef0d02060d35571770e9c287 (diff) | |
download | stable-diffusion-webui-gfx803-843b2b64fcd41be4a9e934ba83a3a499c7aff5c0.tar.gz stable-diffusion-webui-gfx803-843b2b64fcd41be4a9e934ba83a3a499c7aff5c0.tar.bz2 stable-diffusion-webui-gfx803-843b2b64fcd41be4a9e934ba83a3a499c7aff5c0.zip |
Instance of CUDA out of memory on a low-res batch, even with --opt-split-attention-v1 (found cause) #255
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py index 3a28bdab..c32c5096 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -384,8 +384,8 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): switch_mode = gr.Radio(label='Mode', elem_id="img2img_mode", choices=['Redraw whole image', 'Inpaint a part of image', 'Loopback', 'SD upscale'], value='Redraw whole image', type="index", show_label=False)
init_img = gr.Image(label="Image for img2img", source="upload", interactive=True, type="pil")
init_img_with_mask = gr.Image(label="Image for inpainting with mask", elem_id="img2maskimg", source="upload", interactive=True, type="pil", tool="sketch", visible=False, image_mode="RGBA")
- init_img_with_mask_comment = gr.HTML(elem_id="mask_bug_info", value="<small>if the editor shows ERROR, switch to another tab and back, then to another img2img mode above and back</small>", visible=False)
init_mask = gr.Image(label="Mask", source="upload", interactive=True, type="pil", visible=False)
+ init_img_with_mask_comment = gr.HTML(elem_id="mask_bug_info", value="<small>if the editor shows ERROR, switch to another tab and back, then to another img2img mode above and back</small>", visible=False)
with gr.Row():
resize_mode = gr.Radio(label="Resize mode", elem_id="resize_mode", show_label=False, choices=["Just resize", "Crop and resize", "Resize and fill"], type="index", value="Just resize")
|