Skip to content

Commit 74453e1

Browse files
authored
Merge branch 'master' into attribute_pattern_matching
2 parents e7ccae0 + fcb9c9d commit 74453e1

File tree

842 files changed

+28259
-21111
lines changed

Some content is hidden

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

842 files changed

+28259
-21111
lines changed

.github/workflows/coverage.yml

-1
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

.github/workflows/debian_10_arm.yml

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ jobs:
122122
runner: 'aks-linux-16-cores-arm'
123123
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.debian_10_arm }}
124124
python-version: '3.7'
125+
scope: ${{ github.event_name == 'workflow_dispatch' && 'nightly' || 'smoke' }}
125126

126127
Overall_Status:
127128
name: ci/gha_overall_status_debian_10_arm

.github/workflows/dev_cpu_linux_snippets_libxsmm.yml

+2-2
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/job_build_linux.yml

+11-12
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

+46-14
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

+8-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ on:
1616
description: 'Python version to setup. E.g., "3.11"'
1717
type: string
1818
required: true
19+
scope:
20+
description: 'Defines tests scope {nightly | smoke}'
21+
type: string
22+
required: false
23+
default: 'smoke'
1924

2025
permissions: read-all
2126

@@ -35,6 +40,7 @@ jobs:
3540
INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests
3641
PARALLEL_TEST_SCRIPT: ${{ github.workspace }}/install/tests/functional_test_utils/layer_tests_summary/run_parallel.py
3742
PARALLEL_TEST_CACHE: ${{ github.workspace }}/install/tests/test_cache.lst
43+
GTEST_FILTER: ${{ inputs.scope == 'nightly' && '' || '--gtest_filter=smoke' }}
3844
steps:
3945
- name: Download OpenVINO package
4046
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
@@ -106,8 +112,8 @@ jobs:
106112
# Needed as ze_loader.so is under INSTALL_TEST_DIR
107113
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${INSTALL_TEST_DIR}
108114
109-
python3 ${PARALLEL_TEST_SCRIPT} -e ${INSTALL_TEST_DIR}/ov_cpu_func_tests -c ${PARALLEL_TEST_CACHE} -w ${INSTALL_TEST_DIR} -s suite -rf 0 -- --gtest_print_time=1 --gtest_filter=*smoke*
110-
timeout-minutes: 25
115+
python3 ${PARALLEL_TEST_SCRIPT} -e ${INSTALL_TEST_DIR}/ov_cpu_func_tests -c ${PARALLEL_TEST_CACHE} -w ${INSTALL_TEST_DIR} -s suite -rf 0 -- --gtest_print_time=1 ${{ env.GTEST_FILTER }}
116+
timeout-minutes: ${{ inputs.scope == 'nightly' && 125 || 25 }}
111117

112118
- name: Save tests execution time
113119
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2

.github/workflows/job_cxx_unit_tests.yml

+6
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,12 @@ jobs:
201201
${{ env.SETUPVARS_COMMAND }}
202202
${{ env.INSTALL_TEST_DIR }}/ov_cpu_unit_tests_vectorized --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-CPUUnitTestsVectorized.xml
203203
204+
- name: NPU plugin unit tests
205+
if: ${{fromJSON(inputs.affected-components).NPU.test && runner.os == 'Windows'}}
206+
run: |
207+
${{ env.SETUPVARS_COMMAND }}
208+
${{ env.INSTALL_TEST_DIR }}/ov_npu_unit_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-NPUUnitTests.xml
209+
204210
- name: ov_subgraphs_dumper_tests tests
205211
run: |
206212
${{ env.SETUPVARS_COMMAND }}

.github/workflows/job_samples_tests.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests
3434
INSTALL_WHEELS_DIR: ${{ github.workspace }}/install/wheels
3535
BUILD_DIR: ${{ github.workspace }}/build
36+
CMAKE_COMPILE_WARNING_AS_ERROR: 'ON'
3637
steps:
3738
- name: Download OpenVINO artifacts (tarballs)
3839
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
@@ -88,27 +89,22 @@ jobs:
8889
if: runner.os == 'Windows'
8990
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
9091
with:
91-
toolset: 14.40 # v2022
92+
toolset: 14.42 # v2022
9293

9394
- name: Build cpp samples
9495
run: $INSTALL_DIR/samples/cpp/build_samples.sh -i $INSTALL_DIR -b $BUILD_DIR/cpp_samples
95-
env:
96-
CMAKE_COMPILE_WARNING_AS_ERROR: 'ON'
9796

9897
- name: Build cpp samples - Clang
9998
if: runner.os == 'Linux'
10099
run: |
101100
apt-get update && apt-get install -y clang
102101
$INSTALL_DIR/samples/cpp/build_samples.sh -i $INSTALL_DIR -b $BUILD_DIR/cpp_samples_clang
103102
env:
104-
CMAKE_COMPILE_WARNING_AS_ERROR: 'ON'
105103
CC: clang
106104
CXX: clang++
107105

108106
- name: Build c samples
109107
run: $INSTALL_DIR/samples/c/build_samples.sh -i $INSTALL_DIR -b $BUILD_DIR/c_samples
110-
env:
111-
CMAKE_COMPILE_WARNING_AS_ERROR: 'ON'
112108

113109
#
114110
# Tests

.github/workflows/job_tokenizers.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
# Upload build artifacts
129129
#
130130

131-
- name: Upload openvino tokenizers wheel
131+
- name: Upload OpenVINO tokenizers wheel
132132
if: ${{ always() }}
133133
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
134134
with:

.github/workflows/linux_arm64.yml

+1
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ jobs:
223223
runner: 'aks-linux-16-cores-arm'
224224
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_20_04_arm64 }}
225225
python-version: '3.11'
226+
scope: ${{ github.event_name == 'workflow_dispatch' && 'nightly' || 'smoke' }}
226227

227228
TensorFlow_Models_Tests:
228229
name: TensorFlow Models tests

.github/workflows/linux_conditional_compilation.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
CMAKE_GENERATOR: 'Ninja Multi-Config'
9696
CMAKE_CXX_COMPILER_LAUNCHER: sccache
9797
CMAKE_C_COMPILER_LAUNCHER: sccache
98+
CMAKE_COMPILE_WARNING_AS_ERROR: 'ON'
9899
SCCACHE_IGNORE_SERVER_IO_ERROR: 1
99100
SCCACHE_SERVER_PORT: 35555
100101
SCCACHE_ERROR_LOG: /__w/openvino/sccache_log.txt
@@ -163,7 +164,6 @@ jobs:
163164
-DENABLE_CPPLINT=OFF \
164165
-DENABLE_CLANG_TIDY=ON \
165166
-DENABLE_NCC_STYLE=OFF \
166-
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
167167
-DENABLE_PROFILING_ITT=ON \
168168
-DSELECTIVE_BUILD=COLLECT \
169169
-DENABLE_FASTER_BUILD=ON \
@@ -236,7 +236,7 @@ jobs:
236236
path: ${{ env.SCCACHE_ERROR_LOG }}
237237
if-no-files-found: 'ignore'
238238

239-
- name: Upload openvino package
239+
- name: Upload OpenVINO package
240240
if: ${{ always() }}
241241
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
242242
with:

0 commit comments

Comments
 (0)