whisper : adapt to new ggml (wip)

This commit is contained in:
Georgi Gerganov
2024-11-19 19:09:07 +02:00
parent 06e059b8f8
commit 7fd8d9c220
9 changed files with 160 additions and 1007 deletions

View File

@ -67,8 +67,6 @@ actor WhisperContext {
private func systemInfo() -> String {
var info = ""
if (ggml_cpu_has_neon() != 0) { info += "NEON " }
if (ggml_cpu_has_metal() != 0) { info += "METAL " }
if (ggml_cpu_has_blas() != 0) { info += "BLAS " }
return String(info.dropLast())
}