Skip to content

Performance Improvement #2302

Answered by mashb1t
oldhand7 asked this question in Q&A
Feb 19, 2024 · 4 comments · 14 replies
Discussion options

You must be logged in to vote

@oldhand7 possible measures to increase performance:

  • use lesser steps / models with faster image inference time such as SDXL Turbo or performance mode LCM (quality may decrease though)
  • use the Fooocus websocket API (js/pyhton) to prevent gradio and frontend from being the bottleneck OR only write a function for processing the AsyncTasks
    #1765 (reply in thread)
    #1013
  • get a better GPU (you've only mentioned the RTX 4000 series, but not the specific type of GPU. Example with RTX 4090: 1 image ~7s) OR use one or more cloud instance(s) with A10 GPU (AWS g5.xlarge, e.g. eu-central 1,4€/h) or better to highly increase model loading time due to being able to keep the model loaded in VRAM (using -…

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mashb1t
Comment options

You must be logged in to vote
2 replies
@mashb1t
Comment options

mashb1t Feb 26, 2024
Collaborator

@rossaai
Comment options

Comment options

You must be logged in to vote
5 replies
@mashb1t
Comment options

mashb1t Feb 26, 2024
Collaborator

@poor7
Comment options

@rossaai
Comment options

@oldhand7
Comment options

@mashb1t
Comment options

mashb1t May 23, 2024
Collaborator

Comment options

You must be logged in to vote
7 replies
@mashb1t
Comment options

mashb1t Jan 15, 2025
Collaborator

@aparker21
Comment options

@aparker21
Comment options

@mashb1t
Comment options

mashb1t Jan 15, 2025
Collaborator

@aparker21
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #2299 on February 19, 2024 17:05.