Skip to content

chore: add .gitignore entries for OpenVINO support #3276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

mochiya98
Copy link
Contributor

Add .gitignore entries for OpenVINO support.
This eliminates unexpected diffs when using OpenVINO.

# added
models/*-encoder-openvino.xml
models/*-encoder-openvino-cache/

for

whisper.cpp/src/whisper.cpp

Lines 3367 to 3376 in cead8f5

static std::string whisper_openvino_get_path_encoder(std::string path_bin) {
auto pos = path_bin.rfind('.');
if (pos != std::string::npos) {
path_bin = path_bin.substr(0, pos);
}
path_bin += "-encoder-openvino.xml";
return path_bin;
}

whisper.cpp/src/whisper.cpp

Lines 3378 to 3388 in cead8f5

static std::string whisper_openvino_get_path_cache(std::string path_bin) {
auto pos = path_bin.rfind('.');
if (pos != std::string::npos) {
path_bin = path_bin.substr(0, pos);
}
path_bin += "-encoder-openvino-cache";
return path_bin;
}
#endif

@danbev danbev merged commit a0d2c63 into ggml-org:master Jun 24, 2025
103 of 104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants