Commit 20c33f44 authored by orionaskatu's avatar orionaskatu Committed by GitHub

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.
parent 93e7dbaa
......@@ -1340,4 +1340,5 @@ demo = gr.TabbedInterface(
"""
)
demo.queue(concurrency_count=1)
demo.launch()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment