Skip to content

Commit a161186

Browse files
committed
Merge remote-tracking branch 'origin/master' into inlined_extension
2 parents ced1e36 + d737fa2 commit a161186

File tree

1,199 files changed

+46234
-25504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,199 files changed

+46234
-25504
lines changed

.github/actions/store_artifacts/store_artifacts.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,12 @@ def main():
134134
if github_server: # If running from GHA context
135135
# TODO: write an exact job link, but it's not trivial to get
136136
workflow_link = f"{github_server}/{os.getenv('GITHUB_REPOSITORY')}/actions/runs/{os.getenv('GITHUB_RUN_ID')}"
137-
with open(storage / 'workflow_link.txt', 'w') as file:
137+
workflow_link_file = storage / 'workflow_link.txt'
138+
with open(workflow_link_file, 'w') as file:
138139
file.write(workflow_link)
140+
store_checksums(workflow_link_file)
139141

140-
if not error_found:
142+
if not error_found and os.getenv('GITHUB_REPOSITORY') == 'openvinotoolkit/openvino':
141143
latest_artifacts_for_branch = artifact_utils.get_latest_artifacts_link(storage_dir, args.storage_root,
142144
args.branch_name, args.event_name)
143145
# Overwrite path to "latest" built artifacts only if a given commit is the head of a given branch

.github/dependabot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,11 @@ updates:
1515
timezone: "Poland"
1616
open-pull-requests-limit: 3
1717
assignees:
18-
- "jiwaszki"
1918
- "p-wysocki"
2019
- "akuporos"
2120
- "rkazants"
2221
- "ceciliapeng2011"
2322
- "meiyang-intel"
24-
- "mbencer"
25-
- "tomdol"
2623
- "jane-intel"
2724
versioning-strategy: increase-if-necessary
2825

.github/workflows/build_doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
6565
- name: Cache documentation
6666
id: cache_sphinx_docs
67-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
67+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
6868
with:
6969
path: build/docs/_build/.doctrees
7070
key: sphinx-docs-cache

.github/workflows/cleanup_caches.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions: read-all
1010
jobs:
1111
Cleanup_PIP:
1212
name: Cleanup PIP cache
13-
runs-on: aks-linux-2-cores-8gb
13+
runs-on: aks-linux-small
1414
if: ${{ github.repository_owner == 'openvinotoolkit' }}
1515
container:
1616
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
@@ -64,7 +64,7 @@ jobs:
6464

6565
Cleanup_ccache_lin:
6666
name: Cleanup Linux ccache
67-
runs-on: aks-linux-2-cores-8gb
67+
runs-on: aks-linux-small
6868
if: ${{ github.repository_owner == 'openvinotoolkit' }}
6969
container:
7070
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04

.github/workflows/coverage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ jobs:
6363
-DCMAKE_VERBOSE_MAKEFILE=ON
6464
-DENABLE_PYTHON=ON
6565
-DENABLE_ONEDNN_FOR_GPU=ON
66-
-DBUILD_SHARED_LIBS=ON
6766
-DENABLE_TESTS=ON
6867
-DENABLE_OV_ONNX_FRONTEND=ON
6968
-DENABLE_FASTER_BUILD=ON
@@ -130,6 +129,6 @@ jobs:
130129
lcov --capture --directory ${{ github.workspace }}/. --output-file coverage.info
131130
genhtml coverage.info --output-directory coverage-report
132131
- name: Collect coverage
133-
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
132+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
134133
with:
135134
verbose: true

.github/workflows/dev_cpu_linux_snippets_libxsmm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,15 @@ jobs:
179179
path: ${{ env.SCCACHE_ERROR_LOG }}
180180
if-no-files-found: 'ignore'
181181

182-
- name: Upload openvino package
182+
- name: Upload OpenVINO package
183183
if: ${{ always() }}
184184
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
185185
with:
186186
name: openvino_package
187187
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz
188188
if-no-files-found: 'error'
189189

190-
- name: Upload openvino tests package
190+
- name: Upload OpenVINO tests package
191191
if: ${{ always() }}
192192
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
193193
with:

.github/workflows/export_workflow_metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ permissions: read-all
3434
jobs:
3535
export-workflow-metrics:
3636
name: Export finished workflow metrics
37-
runs-on: aks-linux-smallworker
37+
runs-on: aks-linux-small
3838
if: ${{ github.repository_owner == 'openvinotoolkit' }}
3939

4040
steps:

.github/workflows/job_build_linux.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,10 @@ jobs:
190190

191191
- name: Cmake install - OpenVINO
192192
run: |
193-
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${INSTALL_DIR}
194-
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${INSTALL_WHEELS_DIR} --component python_wheels
195-
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${INSTALL_TEST_DIR} --component tests
196-
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${DEVELOPER_PACKAGE_DIR} --component developer_package
197-
working-directory: ${{ env.BUILD_DIR }}
193+
cmake --install ${BUILD_DIR} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${INSTALL_DIR}
194+
cmake --install ${BUILD_DIR} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${INSTALL_WHEELS_DIR} --component python_wheels
195+
cmake --install ${BUILD_DIR} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${INSTALL_TEST_DIR} --component tests
196+
cmake --install ${BUILD_DIR} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${DEVELOPER_PACKAGE_DIR} --component developer_package
198197
199198
- name: Pack openvino_package
200199
run: tar -cvf - * | pigz > ${BUILD_DIR}/openvino_package.tar.gz
@@ -276,55 +275,55 @@ jobs:
276275
path: ${{ env.SCCACHE_ERROR_LOG }}
277276
if-no-files-found: 'ignore'
278277

279-
- name: Upload openvino package
278+
- name: Upload OpenVINO package
280279
if: ${{ always() }}
281280
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
282281
with:
283282
name: openvino_package
284283
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz
285284
if-no-files-found: 'error'
286285

287-
- name: Upload openvino wheels
286+
- name: Upload OpenVINO wheels
288287
if: ${{ inputs.os != 'debian_10' && inputs.arch != 'arm' }}
289288
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
290289
with:
291290
name: openvino_wheels
292291
path: ${{ env.INSTALL_WHEELS_DIR }}/wheels/*.whl
293292
if-no-files-found: 'error'
294293

295-
- name: Upload openvino js package
294+
- name: Upload OpenVINO js package
296295
if: ${{ fromJSON(inputs.affected-components).JS_API && inputs.build-js }}
297296
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
298297
with:
299298
name: openvino_js_package
300299
path: ${{ env.BUILD_DIR }}/openvino_js_package.tar.gz
301300
if-no-files-found: 'error'
302301

303-
- name: Upload openvino developer package
302+
- name: Upload OpenVINO developer package
304303
if: ${{ always() }}
305304
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
306305
with:
307306
name: openvino_developer_package
308307
path: ${{ env.BUILD_DIR }}/openvino_developer_package.tar.gz
309308
if-no-files-found: 'error'
310309

311-
- name: Upload openvino RPM packages
310+
- name: Upload OpenVINO RPM packages
312311
if: ${{ inputs.build-rpm-packages }}
313312
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
314313
with:
315314
name: openvino_rpm_packages
316315
path: ${{ env.BUILD_DIR }}/*.rpm
317316
if-no-files-found: 'error'
318317

319-
- name: Upload openvino debian packages
318+
- name: Upload OpenVINO debian packages
320319
if: ${{ inputs.build-debian-packages }}
321320
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
322321
with:
323322
name: openvino_debian_packages
324323
path: ${{ env.BUILD_DIR }}/*.deb
325324
if-no-files-found: 'error'
326325

327-
- name: Upload openvino tests package
326+
- name: Upload OpenVINO tests package
328327
if: ${{ always() }}
329328
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
330329
with:

.github/workflows/job_build_windows.yml

Lines changed: 46 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
INSTALL_DIR_JS: "${{ github.workspace }}\\openvino_install\\js"
5454
INSTALL_TEST_DIR: "${{ github.workspace }}\\tests_install"
5555
INSTALL_WHEELS_DIR: "${{ github.workspace }}\\install\\wheels"
56+
INSTALL_PDB_DIR: "${{ github.workspace }}\\install_pdb"
5657
BUILD_DIR: "${{ github.workspace }}\\openvino_build"
5758
ARTIFACTS_SHARE: "C:\\mount\\build-artifacts"
5859
MANIFEST_PATH: "${{ github.workspace }}\\manifest.yml"
@@ -157,7 +158,7 @@ jobs:
157158
- name: Configure Developer Command Prompt for Microsoft Visual C++
158159
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
159160
with:
160-
toolset: 14.40 # v2022
161+
toolset: 14.42 # v2022
161162

162163
- name: Set SSL_CERT_FILE for model downloading for unit tests
163164
run: echo SSL_CERT_FILE=$(python3 -m certifi) >> $env:GITHUB_ENV
@@ -176,10 +177,10 @@ jobs:
176177

177178
- name: Cmake install - OpenVINO
178179
run: |
179-
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }}
180-
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_WHEELS_DIR }} --component python_wheels
181-
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_TEST_DIR }} --component tests
182-
working-directory: ${{ env.BUILD_DIR }}
180+
cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }}
181+
cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_WHEELS_DIR }} --component python_wheels
182+
cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_TEST_DIR }} --component tests
183+
cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_PDB_DIR }} --component pdb
183184
184185
# Setup additional Python versions for wheels building
185186
- name: Setup Python 3.9
@@ -218,18 +219,18 @@ jobs:
218219
foreach ($pyVersion in $pyVersions) {
219220
$pyBuildDir = "${{ github.workspace }}/py$pyVersion"
220221
New-Item -ItemType Directory -Path "$pyBuildDir" -Force
221-
222+
222223
$pythonCommand = "py -$pyVersion -c `"import sys; print(f'{sys.executable}')`""
223224
$pythonExecutablePath = & cmd /c $pythonCommand
224225
225226
$pipVersion = & $pythonExecutablePath -c "import pip; print(pip.__version__)"
226227
Write-Host "Using pip version: $pipVersion for $pyVersion"
227228
$env:PIP_CACHE_DIR="${{ env.PIP_CACHE_PATH }}/$pipVersion"
228-
229+
229230
& $pythonExecutablePath -m pip install -r ${{ env.OPENVINO_REPO }}/src/bindings/python/wheel/requirements-dev.txt
230231
231232
cmake -DPython3_EXECUTABLE="$pythonExecutablePath" -DOpenVINODeveloperPackage_DIR=${{ env.BUILD_DIR }} -S ${{ env.OPENVINO_REPO }}/src/bindings/python -B "$pyBuildDir" &&
232-
cmake --build "$pyBuildDir" --parallel $ENV:NUMBER_OF_PROCESSORS --target ie_wheel --config ${{ env.CMAKE_BUILD_TYPE }} &&
233+
cmake --build "$pyBuildDir" --parallel $ENV:NUMBER_OF_PROCESSORS --target ie_wheel --config ${{ env.CMAKE_BUILD_TYPE }} &&
233234
cmake --install "$pyBuildDir" --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_WHEELS_DIR }} --component python_wheels
234235
if ($LASTEXITCODE -ne 0) {
235236
Write-Host "Failed to build Python wheels for Python $pyVersion"
@@ -255,6 +256,23 @@ jobs:
255256
}
256257
Compress-Archive @compress
257258
259+
$file=Get-ChildItem -Path "${{ env.INSTALL_PDB_DIR }}"
260+
$compress = @{
261+
Path = $file
262+
CompressionLevel = "Optimal"
263+
DestinationPath = "${{ env.BUILD_DIR }}/openvino_pdb.zip"
264+
}
265+
Compress-Archive @compress
266+
267+
# Setup Python 3.11 as the default one
268+
- name: Setup Python ${{ env.PYTHON_VERSION }}
269+
uses: ./openvino/.github/actions/setup_python
270+
with:
271+
version: ${{ env.PYTHON_VERSION }}
272+
pip-cache-path: ${{ env.PIP_CACHE_PATH }}
273+
should-setup-pip-paths: 'true'
274+
self-hosted-runner: 'true'
275+
258276
- name: CMake configure, build and install - OpenVINO JS API
259277
if: ${{ fromJSON(inputs.affected-components).JS_API }}
260278
run: |
@@ -264,7 +282,7 @@ jobs:
264282
-DENABLE_WHEEL=OFF
265283
cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS
266284
cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR_JS }}
267-
285+
268286
- name: Pack JS Artifacts
269287
if: ${{ fromJSON(inputs.affected-components).JS_API }}
270288
run: |
@@ -276,33 +294,47 @@ jobs:
276294
}
277295
Compress-Archive @compress
278296
297+
- name: Cmake & Build - OpenVINO Contrib
298+
run: |
299+
cmake -DCUSTOM_OPERATIONS="calculate_grid;complex_mul;fft;grid_sample;sparse_conv;sparse_conv_transpose" -S ${{ env.OPENVINO_REPO }} -B ${{ env.BUILD_DIR }} `
300+
-DOPENVINO_EXTRA_MODULES="${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations;${{ env.OPENVINO_CONTRIB_REPO }}/modules/java_api" `
301+
-DENABLE_WHEEL=OFF
302+
cmake --build ${{ env.BUILD_DIR }} --parallel $ENV:NUMBER_OF_PROCESSORS
303+
279304
#
280305
# Upload build artifacts and logs
281306
#
282307

283-
- name: Upload openvino package
308+
- name: Upload OpenVINO package
284309
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
285310
with:
286311
name: openvino_package
287312
path: ${{ env.BUILD_DIR }}/openvino_package.zip
288313
if-no-files-found: 'error'
289-
290-
- name: Upload openvino wheels
314+
315+
- name: Upload OpenVINO wheels
291316
if: ${{ inputs.build-type != 'Debug' }}
292317
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
293318
with:
294319
name: openvino_wheels
295320
path: ${{ env.INSTALL_WHEELS_DIR }}/wheels/*.whl
296321
if-no-files-found: 'error'
297322

298-
- name: Upload openvino tests package
323+
- name: Upload OpenVINO tests package
299324
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
300325
with:
301326
name: openvino_tests
302327
path: ${{ env.BUILD_DIR }}/openvino_tests.zip
303328
if-no-files-found: 'error'
304329

305-
- name: Upload openvino js package
330+
- name: Upload OpenVINO PDB package
331+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
332+
with:
333+
name: openvino_pdb
334+
path: ${{ env.BUILD_DIR }}/openvino_pdb.zip
335+
if-no-files-found: 'error'
336+
337+
- name: Upload OpenVINO js package
306338
if: ${{ fromJSON(inputs.affected-components).JS_API }}
307339
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
308340
with:

.github/workflows/job_cpu_functional_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
run: python3 -m pip install -r ${INSTALL_TEST_DIR}/functional_test_utils/layer_tests_summary/requirements.txt
9191

9292
- name: Restore tests execution time
93-
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
93+
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
9494
with:
9595
path: ${{ env.PARALLEL_TEST_CACHE }}
9696
key: ${{ runner.os }}-${{ runner.arch }}-tests-functional-cpu-stamp-${{ github.sha }}
@@ -110,7 +110,7 @@ jobs:
110110
timeout-minutes: 25
111111

112112
- name: Save tests execution time
113-
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
113+
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
114114
if: github.ref_name == 'master'
115115
with:
116116
path: ${{ env.PARALLEL_TEST_CACHE }}

0 commit comments

Comments
 (0)