Skip to content

Commit dde6382

Browse files
authored
Merge branch 'ggml-org:master' into Motif3
2 parents 591f720 + 9855ad6 commit dde6382

382 files changed

Lines changed: 8808 additions & 22753 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.devops/openvino.Dockerfile‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
ARG OPENVINO_VERSION_MAJOR=2026.2.1
2-
ARG OPENVINO_VERSION_FULL=2026.2.1.21919.ede283a88e3
1+
ARG OPENVINO_VERSION_MAJOR=2026.3
2+
ARG OPENVINO_VERSION_FULL=2026.3.0.22451.bd8d6542e3c
33
ARG UBUNTU_VERSION=24.04
44

55
# Intel GPU driver versions. https://github.com/intel/compute-runtime/releases
6-
ARG IGC_VERSION=v2.36.3
7-
ARG IGC_VERSION_FULL=2_2.36.3+21719
8-
ARG COMPUTE_RUNTIME_VERSION=26.22.38646.4
9-
ARG COMPUTE_RUNTIME_VERSION_FULL=26.22.38646.4-0
6+
ARG IGC_VERSION=v2.38.2
7+
ARG IGC_VERSION_FULL=2_2.38.2+22051
8+
ARG COMPUTE_RUNTIME_VERSION=26.27.39122.11
9+
ARG COMPUTE_RUNTIME_VERSION_FULL=26.27.39122.11-0
1010
ARG IGDGMM_VERSION=22.10.0
1111

1212
# Intel NPU driver versions. https://github.com/intel/linux-npu-driver/releases
13-
ARG NPU_DRIVER_VERSION=v1.33.0
14-
ARG NPU_DRIVER_FULL=v1.33.0.20260529-26625960453
15-
ARG LIBZE1_VERSION=1.27.0-1~24.04~ppa2
13+
ARG NPU_DRIVER_VERSION=v1.35.0
14+
ARG NPU_DRIVER_FULL=v1.35.0.20260722-29947505341
15+
ARG LIBZE1_VERSION=1.28.2-1~24.04~ppa1
1616

1717
# Optional proxy build arguments
1818
ARG http_proxy=
@@ -170,7 +170,7 @@ RUN --mount=type=cache,target=/var/cache/intel-npu,sharing=locked \
170170
fi; \
171171
DEB=/var/cache/intel-npu/libze1_${LIBZE1_VERSION}_amd64.deb; \
172172
if [ ! -f "$DEB" ]; then \
173-
wget -q -O "$DEB" https://snapshot.ppa.launchpadcontent.net/kobuk-team/intel-graphics/ubuntu/20260324T100000Z/pool/main/l/level-zero-loader/libze1_${LIBZE1_VERSION}_amd64.deb; \
173+
wget -q -O "$DEB" https://snapshot.ppa.launchpadcontent.net/kobuk-team/intel-graphics/ubuntu/20260606T100000Z/pool/main/l/level-zero-loader/libze1_${LIBZE1_VERSION}_amd64.deb; \
174174
fi; \
175175
mkdir /tmp/npu/ && cd /tmp/npu/ && tar -xf "$TGZ" && cp "$DEB" .; \
176176
apt-get update; \

‎.github/actions/linux-setup-vulkan/action.yml‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎.github/actions/windows-setup-cuda/action.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ inputs:
66
required: true
77
cuda_arch:
88
description: "CUDA target architecture"
9-
required: false
10-
default: "x64"
9+
required: true
1110

1211
runs:
1312
using: "composite"

‎.github/workflows/build-cache.yml‎

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,6 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
ubuntu-24-vulkan-cache:
14-
runs-on: ubuntu-24.04
15-
16-
steps:
17-
- name: Clone
18-
id: checkout
19-
uses: actions/checkout@v6
20-
21-
- name: Get latest Vulkan SDK version
22-
id: vulkan_sdk_version
23-
run: |
24-
echo "VULKAN_SDK_VERSION=$(curl https://vulkan.lunarg.com/sdk/latest/linux.txt)" >> "$GITHUB_ENV"
25-
26-
- name: Setup Cache
27-
uses: actions/cache@v5
28-
id: cache-sdk
29-
with:
30-
path: ./vulkan_sdk
31-
key: cache-gha-vulkan-sdk-${{ env.VULKAN_SDK_VERSION }}-${{ runner.os }}
32-
33-
- name: Setup Vulkan SDK
34-
if: steps.cache-sdk.outputs.cache-hit != 'true'
35-
uses: ./.github/actions/linux-setup-vulkan
36-
with:
37-
path: ./vulkan_sdk
38-
version: ${{ env.VULKAN_SDK_VERSION }}
39-
4013
#ubuntu-24-spacemit-cache:
4114
# runs-on: ubuntu-24.04
4215

@@ -67,9 +40,9 @@ jobs:
6740
runs-on: ubuntu-24.04
6841

6942
env:
70-
# Sync versions in build.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile
71-
OPENVINO_VERSION_MAJOR: "2026.2.1"
72-
OPENVINO_VERSION_FULL: "2026.2.1.21919.ede283a88e3"
43+
# Sync versions in build-openvino.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile
44+
OPENVINO_VERSION_MAJOR: "2026.3"
45+
OPENVINO_VERSION_FULL: "2026.3.0.22451.bd8d6542e3c"
7346

7447
steps:
7548
- name: Clone
@@ -96,8 +69,8 @@ jobs:
9669

9770
env:
9871
# Sync versions in build.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile
99-
OPENVINO_VERSION_MAJOR: "2026.2.1"
100-
OPENVINO_VERSION_FULL: "2026.2.1.21919.ede283a88e3"
72+
OPENVINO_VERSION_MAJOR: "2026.3"
73+
OPENVINO_VERSION_FULL: "2026.3.0.22451.bd8d6542e3c"
10174

10275
steps:
10376
- name: Clone

‎.github/workflows/build-cpu.yml‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ on:
2121
paths: [
2222
'.github/workflows/build-cpu.yml',
2323
'.github/workflows/build-cmake-pkg.yml',
24+
'ggml/src/ggml-rpc/**',
2425
'**/CMakeLists.txt',
2526
'**/.cmake',
2627
'**/*.h',
@@ -123,7 +124,6 @@ jobs:
123124
env:
124125
OPENBLAS_VERSION: 0.3.23
125126
SDE_VERSION: 9.33.0-2024-01-07
126-
VULKAN_VERSION: 1.4.357.0
127127

128128
strategy:
129129
matrix:
@@ -134,9 +134,6 @@ jobs:
134134
- build: 'x64-openblas'
135135
arch: 'x64'
136136
defines: '-G "Ninja Multi-Config" -D CMAKE_TOOLCHAIN_FILE=cmake/x64-windows-llvm.cmake -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_RPC=ON -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON -DGGML_OPENMP=OFF -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS -DBLAS_INCLUDE_DIRS="$env:RUNNER_TEMP/openblas/include" -DBLAS_LIBRARIES="$env:RUNNER_TEMP/openblas/lib/openblas.lib"'
137-
- build: 'x64-vulkan'
138-
arch: 'x64'
139-
defines: '-G "Ninja Multi-Config" -D CMAKE_TOOLCHAIN_FILE=cmake/x64-windows-llvm.cmake -DCMAKE_BUILD_TYPE=Release -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_RPC=ON -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON -DGGML_VULKAN=ON'
140137
- build: 'arm64'
141138
arch: 'arm64'
142139
defines: '-G "Ninja Multi-Config" -D CMAKE_TOOLCHAIN_FILE=cmake/arm64-windows-llvm.cmake -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON'
@@ -167,15 +164,6 @@ jobs:
167164
$lib = $(join-path $msvc 'bin\Hostx64\x64\lib.exe')
168165
& $lib /machine:x64 "/def:${env:RUNNER_TEMP}/openblas/lib/libopenblas.def" "/out:${env:RUNNER_TEMP}/openblas/lib/openblas.lib" /name:openblas.dll
169166
170-
- name: Install Vulkan SDK
171-
id: get_vulkan
172-
if: ${{ matrix.build == 'x64-vulkan' }}
173-
run: |
174-
curl.exe -o $env:RUNNER_TEMP/VulkanSDK-Installer.exe -L "https://sdk.lunarg.com/sdk/download/${env:VULKAN_VERSION}/windows/vulkansdk-windows-X64-${env:VULKAN_VERSION}.exe"
175-
& "$env:RUNNER_TEMP\VulkanSDK-Installer.exe" --accept-licenses --default-answer --confirm-command install
176-
Add-Content $env:GITHUB_ENV "VULKAN_SDK=C:\VulkanSDK\${env:VULKAN_VERSION}"
177-
Add-Content $env:GITHUB_PATH "C:\VulkanSDK\${env:VULKAN_VERSION}\bin"
178-
179167
- name: Install Ninja
180168
id: install_ninja
181169
run: |

‎.github/workflows/build-cuda-windows.yml‎

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,24 @@ env:
2222

2323
jobs:
2424
cuda:
25+
name: windows-cuda (${{ matrix.cuda }}, ${{ matrix.arch }})
2526
runs-on: windows-2022
2627

2728
permissions:
2829
actions: write
2930

3031
strategy:
3132
matrix:
32-
cuda: ['12.4', '13.3']
33+
include:
34+
- cuda: '12.4'
35+
arch: x64
36+
defines: '-DGGML_CUDA_CUB_3DOT2=ON'
37+
- cuda: '13.3'
38+
arch: x64
39+
defines: ''
40+
- cuda: '13.4'
41+
arch: arm64
42+
defines: '-DCMAKE_TOOLCHAIN_FILE=cmake/arm64-windows-msvc-cuda.cmake'
3343

3444
steps:
3545
- name: Clone
@@ -39,12 +49,13 @@ jobs:
3949
- name: ccache
4050
uses: ggml-org/ccache-action@v1.2.21
4151
with:
42-
key: release-windows-2022-x64-cuda-${{ matrix.cuda }}
52+
key: release-windows-2022-${{ matrix.arch }}-cuda-${{ matrix.cuda }}
4353

4454
- name: Install Cuda Toolkit
4555
uses: ./.github/actions/windows-setup-cuda
4656
with:
4757
cuda_version: ${{ matrix.cuda }}
58+
cuda_arch: ${{ matrix.arch }}
4859

4960
- name: Install Ninja
5061
id: install_ninja
@@ -54,26 +65,21 @@ jobs:
5465
- name: Build
5566
id: cmake_build
5667
shell: cmd
57-
# TODO: Remove GGML_CUDA_CUB_3DOT2 flag once CCCL 3.2 is bundled within CTK and that CTK version is used in this project
5868
run: |
59-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
69+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch == 'x64' && 'x64' || 'amd64_arm64' }}
6070
cmake -S . -B build -G "Ninja Multi-Config" ^
61-
-DLLAMA_BUILD_SERVER=ON ^
62-
-DLLAMA_BUILD_BORINGSSL=ON ^
63-
-DGGML_NATIVE=OFF ^
6471
-DGGML_BACKEND_DL=ON ^
65-
-DGGML_CPU_ALL_VARIANTS=ON ^
72+
-DGGML_NATIVE=OFF ^
73+
-DGGML_CPU=OFF ^
6674
-DGGML_CUDA=ON ^
67-
-DGGML_RPC=ON ^
68-
-DGGML_CUDA_CUB_3DOT2=ON
75+
-DLLAMA_BUILD_BORINGSSL=ON ${{ matrix.defines }}
6976
set /A NINJA_JOBS=%NUMBER_OF_PROCESSORS%-1
70-
cmake --build build --config Release -j %NINJA_JOBS% -t ggml
71-
cmake --build build --config Release
77+
cmake --build build --config Release -j %NINJA_JOBS% --target ggml-cuda
7278
7379
- name: ccache-clear
7480
uses: ./.github/actions/ccache-clear
7581
with:
76-
key: release-windows-2022-x64-cuda-${{ matrix.cuda }}
82+
key: release-windows-2022-${{ matrix.arch }}-cuda-${{ matrix.cuda }}
7783

7884
hip:
7985
runs-on: windows-2022

‎.github/workflows/build-openvino.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939

4040
env:
4141
# Sync versions in build-openvino.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile
42-
OPENVINO_VERSION_MAJOR: "2026.2.1"
43-
OPENVINO_VERSION_FULL: "2026.2.1.21919.ede283a88e3"
42+
OPENVINO_VERSION_MAJOR: "2026.3"
43+
OPENVINO_VERSION_FULL: "2026.3.0.22451.bd8d6542e3c"
4444

4545
steps:
4646
- name: Clone
@@ -81,23 +81,23 @@ jobs:
8181
# TODO: fix and re-enable the `test-llama-archs` test below
8282
run: |
8383
cd ${{ github.workspace }}
84-
ctest --test-dir build/ReleaseOV -L main -E "test-llama-archs" --verbose --timeout 2000
84+
ctest --test-dir build/ReleaseOV -L main -E "test-llama-archs|test-recurrent-state-rollback-nemotron-h" --verbose --timeout 2000
8585
8686
- name: Test (GPU)
8787
id: cmake_test_gpu
8888
# TODO: fix and re-enable the `test-llama-archs` test below
8989
run: |
9090
cd ${{ github.workspace }}
9191
export GGML_OPENVINO_DEVICE=GPU
92-
ctest --test-dir build/ReleaseOV -L main -E "test-llama-archs" --verbose --timeout 3000
92+
ctest --test-dir build/ReleaseOV -L main -E "test-llama-archs|test-recurrent-state-rollback-nemotron-h" --verbose --timeout 3000
9393
9494
openvino-windows-2022:
9595
runs-on: windows-2022
9696

9797
env:
9898
# Sync versions in build-openvino.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile
99-
OPENVINO_VERSION_MAJOR: "2026.2.1"
100-
OPENVINO_VERSION_FULL: "2026.2.1.21919.ede283a88e3"
99+
OPENVINO_VERSION_MAJOR: "2026.3"
100+
OPENVINO_VERSION_FULL: "2026.3.0.22451.bd8d6542e3c"
101101

102102
steps:
103103
- name: Clone
@@ -166,4 +166,4 @@ jobs:
166166
call "%OPENVINO_ROOT%\setupvars.bat"
167167
168168
cd build
169-
ctest --test-dir ReleaseOV -L main -E "test-llama-archs" -C Release --verbose --timeout 3000
169+
ctest --test-dir ReleaseOV -L main -E "test-llama-archs|test-recurrent-state-rollback-nemotron-h" -C Release --verbose --timeout 3000

‎.github/workflows/build-rpc.yml‎

Lines changed: 0 additions & 66 deletions
This file was deleted.

‎.github/workflows/build-self-hosted.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ jobs:
288288

289289
env:
290290
# Sync versions in build.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile
291-
OPENVINO_VERSION_MAJOR: "2026.2.1"
292-
OPENVINO_VERSION_FULL: "2026.2.1.21919.ede283a88e3"
291+
OPENVINO_VERSION_MAJOR: "2026.3"
292+
OPENVINO_VERSION_FULL: "2026.3.0.22451.bd8d6542e3c"
293293

294294
steps:
295295
- name: Clone

0 commit comments

Comments
 (0)