Skip to content

[Bug]: Scale by 1x in 1.7.0 does nothing on "Extras tab" and "SD Upscale" script #14738

Description

@marchcat69

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

In 1.7.0 version of Webui, if I select a scale factor of 1 when processing an image on the Extras tab or in the SD upscale script on Img2img tab, then the image is processed with no changes. I don't need to resize the image, I just want to use 1x Denoise model, 1x Colorize model or 1x Texturize model or other 1x GAN models with upscale factor of 1. In 1.5.2 webui version everything worked as expected.

Steps to reproduce the problem

  1. Go to Extras tab or use "SD upscale" script on Img2img tab with denoise strength = 0.
  2. Set Upscale factor of 1
  3. Select any upscaler and press "Generate"
  4. The image will not be changed

What should have happened?

The image must be denoised, colorised or textured without resizing, depending on the selected upscaler model

What browsers do you use to access the UI ?

No response

Sysinfo

"Platform": "Linux-5.8.0-2-amd64-x86_64-with-glibc2.31",
"Python": "3.11.4",
"Version": "v1.7.0",
"Commit": "cf2772fab0af5573da775e7437e6acdca424f26e",

    "torch_version": "2.1.0",
    "is_debug_build": "False",
    "cuda_compiled_version": "11.8",
    "gcc_version": "(Debian 10.2.1-6) 10.2.1 20210110",
    "clang_version": "11.0.1-2",
    "cmake_version": "version 3.26.3",
    "os": "Debian GNU/Linux 11 (bullseye) (x86_64)",
    "libc_version": "glibc-2.31",
    "python_version": "3.11.4 (main, Sep 14 2023, 15:29:16) [GCC 10.2.1 20210110] (64-bit runtime)",
    "python_platform": "Linux-5.8.0-2-amd64-x86_64-with-glibc2.31",
    "is_cuda_available": "True",
    "cuda_runtime_version": null,
    "cuda_module_loading": "LAZY",
    "nvidia_driver_version": "545.23.06",
    "nvidia_gpu_models": "GPU 0: NVIDIA GeForce RTX 2060",

    "pip_version": "pip3",
    "pip_packages": [
        "numpy==1.23.5",
        "open-clip-torch==2.20.0",
        "pytorch-lightning==1.9.4",
        "pytorch-triton==2.1.0+9e3e10c5ed",
        "torch==2.1.0.dev20230725+cu118",
        "torchdiffeq==0.2.3",
        "torchmetrics==1.0.1",
        "torchsde==0.2.6",
        "torchvision==0.16.0.dev20230725+cu118"

Console logs

SD upscaling will process a total of 1 images tiled as 1x1 per upscale in a total of 1 batches.
0it [00:00, ?it/s]

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReport of a confirmed bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions