feat(ai): release vram after run
This commit is contained in:
parent
036738b1c6
commit
a6418be541
2 changed files with 4 additions and 0 deletions
|
|
@ -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
2
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue