lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.73k stars 867 forks source link

Slow Text Input #1687

Open MichaelData opened 3 months ago

MichaelData commented 3 months ago

I've noticed when I'm typing into forge web ui. It has a very slow text input. When I'm typing the letter show up seconds sometime 2-3 seconds after I've started typing the letter will slowly show up.

I'm using the latest chrome browser.

wcole3 commented 3 months ago

Any particular field, or all of them?

Melyns commented 3 months ago

I believe that was due to a memory leak bug in previous versions of Forge. Is your forge install up to date? if not make sure you update it!

MichaelData commented 3 months ago

I believe that was due to a memory leak bug in previous versions of Forge. Is your forge install up to date? if not make sure you update it!

I did a completely fresh install. So everything is up to date. Any other information I can give you to help ?

MichaelData commented 3 months ago

Any particular field, or all of them?

Any field where I can type it is very slow. I click the field it takes 1-4 seconds before I start typing. When I start typing each letter is showing up super slow.

I've got forge on my main drive which is an SSD drive

Kuroseji commented 3 months ago

Try disabling some plugins. I had a few that were causing some serious slowdown. That's all I got unfortunately.

wzwow commented 3 months ago

i have the same problem... only happen if i use flux... probably it eat up all system memory and thing become laggy... my guess

MichaelData commented 3 months ago

Yeah I'm using flux also but it happens even before I run anything to start generating with flux. SO I don't know why it would lag like that

MichaelData commented 3 months ago

Wait could it be the text encoder ?

Like it trying to encode as I'm typing my prompt before I hit generate ?

murazi commented 3 months ago

I've noticed when I'm typing into forge web ui. It has a very slow text input. When I'm typing the letter show up seconds sometime 2-3 seconds after I've started typing the letter will slowly show up.

I'm using the latest chrome browser.

Yes, the overall smoothness of the operation of the new version is very poor, the whole thing is very laggy, every step of the clicking operation will be very difficult for me, more waiting than ever!

murazi commented 3 months ago

I believe that was due to a memory leak bug in previous versions of Forge. Is your forge install up to date? if not make sure you update it!

I'm also on the latest version, in contrast to the previous version which had no problems whatsoever, the new version is very laggy in overall operation.

murazi commented 3 months ago

PixPin_2024-09-05_14-04-29 I've noticed that the console has been consistently reporting errors, and it's growing, so I wonder if that has anything to do with it

sinuso commented 3 months ago

PixPin_2024-09-05_14-04-29 PixPin_2024-09-05_14-04-29 He notado que la consola ha estado informando errores constantemente y está creciendo, así que me pregunto si eso tiene algo que ver.

I also have errors in console, but no problem of slowness, etc. I have tried chrome, firefox, opera gx and edge and all of them work fine.

image image

MichaelData commented 2 months ago

PixPin_2024-09-05_14-04-29

    [

        ![PixPin_2024-09-05_14-04-29](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)

    ](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29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rZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA) ![PixPin_2024-09-05_14-04-29](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)

    [

        ![PixPin_2024-09-05_14-04-29](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6Im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JupO5XTrib9KKA)

   [ ](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA) He notado que la consola ha estado informando errores constantemente y está creciendo, así que me pregunto si eso tiene algo que ver.

I also have errors in console, but no problem of slowness, etc. I have tried chrome, firefox, opera gx and edge and all of them work fine.

image image

Oh yes I'm seeing the same thing

sinuso commented 2 months ago

PixPin_2024-09-05_14-04-29

    [

        ![PixPin_2024-09-05_14-04-29](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ey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mYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)
    [

        ![PixPin_2024-09-05_14-04-29](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)

    ](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6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Z9JupO5XTrib9KKA) ![PixPin_2024-09-05_14-04-29](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)

    [

        ![PixPin_2024-09-05_14-04-29](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicG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FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)

      [

      ](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)

   [ ](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA) He notado que la consola ha estado informando errores constantemente y está creciendo, así que me pregunto si eso tiene algo que ver.

I also have errors in console, but no problem of slowness, etc. I have tried chrome, firefox, opera gx and edge and all of them work fine. image image

Oh yes I'm seeing the same thing

The images you have attached are not visible.

image

wzwow commented 2 months ago

i realise when i run sdxl for a few rounds... the new forge prompt box will just become slow too... so is not just when using flux

MichaelData commented 2 months ago

i realise when i run sdxl for a few rounds... the new forge prompt box will just become slow too... so is not just when using flux

yup im getting the same

MichaelData commented 2 months ago

ok so the more generations I do the worse the text input field gets. Even if I restart the Forgewebui. If I use the old window the problem of slow text input stays. Its better if I open a new window completely. This is really strange.

coghazard commented 2 months ago

Same issue, has been going on for a while, everything up to date too.

arzam16 commented 2 months ago

Not only the text input is slow but also the whole sketch thing in the img2img tab, it's nearly impossible to draw a good mask because the refresh rate drops to around 2-3 FPS no matter what the source image resolution is. Tested on the latest commit at the time of writing this comment ( 8bd7e0568f4d942f4d17bcc7a6966e92d2b897eb ) in Firefox 130 in safe mode (no extensions, default settings, acts as clean install) and Ungoogled Chromium.

update: Everything is super fine at commit 42ee0b73884b05c9b1f7fa2a56b35669fb883267 , unfortunately I don't have free time today to git bisect, but one of the latest pre-Gradio 4 versions works flawlessly

MichaelData commented 2 months ago

Not only the text input is slow but also the whole sketch thing in the img2img tab, it's nearly impossible to draw a good mask because the refresh rate drops to around 2-3 FPS no matter what the source image resolution is. Tested on the latest commit at the time of writing this comment ( 8bd7e05 ) in Firefox 130 in safe mode (no extensions, default settings, acts as clean install) and Ungoogled Chromium.

update: Everything is super fine at commit 42ee0b7 , unfortunately I don't have free time today to git bisect, but one of the latest pre-Gradio 4 versions works flawlessly

any idea of how I can switch to that version ?

arzam16 commented 2 months ago

any idea of how I can switch to that version ?

Assuming you're on Linux, cd /your/path/to/stable-diffusion-webui-forge and then git reset --hard 42ee0b73884b05c9b1f7fa2a56b35669fb883267 , after this launch ./webui as you usually do

Please do not do this unless you're VERY sure you need it. It will break things. Said commit is old enough to cause many incompatibility issues. You will lose Flux support, you will lose modern samplers and PNG Info will definitely break in one way or another. This is not worth it, honestly. I've just tried an old commit to check if the performance issue persists on pre-Gradio 4 release of Forge.

MichaelData commented 2 months ago

any idea of how I can switch to that version ?

Assuming you're on Linux, cd /your/path/to/stable-diffusion-webui-forge and then git reset --hard 42ee0b73884b05c9b1f7fa2a56b35669fb883267 , after this launch ./webui as you usually do

Please do not do this unless you're VERY sure you need it. It will break things. Said commit is old enough to cause many incompatibility issues. You will lose Flux support, you will lose modern samplers and PNG Info will definitely break in one way or another. This is not worth it, honestly. I've just tried an old commit to check if the performance issue persists on pre-Gradio 4 release of Forge.

I'm on windows 11

MichaelData commented 2 months ago

any ideas from the creators on how to fix this ?

wcole3 commented 2 months ago

Do you have any extensions loaded, and, if you do, does disabling them change the delay?

wkpark commented 2 months ago

I guess you've open chrome/edge debugging console. forge is very laggy when using debugging console caused by too much noisy console.warn as already mentioned above. (and I guess, this is a gradio4 bug.) a simple workaround it is disable console.warn by console.warn = function(){}; in your chrome debug console or use this fix https://github.com/lllyasviel/stable-diffusion-webui-forge/pull/1899

wcole3 commented 2 months ago

I don't think that console warn is the source of the prompt TextBox lag. Testing on your branch doesn't change behavior. I see a dramatic slowdown with certain extensions that perform some type of callback on the prompt input (for example, webui-tagcomplete), but disabling the extension also removes the input lag.

MichaelData commented 2 months ago

Do you have any extensions loaded, and, if you do, does disabling them change the delay?

I've just got adetailer and size ratio installed that's all. When I shut them off the page is still slow to input text

MichaelData commented 1 month ago

I guess you've open chrome/edge debugging console. forge is very laggy when using debugging console caused by too much noisy console.warn as already mentioned above. (and I guess, this is a gradio4 bug.) a simple workaround it is disable console.warn by console.warn = function(){}; in your chrome debug console or use this fix #1899

It's slow even when I don't open that. It is also slow in every other browser.