aboutsummaryrefslogtreecommitdiff
path: root/.devops/tools.sh
diff options
context:
space:
mode:
authorJiří Podivín <66251151+jpodivin@users.noreply.github.com>2023-06-03 14:11:53 +0200
committerGitHub <noreply@github.com>2023-06-03 15:11:53 +0300
commitb5c85468a3eadf424420af5bf11c2353ff828cda (patch)
tree6ae804cd517ae170fcbae431d6e963fd6f9677b8 /.devops/tools.sh
parent136476e898fb96c302b0829ee3e79267ae12660f (diff)
Docker: change to calling convert.py (#1641)
Deprecation disclaimer was added to convert-pth-to-ggml.py
Diffstat (limited to '.devops/tools.sh')
-rwxr-xr-x.devops/tools.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.devops/tools.sh b/.devops/tools.sh
index ece9e4e..860a7e8 100755
--- a/.devops/tools.sh
+++ b/.devops/tools.sh
@@ -11,7 +11,7 @@ shift
arg2="$@"
if [[ $arg1 == '--convert' || $arg1 == '-c' ]]; then
- python3 ./convert-pth-to-ggml.py $arg2
+ python3 ./convert.py $arg2
elif [[ $arg1 == '--quantize' || $arg1 == '-q' ]]; then
./quantize $arg2
elif [[ $arg1 == '--run' || $arg1 == '-r' ]]; then
@@ -32,7 +32,7 @@ else
echo " --run (-r): Run a model previously converted into ggml"
echo " ex: -m /models/7B/ggml-model-q4_0.bin -p \"Building a website can be done in 10 simple steps:\" -n 512"
echo " --convert (-c): Convert a llama model into ggml"
- echo " ex: \"/models/7B/\" 1"
+ echo " ex: --outtype f16 \"/models/7B/\" "
echo " --quantize (-q): Optimize with quantization process ggml"
echo " ex: \"/models/7B/ggml-model-f16.bin\" \"/models/7B/ggml-model-q4_0.bin\" 2"
echo " --all-in-one (-a): Execute --convert & --quantize"