From a6418be5419bdccdf7dc22cfde48a756ea0766d0 Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 10 Oct 2025 20:11:42 +0200 Subject: [PATCH] feat(ai): release vram after run --- ai-coder.sh | 2 ++ ai.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ai-coder.sh b/ai-coder.sh index 22f0c20..4e58868 100755 --- a/ai-coder.sh +++ b/ai-coder.sh @@ -33,3 +33,5 @@ if ! [ "$other_args" = "" ]; then else OLLAMA_HOST=$host ollama run $model --think=false fi + +OLLAMA_HOST=$host ollama stop $model diff --git a/ai.sh b/ai.sh index ef22e1d..696e365 100755 --- a/ai.sh +++ b/ai.sh @@ -64,3 +64,5 @@ if ! [ "$other_args" = "" ]; then else OLLAMA_HOST=$host ollama run $model --think=false fi + +OLLAMA_HOST=$host ollama stop $model