diff options
author | orionaskatu <100234619+orionaskatu@users.noreply.github.com> | 2022-08-28 14:12:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-28 14:12:55 +0000 |
commit | 20c33f4423244ec73ff02540142b8418abd9f711 (patch) | |
tree | 042f69446fae43f648c69916388afa8d3bc63609 /webui.py | |
parent | 93e7dbaa7164c3b7d1dcb6907d5908cc3fa29d30 (diff) | |
download | stable-diffusion-webui-gfx803-20c33f4423244ec73ff02540142b8418abd9f711.tar.gz stable-diffusion-webui-gfx803-20c33f4423244ec73ff02540142b8418abd9f711.tar.bz2 stable-diffusion-webui-gfx803-20c33f4423244ec73ff02540142b8418abd9f711.zip |
Queue concurrency 1 to prevent CUDA OOM
Mandatory for me as I have a RTX 2070 (8Gb) and I get CUDA OOM if two users launch jobs at the same time.
I can also use multiple tabs and jobs will be queued.
You may not want it to be the default though.
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1340,4 +1340,5 @@ demo = gr.TabbedInterface( """
)
+demo.queue(concurrency_count=1)
demo.launch()
|