Commit f8d2481e authored by Your Name's avatar Your Name

Increase VRAM cleanup delay to 3 seconds

- Give more time for Vulkan memory to be freed after unloading image models
parent a4a8c340
...@@ -2470,9 +2470,9 @@ class MultiModelManager: ...@@ -2470,9 +2470,9 @@ class MultiModelManager:
except: except:
pass pass
# Add a small delay to allow VRAM to be freed # Add a longer delay to allow VRAM to be freed (Vulkan needs more time)
import time import time
time.sleep(1) time.sleep(3)
# Now try to reload the default model # Now try to reload the default model
try: try:
......
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