Apply CISC review and update CI to OV2025.3
This commit is contained in:
parent
4c8406eb70
commit
38e8a19f50
|
|
@ -5,10 +5,10 @@ inputs:
|
||||||
description: "Installation path"
|
description: "Installation path"
|
||||||
required: true
|
required: true
|
||||||
version_major:
|
version_major:
|
||||||
description: "OpenVINO major version (e.g., 2025.2)"
|
description: "OpenVINO major version (e.g., 2025.3)"
|
||||||
required: true
|
required: true
|
||||||
version_full:
|
version_full:
|
||||||
description: "OpenVINO full version (e.g., 2025.2.0.19140.c01cd93e24d)"
|
description: "OpenVINO full version (e.g., 2025.3.0.19807.44526285f24)"
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
|
|
@ -20,7 +20,7 @@ runs:
|
||||||
with:
|
with:
|
||||||
url: https://storage.openvinotoolkit.org/repositories/openvino/packages/${{ inputs.version_major }}/linux/openvino_toolkit_ubuntu24_${{ inputs.version_full }}_x86_64.tgz
|
url: https://storage.openvinotoolkit.org/repositories/openvino/packages/${{ inputs.version_major }}/linux/openvino_toolkit_ubuntu24_${{ inputs.version_full }}_x86_64.tgz
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
type: "z"
|
type: z
|
||||||
strip: 1
|
strip: 1
|
||||||
|
|
||||||
- name: Install OpenVINO dependencies
|
- name: Install OpenVINO dependencies
|
||||||
|
|
|
||||||
|
|
@ -68,19 +68,14 @@ jobs:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Make sure this is in sync with build.yml
|
# Make sure this is in sync with build.yml
|
||||||
OPENVINO_VERSION_MAJOR: "2025.2"
|
OPENVINO_VERSION_MAJOR: "2025.3"
|
||||||
OPENVINO_VERSION_FULL: "2025.2.0.19140.c01cd93e24d"
|
OPENVINO_VERSION_FULL: "2025.3.0.19807.44526285f24"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y libtbb12
|
|
||||||
|
|
||||||
- name: Setup Cache
|
- name: Setup Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
id: cache-openvino
|
id: cache-openvino
|
||||||
|
|
|
||||||
|
|
@ -742,8 +742,8 @@ jobs:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Make sure this is in sync with build-cache.yml
|
# Make sure this is in sync with build-cache.yml
|
||||||
OPENVINO_VERSION_MAJOR: "2025.2"
|
OPENVINO_VERSION_MAJOR: "2025.3"
|
||||||
OPENVINO_VERSION_FULL: "2025.2.0.19140.c01cd93e24d"
|
OPENVINO_VERSION_FULL: "2025.3.0.19807.44526285f24"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
|
|
@ -751,7 +751,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.16
|
uses: ggml-org/ccache-action@v1.2.16
|
||||||
with:
|
with:
|
||||||
key: ubuntu-24-cmake-openvino-no-preset-v1
|
key: ubuntu-24-cmake-openvino-no-preset-v1
|
||||||
evict-old-files: 1d
|
evict-old-files: 1d
|
||||||
|
|
@ -1764,12 +1764,12 @@ jobs:
|
||||||
GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
|
GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
|
||||||
|
|
||||||
ggml-ci-arm64-cpu-kleidiai:
|
ggml-ci-arm64-cpu-kleidiai:
|
||||||
runs-on: ubuntu-22.04-arm
|
runs-on: ubuntu-22.04-arm
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: ggml-org/ccache-action@v1.2.16
|
uses: ggml-org/ccache-action@v1.2.16
|
||||||
|
|
@ -1784,10 +1784,10 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y build-essential
|
sudo apt-get install -y build-essential
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
id: ggml-ci
|
id: ggml-ci
|
||||||
run: |
|
run: |
|
||||||
GG_BUILD_KLEIDIAI=1 GG_BUILD_EXTRA_TESTS_0=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
|
GG_BUILD_KLEIDIAI=1 GG_BUILD_EXTRA_TESTS_0=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
|
||||||
|
|
||||||
ubuntu-cpu-cmake-riscv64-native:
|
ubuntu-cpu-cmake-riscv64-native:
|
||||||
runs-on: RISCV64
|
runs-on: RISCV64
|
||||||
|
|
|
||||||
|
|
@ -234,6 +234,11 @@ jobs:
|
||||||
ubuntu-24-openvino:
|
ubuntu-24-openvino:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
|
env:
|
||||||
|
# Make sure this is in sync with build.yml
|
||||||
|
OPENVINO_VERSION_MAJOR: "2025.3"
|
||||||
|
OPENVINO_VERSION_FULL: "2025.3.0.19807.44526285f24"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
id: checkout
|
id: checkout
|
||||||
|
|
@ -242,31 +247,35 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.16
|
uses: ggml-org/ccache-action@v1.2.16
|
||||||
with:
|
with:
|
||||||
key: ubuntu-24-cmake-openvino-release-no-preset-v1
|
key: ubuntu-24-cmake-openvino-release-no-preset-v1
|
||||||
evict-old-files: 1d
|
evict-old-files: 1d
|
||||||
|
|
||||||
- name: Dependencies
|
- name: Dependencies
|
||||||
id: depends
|
|
||||||
run: |
|
run: |
|
||||||
export OPENVINO_VERSION_MAJOR=2025.2
|
|
||||||
export OPENVINO_VERSION_FULL=2025.2.0.19140.c01cd93e24d
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y build-essential libcurl4-openssl-dev libtbb12 cmake ninja-build python3-pip curl wget tar
|
sudo apt-get install -y build-essential libcurl4-openssl-dev libtbb12 cmake ninja-build python3-pip
|
||||||
sudo mkdir -p /opt/intel
|
|
||||||
wget -O openvino_${OPENVINO_VERSION_MAJOR}.tgz https://storage.openvinotoolkit.org/repositories/openvino/packages/${OPENVINO_VERSION_MAJOR}/linux/openvino_toolkit_ubuntu24_${OPENVINO_VERSION_FULL}_x86_64.tgz
|
- name: Use OpenVINO Toolkit Cache
|
||||||
tar -xf openvino_${OPENVINO_VERSION_MAJOR}.tgz
|
uses: actions/cache@v4
|
||||||
sudo mv openvino_toolkit_ubuntu24_${OPENVINO_VERSION_FULL}_x86_64 /opt/intel/openvino_${OPENVINO_VERSION_MAJOR}
|
id: cache-openvino
|
||||||
rm openvino_${OPENVINO_VERSION_MAJOR}.tgz
|
with:
|
||||||
cd /opt/intel/openvino_${OPENVINO_VERSION_MAJOR}
|
path: ./openvino_toolkit
|
||||||
echo "Y" | sudo -E ./install_dependencies/install_openvino_dependencies.sh && cd -
|
key: openvino-toolkit-v${{ env.OPENVINO_VERSION_FULL }}-${{ runner.os }}
|
||||||
sudo ln -s /opt/intel/openvino_${OPENVINO_VERSION_MAJOR} /opt/intel/openvino
|
|
||||||
|
- name: Setup OpenVINO Toolkit
|
||||||
|
if: steps.cache-openvino.outputs.cache-hit != 'true'
|
||||||
|
uses: ./.github/actions/linux-setup-openvino
|
||||||
|
with:
|
||||||
|
path: ./openvino_toolkit
|
||||||
|
version_major: ${{ env.OPENVINO_VERSION_MAJOR }}
|
||||||
|
version_full: ${{ env.OPENVINO_VERSION_FULL }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
id: cmake_build
|
id: cmake_build
|
||||||
run: |
|
run: |
|
||||||
source /opt/intel/openvino/setupvars.sh
|
source ./openvino_toolkit/setupvars.sh
|
||||||
cmake -B build/ReleaseOV -G Ninja \
|
cmake -B build/ReleaseOV -G Ninja \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DGGML_OPENVINO=ON
|
-DGGML_OPENVINO=ON
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue