Skip to content

Commit

Permalink
install tokenizers locally in all pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Dec 9, 2024
1 parent 29122da commit 430e448
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,13 @@ jobs:
pattern: "{${{ needs.openvino_download.outputs.ov_artifact_name }},genai_wheels}"
path: ${{ env.INSTALL_DIR }}
merge-multiple: true

- name: Install GenAI Wheels
run: python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino_genai*.whl openvino-tokenizers[transformers] ${{ needs.openvino_download.outputs.ov_wheel_source }} --force-reinstall
working-directory: ${{ env.INSTALL_DIR }}

uses: ./src/.github/actions/install_wheel
with:
packages: "openvino;openvino_tokenizers[transformers];openvino_genai"
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels

- name: Install Test Requirements
run: python -m pip install -r ./tests/python_tests/requirements.txt
working-directory: ${{ env.SRC_DIR }}
Expand Down Expand Up @@ -445,8 +447,10 @@ jobs:
working-directory: ${{ env.INSTALL_DIR }}

- name: Install GenAI Wheels
run: python -m pip install ${{ env.INSTALL_DIR }}/wheels/openvino_genai*.whl openvino-tokenizers[transformers] ${{ needs.openvino_download.outputs.ov_wheel_source }} --force-reinstall
working-directory: ${{ env.INSTALL_DIR }}
uses: ./src/.github/actions/install_wheel
with:
packages: "openvino;openvino_tokenizers[transformers];openvino_genai"
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels

- name: Install Samples Requirements
run: python -m pip install -r ./samples/requirements.txt
Expand Down

0 comments on commit 430e448

Please sign in to comment.