File tree 3 files changed +23
-2
lines changed
3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -311,10 +311,9 @@ jobs:
311
311
python -m pip install . --verbose --find-links ${env:OV_INSTALL_DIR}/wheels
312
312
python -m pip install ./tools/who_what_benchmark --find-links ${env:OV_INSTALL_DIR}/wheels
313
313
314
- # will install transformers 4.46.3 version
315
314
# transformers 4.46.3 will enable return_timestamps tests
316
315
# this check enabled for windows only. Ticket: 160205.
317
- python -m pip install git+https://github.com/huggingface/optimum-intel.git@753f84db6e0966580eb9eaa74a808213be730631
316
+ python -m pip install transformers==4.46.3
318
317
319
318
python -m pytest -v ./tests/python_tests/test_whisper_pipeline.py -k "not test_smoke"
320
319
Original file line number Diff line number Diff line change
1
+ // Copyright (C) 2025 Intel Corporation
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ #pragma once
5
+ #include < iostream>
6
+ #include < string>
7
+
8
+ namespace ov ::genai {
9
+
10
+ class Logger {
11
+ public:
12
+ static void warn (std::string message) {
13
+ std::cout << " [WARN] " << message << ' \n ' ;
14
+ };
15
+ };
16
+
17
+ } // namespace ov::genai
Original file line number Diff line number Diff line change 5
5
6
6
#include < regex>
7
7
8
+ #include " logger.hpp"
8
9
#include " utils.hpp"
9
10
10
11
namespace {
@@ -40,6 +41,10 @@ namespace ov::genai {
40
41
WhisperWithPastDecoder::WhisperWithPastDecoder (const std::filesystem::path& models_path,
41
42
const std::string& device,
42
43
const ov::AnyMap& properties) {
44
+ Logger::warn (" Whisper decoder models with past is deprecated. Support will be removed in 2026.0.0 release.\n "
45
+ " To obtain stateful decoder model use latest `optimum-intel` package:\n "
46
+ " pip install optimum-intel@git+https://github.com/huggingface/optimum-intel.git\n "
47
+ " optimum-cli export openvino --trust-remote-code --model openai/whisper-tiny whisper-tiny" );
43
48
ov::Core core = utils::singleton_core ();
44
49
45
50
auto compiled_model = core.compile_model (models_path / " openvino_decoder_model.xml" , device, properties);
You can’t perform that action at this time.
0 commit comments