[GH-ISSUE #15078] Unable to stop deleted model #71732

Closed
opened 2026-05-05 02:25:53 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @n4s3r on GitHub (Mar 26, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15078

What is the issue?

Image

Relevant log output

[GIN] 2026/03/26 - 21:31:31 | 200 |    529.6728ms |       127.0.0.1 | DELETE   "/api/delete"

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.18.3

Originally created by @n4s3r on GitHub (Mar 26, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15078 ### What is the issue? <img width="876" height="156" alt="Image" src="https://github.com/user-attachments/assets/89204d84-fb98-45d1-808c-f053c3618ff5" /> ### Relevant log output ```shell [GIN] 2026/03/26 - 21:31:31 | 200 | 529.6728ms | 127.0.0.1 | DELETE "/api/delete" ``` ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.18.3
GiteaMirror added the bug label 2026-05-05 02:25:54 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 27, 2026):

What's the output of ollama -v?

<!-- gh-comment-id:4139297046 --> @rick-github commented on GitHub (Mar 27, 2026): What's the output of `ollama -v`?
Author
Owner

@n4s3r commented on GitHub (Mar 28, 2026):

ollama -v
ollama version is 0.18.3

<!-- gh-comment-id:4148856293 --> @n4s3r commented on GitHub (Mar 28, 2026): ollama -v ollama version is 0.18.3
Author
Owner

@rick-github commented on GitHub (Mar 28, 2026):

The reason I asked for the version is because prior to 0.12.8, ollama would delete a model while it was still running. That was fixed in 0.12.8 by https://github.com/ollama/ollama/pull/12832 which unloads a model before it is deleted.

I am unable to duplicate the issue:

$ ollama cp deepseek-r1:latest deepseek-r1:15078
copied 'deepseek-r1:latest' to 'deepseek-r1:15078'
$ ollama run deepseek-r1:15078 ''
$ ollama ps
NAME                 ID              SIZE      PROCESSOR    CONTEXT    UNTIL   
deepseek-r1:15078    6995872bfe4c    6.1 GB    100% CPU     4096       Forever    
$ ollama rm deepseek-r1:15078
deleted 'deepseek-r1:15078'
$ ollama ps
NAME    ID    SIZE    PROCESSOR    CONTEXT    UNTIL 

Could you provide some background on why you deleted a running model?

<!-- gh-comment-id:4148876457 --> @rick-github commented on GitHub (Mar 28, 2026): The reason I asked for the version is because prior to 0.12.8, ollama would delete a model while it was still running. That was fixed in [0.12.8](https://github.com/ollama/ollama/releases?page=4#:~:text=Ollama%20will%20now%20stop%20running%20a%20model%20before%20removing%20it%20via%20ollama%20rm) by https://github.com/ollama/ollama/pull/12832 which unloads a model before it is deleted. I am unable to duplicate the issue: ```console $ ollama cp deepseek-r1:latest deepseek-r1:15078 copied 'deepseek-r1:latest' to 'deepseek-r1:15078' $ ollama run deepseek-r1:15078 '' $ ollama ps NAME ID SIZE PROCESSOR CONTEXT UNTIL deepseek-r1:15078 6995872bfe4c 6.1 GB 100% CPU 4096 Forever $ ollama rm deepseek-r1:15078 deleted 'deepseek-r1:15078' $ ollama ps NAME ID SIZE PROCESSOR CONTEXT UNTIL ``` Could you provide some background on why you deleted a running model?
Author
Owner

@n4s3r commented on GitHub (Mar 29, 2026):

Don't worry, because is not a very important bug. I'm not sure if I updated it but I think the bug occured in 0.18.3.

<!-- gh-comment-id:4150455130 --> @n4s3r commented on GitHub (Mar 29, 2026): Don't worry, because is not a very important bug. I'm not sure if I updated it but I think the bug occured in 0.18.3.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#71732