OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[PyOV] Automatic stub update - split the job into two (#31289)
Przemyslaw Wysockid84a44a4133b
diff --git a/.github/workflows/update_pyapi_stubs.yml b/.github/workflows/update_pyapi_stubs.ymlindex cc09ad20b4a..be63c901f3f 100644--- a/.github/workflows/update_pyapi_stubs.yml+++ b/.github/workflows/update_pyapi_stubs.yml@@ -10,12 +10,9 @@ on:workflow_dispatch: # Allow manual triggeringjobs:- update-stubs:+ openvino-provider-job:runs-on: aks-linux-mediumtimeout-minutes: 10- defaults:- run:- shell: bashcontainer:image: 'openvinogithubactions.azurecr.io/openvino_provider:0.1.0'volumes:@@ -27,12 +24,6 @@ jobs:steps:- name: Checkout repositoryuses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2-- - name: Set up Python- uses: actions/setup-python@0ae58361cdfd39e2950bed97a1e26aa20c3d8955 # v4- with:- python-version: '3.10'-- name: Get latest OpenVINO artifactsid: openvino_downloaduses: openvinotoolkit/openvino/.github/actions/openvino_provider@master@@ -40,9 +31,21 @@ jobs:platform: 'ubuntu22'revision: latest_available_commit+ update-stubs:+ runs-on: ubuntu-latest+ needs: openvino-provider-job+ steps:+ - name: Checkout repository+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2++ - name: Set up Python+ uses: actions/setup-python@0ae58361cdfd39e2950bed97a1e26aa20c3d8955 # v4+ with:+ python-version: '3.10'+- name: Install OpenVINO and stubgenrun: |- python -m pip install openvino==${{ steps.openvino_download.outputs.ov_version }} ${{ steps.openvino_download.outputs.ov_wheel_source }}+ python -m pip install openvino==${{ needs.openvino-provider-job.outputs.ov_version }} ${{ needs.openvino-provider-job.outputs.ov_wheel_source }}STUBGEN_VERSION=$(grep pybind11-stubgen src/bindings/python/requirements_test.txt)python -m pip install "$STUBGEN_VERSION"