Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into trans
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Sep 18, 2023
2 parents 85c3357 + 6df420e commit c7c97fa
Show file tree
Hide file tree
Showing 91 changed files with 834 additions and 680 deletions.
14 changes: 0 additions & 14 deletions .ci/azure/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ resources:
name: openvinotoolkit/openvino_contrib
ref: master

- repository: testdata
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/testdata
ref: master

variables:
- group: github

Expand Down Expand Up @@ -83,7 +77,6 @@ jobs:
BUILD_TYPE: Release
REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_CONTRIB_REPO_DIR: $(REPO_DIR)/../openvino_contrib
MODELS_PATH: $(REPO_DIR)/../testdata
WORK_DIR: $(Pipeline.Workspace)/_w
BUILD_DIR: $(WORK_DIR)/build
BUILD_SAMPLES_DIR: $(WORK_DIR)/build_samples
Expand Down Expand Up @@ -216,13 +209,6 @@ jobs:
echo SourceBranch: $(Build.SourceBranch)
displayName: 'System info'
# Should be after 'Install dependencies' because Git lfs is not installed
- checkout: testdata
clean: 'true'
lfs: 'true'
path: testdata

- task: CMake@1
inputs:
# CMake must get Python 3.x version by default
Expand Down
1 change: 0 additions & 1 deletion .ci/azure/linux_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ jobs:
-DPYTHON_MODULE_EXTENSION=$(aarch64-linux-gnu-python3-config --extension-suffix) \
-DPYTHON_LIBRARY=/usr/lib/aarch64-linux-gnu/libc-2.31.so \
-DPYTHON_INCLUDE_DIR=$(Agent.ToolsDirectory)/Python/$(OV_PYTHON_VERSION)/x64/include/python$(OV_PYTHON_VERSION_MAJOR_MINOR) \
-DENABLE_DATA=OFF \
-DENABLE_TESTS=ON \
-DENABLE_SYSTEM_TBB=ON \
-DENABLE_SYSTEM_PROTOBUF=ON \
Expand Down
8 changes: 0 additions & 8 deletions .ci/azure/linux_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ resources:
name: openvinotoolkit/openvino_contrib
ref: master

- repository: testdata
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/testdata
ref: master

jobs:
- job: CUDAPlugin_Lin
timeoutInMinutes: '60'
Expand All @@ -60,7 +54,6 @@ jobs:
HOME_DIR: $(Agent.HomeDirectory)
REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_REPO_DIR: $(REPO_DIR)/../openvino
MODELS_PATH: $(REPO_DIR)/../testdata
WORK_DIR: $(Pipeline.Workspace)/_w
BUILD_DIR: $(WORK_DIR)/build
BIN_DIR: $(OPENVINO_REPO_DIR)/bin/intel64/$(BUILD_TYPE)
Expand Down Expand Up @@ -137,7 +130,6 @@ jobs:
-DENABLE_OV_ONNX_FRONTEND=OFF \
-DENABLE_PYTHON=OFF \
-DENABLE_TESTS=ON \
-DENABLE_DATA=OFF \
-S /root/repos/openvino \
-B /root/w/build &&
cmake --build /root/w/build --parallel --config Release --verbose -- ov_nvidia_func_tests ov_nvidia_unit_tests"
Expand Down
23 changes: 1 addition & 22 deletions .ci/azure/linux_debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ pr:
- '*/conformance/*'
- 'tests/layer_tests/*'

resources:
repositories:
- repository: testdata
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/testdata
ref: master

jobs:
- job: Lin_Debian
# About 150% of total time
Expand All @@ -50,7 +42,6 @@ jobs:
VSTS_HTTP_TIMEOUT: 200
BUILD_TYPE: Release
REPO_DIR: $(Build.Repository.LocalPath)
MODELS_PATH: $(REPO_DIR)/../testdata
WORK_DIR: $(Pipeline.Workspace)/_w
BUILD_DIR: $(WORK_DIR)/build
BUILD_SAMPLES_DIR: $(WORK_DIR)/build_samples
Expand Down Expand Up @@ -149,12 +140,6 @@ jobs:
git clone https://github.com/google/gtest-parallel.git
displayName: 'Install build dependencies'
# Should be after 'Install dependencies' because Git lfs is not installed
- checkout: testdata
clean: 'true'
lfs: 'true'
path: testdata

- task: CMake@1
inputs:
# CMake must get Python 3.x version by default
Expand Down Expand Up @@ -243,7 +228,7 @@ jobs:
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu20 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2023.list
sudo apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/intel-openvino-2023.list
sudo apt-get update
sudo apt-get install openvino -y
# install our local one and make sure the conflicts are resolved
sudo apt-get install --no-install-recommends dpkg-dev -y
Expand Down Expand Up @@ -338,15 +323,9 @@ jobs:
displayName: 'TEMPLATE FuncTests'

- script: $(INSTALL_TEST_DIR)/InferenceEngineCAPITests --gtest_output=xml:$(INSTALL_TEST_DIR)/TEST-InferenceEngineCAPITests.xml
env:
DATA_PATH: $(MODELS_PATH)
MODELS_PATH: $(MODELS_PATH)
displayName: 'IE CAPITests'

- script: $(INSTALL_TEST_DIR)/ov_capi_test --gtest_output=xml:$(INSTALL_TEST_DIR)/TEST-ov_capi_test.xml
env:
DATA_PATH: $(MODELS_PATH)
MODELS_PATH: $(MODELS_PATH)
displayName: 'OV CAPITests'

# Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time
Expand Down
8 changes: 0 additions & 8 deletions .ci/azure/linux_lohika.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
# VSTS_HTTP_TIMEOUT: 200
# BUILD_TYPE: Release
# REPO_DIR: $(Build.Repository.LocalPath)
# MODELS_PATH: $(REPO_DIR)/../testdata
# WORK_DIR: $(Pipeline.Workspace)/_w
# BUILD_DIR: $(WORK_DIR)/build

Expand All @@ -38,13 +37,6 @@ jobs:
- script: git -C ~/work/openvino checkout -m $(Build.SourceVersion) && git -C ~/work/openvino submodule update --init --recursive
displayName: checkout

# Should be after 'Install dependencies' because Git lfs is not installed
# - checkout: testdata
# clean: 'true'
# submodules: 'true'
# lfs: 'true'
# path: testdata

- script: env -C ~/work ./configreleasenolto.sh
displayName: CMake

Expand Down
18 changes: 0 additions & 18 deletions .ci/azure/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ resources:
name: openvinotoolkit/openvino_contrib
ref: master

- repository: testdata
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/testdata
ref: master

variables:
- group: github

Expand All @@ -61,7 +55,6 @@ jobs:
BUILD_TYPE: Release
REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_CONTRIB_REPO_DIR: $(REPO_DIR)/../openvino_contrib
MODELS_PATH: $(REPO_DIR)/../testdata
WORK_DIR: $(Pipeline.Workspace)/_w
BUILD_DIR: $(WORK_DIR)/build
INSTALL_DIR: $(WORK_DIR)/install_pkg
Expand Down Expand Up @@ -109,11 +102,6 @@ jobs:
submodules: 'true'
path: openvino_contrib

- checkout: testdata
clean: 'true'
lfs: 'true'
path: testdata

- script: |
set -e
brew install cython automake
Expand Down Expand Up @@ -219,17 +207,11 @@ jobs:

- script: |
$(SETUPVARS) && $(INSTALL_TEST_DIR)/InferenceEngineCAPITests --gtest_output=xml:$(INSTALL_TEST_DIR)/TEST-InferenceEngineCAPITests.xml
env:
DATA_PATH: $(MODELS_PATH)
MODELS_PATH: $(MODELS_PATH)
displayName: 'IE CAPITests'
enabled: 'false'
- script: |
$(SETUPVARS) && $(INSTALL_TEST_DIR)/ov_capi_test --gtest_output=xml:$(INSTALL_TEST_DIR)/TEST-ov_capi_test.xml
env:
DATA_PATH: $(MODELS_PATH)
MODELS_PATH: $(MODELS_PATH)
displayName: 'IE CAPITests'
enabled: 'false'
Expand Down
12 changes: 0 additions & 12 deletions .ci/azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ resources:
name: openvinotoolkit/openvino_contrib
ref: master

- repository: testdata
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/testdata
ref: master

jobs:
- job: Win
strategy:
Expand All @@ -63,7 +57,6 @@ jobs:
BUILD_TYPE: Release
REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_CONTRIB_REPO_DIR: $(REPO_DIR)\..\openvino_contrib
MODELS_PATH: $(REPO_DIR)\..\testdata
WORK_DIR: $(Pipeline.Workspace)\_w
BUILD_DIR: $(WORK_DIR)\build
BUILD_SAMPLES_DIR: $(WORK_DIR)\build_samples
Expand Down Expand Up @@ -130,11 +123,6 @@ jobs:
submodules: 'true'
path: openvino_contrib

- checkout: testdata
clean: 'true'
lfs: 'true'
path: testdata

- script: |
python -m pip install --upgrade pip
rem For running Python API tests
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/good_first_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body:
- type: textarea
id: example_prs
attributes:
label: Exmaple Pull Requests
label: Example Pull Requests
description: |
Provide example Pull requests, if there are any.
validations:
Expand Down
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
- '.ci/**/*'
- 'Jenkinsfile'

'github_actions':
- '.github/workflows/*'

'category: Core':
- 'src/core/**/*'
- 'src/common/itt/**/*'
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/code_snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
- name: Clone OpenVINO
uses: actions/checkout@v4
with:
submodules: recursive
lfs: true
submodules: 'true'

- name: Install OpenCL
uses: awalsh128/[email protected]
Expand All @@ -38,7 +37,7 @@ jobs:
version: 3.0

- name: CMake configure
run: cmake -DCMAKE_BUILD_TYPE=Release -B build
run: cmake -DCMAKE_BUILD_TYPE=Release -DTHREADING=SEQ -B build

- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
submodules: 'true'

- name: Install clang-format-9
run: |
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
submodules: 'true'

- name: Install ShellCheck
run: |
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
submodules: 'true'

- name: Install Clang dependency
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Clone OpenVINO
uses: actions/checkout@v4
with:
submodules: recursive
submodules: 'true'

- name: Install dependencies
run: |
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
run: ${{ github.workspace }}/bin/intel64/Release/ov_hetero_func_tests

- name: Run IR frontend tests
run: ${{ github.workspace }}/bin/intel64/Release/ov_ir_frontend_tests # --gtest_print_time=1 --gtest_output=xml:${{ github.workspace }}/testdata/TEST-IRFrontend.xml
run: ${{ github.workspace }}/bin/intel64/Release/ov_ir_frontend_tests

- name: Run ONNX frontend tests
run: ${{ github.workspace }}/bin/intel64/Release/ov_onnx_frontend_tests --gtest_filter=-*IE_GPU*
Expand Down
17 changes: 2 additions & 15 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,31 +46,20 @@ jobs:
LAYER_TESTS_INSTALL_DIR: ${{ github.workspace }}/install/tests/layer_tests
MODEL_HUB_TESTS_INSTALL_DIR: ${{ github.workspace }}/install/tests/model_hub_tests
BUILD_DIR: ${{ github.workspace }}/build
DATA_PATH: ${{ github.workspace }}/testdata
MODELS_PATH: ${{ github.workspace }}/testdata
OV_TEMP: ${{ github.workspace }}/openvino_temp
PYTHON_STATIC_ARGS: -m "not dynamic_library"
steps:
- name: Clone OpenVINO
uses: actions/checkout@v4
with:
path: 'openvino'
submodules: 'recursive'
submodules: 'true'

- name: Clone OpenVINO Contrib
uses: actions/checkout@v4
with:
repository: 'openvinotoolkit/openvino_contrib'
path: 'openvino_contrib'
submodules: 'recursive'

- name: Clone testdata for C API tests
uses: actions/checkout@v4
with:
repository: 'openvinotoolkit/testdata'
path: 'testdata'
submodules: 'recursive'
lfs: 'true'

#
# Dependencies
Expand Down Expand Up @@ -493,8 +482,6 @@ jobs:
LAYER_TESTS_INSTALL_DIR: ${{ github.workspace }}/install/tests/layer_tests
MODEL_HUB_TESTS_INSTALL_DIR: ${{ github.workspace }}/install/tests/model_hub_tests
BUILD_DIR: ${{ github.workspace }}/build
DATA_PATH: ${{ github.workspace }}/testdata
MODELS_PATH: ${{ github.workspace }}/testdata
OV_TEMP: ${{ github.workspace }}/openvino_temp
PYTHON_STATIC_ARGS: -m "not dynamic_library"

Expand All @@ -507,7 +494,6 @@ jobs:
uses: actions/checkout@v4
with:
path: 'openvino'
submodules: 'recursive'

#
# Dependencies
Expand Down Expand Up @@ -926,6 +912,7 @@ jobs:
- name: PyTorch Models Tests
run: |
python3 -m pip install -r ${{ env.MODEL_HUB_TESTS_INSTALL_DIR }}/torch_tests/requirements.txt
python3 -m pip install -r ${{ env.MODEL_HUB_TESTS_INSTALL_DIR }}/torch_tests/requirements_secondary.txt
export PYTHONPATH=${{ env.MODEL_HUB_TESTS_INSTALL_DIR }}:$PYTHONPATH
python3 -m pytest ${{ env.MODEL_HUB_TESTS_INSTALL_DIR }}/torch_tests/ -m ${{ env.TYPE }} --html=${{ env.INSTALL_TEST_DIR }}/TEST-torch_model_tests.html --self-contained-html
env:
Expand Down
Loading

0 comments on commit c7c97fa

Please sign in to comment.