-
Hi, everyone, we want to ask how we can greatly speed up the processing times? Looking forward to hearing back from you. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 14 replies
-
@oldhand7 possible measures to increase performance:
|
Beta Was this translation helpful? Give feedback.
-
@mashb1t I'm asking for performance improvements in Extreme Speed. I'm trying to build a realtime inference on top of Fooocus (I use it for normal image generation and i want to preserve compatibility) Performance improvements
EXTRA_PARAMS = [
"--always-high-vram",
"--disable-offload-from-vram",
"--disable-in-browser",
]
sys.argv = EXTRA_PARAMS
TO FIXThe huge problem is [Fooocus Model Management], generations take around 1300ms but the model management always takes 1200 ms, and every request or generation do same even if nothing changed (no controlnets, same offset lora) Lines 439 to 445 in 1c999be It's like a blocking point, as generations have. have to wait 1200ms to perform the next generation which only takes 1300ms |
Beta Was this translation helpful? Give feedback.
-
@mashb1t I have some questions about how Fooocus works.
Can you give me advice to achieve that goal in the best way, I want to make the inference as quickly as possible but with the possibility of loading custom LoRAS on demand, using styles and also controlnets and even inpaintings I know that those requirements would be a big tradeoff, since that would hinder realtime, but I also don't want to make a realtime that only works with txt2img or img2img but is enriched with loras, styles and even controlnets One of the solutions that come to mind are
|
Beta Was this translation helpful? Give feedback.
-
I am a complete noob to Fooocus. I have been using it for 2 or 3 months but I am still very new to it and learning to adjust some configurations and defaults in the config file. I just changed over from Windows 10 to Linux Mint on the same machine. On Win 10 Fooocus was doing about 7-15 seconds/iteration. Now in Linux Mint it is doing about 30 seconds/iteration. How can I speed this up? What did Win 10 do that Linux Mint is not and can I force Mint to work better? I see articles and links posted above and I will look through those, but I am not sure what applies to my situation and what does not. I am running a VERY slow machine and I know that and I accept that and am ok with it. I just want to make it as fast as it can possibly be or at least as fast as it was when I was using Windows 10. I am running a Ryzen 5 processor with 16G RAM and a GTX 1060 6G GPU. I do expect this to be on the slow side. Any help making it run closer to the 10 seconds per iteration or faster would be incredibly helpful. I normally run the Realistic model but also use the JuggernautXL_v8Rundiffusion. I get the same performance from both. I generallly run the 3 default Fooocus styles as well and I also us the Image Prompt with ImagePrompt and PyraCanny and/or Inpaint as well. |
Beta Was this translation helpful? Give feedback.
@oldhand7 possible measures to increase performance:
#1765 (reply in thread)
#1013
-…