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/blobs shoud 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/blobs and therefore memory isn't freed
Environment
Operating System: Ubuntu 22.04
Browser (if applicable): Chrome Version 120.0.6099.224 (Official Build) (64-bit)
Reproduction Details
Confirmation:
[Y] I have read and followed all the instructions provided in the README.md.
[Y] I have reviewed the troubleshooting.md document.
[N] I have included the browser console logs. (Not relevant, but maybe I'm wrong)
[N] I have included the Docker container logs. (Not relevant, but maybe I'm wrong)
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.
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/blobs` shoud 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/blobs` and therefore memory isn't freed
## Environment
- **Operating System:** Ubuntu 22.04
- **Browser (if applicable):** Chrome Version 120.0.6099.224 (Official Build) (64-bit)
## Reproduction Details
**Confirmation:**
- [Y] I have read and followed all the instructions provided in the README.md.
- [Y] I have reviewed the troubleshooting.md document.
- [N] I have included the browser console logs. (Not relevant, but maybe I'm wrong)
- [N] I have included the Docker container logs. (Not relevant, but maybe I'm wrong)
## 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.
This should be filed with the upstream project, Ollama. Nothing we can do about it here. Ollama does cleanup orphan blobs when it starts.
@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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.