mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2023-11-04 02:52:44 +03:00
whisper : minor OpenVINO refactoring (#1037)
Hopefully I didn't break something - haven't tested
This commit is contained in:
@@ -120,8 +120,7 @@ extern "C" {
|
||||
// cache_dir: Optional cache directory that can speed up init time, especially for
|
||||
// GPU, by caching compiled 'blobs' there.
|
||||
// Set to nullptr if not used.
|
||||
// Returns 1 on success. If OpenVINO is not enabled in build, this
|
||||
// simply returns 0.
|
||||
// Returns 0 on success. If OpenVINO is not enabled in build, this simply returns 1.
|
||||
WHISPER_API int whisper_ctx_init_openvino_encoder(
|
||||
struct whisper_context * ctx,
|
||||
const char * model_path,
|
||||
|
||||
Reference in New Issue
Block a user