feat: UI model eject button #4902

Closed
opened 2025-11-11 16:06:03 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @VooDisss on GitHub (Apr 19, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Open-WebUI lacks a direct way to release Ollama models from memory. This limits RAM management, especially when working with multiple models.

Make a button that is similar to the one in the image given below:

Image

Desired Solution you'd like

Implement an "Eject" button (with a clear eject icon) next to each loaded model. Clicking this button should execute ollama stop <model_name>, releasing the model from memory. Provide visual feedback (loading spinner or status change).

Alternatives Considered

https://openwebui.com/f/pkeffect/ollama_model_unload a Tool for this or similar feature
https://github.com/open-webui/open-webui/pull/12321 is a similar pull, but it gives control to a button to eject the model in the models section of admin menu. User should not have to exit the chat in order to be able to manually eject a model loaded in VRAM via ollama.

Consider these alternatives:
Right-click context menu option ("Eject"). This keeps the UI cleaner if space is limited.
Model status indicator showing RAM usage (like a progress bar under the text of the model); clicking it ejects the model.
"Unload All" Button: Add a button that ejects all loaded models from Ollama, useful for a complete reset.

Additional Context

No response

Originally created by @VooDisss on GitHub (Apr 19, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description Open-WebUI lacks a direct way to release Ollama models from memory. This limits RAM management, especially when working with multiple models. Make a button that is similar to the one in the image given below: ![Image](https://github.com/user-attachments/assets/a9092366-3108-4d57-a4fd-2883648f007c) ### Desired Solution you'd like Implement an "Eject" button (with a clear eject icon) next to each loaded model. Clicking this button should execute ``ollama stop <model_name>``, releasing the model from memory. Provide visual feedback (loading spinner or status change). ### Alternatives Considered https://openwebui.com/f/pkeffect/ollama_model_unload a Tool for this or similar feature https://github.com/open-webui/open-webui/pull/12321 is a similar pull, but it gives control to a button to eject the model in the models section of admin menu. User should not have to exit the chat in order to be able to manually eject a model loaded in VRAM via ollama. Consider these alternatives: Right-click context menu option ("Eject"). This keeps the UI cleaner if space is limited. Model status indicator showing RAM usage (like a progress bar under the text of the model); clicking it ejects the model. "Unload All" Button: Add a button that ejects all loaded models from Ollama, useful for a complete reset. ### 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#4902