-
does txt2img API support parallel ? which means when the txt2img api requested 3 times at once, the stable difussion could generate 3 images parallelly, not in sequence. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
Any solutions ? |
Beta Was this translation helpful? Give feedback.
-
The Web UI itself can only perform one task at a time, as far as I know. |
Beta Was this translation helpful? Give feedback.
-
Have u solved this problem? I‘m facing the same challenges. |
Beta Was this translation helpful? Give feedback.
-
need to change the source code
在 2023-03-03 17:42:22,uatdark ***@***.***> 写道:
Have u solved this problem? I‘m facing the same challenges.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
remove the code such as "with self.queue_lock"
then it could be parallel.
…--
发自我的网易邮箱手机智能版
在 2023-03-03 17:42:22,uatdark ***@***.***> 写道:
Have u solved this problem? I‘m facing the same challenges.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, I made a patch that changed queue_lock to Semaphore. |
Beta Was this translation helpful? Give feedback.
The Web UI itself can only perform one task at a time, as far as I know.
If you're running multiple Web UI instances then hypothetically it should be possible to run concurrent tasks via API through your front end application 🤔