Skip to content

Commit 76651e2

Browse files
bradmurray-dtiThalay
authored andcommitted
models : add support for wget2 for fedora (ggml-org#2387)
1 parent 8061d6a commit 76651e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

models/download-ggml-model.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ if [ -f "ggml-$model.bin" ]; then
101101
exit 0
102102
fi
103103

104-
if [ -x "$(command -v wget)" ]; then
104+
if [ -x "$(command -v wget2)" ]; then
105+
wget2 --no-config --progress bar -O ggml-"$model".bin $src/$pfx-"$model".bin
106+
elif [ -x "$(command -v wget)" ]; then
105107
wget --no-config --quiet --show-progress -O ggml-"$model".bin $src/$pfx-"$model".bin
106108
elif [ -x "$(command -v curl)" ]; then
107109
curl -L --output ggml-"$model".bin $src/$pfx-"$model".bin

0 commit comments

Comments
 (0)