feat: enable acceleration via vulkan

This commit is contained in:
haritabh-z01 2025-12-10 10:59:49 +05:30
parent d45c29766e
commit 4a0353dd16
7 changed files with 33 additions and 18 deletions

View file

@ -5,6 +5,7 @@ on:
branches:
- feat.windows.support
- feat/whisper.migration
- feat/vulkan-support
tags:
- 'v*'
workflow_dispatch:
@ -71,12 +72,12 @@ jobs:
node-version: '24.1.0'
cache: 'pnpm'
- name: Install CUDA Toolkit
- name: Install Vulkan SDK
if: matrix.os == 'windows'
uses: Jimver/cuda-toolkit@v0.2.15
uses: humbletim/install-vulkan-sdk@v1.2
with:
cuda: '12.4.1'
method: 'network'
version: 1.3.290.0
cache: true
- name: Log Node.js architecture and platform
run: |
@ -98,11 +99,11 @@ jobs:
GGML_NATIVE: OFF # CI mac runners lack i8mm support; keep CPU features conservative here
run: pnpm --filter @amical/whisper-wrapper build:native
- name: Build whisper native binaries (cuda)
- name: Build whisper native binaries (vulkan)
if: matrix.os == 'windows'
env:
GGML_NATIVE: OFF
run: pnpm --filter @amical/whisper-wrapper build:native:cuda
run: pnpm --filter @amical/whisper-wrapper build:native:vulkan
- name: Download Node.js binaries
working-directory: apps/desktop