ci : fix and re-enable tests

This commit is contained in:
Georgi Gerganov
2022-10-21 15:27:30 +03:00
parent 5698b51718
commit 80aefc9514
2 changed files with 10 additions and 4 deletions

View File

@@ -2477,6 +2477,12 @@ 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) {