You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param redirect_whispercpp_logs_to: where to redirect the whisper.cpp logs, default to False (no redirection), accepts str file path, sys.stdout, sys.stderr, or use None to redirect to devnull
90
+
:param use_openvino: whether to use OpenVINO or not
91
+
:param openvino_model_path: path to the OpenVINO model
92
+
:param openvino_device: OpenVINO device, default to CPU
@@ -667,6 +673,9 @@ PYBIND11_MODULE(_pywhispercpp, m) {
667
673
668
674
m.def("whisper_full_get_token_p", &whisper_full_get_token_p_wrapper, "Get the probability of the specified token in the specified segment.");
669
675
676
+
m.def("whisper_ctx_init_openvino_encoder", &whisper_ctx_init_openvino_encoder_wrapper, "Given a context, enable use of OpenVINO for encode inference.");
0 commit comments