Skip to content

Commit 4cc053b

Browse files
committed
Remove oboslete command from Docker script
1 parent 0ba5a3a commit 4cc053b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.devops/tools.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ elif [[ $arg1 == '--quantize' || $arg1 == '-q' ]]; then
1616
./quantize $arg2
1717
elif [[ $arg1 == '--run' || $arg1 == '-r' ]]; then
1818
./main $arg2
19-
elif [[ $arg1 == '--download' || $arg1 == '-d' ]]; then
20-
python3 ./download-pth.py $arg2
2119
elif [[ $arg1 == '--all-in-one' || $arg1 == '-a' ]]; then
22-
echo "Downloading model..."
23-
python3 ./download-pth.py "$1" "$2"
2420
echo "Converting PTH to GGML..."
2521
for i in `ls $1/$2/ggml-model-f16.bin*`; do
2622
if [ -f "${i/f16/q4_0}" ]; then
@@ -39,8 +35,6 @@ else
3935
echo " ex: \"/models/7B/\" 1"
4036
echo " --quantize (-q): Optimize with quantization process ggml"
4137
echo " ex: \"/models/7B/ggml-model-f16.bin\" \"/models/7B/ggml-model-q4_0.bin\" 2"
42-
echo " --download (-d): Download original llama model from CDN: https://agi.gpt4.org/llama/"
43-
echo " ex: \"/models/\" 7B"
44-
echo " --all-in-one (-a): Execute --download, --convert & --quantize"
38+
echo " --all-in-one (-a): Execute --convert & --quantize"
4539
echo " ex: \"/models/\" 7B"
4640
fi

0 commit comments

Comments
 (0)