-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 feature/cpu_random_uniform_alignment
- Loading branch information
Showing
1,145 changed files
with
32,381 additions
and
36,441 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: 'Find and install OpenVINO Python wheels' | ||
description: 'Finds the OpenVINO Python wheels suitable for the "python3" executable and installs them' | ||
inputs: | ||
wheels-dir-path: | ||
description: 'Path to the directory in which wheels are located' | ||
required: true | ||
wheels-to-install: | ||
description: 'List of wheel names to install in the form of "openvino openvino_tokenizers"' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install OpenVINO Python wheels (Windows) | ||
shell: pwsh | ||
if: runner.os == 'Windows' | ||
run: | | ||
# Get the Python version | ||
$pyVersion = python3 -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')" | ||
foreach ($wheel in $("${{ inputs.wheels-to-install }}" -split ' ')) { | ||
# Search for the python-specific wheel version and install it if exists | ||
$wheelPath = Get-ChildItem -Path ${{ inputs.wheels-dir-path }} -Filter "$wheel-*cp$pyVersion*.whl" | Select-Object -First 1 | ||
if ($wheelPath) { | ||
python3 -m pip install $wheelPath.FullName | ||
} else { | ||
# If the python-specific version does not exist, install by name only | ||
$wheelPathByName = Get-ChildItem -Path ${{ inputs.wheels-dir-path }} -Filter "$wheel-*.whl" | Select-Object -First 1 | ||
python3 -m pip install $wheelPathByName.FullName | ||
} | ||
} | ||
- name: Install OpenVINO Python wheels (Linux and macOS) | ||
shell: bash | ||
if: runner.os != 'Windows' | ||
run: | | ||
py_version=$(python3 -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')") | ||
for wheel in ${{ inputs.wheels-to-install }}; do | ||
echo "Installing the ${wheel} wheel" | ||
# Search for the python-specific wheel version and install it if exists | ||
wheel_path=$(find ${{ inputs.wheels-dir-path }} -name "$wheel-*cp$py_version*.whl") | ||
echo "Wheel path: ${wheel_path}" | ||
if [ -n "${wheel_path}" ]; then | ||
python3 -m pip install $wheel_path | ||
else | ||
# If the python-specific version does not exist, install by name only | ||
python3 -m pip install ${{ inputs.wheels-dir-path }}/$wheel-*.whl | ||
fi | ||
done |
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 |
---|---|---|
@@ -1 +1 @@ | ||
pr-27384 | ||
pr-27430 |
20 changes: 20 additions & 0 deletions
20
.github/dockerfiles/ov_build/manylinux2014_x86_64/Dockerfile
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ARG REGISTRY="quay.io" | ||
FROM openvinogithubactions.azurecr.io/quayio/pypa/manylinux2014_x86_64 | ||
|
||
USER root | ||
|
||
# Install build dependencies | ||
ADD install_build_dependencies.sh /install_build_dependencies.sh | ||
RUN chmod +x /install_build_dependencies.sh && /install_build_dependencies.sh | ||
|
||
# Install sscache | ||
ARG SCCACHE_VERSION="v0.7.5" | ||
ENV SCCACHE_HOME="/opt/sccache" \ | ||
SCCACHE_PATH="/opt/sccache/sccache" | ||
|
||
RUN mkdir ${SCCACHE_HOME} && cd ${SCCACHE_HOME} && \ | ||
SCCACHE_ARCHIVE="sccache-${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz" && \ | ||
curl -SLO https://github.com/mozilla/sccache/releases/download/${SCCACHE_VERSION}/${SCCACHE_ARCHIVE} && \ | ||
tar -xzf ${SCCACHE_ARCHIVE} --strip-components=1 && rm ${SCCACHE_ARCHIVE} | ||
|
||
ENV PATH="$SCCACHE_HOME:$PATH" |
42 changes: 42 additions & 0 deletions
42
.github/dockerfiles/ov_build/ubuntu_22_04_x64_docker/Dockerfile
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
ARG REGISTRY="docker.io" | ||
FROM ${REGISTRY}/library/ubuntu:22.04 | ||
|
||
USER root | ||
|
||
# APT configuration | ||
RUN echo 'Acquire::Retries "10";' > /etc/apt/apt.conf && \ | ||
echo 'APT::Get::Assume-Yes "true";' >> /etc/apt/apt.conf && \ | ||
echo 'APT::Get::Fix-Broken "true";' >> /etc/apt/apt.conf && \ | ||
echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf | ||
|
||
ENV DEBIAN_FRONTEND="noninteractive" \ | ||
TZ="Europe/London" | ||
|
||
RUN apt-get update && \ | ||
apt-get install software-properties-common && \ | ||
add-apt-repository --yes --no-update ppa:git-core/ppa && \ | ||
add-apt-repository --yes --no-update ppa:deadsnakes/ppa && \ | ||
apt-get update && \ | ||
apt-get install \ | ||
curl \ | ||
git \ | ||
gpg-agent \ | ||
tzdata \ | ||
# parallel gzip | ||
pigz \ | ||
python3 \ | ||
python3-pip \ | ||
&& \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Install docker | ||
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ | ||
gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \ | ||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \ | ||
https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | \ | ||
tee /etc/apt/sources.list.d/docker.list > /dev/null | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y docker-ce docker-ce-cli containerd.io | ||
|
||
ENV DOCKER_BUILDKIT=1 |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
merge_group: | ||
push: | ||
branches: | ||
# - master | ||
- master | ||
- 'releases/**' | ||
|
||
concurrency: | ||
|
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
Oops, something went wrong.