Skip to content

Commit 8151e00

Browse files
committed
ci check
1 parent 47b481c commit 8151e00

9 files changed

Lines changed: 60 additions & 53 deletions

File tree

.github/workflows/linux.yml

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,19 @@ jobs:
618618
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).RAG.test }}
619619
timeout: 30
620620
- name: 'WWB tests'
621-
cmd: 'python -m pytest -v ./tools/who_what_benchmark/tests -m "not nanollava"'
621+
cmd: |
622+
python -m pip install transformers==5.2.0
623+
python -m pip install --no-deps git+https://github.com/huggingface/optimum-intel.git@423b4237df4d51efe077675eb1c531ffe4c82c83
624+
python -m pip show transformers
625+
python -m pytest -v ./tools/who_what_benchmark/tests -m "not nanollava"
626+
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).WWB.test }}
627+
timeout: 120
628+
- name: 'WWB tests'
629+
cmd: |
630+
python -m pip install transformers==5.5.0
631+
python -m pip install --no-deps git+https://github.com/huggingface/optimum-intel.git@423b4237df4d51efe077675eb1c531ffe4c82c83
632+
python -m pip show transformers
633+
python -m pytest -v ./tools/who_what_benchmark/tests -m "not nanollava"
622634
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).WWB.test }}
623635
timeout: 120
624636
- name: 'EAGLE3 speculative decoding tests'
@@ -640,7 +652,8 @@ jobs:
640652
timeout: 60
641653
- name: 'VLM (qwen3-vl)'
642654
cmd: |
643-
python -m pip install transformers==4.57.0 git+https://github.com/huggingface/optimum-intel.git@0566b76f094d4c3084e06d29a248b39a1bff3fa4
655+
python -m pip install transformers==4.57.0
656+
python -m pip install --no-deps git+https://github.com/huggingface/optimum-intel.git@0566b76f094d4c3084e06d29a248b39a1bff3fa4
644657
python -m pytest -s -v tests/python_tests/test_vlm_pipeline.py --override-ini cache_dir=/mount/caches/pytest/ -k "qwen3-vl"
645658
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).visual_language.test }}
646659
timeout: 60
@@ -680,11 +693,10 @@ jobs:
680693
- name: Install GenAI Wheels
681694
if: ${{ matrix.test.run_condition }}
682695
uses: ./src/.github/actions/install_wheel
683-
with:
684-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai;whowhatbench"
685-
requirements_files: "${{ env.SRC_DIR }}/tests/python_tests/requirements.txt"
686-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
687-
696+
run: |
697+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/whowhatbench-*.whl
698+
python -m pip install -r ${{ env.SRC_DIR }}/tests/python_tests/requirements.txt
699+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl
688700
- name: Tests
689701
if: ${{ matrix.test.run_condition }}
690702
run: ${{ matrix.test.cmd }}
@@ -793,10 +805,9 @@ jobs:
793805
- name: Install GenAI wheels
794806
if: ${{ matrix.test.run_condition }}
795807
uses: ./src/.github/actions/install_wheel
796-
with:
797-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai[testing]"
798-
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt"
799-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
808+
run: |
809+
python -m pip install -r ${{ env.SRC_DIR }}/samples/requirements.txt
810+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl[testing]
800811
801812
- name: Setup Node
802813
if: ${{ matrix.test.run_condition }}
@@ -879,11 +890,9 @@ jobs:
879890

880891
- name: Install GenAI wheels
881892
uses: ./src/.github/actions/install_wheel
882-
with:
883-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai[testing]"
884-
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt;${{ env.SRC_DIR }}/tools/llm_bench/requirements.txt"
885-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
886-
893+
run: |
894+
python -m pip install -r ${{ env.SRC_DIR }}/samples/requirements.txt ${{ env.SRC_DIR }}/tools/llm_bench/requirements.txt"
895+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl[testing]
887896
- name: Convert models for cache types gtests
888897
if: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching }}
889898
run: |

.github/workflows/mac.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -508,11 +508,11 @@ jobs:
508508
- name: Install GenAI Wheels
509509
if: ${{ matrix.test.run_condition }}
510510
uses: ./src/.github/actions/install_wheel
511-
with:
512-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai;whowhatbench"
513-
requirements_files: "${{ env.SRC_DIR }}/tests/python_tests/requirements.txt"
514-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
515-
511+
run: |
512+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/whowhatbench-*.whl
513+
python -m pip install -r ${{ env.SRC_DIR }}/tests/python_tests/requirements.txt
514+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl
515+
516516
- name: Tests
517517
if: ${{ matrix.test.run_condition }}
518518
run: ${{ matrix.test.cmd }}
@@ -590,10 +590,9 @@ jobs:
590590
- name: Install GenAI wheels
591591
if: ${{ matrix.test.run_condition }}
592592
uses: ./src/.github/actions/install_wheel
593-
with:
594-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai[testing]"
595-
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt"
596-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
593+
run: |
594+
python -m pip install -r ${{ env.SRC_DIR }}/samples/requirements.txt
595+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl[testing]
597596
598597
- name: Fix C++ samples permissions
599598
if: ${{ matrix.test.run_condition }}
@@ -675,10 +674,9 @@ jobs:
675674

676675
- name: Install GenAI wheels
677676
uses: ./src/.github/actions/install_wheel
678-
with:
679-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai[testing]"
680-
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt"
681-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
677+
run: |
678+
python -m pip install -r ${{ env.SRC_DIR }}/samples/requirements.txt ${{ env.SRC_DIR }}/tools/llm_bench/requirements.txt"
679+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl[testing]
682680
683681
- name: Convert models for cache types gtests
684682
run: |

.github/workflows/manylinux_2_28.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,10 @@ jobs:
603603
- name: Install GenAI Wheels
604604
if: ${{ matrix.test.run_condition }}
605605
uses: ./src/.github/actions/install_wheel
606-
with:
607-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai;whowhatbench"
608-
requirements_files: "${{ env.SRC_DIR }}/tests/python_tests/requirements.txt"
609-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
606+
run: |
607+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/whowhatbench-*.whl
608+
python -m pip install -r ${{ env.SRC_DIR }}/tests/python_tests/requirements.txt
609+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl
610610
611611
- name: Tests
612612
if: ${{ matrix.test.run_condition }}

.github/workflows/windows.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -768,10 +768,10 @@ jobs:
768768
- name: Install GenAI Wheels
769769
if: ${{ matrix.test.run_condition }}
770770
uses: ./src/.github/actions/install_wheel
771-
with:
772-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai;whowhatbench"
773-
requirements_files: "${{ env.SRC_DIR }}/tests/python_tests/requirements.txt"
774-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
771+
run: |
772+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/whowhatbench-*.whl
773+
python -m pip install -r ${{ env.SRC_DIR }}/tests/python_tests/requirements.txt
774+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl
775775
776776
- name: Tests
777777
if: ${{ matrix.test.run_condition }}
@@ -867,10 +867,9 @@ jobs:
867867
- name: Install GenAI wheels
868868
if: ${{ matrix.test.run_condition }}
869869
uses: ./src/.github/actions/install_wheel
870-
with:
871-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai[testing]"
872-
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt"
873-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
870+
run: |
871+
python -m pip install -r ${{ env.SRC_DIR }}/samples/requirements.txt
872+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl[testing]
874873
875874
- name: Setup NodeJS
876875
if: ${{ matrix.test.run_condition }}
@@ -946,10 +945,9 @@ jobs:
946945

947946
- name: Install GenAI wheels
948947
uses: ./src/.github/actions/install_wheel
949-
with:
950-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai[testing]"
951-
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt"
952-
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
948+
run: |
949+
python -m pip install -r ${{ env.SRC_DIR }}/samples/requirements.txt ${{ env.SRC_DIR }}/tools/llm_bench/requirements.txt"
950+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino-*.whl ${{ env.INSTALL_DIR }}/wheels/openvino_tokenizers-*.whl[transformers] ${{ env.INSTALL_DIR }}/wheels/openvino_genai-*.whl[testing]
953951
954952
- name: Convert models for cache types gtests
955953
run: |

samples/export-requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
--extra-index-url https://download.pytorch.org/whl/cpu
22
--extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
33
openvino-tokenizers[transformers]~=2026.2.0.0.dev
4-
https://github.com/huggingface/optimum-intel/archive/2c48d6430c265ac259c1b264f3e2c4025cdd7b76.tar.gz#egg=optimum-intel
4+
# https://github.com/huggingface/optimum-intel/archive/2c48d6430c265ac259c1b264f3e2c4025cdd7b76.tar.gz#egg=optimum-intel
5+
git+https://github.com/huggingface/optimum-intel.git@423b4237df4d51efe077675eb1c531ffe4c82c83#egg=optimum-intel
56
einops==0.8.2 # For Qwen
67
transformers_stream_generator==0.0.5 # For Qwen
78
diffusers==0.37.1 # For image generation pipelines
89
timm==1.0.26 # For exporting InternVL2
910
# torchvision for visual language models
1011
torchvision==0.26.0
11-
transformers==4.55.4 # For Whisper
12+
transformers==5.0.0 # For Whisper
1213
hf_transfer==0.1.9 # for faster models download, should used with env var HF_HUB_ENABLE_HF_TRANSFER=1
1314
backoff==2.2.1 # for microsoft/Phi-3.5-vision-instruct
1415
peft==0.19.0 # For microsoft/Phi-4-multimodal-instruct

tests/python_tests/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
--extra-index-url https://download.pytorch.org/whl/cpu
22
diffusers==0.37.1
3-
https://github.com/huggingface/optimum-intel/archive/2c48d6430c265ac259c1b264f3e2c4025cdd7b76.tar.gz#egg=optimum-intel
3+
git+https://github.com/huggingface/optimum-intel.git@423b4237df4d51efe077675eb1c531ffe4c82c83#egg=optimum-intel
44
pytest==9.0.3
5-
transformers==4.55.4
5+
transformers==5.0.0
66
hf_transfer==0.1.9
77
gguf==0.18.0
88

tools/llm_bench/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ torch>=2.1.0,<=2.11
1010
transformers[sentencepiece]>=4.40.0,<5.4.0
1111
diffusers>=0.22.0,<=0.37.1
1212
# optimum is in dependency list of optimum-intel
13-
optimum-intel[nncf]>=1.25.0,<=1.27.0
14-
packaging>=20.0,<=26.1
13+
# optimum-intel[nncf]>=1.25.0,<=1.27.0
14+
git+https://github.com/huggingface/optimum-intel.git@423b4237df4d51efe077675eb1c531ffe4c82c83#egg=optimum-intel
15+
packaging>=20.0,<=26.0
1516
psutil
1617
timm<=1.0.26
1718
tiktoken>=0.3.0,<=0.12.0

tools/who_what_benchmark/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ accelerate>=0.26.0,<=1.13.0
22
transformers[sentencepiece]>=4.35.2,<5.4.0
33
sentence-transformers>=2.2.2,<=5.4.1
44
openvino-genai
5-
optimum-intel[nncf]>=1.19.0,<=1.27.0
5+
optimum-intel @ git+https://github.com/huggingface/optimum-intel.git@423b4237df4d51efe077675eb1c531ffe4c82c83
66
pandas>=2.0.3,<=3.0.2
77
numpy>=1.23.5,<=2.4.4
88
tqdm>=4.66.1,<=4.67.3

tools/who_what_benchmark/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import find_packages, setup
77

88
with open("requirements.txt") as f:
9-
required = f.read().splitlines()
9+
required = [line.strip() for line in f.read().splitlines() if line.strip() and not line.lstrip().startswith("#")]
1010

1111

1212
is_installing_editable = "develop" in sys.argv

0 commit comments

Comments
 (0)