]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
docker : fix filename for convert-hf-to-gguf.py in tools.sh (#8441)
authorArmen Kaleshian <redacted>
Fri, 12 Jul 2024 08:08:19 +0000 (04:08 -0400)
committerGitHub <redacted>
Fri, 12 Jul 2024 08:08:19 +0000 (11:08 +0300)
Commit b0a4699 changed the name of this script from convert-hf-to-gguf.py to
convert_hf_to_gguf.py breaking how convert is called from within a Docker
container.

.devops/tools.sh

index 335382f69ee1f8a172f686a9f6d31ab127c6ebfa..cf0e8f32d738c01d4eba129abb55f0710081cc33 100755 (executable)
@@ -8,7 +8,7 @@ arg1="$1"
 shift
 
 if [[ "$arg1" == '--convert' || "$arg1" == '-c' ]]; then
-    python3 ./convert-hf-to-gguf.py "$@"
+    python3 ./convert_hf_to_gguf.py "$@"
 elif [[ "$arg1" == '--quantize' || "$arg1" == '-q' ]]; then
     ./llama-quantize "$@"
 elif [[ "$arg1" == '--run' || "$arg1" == '-r' ]]; then