|
83 | 83 | mkdir -p models |
84 | 84 | # Download TinyLlama test model if not present |
85 | 85 | if [ ! -f models/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf ]; then |
86 | | - ./build/bin/llama-cli --hf-repo TinyLlama/TinyLlama-1.1B-Chat-v1.0 \ |
87 | | - --hf-file tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf \ |
88 | | - --model-download-only |
89 | | - mv ~/.cache/llama.cpp/*/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf models/ |
| 86 | + wget -q --show-progress -O models/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf \ |
| 87 | + https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf |
90 | 88 | fi |
91 | 89 |
|
92 | 90 | - name: Restore baseline database |
@@ -219,10 +217,8 @@ jobs: |
219 | 217 | run: | |
220 | 218 | mkdir -p models |
221 | 219 | if [ ! -f models/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf ]; then |
222 | | - ./build/bin/llama-cli --hf-repo TinyLlama/TinyLlama-1.1B-Chat-v1.0 \ |
223 | | - --hf-file tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf \ |
224 | | - --model-download-only |
225 | | - mv ~/.cache/llama.cpp/*/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf models/ |
| 220 | + wget -q --show-progress -O models/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf \ |
| 221 | + https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf |
226 | 222 | fi |
227 | 223 |
|
228 | 224 | - name: Restore baseline database |
@@ -353,11 +349,8 @@ jobs: |
353 | 349 | run: | |
354 | 350 | mkdir -p models |
355 | 351 | if [ ! -f models/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf ]; then |
356 | | - ./build/bin/llama-cli --hf-repo TinyLlama/TinyLlama-1.1B-Chat-v1.0 \ |
357 | | - --hf-file tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf \ |
358 | | - --model-download-only |
359 | | - mv ~/.cache/llama.cpp/*/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf models/ || \ |
360 | | - mv ~/Library/Caches/llama.cpp/*/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf models/ |
| 352 | + wget -q --show-progress -O models/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf \ |
| 353 | + https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf |
361 | 354 | fi |
362 | 355 |
|
363 | 356 | - name: Restore baseline database |
|
0 commit comments