]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ci: disable test-opt for now (#1158)
authorAkarshan Biswas <redacted>
Wed, 26 Mar 2025 07:51:18 +0000 (13:21 +0530)
committerGitHub <redacted>
Wed, 26 Mar 2025 07:51:18 +0000 (09:51 +0200)
* ci: disable test-opt for now

* Use CTEXT_EXTRA to disable tests

ci/run.sh

index 237f803958afa9d85af875a740e0472cfa05ae88..1738aac2a0c69aac86b55771aabadf74fc46ba78 100644 (file)
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -34,6 +34,7 @@ cd $sd/../
 SRC=`pwd`
 
 CMAKE_EXTRA=""
+CTEST_EXTRA=""
 
 if [ ! -z ${GG_BUILD_CUDA} ]; then
     CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_CUDA=ON"
@@ -54,6 +55,8 @@ if [ ! -z ${GG_BUILD_SYCL} ]; then
     fi
     export ONEAPI_DEVICE_SELECTOR="level_zero:0"
     export ZES_ENABLE_SYSMAN=1
+    # No plan to implement backward pass for now / disable test-opt
+    CTEST_EXTRA="-E test-opt"
     CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_SYCL=1 -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_SYCL_F16=ON"
 fi
 
@@ -115,7 +118,7 @@ function gg_run_ctest_debug {
         export GGML_METAL_PATH_RESOURCES="$(pwd)/bin"
     fi
 
-    (time ctest --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log
+    (time ctest ${CTEST_EXTRA} --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log
 
     set +e
 }
@@ -148,9 +151,9 @@ function gg_run_ctest_release {
     fi
 
     if [ -z $GG_BUILD_LOW_PERF ]; then
-        (time ctest --output-on-failure ) 2>&1 | tee -a $OUT/${ci}-ctest.log
+        (time ctest ${CTEST_EXTRA} --output-on-failure ) 2>&1 | tee -a $OUT/${ci}-ctest.log
     else
-        (time ctest --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log
+        (time ctest ${CTEST_EXTRA} --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log
     fi
 
     set +e