Skip to content

Commit

Permalink
Unpin optimum-intel version (#1680)
Browse files Browse the repository at this point in the history
Original issue was fixed by
huggingface/optimum-intel#1142
  • Loading branch information
ilya-lavrenov authored Feb 7, 2025
1 parent e324a5e commit c8eb874
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/genai-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
python -m pip install ${{ env.SRC_DIR }}/thirdparty/openvino_tokenizers -v ${{ needs.openvino_download.outputs.ov_wheel_source }}
python -m pip install ${{ env.SRC_DIR }} -v ${{ needs.openvino_download.outputs.ov_wheel_source }}
python -m pip install -r ${{ env.WWB_PATH }}/requirements.txt ${{ needs.openvino_download.outputs.ov_wheel_source }}
python -m pip install git+https://github.com/huggingface/optimum-intel.git@main#egg=optimum-intel
python -m pip install git+https://github.com/huggingface/optimum-intel.git@main
working-directory: ${{ env.OV_INSTALL_DIR }}
- name: WWB Tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion samples/export-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--extra-index-url https://storage.openvinotoolkit.org/simple/wheels/pre-release
--extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
openvino-tokenizers~=2025.1.0.0.dev
optimum-intel @ git+https://github.com/huggingface/optimum-intel.git@faeebf3416d17e3a6761db5f2e05569e0319311b
optimum-intel @ git+https://github.com/huggingface/optimum-intel.git@main
numpy<2.0.0; sys_platform == 'darwin'
einops==0.8.0 # For Qwen
transformers_stream_generator==0.0.5 # For Qwen
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/src/whisper/models/with_past_decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ WhisperWithPastDecoder::WhisperWithPastDecoder(const std::filesystem::path& mode
const ov::AnyMap& properties) {
Logger::warn("Whisper decoder models with past is deprecated. Support will be removed in 2026.0.0 release.\n"
"To obtain stateful decoder model use latest `optimum-intel` package:\n"
"pip install optimum-intel@git+https://github.com/huggingface/optimum-intel.git\n"
"pip install optimum-intel@git+https://github.com/huggingface/optimum-intel.git@main\n"
"optimum-cli export openvino --trust-remote-code --model openai/whisper-tiny whisper-tiny");
ov::Core core = utils::singleton_core();

Expand Down
2 changes: 1 addition & 1 deletion tests/python_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--extra-index-url https://download.pytorch.org/whl/cpu
diffusers==0.32.2
optimum-intel @ git+https://github.com/eaidova/optimum-intel@ea/stateful_seq2seq
optimum-intel @ git+https://github.com/huggingface/optimum-intel.git@main
numpy<2.0.0; platform_system == "Darwin" and platform_machine == "x86_64"
onnx==1.17.0
pytest
Expand Down
4 changes: 2 additions & 2 deletions tools/llm_bench/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ torch
transformers>=4.40.0
diffusers>=0.22.0
#optimum is in dependency list of optimum-intel
git+https://github.com/huggingface/optimum-intel.git@faeebf3416d17e3a6761db5f2e05569e0319311b#egg=optimum-intel
git+https://github.com/openvinotoolkit/nncf.git@develop#egg=nncf
git+https://github.com/huggingface/optimum-intel.git@main
git+https://github.com/openvinotoolkit/nncf.git@develop
packaging
psutil
timm
Expand Down

0 comments on commit c8eb874

Please sign in to comment.