Skip to content

Commit f4fb6dc

Browse files
committed
chore: update build configurations for Vulkan support and version bump
1 parent 71a32ef commit f4fb6dc

40 files changed

Lines changed: 698 additions & 44 deletions

.github/workflows/build-sidecar.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
accel: vulkan
3535
- os: windows-2022
3636
triple: win-x64
37-
accel: vulkan
37+
accel: cpu
3838
runs-on: ${{ matrix.os }}
3939
name: ${{ matrix.triple }}
4040
defaults:
@@ -52,7 +52,7 @@ jobs:
5252
sudo apt-get install -y cmake build-essential libvulkan-dev
5353
5454
- name: Install Vulkan SDK (Linux + Windows)
55-
if: matrix.accel == 'vulkan'
55+
if: matrix.accel == 'vulkan' || runner.os == 'Windows'
5656
uses: humbletim/install-vulkan-sdk@v1.2
5757
with:
5858
version: 1.4.309.0
@@ -100,6 +100,13 @@ jobs:
100100
LLAMA_ACCEL: ${{ matrix.accel }}
101101
run: ./scripts/build-llama.ps1
102102

103+
- name: Build experimental Vulkan backend (Windows)
104+
if: runner.os == 'Windows'
105+
shell: pwsh
106+
env:
107+
LLAMA_ACCEL: vulkan
108+
run: ./scripts/build-llama.ps1
109+
103110
- name: Build gateway (PyInstaller)
104111
if: runner.os != 'Windows'
105112
shell: bash

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,13 @@ jobs:
193193
irm https://astral.sh/uv/install.ps1 | iex
194194
Add-Content $env:GITHUB_PATH "$env:USERPROFILE\.local\bin"
195195
196-
- name: Build llama-server
196+
- name: Build llama-server (CPU default)
197+
working-directory: minicpm-sidecar
198+
env:
199+
LLAMA_ACCEL: cpu
200+
run: ./scripts/build-llama.ps1
201+
202+
- name: Build experimental Vulkan backend
197203
working-directory: minicpm-sidecar
198204
env:
199205
LLAMA_ACCEL: vulkan
6.22 KB
Loading
582 Bytes
Loading
13.1 KB
Loading
1.29 KB
Loading
2.12 KB
Loading
28.9 KB
Loading
2.89 KB
Loading
121 KB
Loading

0 commit comments

Comments
 (0)