From: ltoniazzi Date: Wed, 4 Dec 2024 09:45:48 +0000 (+0000) Subject: Fix HF repo commit to clone lora test models (#10649) X-Git-Tag: upstream/0.0.4488~224 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=253b7fde910731104670724391bfbcb94d97d0c3;p=pkg%2Fggml%2Fsources%2Fllama.cpp Fix HF repo commit to clone lora test models (#10649) --- diff --git a/tests/test-lora-conversion-inference.sh b/tests/test-lora-conversion-inference.sh index fe90ce0d..fb308a9f 100755 --- a/tests/test-lora-conversion-inference.sh +++ b/tests/test-lora-conversion-inference.sh @@ -10,11 +10,16 @@ declare -a params=( MODELS_REPO=lora-tests MODELS_REPO_URL=https://huggingface.co/ggml-org/$MODELS_REPO +COMMIT=c26d5fb85b4070a9e9c4e65d132c783b98086890 # Clone the Hugging Face repository if the directory does not exist if [ ! -d "$MODELS_REPO" ]; then echo "Cloning the Hugging Face repository..." git clone $MODELS_REPO_URL --depth 1 + cd $MODELS_REPO + git fetch --depth=1 origin $COMMIT + git reset --hard $COMMIT + cd - else echo "Repository already exists. Skipping clone." fi