]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
Revert "ci : fix and re-enable tests"
authorGeorgi Gerganov <redacted>
Fri, 21 Oct 2022 12:36:19 +0000 (15:36 +0300)
committerGeorgi Gerganov <redacted>
Fri, 21 Oct 2022 12:36:19 +0000 (15:36 +0300)
This reverts commit 80aefc9514262a026e013902fa3722e53181cd82.

CMakeLists.txt
whisper.cpp

index 5ae5ba714460307e46e9cd0179e4590853675cb3..c1cdd437d79e7d2c5b9d18ce03ba91c1b56e3187 100644 (file)
@@ -171,8 +171,8 @@ if (WHISPER_STANDALONE)
     endif ()
 
     # TODO: temporary disabled
-    if (WHISPER_BUILD_TESTS)
-        enable_testing()
-        add_subdirectory(tests)
-    endif ()
+    #if (WHISPER_BUILD_TESTS)
+    #    enable_testing()
+    #    add_subdirectory(tests)
+    #endif ()
 endif ()
index 55422b2d939163d0e39b1df82d404281da0e6441..2d2b8cedcb173644b4153dba698911dfac216a75 100644 (file)
@@ -2477,12 +2477,6 @@ int whisper_full(
                     }
                     break;
                 }
-
-                // TESTS: if no tensors are loaded, it means we are running tests
-                if (ctx->model.tensors.size()) {
-                    seek_delta = 100*WHISPER_CHUNK_SIZE;
-                    break;
-                }
             }
 
             if (done) {