[GH-ISSUE #6957] ollama stop fails if the model has been deleted #4404

Closed
opened 2026-04-12 15:20:33 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @jmorganca on GitHub (Sep 25, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6957

What is the issue?

PS C:\Users\jmorgan> ollama ps
NAME                ID              SIZE     PROCESSOR    UNTIL
solar-pro:latest    9a8c71c441ca    18 GB    100% GPU     4 minutes from now
PS C:\Users\jmorgan> ollama rm solar-pro
deleted 'solar-pro'
PS C:\Users\jmorgan> ollama stop solar-pro
Error: couldn't find model "solar-pro" to stop
PS C:\Users\jmorgan> ollama ps
NAME                ID              SIZE     PROCESSOR    UNTIL
solar-pro:latest    9a8c71c441ca    18 GB    100% GPU     4 minutes from now

OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @jmorganca on GitHub (Sep 25, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6957 ### What is the issue? ``` PS C:\Users\jmorgan> ollama ps NAME ID SIZE PROCESSOR UNTIL solar-pro:latest 9a8c71c441ca 18 GB 100% GPU 4 minutes from now PS C:\Users\jmorgan> ollama rm solar-pro deleted 'solar-pro' PS C:\Users\jmorgan> ollama stop solar-pro Error: couldn't find model "solar-pro" to stop PS C:\Users\jmorgan> ollama ps NAME ID SIZE PROCESSOR UNTIL solar-pro:latest 9a8c71c441ca 18 GB 100% GPU 4 minutes from now ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-12 15:20:33 -05:00
Author
Owner

@pdevine commented on GitHub (Sep 26, 2024):

I think the bug here is if someone does an ollama rm it should also stop the model.

<!-- gh-comment-id:2376068132 --> @pdevine commented on GitHub (Sep 26, 2024): I think the bug here is if someone does an `ollama rm` it should also stop the model.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4404