[GH-ISSUE #16724] feat: Unload RAG models automatically after a while (or when not in use) #88763

Closed
opened 2026-05-15 13:33:16 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @dojoca on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16724

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

I've recently been using RAG quite heavily and it's fantastic.

Unfortunately... with only 16GB of VRAM, using ~14B parameter models + the RAG model staking up around 8GB after a while, things get tight pretty quickly.

Desired Solution you'd like

I'd like to ask for it to be possible to unload models after a period of time (or immediately once they've done their job), similar to the KEEP_ALIVE variable in Ollama?

Alternatives Considered

Manually restarting the container, various "action functions" which don't really solve the issue.

Additional Context

No response

Originally created by @dojoca on GitHub (Aug 19, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16724 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description I've recently been using RAG quite heavily and it's fantastic. Unfortunately... with only 16GB of VRAM, using ~14B parameter models + the RAG model staking up around 8GB after a while, things get tight pretty quickly. ### Desired Solution you'd like I'd like to ask for it to be possible to unload models after a period of time (or immediately once they've done their job), similar to the KEEP_ALIVE variable in Ollama? ### Alternatives Considered Manually restarting the container, various "action functions" which don't really solve the issue. ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#88763