]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ci : add GG_BUILD_NO_DOWNLOAD
authorGeorgi Gerganov <redacted>
Sat, 15 Jun 2024 18:12:18 +0000 (21:12 +0300)
committerGeorgi Gerganov <redacted>
Sat, 15 Jun 2024 19:05:47 +0000 (22:05 +0300)
ggml-ci

ci/run.sh

index 7a106969b944ba1a68c541f5aaac15c4efa26c8e..6a7e17a126d2b88f987b9c54e34859fc6d4a80b4 100644 (file)
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -344,11 +344,13 @@ if [ ! -z ${GG_BUILD_METAL} ]; then
     export GGML_METAL_PATH_RESOURCES="${SRC}/build-ci-release/bin"
 fi
 
-test $ret -eq 0 && gg_run gpt_2
-test $ret -eq 0 && gg_run mnist
-test $ret -eq 0 && gg_run whisper
-test $ret -eq 0 && gg_run sam
-test $ret -eq 0 && gg_run yolo
+if [ -z ${GG_BUILD_NO_DOWNLOAD} ]; then
+    test $ret -eq 0 && gg_run gpt_2
+    test $ret -eq 0 && gg_run mnist
+    test $ret -eq 0 && gg_run whisper
+    test $ret -eq 0 && gg_run sam
+    test $ret -eq 0 && gg_run yolo
+fi
 
 if [ -z $GG_BUILD_LOW_PERF ]; then
     if [ -z ${GG_BUILD_VRAM_GB} ] || [ ${GG_BUILD_VRAM_GB} -ge 16 ]; then