diff options
author | SIGSEGV <21287366+akr2002@users.noreply.github.com> | 2023-07-11 21:46:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 21:46:23 +0530 |
commit | 3a72049dadd1f19d76a2301f256c7664692eccd1 (patch) | |
tree | 1df6ff04d74d4417e555ebfedc79837f4eecb47c | |
parent | 7f75f68795e0a84c06cc790c17e8e471ca6f00f9 (diff) | |
parent | 3ec7e596b2ba3f43c22f441254ca2bcfa91102ba (diff) |
Merge branch 'ggerganov:master' into master
-rwxr-xr-x | .devops/tools.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.devops/tools.sh b/.devops/tools.sh index 860a7e8..efdd666 100755 --- a/.devops/tools.sh +++ b/.devops/tools.sh @@ -26,6 +26,8 @@ elif [[ $arg1 == '--all-in-one' || $arg1 == '-a' ]]; then ./quantize "$i" "${i/f16/q4_0}" q4_0 fi done +elif [[ $arg1 == '--server' || $arg1 == '-s' ]]; then + ./server $arg2 else echo "Unknown command: $arg1" echo "Available commands: " @@ -37,4 +39,6 @@ else echo " ex: \"/models/7B/ggml-model-f16.bin\" \"/models/7B/ggml-model-q4_0.bin\" 2" echo " --all-in-one (-a): Execute --convert & --quantize" echo " ex: \"/models/\" 7B" + echo " --server (-s): Run a model on the server" + echo " ex: -m /models/7B/ggml-model-q4_0.bin -c 2048 -ngl 43 -mg 1 --port 8080" fi |