Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cpp/src/whisper/pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ ov::genai::WhisperPipeline::WhisperPipeline(const std::filesystem::path& models_
auto start_time = std::chrono::steady_clock::now();
if (device == "NPU") {
auto properties_copy = properties;
const bool use_static_pipeline = utils::pop_or_default(properties_copy, "STATIC_PIPELINE", true);
const bool use_static_pipeline = utils::pop_or_default(properties_copy, "STATIC_PIPELINE", false);
if (!use_static_pipeline) {
m_impl = std::make_unique<WhisperPipelineStatefulImpl>(models_path, device, properties_copy);
} else {
Expand Down
3 changes: 2 additions & 1 deletion tests/python_tests/test_whisper_pipeline_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# and robustness of the WhisperStaticPipeline on NPUW:CPU.
config = {"NPU_USE_NPUW" : "YES",
"NPUW_DEVICES" : "CPU",
"NPUW_ONLINE_PIPELINE" : "NONE"}
"NPUW_ONLINE_PIPELINE" : "NONE",
"STATIC_PIPELINE": True}

def load_and_save_whisper_model(params, stateful=False, **tokenizer_kwargs):
model_id, path = params
Expand Down
Loading