Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions backends/exllamav3/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,10 @@ async def unload(self, loras_only: bool = False, **kwargs):
self.draft_config = None
self.draft_cache = None

if self.use_vision:
self.vision_model.unload()
self.vision_model = None

# Cleanup the generator from any pending jobs
if self.generator is not None:
await self.generator.close()
Expand Down