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 42f65b0 commit fc6abdeCopy full SHA for fc6abde
tests/test-lora-conversion-inference.sh
@@ -15,13 +15,9 @@ COMMIT=c26d5fb85b4070a9e9c4e65d132c783b98086890
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..."
18
- git clone --depth=1 $MODELS_REPO_URL $MODELS_REPO
+ git clone $MODELS_REPO_URL --depth 1
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
0 commit comments