Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow Text Input #1687

Open
MichaelData opened this issue Sep 4, 2024 · 28 comments
Open

Slow Text Input #1687

MichaelData opened this issue Sep 4, 2024 · 28 comments

Comments

@MichaelData
Copy link

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
Copy link
Contributor

wcole3 commented Sep 4, 2024

Any particular field, or all of them?

@Melyns
Copy link
Contributor

Melyns commented Sep 4, 2024

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
Copy link
Author

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
Copy link
Author

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
Copy link

Kuroseji commented Sep 4, 2024

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

@wzwow
Copy link

wzwow commented Sep 5, 2024

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
Copy link
Author

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
Copy link
Author

Wait could it be the text encoder ?

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

@murazi
Copy link

murazi commented Sep 5, 2024

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
Copy link

murazi commented Sep 5, 2024

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
Copy link

murazi commented Sep 5, 2024

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
Copy link

sinuso commented Sep 5, 2024

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
Copy link
Author

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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)
    
    
      
        
          
        
        
          
          
        
      
      [
        
          
        
      ](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIu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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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)
    
    
      
        
          
        
        
          
          
        
      
      [
        
          
        
      ](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MD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vX2lkPTAifQ.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
Copy link

sinuso commented Sep 11, 2024

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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)
    
    
      
        
          
        
        
          
          
        
      
      [
        
          
        
      ](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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.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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g3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDc0NzE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWI2M2UzOGY2OTI3NWZjMTA1MzM5YjczZDIwNGFjN2RlMTkwYmFhYTg3MDJjMDE5YzIzMWI1MDIxZGRlZjJmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.34RxNW1NVswl-esLQ1R76bHmF5sZ9JupO5XTrib9KKA)
    
    
      
        
          
        
        
          
          
        
      
      [
        
          
        
      ](https://private-user-images.githubusercontent.com/4424520/364644133-7f435b2a-7af6-494f-b24c-ee951a3011a3.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjI3MzYsIm5iZiI6MTcyNTUyMjQzNiwicGF0aCI6Ii80NDI0NTIwLzM2NDY0NDEzMy03ZjQzNWIyYS03YWY2LTQ5NGYtYjI0Yy1lZTk1MWEzMDExYTMuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBM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LUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.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
Copy link

wzwow commented Sep 11, 2024

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
Copy link
Author

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
Copy link
Author

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
Copy link

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

@arzam16
Copy link

arzam16 commented Sep 14, 2024

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

@MichaelData
Copy link
Author

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
Copy link

arzam16 commented Sep 14, 2024

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
Copy link
Author

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
Copy link
Author

any ideas from the creators on how to fix this ?

@wcole3
Copy link
Contributor

wcole3 commented Sep 23, 2024

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

@wkpark
Copy link
Contributor

wkpark commented Sep 23, 2024

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

@wcole3
Copy link
Contributor

wcole3 commented Sep 23, 2024

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
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants