From 4f482ffd435274155c200c72398aa3bbc59fe92a Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Fri, 22 Dec 2023 14:12:56 +0100 Subject: [PATCH 1/3] frozen openvino version --- modules/custom_operations/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/custom_operations/pyproject.toml b/modules/custom_operations/pyproject.toml index 73a6522ad..032a0a28f 100644 --- a/modules/custom_operations/pyproject.toml +++ b/modules/custom_operations/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ ] dependencies = [ - 'openvino' + 'openvino==2023.3.0' ] [project.optional-dependencies] From 47e42f1a8327c647b93499d38a05f6029b3a532b Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Mon, 8 Jan 2024 11:08:29 +0100 Subject: [PATCH 2/3] install openvino wheels from the package --- .ci/azure/windows.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/azure/windows.yml b/.ci/azure/windows.yml index c0037a670..def418f15 100644 --- a/.ci/azure/windows.yml +++ b/.ci/azure/windows.yml @@ -179,6 +179,7 @@ jobs: call C:\tools\opencv\build\setup_vars_opencv4.cmd call $(SETUPVARS) -pyver 3.8 && ^ $(PYTHON_EXE) -m pip install -r $(REPO_DIR)\modules\custom_operations\tests\requirements.txt + $(PYTHON_EXE) -m pip install $(INSTALL_DIR)\tools\openvino-*.whl $(PYTHON_EXE) -m pytest -k "not sparse_conv" tests\run_tests.py env: CUSTOM_OP_LIB: $(BUILD_DIR_CONTRIB)\user_ie_extensions\user_ov_extensions.dll From d8837c27f89342b445e22191da0238a4caa7ff6e Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Mon, 8 Jan 2024 14:28:05 +0100 Subject: [PATCH 3/3] win pipeline fix --- .ci/azure/windows.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.ci/azure/windows.yml b/.ci/azure/windows.yml index def418f15..e754a55ef 100644 --- a/.ci/azure/windows.yml +++ b/.ci/azure/windows.yml @@ -196,6 +196,13 @@ jobs: - publish: $(BUILD_WHEEL_DIR) artifact: Wheels + - powershell: | + # Find and install the core OV wheel + $ovCoreWheelPath=Get-ChildItem -Path "$(INSTALL_DIR)\tools" -Filter openvino-*.whl | % { $_.FullName } + $(PYTHON_EXE) -m pip install "$ovCoreWheelPath" + workingDirectory: $(WORK_DIR) + displayName: 'Install OpenVINO Python wheels' + - powershell: | # Find and install the wheel $wheelPath=Get-ChildItem -Path "$(BUILD_WHEEL_DIR)" -Filter openvino_tokenizers*.whl | % { $_.FullName }