We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f2a80 commit 42f65b0Copy full SHA for 42f65b0
tests/test-lora-conversion-inference.sh
@@ -10,11 +10,20 @@ declare -a params=(
10
11
MODELS_REPO=lora-tests
12
MODELS_REPO_URL=https://huggingface.co/ggml-org/$MODELS_REPO
13
+COMMIT=c26d5fb85b4070a9e9c4e65d132c783b98086890
14
15
# Clone the Hugging Face repository if the directory does not exist
16
if [ ! -d "$MODELS_REPO" ]; then
17
echo "Cloning the Hugging Face repository..."
- git clone $MODELS_REPO_URL --depth 1
18
+ git clone --depth=1 $MODELS_REPO_URL $MODELS_REPO
19
+ cd $MODELS_REPO
20
+
21
+ # Fetch the specific commit
22
+ git fetch --depth=1 origin $COMMIT
23
24
+ # Reset to the specific commit
25
+ git reset --hard $COMMIT
26
+ cd -
27
else
28
echo "Repository already exists. Skipping clone."
29
fi
0 commit comments