lllyasviel / lllyasviel/stable-diffusion-webui-forge
Feature req - parallel batching across multiple GPUs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I get that splitting a single gen across multiple GPUs is tough, and there's at least one still-open issue regarding this. But what about using multiple GPUs in parallel, and just letting each do its own gen based on the same prompt/settings? There would be no need to coordinate between GPUs, just have each load the same model and run gens based on the same prompt, settings (different seeds, obviously), etc at the same time - separate, but in parallel.
I have three 3090s, and I was considering doing this manually by running multiple instances of forge (one per GPU). But I think it shouldn't be too terribly difficult to have forge do this automatically - assuming the user has similar-enough GPUs.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by mapping Forge’s model-loading and generation orchestration paths, then determine how separate GPU workers could receive identical prompts and settings with independent seeds. Done means Forge can launch and coordinate independent generations across multiple compatible GPUs without requiring manual instances.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100