forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issue20582
- Loading branch information
Showing
484 changed files
with
12,735 additions
and
3,706 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,11 +35,12 @@ jobs: | |
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04 | ||
volumes: | ||
- /mount/caches:/mount/caches | ||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING | ||
env: | ||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input | ||
CMAKE_GENERATOR: 'Ninja' | ||
CMAKE_CXX_COMPILER_LAUNCHER: ccache | ||
CMAKE_C_COMPILER_LAUNCHER: ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER: sccache | ||
CMAKE_C_COMPILER_LAUNCHER: sccache | ||
OPENVINO_REPO: '/__w/openvino/openvino/openvino' | ||
VCPKG_ROOT: '/__w/openvino/openvino/vcpkg' | ||
BUILD_DIR: '/__w/openvino/openvino/build' | ||
|
@@ -49,10 +50,7 @@ jobs: | |
ANDROID_ABI_CONFIG: arm64-v8a | ||
VCPKG_DEFAULT_BINARY_CACHE: '/mount/caches/ccache/android_arm64/vcpkg_cache' | ||
VCPKG_FORCE_SYSTEM_BINARIES: '1' | ||
CCACHE_DIR: '/mount/caches/ccache/android_arm64' | ||
CCACHE_TEMPDIR: '/__w/openvino/openvino/ccache_temp' | ||
CCACHE_COMPILERCHECK: 'content' | ||
CCACHE_MAXSIZE: 50G | ||
SCCACHE_AZURE_KEY_PREFIX: android_arm64 | ||
steps: | ||
- name: Install git | ||
run: apt-get update && apt-get install --assume-yes --no-install-recommends git ca-certificates | ||
|
@@ -102,6 +100,11 @@ jobs: | |
unzip commandlinetools-linux-7583922_latest.zip | ||
echo "yes" | ./cmdline-tools/bin/sdkmanager --sdk_root=${ANDROID_TOOLS} --install "ndk-bundle" "platform-tools" "platforms;android-${{ env.ANDROID_SDK_VERSION }}" | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.5.4" | ||
|
||
# | ||
# Build | ||
# | ||
|
@@ -138,10 +141,10 @@ jobs: | |
-B ${BUILD_DIR} | ||
- name: Clean ccache stats | ||
run: ccache --zero-stats --show-config | ||
run: sccache --zero-stats | ||
|
||
- name: Cmake - build | ||
run: cmake --build ${BUILD_DIR} --parallel | ||
|
||
- name: Show ccache stats | ||
run: ccache --show-stats | ||
run: ${SCCACHE_PATH} --show-stats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,19 +36,18 @@ jobs: | |
image: fedora:33 | ||
volumes: | ||
- /mount/caches:/mount/caches | ||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING | ||
env: | ||
CMAKE_BUILD_TYPE: 'Release' | ||
CMAKE_GENERATOR: 'Ninja' | ||
CMAKE_CXX_COMPILER_LAUNCHER: ccache | ||
CMAKE_C_COMPILER_LAUNCHER: ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER: sccache | ||
CMAKE_C_COMPILER_LAUNCHER: sccache | ||
GITHUB_WORKSPACE: '/__w/openvino/openvino' | ||
OPENVINO_REPO: /__w/openvino/openvino/openvino | ||
INSTALL_DIR: /__w/openvino/openvino/openvino_install | ||
INSTALL_TEST_DIR: /__w/openvino/openvino/tests_install | ||
BUILD_DIR: /__w/openvino/openvino/openvino_build | ||
CCACHE_DIR: /mount/caches/ccache/fedora33_x86_64_Release | ||
CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp | ||
CCACHE_MAXSIZE: 50G | ||
SCCACHE_AZURE_KEY_PREFIX: fedora33_x86_64_Release | ||
steps: | ||
- name: Install git | ||
run: yum update -y && yum install -y git | ||
|
@@ -66,6 +65,11 @@ jobs: | |
- name: Install build dependencies | ||
run: bash ${OPENVINO_REPO}/install_build_dependencies.sh | ||
|
||
- name: Install sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.5.4" | ||
|
||
- name: Install python dependencies | ||
run: | | ||
python3 -m pip install -U pip | ||
|
@@ -112,8 +116,8 @@ jobs: | |
- name: Cmake build - OpenVINO | ||
run: cmake --build ${BUILD_DIR} --parallel --verbose | ||
|
||
- name: Show ccache stats | ||
run: ccache --show-stats | ||
- name: Show sccache stats | ||
run: ${SCCACHE_PATH} --show-stats | ||
|
||
- name: Cmake install - OpenVINO | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,22 +43,21 @@ jobs: | |
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04 | ||
volumes: | ||
- /mount/caches:/mount/caches | ||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING | ||
env: | ||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input | ||
CMAKE_BUILD_TYPE: 'Release' | ||
CMAKE_GENERATOR: 'Ninja Multi-Config' | ||
CMAKE_CXX_COMPILER_LAUNCHER: ccache | ||
CMAKE_C_COMPILER_LAUNCHER: ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER: sccache | ||
CMAKE_C_COMPILER_LAUNCHER: sccache | ||
GITHUB_WORKSPACE: '/__w/openvino/openvino' | ||
OPENVINO_REPO: /__w/openvino/openvino/openvino | ||
OPENVINO_CONTRIB_REPO: /__w/openvino/openvino/openvino_contrib | ||
INSTALL_DIR: /__w/openvino/openvino/openvino_install | ||
INSTALL_TEST_DIR: /__w/openvino/openvino/tests_install | ||
DEVELOPER_PACKAGE_DIR: /__w/openvino/openvino/developer_package_install | ||
BUILD_DIR: /__w/openvino/openvino/openvino_build | ||
CCACHE_DIR: /mount/caches/ccache/ubuntu20_x86_64_Release | ||
CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp | ||
CCACHE_MAXSIZE: 50G | ||
SCCACHE_AZURE_KEY_PREFIX: ubuntu20_x86_64_Release | ||
ONNX_RUNTIME_UTILS: /__w/openvino/openvino/openvino/.ci/azure/ci_utils/onnxruntime | ||
|
||
steps: | ||
|
@@ -92,6 +91,11 @@ jobs: | |
# libssl1.1 - 'python3 -m pip' in self-hosted runner | ||
apt install --assume-yes --no-install-recommends default-jdk libssl1.1 | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.5.4" | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
|
@@ -143,14 +147,14 @@ jobs: | |
-S ${OPENVINO_REPO} \ | ||
-B ${BUILD_DIR} | ||
- name: Clean ccache stats | ||
run: ccache --zero-stats --show-config | ||
- name: Clean sccache stats | ||
run: sccache --zero-stats | ||
|
||
- name: Cmake build - OpenVINO | ||
run: cmake --build ${BUILD_DIR} --parallel --config ${{ env.CMAKE_BUILD_TYPE }} | ||
|
||
- name: Show ccache stats | ||
run: ccache --show-stats | ||
- name: Show sccache stats | ||
run: ${SCCACHE_PATH} --show-stats | ||
|
||
- name: Cmake install - OpenVINO | ||
run: | | ||
|
@@ -497,16 +501,15 @@ jobs: | |
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04 | ||
volumes: | ||
- /mount/caches:/mount/caches | ||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING | ||
env: | ||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input | ||
CMAKE_GENERATOR: 'Ninja Multi-Config' | ||
CMAKE_CXX_COMPILER_LAUNCHER: ccache | ||
CMAKE_C_COMPILER_LAUNCHER: ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER: sccache | ||
CMAKE_C_COMPILER_LAUNCHER: sccache | ||
OPENVINO_REPO: /__w/openvino/openvino/openvino | ||
INSTALL_DIR: /__w/openvino/openvino/install | ||
CCACHE_DIR: /mount/caches/ccache/ubuntu20_x86_64_onnxruntime | ||
CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp | ||
CCACHE_MAXSIZE: 50G | ||
SCCACHE_AZURE_KEY_PREFIX: ubuntu20_x86_64_onnxruntime | ||
ONNX_RUNTIME_REPO: /__w/openvino/openvino/onnxruntime | ||
ONNX_RUNTIME_UTILS: /__w/openvino/openvino/install/onnxruntime | ||
ONNX_RUNTIME_BUILD_DIR: /__w/openvino/openvino/onnxruntime/build | ||
|
@@ -561,6 +564,11 @@ jobs: | |
- name: Install Build Dependencies | ||
run: bash ${OPENVINO_REPO}/install_build_dependencies.sh | ||
|
||
- name: Install sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.5.4" | ||
|
||
- name: Build Lin ONNX Runtime | ||
run: | | ||
source ${INSTALL_DIR}/setupvars.sh | ||
|
@@ -576,6 +584,9 @@ jobs: | |
env: | ||
CXXFLAGS: "-Wno-error=deprecated-declarations" | ||
|
||
- name: Show sccache stats | ||
run: ${SCCACHE_PATH} --show-stats | ||
|
||
- name: Run onnxruntime_test_all | ||
run: | | ||
source ${INSTALL_DIR}/setupvars.sh | ||
|
@@ -760,6 +771,18 @@ jobs: | |
${INSTALL_TEST_DIR}/ov_cpu_unit_tests --gtest_print_time=1 \ | ||
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-CPUUnitTests.xml | ||
- name: SubgraphsDumper tests | ||
run: | | ||
source ${INSTALL_DIR}/setupvars.sh | ||
${INSTALL_TEST_DIR}/subgraphsDumperTests --gtest_print_time=1 \ | ||
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-SubgraphsDumperTests.xml | ||
- name: Template OpImpl tests | ||
run: | | ||
source ${INSTALL_DIR}/setupvars.sh | ||
${INSTALL_TEST_DIR}/conformanceTests --gtest_print_time=1 --device=TEMPLATE --gtest_filter=*OpImpl*\ | ||
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-OpImplTests.xml | ||
- name: AUTO unit tests | ||
run: | | ||
source ${INSTALL_DIR}/setupvars.sh | ||
|
@@ -1334,21 +1357,20 @@ jobs: | |
image: openvinogithubactions.azurecr.io/dockerhub/nvidia/cuda:11.8.0-runtime-ubuntu20.04 | ||
volumes: | ||
- /mount/caches:/mount/caches | ||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING | ||
env: | ||
CMAKE_BUILD_TYPE: 'Release' | ||
CMAKE_GENERATOR: 'Ninja Multi-Config' | ||
CMAKE_CUDA_COMPILER_LAUNCHER: ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER: ccache | ||
CMAKE_C_COMPILER_LAUNCHER: ccache | ||
CMAKE_CUDA_COMPILER_LAUNCHER: sccache | ||
CMAKE_CXX_COMPILER_LAUNCHER: sccache | ||
CMAKE_C_COMPILER_LAUNCHER: sccache | ||
INSTALL_DIR: /__w/openvino/openvino/install | ||
OPENVINO_DEVELOPER_PACKAGE: /__w/openvino/openvino/install/developer_package | ||
OPENVINO_REPO: /__w/openvino/openvino/openvino | ||
OPENVINO_CONTRIB_REPO: /__w/openvino/openvino/openvino_contrib | ||
NVIDIA_BUILD_DIR: /__w/openvino/openvino/nvidia_plugin_build | ||
DEBIAN_FRONTEND: 'noninteractive' | ||
CCACHE_DIR: /mount/caches/ccache/ubuntu20_x86_64_Release | ||
CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp | ||
CCACHE_MAXSIZE: 50G | ||
SCCACHE_AZURE_KEY_PREFIX: ubuntu20_x86_64_Release | ||
|
||
steps: | ||
- name: Install Prerequisites | ||
|
@@ -1405,7 +1427,12 @@ jobs: | |
- name: Install build dependencies | ||
run: | | ||
${OPENVINO_REPO}/install_build_dependencies.sh | ||
apt -y --no-install-recommends install software-properties-common | ||
apt -y --no-install-recommends install software-properties-common curl | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.5.4" | ||
|
||
- name: Install CUDA | ||
run: | | ||
|
@@ -1440,4 +1467,4 @@ jobs: | |
cmake --build ${NVIDIA_BUILD_DIR} --parallel --config ${{ env.CMAKE_BUILD_TYPE }} --verbose -- ov_nvidia_func_tests ov_nvidia_unit_tests | ||
- name: Show ccache stats | ||
run: ccache --show-stats | ||
run: ${SCCACHE_PATH} --show-stats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,21 +39,20 @@ jobs: | |
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04 | ||
volumes: | ||
- /mount/caches:/mount/caches | ||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING | ||
env: | ||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input | ||
CMAKE_BUILD_TYPE: 'Release' | ||
CMAKE_GENERATOR: 'Ninja Multi-Config' | ||
CMAKE_CXX_COMPILER_LAUNCHER: ccache | ||
CMAKE_C_COMPILER_LAUNCHER: ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER: sccache | ||
CMAKE_C_COMPILER_LAUNCHER: sccache | ||
GITHUB_WORKSPACE: '/__w/openvino/openvino' | ||
OPENVINO_REPO: /__w/openvino/openvino/openvino | ||
INSTALL_DIR: /__w/openvino/openvino/openvino_install | ||
BUILD_DIR: /__w/openvino/openvino/openvino_build | ||
SELECTIVE_BUILD_STAT_DIR: /__w/openvino/openvino/selective_build_stat | ||
MODELS_PATH: /__w/openvino/openvino/testdata | ||
CCACHE_DIR: /mount/caches/ccache/ubuntu22_x86_64_itt_clang_Release | ||
CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp | ||
CCACHE_MAXSIZE: 20G | ||
SCCACHE_AZURE_KEY_PREFIX: ubuntu22_x86_64_itt_clang_Release | ||
|
||
steps: | ||
- name: Install git | ||
|
@@ -88,6 +87,11 @@ jobs: | |
update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 | ||
update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100 | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.5.4" | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
|
@@ -141,8 +145,8 @@ jobs: | |
cmake --build ${BUILD_DIR} --parallel 8 --config ${{ env.CMAKE_BUILD_TYPE }} | ||
cmake --build ${BUILD_DIR} --parallel --config ${{ env.CMAKE_BUILD_TYPE }} --target sea_itt_lib | ||
- name: Show ccache stats | ||
run: ccache --show-stats | ||
- name: Show sccache stats | ||
run: ${SCCACHE_PATH} --show-stats | ||
|
||
- name: Cmake install - OpenVINO | ||
run: cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -P ${BUILD_DIR}/cmake_install.cmake | ||
|
@@ -205,18 +209,17 @@ jobs: | |
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04 | ||
volumes: | ||
- /mount/caches:/mount/caches | ||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING | ||
env: | ||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input | ||
CMAKE_CXX_COMPILER_LAUNCHER: ccache | ||
CMAKE_C_COMPILER_LAUNCHER: ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER: sccache | ||
CMAKE_C_COMPILER_LAUNCHER: sccache | ||
GITHUB_WORKSPACE: '/__w/openvino/openvino' | ||
OPENVINO_REPO: /__w/openvino/openvino/openvino | ||
BUILD_DIR: /__w/openvino/openvino/openvino_build | ||
SELECTIVE_BUILD_STAT_DIR: /__w/openvino/openvino/selective_build_stat | ||
MODELS_PATH: /__w/openvino/openvino/testdata | ||
CCACHE_DIR: /mount/caches/ccache/ubuntu22_x86_64_cc_Release | ||
CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp | ||
CCACHE_MAXSIZE: 20G | ||
SCCACHE_AZURE_KEY_PREFIX: ubuntu22_x86_64_cc_Release | ||
|
||
steps: | ||
- name: Install git | ||
|
@@ -252,6 +255,10 @@ jobs: | |
- name: Install build dependencies | ||
run: bash ${OPENVINO_REPO}/install_build_dependencies.sh | ||
|
||
- name: Install sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.5.4" | ||
# | ||
# Build | ||
# | ||
|
@@ -281,7 +288,7 @@ jobs: | |
run: cmake --build ${BUILD_DIR} --parallel 8 --target benchmark_app | ||
|
||
- name: Show ccache stats | ||
run: ccache --show-stats | ||
run: ${SCCACHE_PATH} --show-stats | ||
|
||
- name: Run with CC-ed runtime | ||
run: ${OPENVINO_REPO}/bin/intel64/Release/benchmark_app -niter 1 -nireq 1 -m ${MODELS_PATH}/models/test_model/test_model_fp32.xml -d CPU | ||
|
@@ -308,7 +315,7 @@ jobs: | |
name: openvino_tests | ||
path: ${{ env.INSTALL_TEST_DIR }} | ||
|
||
- name: Extract OpenVINO packages | ||
- name: Extract OpenVINO tests package | ||
run: tar -xvzf ${INSTALL_TEST_DIR}/openvino_tests.tar.gz -C ${INSTALL_TEST_DIR} | ||
|
||
- name: Install OpenVINO dependencies | ||
|
Oops, something went wrong.