[GH-ISSUE #2052] Cannot interrupt evaluation ollama serve during prompt evaluation #63226

Closed
opened 2026-05-03 12:38:24 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @jmorganca on GitHub (Jan 18, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2052

When trying to interrupt either generation or ollama serve with ctrl+c while the prompt is being evaluated, Ollama will wait until prompt evaluation is done

Originally created by @jmorganca on GitHub (Jan 18, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2052 When trying to interrupt either generation or `ollama serve` with ctrl+c while the prompt is being evaluated, Ollama will wait until prompt evaluation is done
GiteaMirror added the bug label 2026-05-03 12:38:24 -05:00
Author
Owner

@pdevine commented on GitHub (Mar 11, 2024):

I just verified this is working correctly. You can Ctrl+C the server and it will immediately exit. I also did this from the client and it immediately stopped evaluating.

I'm going to go ahead and close the issue, but please feel free to open it if you're still seeing problems.

<!-- gh-comment-id:1989123350 --> @pdevine commented on GitHub (Mar 11, 2024): I just verified this is working correctly. You can Ctrl+C the server and it will immediately exit. I also did this from the client and it immediately stopped evaluating. I'm going to go ahead and close the issue, but please feel free to open it if you're still seeing problems.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#63226