Skip to content

Commit 86d03bc

Browse files
committed
test
1 parent 78522b4 commit 86d03bc

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/linux.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,11 +616,14 @@ jobs:
616616
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).RAG.test }}
617617
timeout: 30
618618
- name: 'WWB tests'
619-
cmd: 'python -m pytest -v ./tools/who_what_benchmark/tests -m "not nanollava"'
619+
cmd: |
620+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/whowhatbench
621+
python -m pytest -v ./tools/who_what_benchmark/tests -m "not nanollava"
620622
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).WWB.test }}
621623
timeout: 120
622624
- name: 'WWB tests (nanollava)'
623625
cmd: |
626+
python -m pip install ${{ env.INSTALL_DIR }}/wheels/whowhatbench
624627
python -m pip install transformers==4.48.0
625628
python -m pytest -v ./tools/who_what_benchmark/tests -m nanollava
626629
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).WWB.test }}
@@ -667,7 +670,7 @@ jobs:
667670
if: ${{ matrix.test.run_condition }}
668671
uses: ./src/.github/actions/install_wheel
669672
with:
670-
packages: "openvino;openvino_tokenizers[transformers];openvino_genai;whowhatbench"
673+
packages: "openvino;openvino_tokenizers[transformers];openvino_genai"
671674
requirements_files: "${{ env.SRC_DIR }}/tests/python_tests/requirements.txt"
672675
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
673676

@@ -871,7 +874,7 @@ jobs:
871874
uses: ./src/.github/actions/install_wheel
872875
with:
873876
packages: "openvino;openvino_tokenizers[transformers];openvino_genai[testing]"
874-
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt;${{ env.SRC_DIR }}/tools/llm_bench/requirements.txt"
877+
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt"
875878
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
876879

877880
- name: gtests unit tests
@@ -893,6 +896,7 @@ jobs:
893896
if: ${{ fromJSON(needs.smart_ci.outputs.affected_components).llm_bench }}
894897
run: |
895898
source ${{ env.INSTALL_DIR }}/setupvars.sh
899+
python -m pip install -r ${{ env.SRC_DIR }}/tools/llm_bench/requirements.txt
896900
python -m pytest -vs ${{ env.SRC_DIR }}/tests/python_tests/samples/test_tools_llm_benchmark.py -m "samples"
897901
env:
898902
SAMPLES_PY_DIR: "${{ env.SRC_DIR }}/tools"

tools/who_what_benchmark/whowhatbench/wwb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,7 @@ def print_rag_results(evaluator):
838838
def main():
839839
args = parse_args()
840840
check_args(args)
841+
print("print ci")
841842

842843
version_str = f'openvino runtime version: {ov.get_version()}'
843844
if args.genai:

0 commit comments

Comments
 (0)