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.
- Loading branch information
Showing
1,506 changed files
with
134,414 additions
and
41,361 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -129,7 +129,7 @@ jobs: | |
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].3 | ||
uses: mozilla-actions/[email protected].4 | ||
with: | ||
version: "v0.7.5" | ||
|
||
|
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 |
---|---|---|
|
@@ -77,7 +77,7 @@ jobs: | |
apt install --assume-yes --no-install-recommends default-jdk | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
with: | ||
version: "v0.7.5" | ||
|
||
|
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 |
---|---|---|
|
@@ -91,7 +91,7 @@ jobs: | |
run: bash ${OPENVINO_REPO}/install_build_dependencies.sh | ||
|
||
- name: Install sccache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
with: | ||
version: "v0.7.5" | ||
|
||
|
@@ -247,10 +247,10 @@ jobs: | |
python3 /usr/share/openvino/samples/python/hello_query_device/hello_query_device.py | ||
python3 -c 'from openvino import Core; Core().get_property("CPU", "AVAILABLE_DEVICES")' | ||
python3 -c 'from openvino import Core; Core().get_property("GPU", "AVAILABLE_DEVICES")' | ||
python3 -c 'from openvino import Core; Core().get_property("AUTO", "SUPPORTED_METRICS")' | ||
python3 -c 'from openvino import Core; Core().get_property("MULTI", "SUPPORTED_METRICS")' | ||
python3 -c 'from openvino import Core; Core().get_property("HETERO", "SUPPORTED_METRICS")' | ||
python3 -c 'from openvino import Core; Core().get_property("BATCH", "SUPPORTED_METRICS")' | ||
python3 -c 'from openvino import Core; Core().get_property("AUTO", "SUPPORTED_PROPERTIES")' | ||
python3 -c 'from openvino import Core; Core().get_property("MULTI", "SUPPORTED_PROPERTIES")' | ||
python3 -c 'from openvino import Core; Core().get_property("HETERO", "SUPPORTED_PROPERTIES")' | ||
python3 -c 'from openvino import Core; Core().get_property("BATCH", "SUPPORTED_PROPERTIES")' | ||
python3 -c 'from openvino.frontend import FrontEndManager; assert len(FrontEndManager().get_available_front_ends()) == 6' | ||
benchmark_app --help | ||
ovc --help | ||
|
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
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
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 |
---|---|---|
|
@@ -40,6 +40,9 @@ jobs: | |
ONNX_RUNTIME_UTILS: ${{ github.workspace }}/install/onnxruntime | ||
ONNX_RUNTIME_BUILD_DIR: ${{ github.workspace }}/onnxruntime/build | ||
steps: | ||
- name: Set apt retries | ||
run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries | ||
|
||
- name: Download OpenVINO package | ||
uses: actions/download-artifact@v3 | ||
with: | ||
|
@@ -100,7 +103,7 @@ jobs: | |
run: bash ${OPENVINO_REPO}/install_build_dependencies.sh | ||
|
||
- name: Install sccache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
with: | ||
version: "v0.7.5" | ||
|
||
|
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
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
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 |
---|---|---|
|
@@ -80,6 +80,9 @@ jobs: | |
if: "!needs.smart_ci.outputs.skip_workflow" | ||
|
||
steps: | ||
- name: Set apt retries | ||
run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries | ||
|
||
- name: Install git | ||
run: | | ||
apt-get update | ||
|
@@ -117,7 +120,7 @@ jobs: | |
apt install --assume-yes --no-install-recommends default-jdk | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
with: | ||
version: "v0.7.5" | ||
|
||
|
@@ -602,6 +605,9 @@ jobs: | |
if: fromJSON(needs.smart_ci.outputs.affected_components).NVIDIA | ||
|
||
steps: | ||
- name: Set apt retries | ||
run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries | ||
|
||
- name: Fetch install_build_dependencies.sh | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -652,7 +658,7 @@ jobs: | |
apt -y --no-install-recommends install software-properties-common curl | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
with: | ||
version: "v0.7.5" | ||
|
||
|
@@ -691,6 +697,98 @@ jobs: | |
- name: Show ccache stats | ||
run: ${SCCACHE_PATH} --show-stats | ||
|
||
Openvino_tokenizers: | ||
name: OpenVINO tokenizers extension | ||
needs: [ Build, Smart_CI ] | ||
timeout-minutes: 25 | ||
defaults: | ||
run: | ||
shell: bash | ||
runs-on: aks-linux-4-cores-16gb | ||
container: | ||
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04 | ||
volumes: | ||
- /mount:/mount | ||
env: | ||
INSTALL_DIR: /__w/openvino/openvino/install | ||
OPENVINO_CONTRIB_REPO: /__w/openvino/openvino/openvino_contrib | ||
OPENVINO_TOKENIZERS_REPO: /__w/openvino/openvino/openvino_contrib/modules/custom_operations | ||
EXTENSION_BUILD_DIR: /__w/openvino/openvino/openvino_tokenizers | ||
if: fromJSON(needs.smart_ci.outputs.affected_components).TOKENIZERS | ||
|
||
steps: | ||
- name: checkout action | ||
uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
.github/actions/setup_python | ||
install_build_dependencies.sh | ||
- name: Setup Python ${{ env.PYTHON_VERSION }} | ||
uses: ./.github/actions/setup_python | ||
with: | ||
version: ${{ env.PYTHON_VERSION }} | ||
pip-cache-path: ${{ env.PIP_CACHE_PATH }} | ||
should-setup-pip-paths: 'true' | ||
self-hosted-runner: 'true' | ||
show-cache-info: 'false' | ||
|
||
- name: Clone OpenVINO Contrib | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: 'openvinotoolkit/openvino_contrib' | ||
path: ${{ env.OPENVINO_CONTRIB_REPO }} | ||
ref: 'master' | ||
|
||
- name: Download OpenVINO package | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: openvino_package | ||
path: ${{ env.INSTALL_DIR }} | ||
|
||
- name: Extract OpenVINO packages | ||
run: | | ||
pushd ${INSTALL_DIR} | ||
tar -xzf openvino_package.tar.gz -C ${INSTALL_DIR} | ||
popd | ||
# | ||
# Dependencies | ||
# | ||
|
||
- name: Install build dependencies | ||
run: ./install_build_dependencies.sh | ||
|
||
- name: Install python dependencies | ||
run: | | ||
# wheel packaging | ||
python3 -m pip install -r ${OPENVINO_TOKENIZERS_REPO}/requirements-build.txt | ||
# | ||
# Build | ||
# | ||
|
||
- name: Build tokenizers wheel | ||
run: | | ||
source ${INSTALL_DIR}/setupvars.sh | ||
python -m build --wheel --outdir ${EXTENSION_BUILD_DIR} ${OPENVINO_TOKENIZERS_REPO} | ||
env: | ||
CMAKE_ARGS: '-DBUILD_FAST_TOKENIZERS=OFF' | ||
CMAKE_BUILD_PARALLEL_LEVEL: '4' | ||
CMAKE_GENERATOR: 'Unix Makefiles' | ||
|
||
# | ||
# Upload build artifacts | ||
# | ||
|
||
- name: Upload openvino tokenizers wheel | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: openvino_tokenizers_wheel | ||
path: ${{ env.EXTENSION_BUILD_DIR }}/*.whl | ||
if-no-files-found: 'error' | ||
|
||
GPU_Stub: | ||
needs: [ Build, Smart_CI ] | ||
runs-on: ubuntu-latest | ||
|
@@ -705,7 +803,7 @@ jobs: | |
Overall_Status: | ||
name: ci/gha_overall_status | ||
needs: [Smart_CI, Build, Debian_Packages, Samples, Conformance, ONNX_Runtime, CXX_Unit_Tests, Python_Unit_Tests, | ||
CPU_Functional_Tests, TensorFlow_Hub_Models_Tests, PyTorch_Models_Tests, NVIDIA_Plugin] | ||
CPU_Functional_Tests, TensorFlow_Hub_Models_Tests, PyTorch_Models_Tests, NVIDIA_Plugin, Openvino_tokenizers] | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
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 |
---|---|---|
|
@@ -82,6 +82,9 @@ jobs: | |
if: "!needs.smart_ci.outputs.skip_workflow" | ||
|
||
steps: | ||
- name: Set apt retries | ||
run: echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries | ||
|
||
- name: Install git | ||
run: apt-get update && apt-get install --assume-yes --no-install-recommends git ca-certificates | ||
|
||
|
@@ -117,7 +120,7 @@ jobs: | |
apt install --assume-yes --no-install-recommends default-jdk | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
with: | ||
version: "v0.7.5" | ||
|
||
|
Oops, something went wrong.