mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-14 11:05:45 -05:00
Deleting a model isn't removing Its blob #219
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @racso-dev on GitHub (Jan 22, 2024).
Bug Report
Description
Bug Summary:
When I try to delete a model through the UI in the settings it doesn't seem to work properly.
Steps to Reproduce:
Settings > Select a model to delete > Delete
Expected Behavior:
It should delete the model and
/usr/share/ollama/.ollama/models/blobsshoud therefore not contain the blob of the model anymore.Actual Behavior:
The blob of the model isn't removed from
/usr/share/ollama/.ollama/models/blobsand therefore memory isn't freedEnvironment
Reproduction Details
Confirmation:
Installation Method
I installed the project, with building a docker container. I deployed the ollama inference server on a distant machine, that I included the url in the env of the docker container.
@justinh-rahb commented on GitHub (Jan 22, 2024):
This should be filed with the upstream project, Ollama. Nothing we can do about it here. Ollama does cleanup orphan blobs when it starts.