Add Linux Vulkan support for local inference (#9038)

Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
jh-block
2026-05-07 09:12:18 +02:00
committed by GitHub
parent d7df3fb431
commit f325a9d8e3
15 changed files with 104 additions and 27 deletions
+5 -1
View File
@@ -117,7 +117,11 @@ jobs:
cross --version
export CC="${{ matrix.cc || ''}}"
cross build --release --target ${TARGET} -p goose-cli
FEATURE_ARGS=()
if [[ "${TARGET}" == *-unknown-linux-gnu ]]; then
FEATURE_ARGS=(--features vulkan)
fi
cross build --release --target ${TARGET} -p goose-cli "${FEATURE_ARGS[@]}"
- name: Setup Rust (Windows)
if: matrix.os == 'windows'
+5 -2
View File
@@ -79,7 +79,10 @@ jobs:
protobuf-compiler \
flatpak \
flatpak-builder \
elfutils
elfutils \
libvulkan-dev \
libvulkan1 \
glslc
- name: Setup Flatpak Runtimes
run: |
@@ -110,7 +113,7 @@ jobs:
source ./bin/activate-hermit
export TARGET="x86_64-unknown-linux-gnu"
rustup target add "${TARGET}"
cross build --release --target ${TARGET} -p goose-server
cross build --release --target ${TARGET} -p goose-server --features vulkan
- name: Copy binaries into Electron folder
run: |
+5 -2
View File
@@ -444,7 +444,10 @@ jobs:
libappindicator3-dev \
librsvg2-dev \
patchelf \
protobuf-compiler
protobuf-compiler \
libvulkan-dev \
libvulkan1 \
glslc
- name: Update versions
if: inputs.version != ''
@@ -489,7 +492,7 @@ jobs:
if: inputs.cli-run-id == ''
run: |
source ./bin/activate-hermit
cargo build --release -p goose-cli --bin goose
cargo build --release -p goose-cli --bin goose --features vulkan
- name: Prepare goose binary with target triple
if: inputs.cli-run-id == ''