Skip to content

Commit 5b5b3a9

Browse files
UD2026.08 (#248)
* UD2026.08 ELF * UD2026.08 VCM * UD2026.08 LLVM * UD2026.08 Compiler * OCV and MLIR-Plugin adjustments * Disable driver build until 1.30 release
1 parent 086ed53 commit 5b5b3a9

File tree

3,060 files changed

+119717
-65568
lines changed

Some content is hidden

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

3,060 files changed

+119717
-65568
lines changed

.github/actions/compile-models/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'Compile models for NPU'
33

44
inputs:
55
compiler-type:
6-
description: 'MLIR|DRIVER'
6+
description: 'PLUGIN|DRIVER'
77
type: string
88
required: true
99
npu-platform:
@@ -46,7 +46,7 @@ runs:
4646
python3 -m pip install --require-hashes -r ${{ github.action_path }}/requirements.txt
4747
4848
- name: Prepare OpenVINO environment
49-
if: ${{ inputs.compiler-type == 'MLIR' }}
49+
if: ${{ inputs.compiler-type == 'PLUGIN' }}
5050
shell: bash
5151
run: |
5252
cat <<'EOF' > prepare_env.sh

.github/actions/compile-models/common/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def parse_arguments():
1515
"--compiler-type",
1616
type=str,
1717
required=True,
18-
choices=["MLIR", "DRIVER"],
19-
help="MLIR|DRIVER",
18+
choices=["PLUGIN", "DRIVER"],
19+
help="PLUGIN|DRIVER",
2020
)
2121
parser.add_argument(
2222
"--compile-tool",

.github/actions/compile-models/compile_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"repository_path": "path/to/model/in.repo",
1313
"framework": "onnx|pytorch",
1414
"model_type": "transormer",
15-
"category": "MLIR/VPU4000/SILICON",
15+
"category": "PLUGIN/VPU4000/SILICON",
1616
"extra_config": {
17-
"NPU_COMPILER_TYPE": "MLIR",
17+
"NPU_COMPILER_TYPE": "PLUGIN",
1818
"NPU_PLATFORM": "VPU4000",
1919
"DEVICE_ID": "4000",
2020
"PERFORMANCE_HINT": "LATENCY"

.github/actions/download-models/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'Download models from different sources'
33

44
inputs:
55
compiler-type:
6-
description: 'MLIR|DRIVER'
6+
description: 'PLUGIN|DRIVER'
77
type: string
88
required: true
99
models-config:

.github/actions/download-models/common/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ def parse_arguments():
1313
"--compiler-type",
1414
type=str,
1515
required=True,
16-
choices=["MLIR", "DRIVER"],
17-
help="MLIR|DRIVER",
16+
choices=["PLUGIN", "DRIVER"],
17+
help="PLUGIN|DRIVER",
1818
)
1919
parser.add_argument(
2020
"--models-config",

.github/actions/download-models/download_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"repository_path": "path/to/model/in/repo",
1212
"framework": "pytorch|onnx",
1313
"extra_config": {
14-
"NPU_COMPILER_TYPE": "MLIR|DRIVER"
14+
"NPU_COMPILER_TYPE": "PLUGIN|DRIVER"
1515
}
1616
}
1717
]

.github/actions/versions/action.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,17 @@ outputs:
2727
description: 'NPU Linux Driver commit SHA'
2828
value: ${{ steps.read-linux-npu-driver-sha.outputs.drv-sha }}
2929
omz-repository:
30-
description: 'Open Model Zoo Repository full name: for/open_model_zoo'
30+
description: 'Open Model Zoo Repository full name: fork/open_model_zoo'
3131
value: ${{ steps.read-omz-sha.outputs.omz-repository }}
3232
omz-sha:
3333
description: 'Open Model Zoo commit SHA'
3434
value: ${{ steps.read-omz-sha.outputs.omz-sha }}
35+
opencv-repository:
36+
description: 'OpenCV Repository full name: fork/opencv'
37+
value: ${{ steps.read-ocv-sha.outputs.ocv-repository }}
38+
opencv-sha:
39+
description: 'OpenCV commit SHA'
40+
value: ${{ steps.read-ocv-sha.outputs.ocv-sha }}
3541

3642
runs:
3743
using: 'composite'
@@ -156,3 +162,20 @@ runs:
156162
echo "Open Model Zoo commit sha = $OMZ_SHA"
157163
echo "omz-repository=$OMZ_ORG/open_model_zoo" >> $GITHUB_OUTPUT
158164
echo "omz-sha=$OMZ_SHA" >> $GITHUB_OUTPUT
165+
166+
- name: Fetch and parse OpenCV config from OpenVINO
167+
id: read-ocv-sha
168+
shell: bash
169+
run: |
170+
OV_REPO=${{ steps.read-openvino-sha.outputs.openvino-repository }}
171+
OV_SHA=${{ steps.read-openvino-sha.outputs.openvino-sha }}
172+
JSON=$(curl -sS --fail --retry 5 --retry-delay 2 \
173+
-H "Accept: application/vnd.github.v3.raw" \
174+
https://api.github.com/repos/${OV_REPO}/contents/src/plugins/intel_npu/tools/opencv_version.json?ref=${OV_SHA} \
175+
)
176+
OCV_ORG=$(echo "$JSON" | jq -r 'to_entries[0].key')
177+
OCV_SHA=$(echo "$JSON" | jq -r 'to_entries[0].value')
178+
echo "OpenCV orgranization = $OCV_ORG"
179+
echo "OpenCV commit sha = $OCV_SHA"
180+
echo "ocv-repository=$OCV_ORG/opencv" >> $GITHUB_OUTPUT
181+
echo "ocv-sha=$OCV_SHA" >> $GITHUB_OUTPUT

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ jobs:
5656
with:
5757
os: ubuntu_24_04
5858
build-runner: ubuntu-latest-32-cores
59-
build-mlir: true
59+
build-plugin: true
6060
build-driver: false
6161
with-codeql: true

.github/workflows/job_build_drv_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
run: |
109109
sed -i "s|^set(OPENVINO_REPOSITORY .*|set(OPENVINO_REPOSITORY https://github.com/${{ steps.versions.outputs.openvino-repository }})|" ${NPU_DRIVER_REPO}/compiler/compiler_source.cmake
110110
sed -i "s|^set(OPENVINO_REVISION .*|set(OPENVINO_REVISION ${{ steps.versions.outputs.openvino-sha }})|" ${NPU_DRIVER_REPO}/compiler/compiler_source.cmake
111+
sed -i "s|^set(OPENCV_REVISION .*|set(OPENCV_REVISION ${{ steps.versions.outputs.opencv-sha }})|" ${NPU_DRIVER_REPO}/compiler/compiler_source.cmake
111112
sed -i '/GIT_REPOSITORY/{n;s|https://github.com/openvinotoolkit/npu_compiler.git|https://github.com/${{ steps.versions.outputs.npu-compiler-repository }}.git|}' ${NPU_DRIVER_REPO}/compiler/compiler_source.cmake
112113
sed -i "s|^set(NPU_COMPILER_TAG .*|set(NPU_COMPILER_TAG ${{ steps.versions.outputs.npu-compiler-tag }})|" ${NPU_DRIVER_REPO}/compiler/compiler_source.cmake
113114
sed -i "s|^set(NPU_COMPILER_REVISION .*|set(NPU_COMPILER_REVISION ${{ steps.versions.outputs.npu-compiler-sha }})|" ${NPU_DRIVER_REPO}/compiler/compiler_source.cmake

.github/workflows/job_build_mlir_linux.yml renamed to .github/workflows/job_build_plugin_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Linux MLIR Build
1+
name: Linux Plugin Build
22
on:
33
workflow_call:
44
inputs:

0 commit comments

Comments
 (0)