lllyasviel / lllyasviel/stable-diffusion-webui-forge

[Bug]: Seed in the Batch

Open
#105 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Checklist

- [X] The issue exists after disabling all extensions
- [X] 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
- [X] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [X] The issue has been reported before but has not been fixed yet

### What happened?

Transferring from **PNG INFO** and Positive prompt breaks img2img, Seed in Batch does not work as Random (-1).
![image](https://github.com/lllyasviel/stable-diffusion-webui-forge/assets/58225118/f83e5647-0c23-4950-8853-c03a1ce153af)
In this video I show the whole process to get this error

https://github.com/lllyasviel/stable-diffusion-webui-forge/assets/58225118/a7bebf4e-2967-437a-b120-693799b97eda

### Steps to reproduce the problem

1. Go to PNG Info
2. Press Send to img2img
3. Resetting the Seed (-1)
4. I expose Batch and start generation

### What should have happened?

The **Seed** should be **random at batch**

### What browsers do you use to access the UI ?

Google Chrome

### Sysinfo

Sysinfo

### Console logs

```Shell
Console without errors
```

### Additional information

This problem has been around since **September 2023**. I wrote about this back in [issue](https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13627) Automatic1111

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the workflow from PNG Info through Send to img2img, then enable Batch and generate with Seed set to -1. Inspect the PNG Info-to-img2img handoff and the batch seed handling. Done means each image in the batch receives a random seed, with no console errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.