Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into api-2.0/migrate-eye…
Browse files Browse the repository at this point in the history
…-op-to-new-api
  • Loading branch information
praasz committed Oct 9, 2023
2 parents d58050b + 142c6a4 commit b4f535d
Show file tree
Hide file tree
Showing 348 changed files with 7,152 additions and 5,413 deletions.
3 changes: 3 additions & 0 deletions .ci/azure/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@ jobs:
- script: $(RUN_PREFIX) $(INSTALL_TEST_DIR)/ov_auto_unit_tests --gtest_output=xml:$(INSTALL_TEST_DIR)/TEST-ov_auto_unit_tests.xml
displayName: 'AUTO UT'

- script: $(RUN_PREFIX) $(INSTALL_TEST_DIR)/ov_auto_func_tests --gtest_output=xml:$(INSTALL_TEST_DIR)/TEST-ov_auto_func_tests.xml
displayName: 'AUTO FuncTests'

- script: $(RUN_PREFIX) $(INSTALL_TEST_DIR)/ov_auto_batch_unit_tests --gtest_output=xml:$(INSTALL_TEST_DIR)/TEST-ov_auto_batch_unit_tests.xml
displayName: 'AutoBatch UT'

Expand Down
3 changes: 3 additions & 0 deletions .ci/azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ jobs:
- script: call $(SETUPVARS) && $(INSTALL_TEST_DIR)\ov_auto_unit_tests --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-ov_auto_unit_tests.xml
displayName: 'AUTO UT'

- script: call $(SETUPVARS) && $(INSTALL_TEST_DIR)\ov_auto_func_tests --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-ov_auto_func_tests.xml
displayName: 'AUTO FuncTests'

- script: call $(SETUPVARS) && $(INSTALL_TEST_DIR)\ov_auto_batch_unit_tests --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-ov_auto_batch_unit_tests.xml
displayName: 'AutoBatch UT'

Expand Down
4 changes: 2 additions & 2 deletions .github/github_org_control/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from pathlib import Path


if sys.version_info[:2] < (3, 7):
raise Exception("Python version must be >= 3.7")
if sys.version_info[:2] < (3, 8):
raise Exception("Python version must be >= 3.8")


class ConfigException(Exception):
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,6 @@ jobs:
RPM_PACKAGES_DIR: /__w/openvino/packages/

steps:
- name: Create Directories
run: mkdir -p ${RPM_PACKAGES_DIR}

- name: Download OpenVINO RPM packages
uses: actions/download-artifact@v3
with:
Expand Down
78 changes: 32 additions & 46 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Setup pip cache dir
run: |
PIP_VER=$(python3 -c "import pip; print(pip.__version__)")
Expand Down Expand Up @@ -154,12 +155,12 @@ jobs:
- name: Pack Artifacts
run: |
# Add the ONNX Runtime version and skip tests list to the archive to use in the ONNX Runtime Job
# Add the ONNX Runtime version and skip tests list to the archive to use in the ONNX Runtime Job
# w/o the need to checkout repository
cp -R ${ONNX_RUNTIME_UTILS} ${INSTALL_DIR}
pushd ${INSTALL_DIR}
tar -czvf ${BUILD_DIR}/openvino_package.tar.gz *
popd
Expand Down Expand Up @@ -232,9 +233,6 @@ jobs:
DEBIAN_PACKAGES_DIR: /__w/openvino/packages/

steps:
- name: Create Directories
run: mkdir -p ${DEBIAN_PACKAGES_DIR}

- name: Download OpenVINO debian packages
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -290,13 +288,6 @@ jobs:
BUILD_DIR: /__w/openvino/openvino/build

steps:
- name: Create Directories
run: mkdir -p ${INSTALL_DIR} ${INSTALL_TEST_DIR}

#
# Initialize OpenVINO
#

- name: Download OpenVINO package
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -324,6 +315,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Setup pip cache dir
run: |
PIP_VER=$(python3 -c "import pip; print(pip.__version__)")
Expand Down Expand Up @@ -440,10 +432,10 @@ jobs:
- name: Install Dependencies
run: |
sudo -E ${INSTALL_DIR}/install_dependencies/install_openvino_dependencies.sh -c=core -y
# Needed for downloading IRs from storage.openvinotoolkit with Python urllib
sudo apt-get update && sudo apt-get install --assume-yes --no-install-recommends ca-certificates
python3 -m pip install -r ${CONFORMANCE_TOOLS_DIR}/requirements.txt
#
Expand Down Expand Up @@ -568,7 +560,7 @@ jobs:
run: |
source ${INSTALL_DIR}/setupvars.sh
skip_tests=$(tr -s '\n ' ':' < ${ONNX_RUNTIME_UTILS}/skip_tests)
./onnxruntime_test_all --gtest_filter=-$skip_tests
working-directory: ${{ env.ONNX_RUNTIME_BUILD_DIR }}/RelWithDebInfo/RelWithDebInfo

Expand Down Expand Up @@ -615,13 +607,6 @@ jobs:
INSTALL_TEST_DIR: /__w/openvino/openvino/install/tests

steps:
- name: Create Directories
run: mkdir -p ${INSTALL_DIR} ${INSTALL_TEST_DIR}

#
# Initialize OpenVINO
#

- name: Download OpenVINO package
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -748,6 +733,12 @@ jobs:
${INSTALL_TEST_DIR}/ov_auto_unit_tests --gtest_print_time=1 \
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-ov_auto_unit_tests.xml
- name: AUTO func Tests
run: |
source ${{ env.INSTALL_DIR }}/setupvars.sh
${{ env.INSTALL_TEST_DIR }}/ov_auto_func_tests --gtest_print_time=1 \
--gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-ov_auto_func_tests.xml
- name: Template plugin func tests
run: |
source ${INSTALL_DIR}/setupvars.sh
Expand Down Expand Up @@ -812,9 +803,6 @@ jobs:
LAYER_TESTS_INSTALL_DIR: /__w/openvino/openvino/install/tests/layer_tests

steps:
- name: Create Directories
run: mkdir -p ${INSTALL_DIR} ${INSTALL_TEST_DIR}

- name: Install git
run: |
apt update
Expand All @@ -832,6 +820,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Setup pip cache dir
run: |
PIP_VER=$(python3 -c "import pip; print(pip.__version__)")
Expand Down Expand Up @@ -1033,9 +1022,6 @@ jobs:
PARALLEL_TEST_CACHE: /__w/openvino/openvino/install/tests/test_cache.lst

steps:
- name: Create Directories
run: mkdir -p ${INSTALL_DIR} ${INSTALL_TEST_DIR}

- name: Download OpenVINO package
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -1110,26 +1096,28 @@ jobs:
defaults:
run:
shell: bash
runs-on: ${{ github.event_name == 'schedule' && 'aks-linux-16-cores' || 'aks-linux-4-cores-16gb'}}
container:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
volumes:
- /mount/caches:/mount/caches
runs-on: ${{ github.event_name == 'schedule' && 'ubuntu-20.04-16-cores' || 'ubuntu-20.04-8-cores'}}
# TODO: Switch back to self-hosted runners
# container:
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
# volumes:
# - /mount/caches:/mount/caches
env:
INSTALL_DIR: ${{ github.workspace }}/install
INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests
MODEL_HUB_TESTS_INSTALL_DIR: ${{ github.workspace }}/install/tests/model_hub_tests

steps:
- name: Create Directories
run: mkdir -p ${INSTALL_DIR} ${INSTALL_TEST_DIR}
- name: Check sudo
run: if [ "$(id -u)" -eq 0 ]; then apt update && apt --assume-yes install sudo; fi

- name: Install 'actions/setup-python@v4' dependencies
run: apt-get update && apt-get install -y libssl1.1 ca-certificates
run: sudo apt-get update && sudo apt-get install -y libssl1.1 ca-certificates

- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Setup pip cache dir
run: |
PIP_VER=$(python3 -c "import pip; print(pip.__version__)")
Expand Down Expand Up @@ -1187,11 +1175,12 @@ jobs:
defaults:
run:
shell: bash
runs-on: ${{ github.event_name == 'schedule' && 'aks-linux-16-cores' || 'aks-linux-8-cores'}}
container:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
volumes:
- /mount/caches:/mount/caches
runs-on: ${{ github.event_name == 'schedule' && 'ubuntu-20.04-16-cores' || 'ubuntu-20.04-8-cores'}}
# TODO: Switch back to self-hosted runners
# container:
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
# volumes:
# - /mount/caches:/mount/caches
env:
INSTALL_DIR: ${{ github.workspace }}/install
INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests
Expand All @@ -1209,9 +1198,6 @@ jobs:
# install 'g++' to build 'detectron2' and 'natten' wheels
sudo apt-get install --assume-yes --no-install-recommends g++ git ca-certificates
- name: Create Directories
run: mkdir -p ${INSTALL_DIR} ${INSTALL_TEST_DIR}

- name: Download OpenVINO package
uses: actions/download-artifact@v3
with:
Expand Down
Loading

0 comments on commit b4f535d

Please sign in to comment.