Skip to content

Commit

Permalink
Use released OpenVINO version (#338)
Browse files Browse the repository at this point in the history
* Use released OpenVINO version

* Apply suggestions from code review

* Update linux.yml

* Update windows.yml

* Update pyproject.toml

* Update linux.yml

* [TO REVERT] Custom OV provider on Windows

* Apply suggestions from code review

---------

Co-authored-by: Alina Kladieva <[email protected]>
  • Loading branch information
ilya-lavrenov and akladiev authored Dec 9, 2024
1 parent 8f9cc9c commit 383fdfe
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
- ${{ github.workspace }}:${{ github.workspace }}

steps:
- uses: openvinotoolkit/openvino/.github/actions/openvino_provider@master
- uses: openvinotoolkit/openvino/.github/actions/openvino_provider@releases/2024/5
id: openvino_download
with:
platform: 'ubuntu22'
commit_packages_to_provide: 'wheels'
revision: latest_available_commit
revision: '2024.5'

- name: Clone docker tag from OpenVINO repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -268,9 +268,8 @@ jobs:
env:
PIP_EXTRA_INDEX_URL: "https://download.pytorch.org/whl/cpu"

- name: Tokenizers regression tests (using openvino python modules)
- name: Tokenizers regression tests (using openvino python wheels)
run: |
source ${INSTALL_DIR}/setupvars.sh
python3 -m pytest layer_tests.py
python3 -m pytest tokenizers_test.py
working-directory: ${{ env.OPENVINO_TOKENIZERS_REPO }}/tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
PYTHON_VERSION: '3.11'
MACOSX_DEPLOYMENT_TARGET: '11.0'
OV_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}
OV_TARBALL: ''
OV_TARBALL: 'https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.5/macos/m_openvino_toolkit_macos_12_6_2024.5.0.17288.7975fa5da0c_x86_64.tgz'

permissions: read-all

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
continue-on-error: true

steps:
- uses: openvinotoolkit/openvino/.github/actions/openvino_provider@master
- uses: openvinotoolkit/openvino/.github/actions/openvino_provider@releases/2024/5
id: openvino_download
with:
platform: 'windows'
commit_packages_to_provide: 'wheels'
revision: 'latest_available_commit'
revision: '2024.5'

openvino_tokenizers_cpack:
name: OpenVINO tokenizers cpack (BUILD_FAST_TOKENIZERS=${{ matrix.build_fast_tokenizers }}, BUILD_TYPE=${{ matrix.build_type }})
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ classifiers = [

dependencies = [
# support of nightly openvino packages with dev suffix
"openvino~=2024.5.0.0.dev"
"openvino~=2024.5.0.dev"
]

[project.optional-dependencies]
Expand Down Expand Up @@ -106,6 +106,6 @@ python_abi = "none"
requires = [
"py-build-cmake@git+https://github.com/tttapa/py-build-cmake@7ab73da351c7140f06d727a8705bece4cf544cd9",
"cmake~=3.14",
"openvino~=2024.5.0.0.dev"
"openvino~=2024.5.0.dev"
]
build-backend = "py_build_cmake.build"

0 comments on commit 383fdfe

Please sign in to comment.