SYSTRAN / faster-whisper

Faster Whisper transcription with CTranslate2
MIT License
12.4k stars 1.04k forks source link

is faster-whisper.cpp possible? #551

Open rawwerks opened 1 year ago

rawwerks commented 1 year ago

is faster-whisper.cpp possible (without any python)?

from a quick review of https://github.com/OpenNMT/CTranslate2/, it is hard for me to tell if it is possible to implement entirely with cpp, which would enable iOS apps such as https://github.com/Saik0s/Whisperboard to use faster-whisper (see: https://github.com/Saik0s/Whisperboard/issues/24)

westhecool commented 1 year ago

Doesn't this already exist here? https://github.com/ggerganov/whisper.cpp

rawwerks commented 1 year ago

my understanding was that this repo is accelerating https://github.com/ggerganov/whisper.cpp with https://github.com/OpenNMT/CTranslate2/ , but maybe the whisper.cpp repo now already incorporates the speed advancements that are available here?

phineas-pta commented 1 year ago

they are different projects: faster-whisper use ctranslate2 backend, whisper.cpp use ggml backend

ctranslate2 has c++ binding so should be possible to write your own c++ code but unlikely to be compatible with whisper.cpp