feat(ai): release vram after run

This commit is contained in:
Ayo Ayco 2025-10-10 20:11:42 +02:00
parent 036738b1c6
commit a6418be541
2 changed files with 4 additions and 0 deletions

View file

@ -33,3 +33,5 @@ if ! [ "$other_args" = "" ]; then
else
OLLAMA_HOST=$host ollama run $model --think=false
fi
OLLAMA_HOST=$host ollama stop $model

2
ai.sh
View file

@ -64,3 +64,5 @@ if ! [ "$other_args" = "" ]; then
else
OLLAMA_HOST=$host ollama run $model --think=false
fi
OLLAMA_HOST=$host ollama stop $model