lllyasviel / lllyasviel/stable-diffusion-webui-forge

SD upscale ignores batch count after the first image in Img2Img

Open
#2,948 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Steps to Reproduce:

Open Img2Img tab and select Flux, Batch mode

Upload 3 images

Set Batch count to 3

Under Scripts, enable SD upscale and configure valid parameters

Click Generate

Expected Behavior:

Forge should generate 9 images total (3 base images × 3 SD upscale passes per image)

Actual Behavior:

Forge generates only 5 images:

3 images from the first batch item (as expected)

Only 1 image each from the second and third batch items

Summary:

The SD upscale script applies the batch count only to the first image. Subsequent batch images receive only a single upscale pass, ignoring the specified batch count.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Img2Img batch-processing path and the SD upscale script, using the listed reproduction steps with three uploaded images and a batch count of three. Confirm the current output and trace how later batch items are handled; done means Forge generates all 9 expected images, with three upscale passes for each base image.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.