Add support for new whisper.cpp project structure

Remove opencl feature, removed in whisper.cpp
Add openmp feature and enable by default as in whisper.cpp
Update bindings
This commit is contained in:
arizhih 2024-08-08 15:55:47 +02:00
parent 744804a8aa
commit ec609f18ff
10 changed files with 164 additions and 371 deletions

View file

@ -220,16 +220,6 @@ impl<'a, 'b> FullParams<'a, 'b> {
self.fp.max_tokens = max_tokens;
}
/// # EXPERIMENTAL
///
/// Speed up audio ~2x by using phase vocoder.
/// Note that this can significantly reduce the accuracy of the transcription.
///
/// Defaults to false.
pub fn set_speed_up(&mut self, speed_up: bool) {
self.fp.speed_up = speed_up;
}
/// # EXPERIMENTAL
///
/// Enables debug mode, such as dumping the log mel spectrogram.