lshqqytiger / stable-diffusion-webui-amdgpu

Stable Diffusion web UI
GNU Affero General Public License v3.0
1.76k stars 181 forks source link

[Bug]: Total Progress is much faster than usuall. Shows 10x speed but its not AMD ZLUDA #502

Open VeteranXT opened 1 month ago

VeteranXT commented 1 month ago

Checklist

What happened?

Works very fast. But its really not. It does usual speed. Like txt2Image does 7 seconds old commits. Now it shows 23 it/s instead of 2-3its/s but VAE decode takes same time as if didn't. i've installed new fresh to check and it works 10x faster to make it, but VAE works same for some reason. 1576x1576 shows done in 20 sec. but stops at last step and VAE is working to decode. Also Live Preview can't show anything due to "speed"

Steps to reproduce the problem

Any prompt and look Console.

What should have happened?

Show actual speed.

What browsers do you use to access the UI ?

Firefox.

Sysinfo

sysinfo-2024-07-27-00-00.json

Console logs

No errors

Additional information

No response

nicodem09 commented 1 month ago

I recently make it worked with zluda and got the same problem

Morpheus-79 commented 1 month ago

Me too. The progress bar rushes to 100% in a couple of seconds. But after that it takes its normal time for decoding.

nicodem09 commented 1 month ago

I temporarily fixed it by enabling refiner or adetailer

Morpheus-79 commented 1 month ago

I already had adetailer enabled by default when the problem occured.

nicodem09 commented 1 month ago

the problem persist in my case

Elise96nl commented 1 month ago

i came here for this. I was shocked, 20+ it/s but the VAE process takes 3 times what i used to do.

VeteranXT commented 1 month ago

i came here for this. I was shocked, 20+ it/s but the VAE process takes 3 times what i used to do.

VAE is fine, its bug that shows unreal speed of progress.

Kargim commented 2 weeks ago

Confirming the problem. Conducted a series of experiments.

  1. I had a commit “371f53e...0bde866”. The preview window works without problems. With speed and display in the console everything is fine.
  2. I tried installing commit “61aa844...67fdead”. It comes before the upgrade to 1.10. It has an ONNX error, but it is solved by applying “--skip-ort”. The preview window works without problems. With speed and display in the console everything is fine.
  3. If I update to commit “67fdead...235a1ff” (version 1.10) or higher, the preview window breaks immediately + problems with speed and display in the console =( Radeon RX 5500 XT 8Gb, Windows 10, python 3.10.11, HIP SDK 5.7.1 + ROCmLibs for old cards, Zluda
Morpheus-79 commented 1 week ago

Since only some users are affected: it seems to be related to ZLUDA. I'm using a Ryzen 9 6900HX Rembrandt APU, Windows 11, Python 3.10.11, HIP SDK 6.1.2 + ROCmLibs for gfx1035 with ZLUDA.