lllyasviel / lllyasviel/stable-diffusion-webui-forge

After last update inference time has multiplied by factor of 8

Open
#1,130 0 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

Hello, I updated to latest as well as did --xformers-reinstall and --torch-reinstall due to the console log telling me I can update. When I did a 5 second inference time for a 512x512 @ 20 samples image on a evga gtx 1080 sc multiplied by 8 up to 40 seconds per inference. I popped my settings.json and ui-settings.json and tried again with the same results. Some of my stable diffusion models are now reporting an error, including the included one. This error happens about after half the samples:
```
ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: images for the following indices
index: 1 Got: 4 Expected: 3
Please fix either the inputs/outputs or the model.
```

I use the following flags:
```
--api --listen --xformers --always-gpu
```

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 by reproducing a 512x512 image with 20 samples using --api --listen --xformers --always-gpu, comparing the reported five-second and 40-second inference times. Check settings.json, ui-settings.json, and the included model around the ONNXRuntime invalid-dimensions error. Done means the performance regression and the index-1 dimension error are both explained and corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.