Skip to content

Commit 3007e79

Browse files
Update Whisper README.md as "--disable-stateful" is no longer required to export models for NPU (#2249)
In OV2025.1, the option "--disable-stateful" to export model for NPU is not required as the stateful to stateless conversion is done inside the pipeline. https://github.com/openvinotoolkit/openvino.genai/blob/master/src/cpp/src/whisper/pipeline_static.cpp#L857 Co-authored-by: Alexander Suvorov <[email protected]>
1 parent 2913034 commit 3007e79

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

samples/cpp/whisper_speech_recognition/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ pip install --upgrade-strategy eager -r ../../requirements.txt
1313
optimum-cli export openvino --trust-remote-code --model openai/whisper-base whisper-base
1414
```
1515

16-
If NPU is the inference device, an additional option `--disable-stateful` is required. See [NPU with OpenVINO GenAI](https://docs.openvino.ai/nightly/openvino-workflow-generative/inference-with-genai/inference-with-genai-on-npu.html) for the detail.
17-
1816
## Prepare audio file
1917

2018
Prepare audio file in wav format with sampling rate 16k Hz.

samples/python/whisper_speech_recognition/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ pip install --upgrade-strategy eager -r ../../export-requirements.txt
1313
optimum-cli export openvino --trust-remote-code --model openai/whisper-base whisper-base
1414
```
1515

16-
If NPU is the inference device, an additional option `--disable-stateful` is required. See [NPU with OpenVINO GenAI](https://docs.openvino.ai/nightly/openvino-workflow-generative/inference-with-genai/inference-with-genai-on-npu.html) for the detail.
17-
1816
## Prepare audio file
1917

2018
Download example audio file: https://storage.openvinotoolkit.org/models_contrib/speech/2021.2/librispeech_s5/how_are_you_doing_today.wav

0 commit comments

Comments
 (0)