From: Georgi Gerganov Date: Fri, 21 Oct 2022 12:36:19 +0000 (+0300) Subject: Revert "ci : fix and re-enable tests" X-Git-Tag: upstream/1.7.4~1931 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=692aa0784f531c5ea0008bfaa143fb5cfd678b33;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp Revert "ci : fix and re-enable tests" This reverts commit 80aefc9514262a026e013902fa3722e53181cd82. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ae5ba71..c1cdd437 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 () diff --git a/whisper.cpp b/whisper.cpp index 55422b2d..2d2b8ced 100644 --- a/whisper.cpp +++ b/whisper.cpp @@ -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) {