Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
coderai
Commits
6f42fbde
Commit
6f42fbde
authored
Mar 16, 2026
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce VRAM cleanup delay to 2 seconds
parent
7c150a4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
coderai
coderai
+3
-3
No files found.
coderai
View file @
6f42fbde
...
...
@@ -2682,9 +2682,9 @@ class MultiModelManager:
self._aggressive_vram_cleanup(model_to_cleanup)
del self.models[key]
# Add
a longer delay to allow VRAM to be freed (Vulkan needs more time)
# Add
delay to allow VRAM to be freed
import time
time.sleep(
5
)
time.sleep(
2
)
# Now try to reload the default model
try:
...
...
@@ -2821,7 +2821,7 @@ class MultiModelManager:
# Add a longer delay to allow VRAM to be freed (Vulkan needs more time)
import time
time.sleep(
5
)
time.sleep(
2
)
# Check if requested model is already loaded - if so, reuse it
if requested_model in self.models:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment