fix(whisper): honor bundled GPU libs and skip software Vulkan devices (#674)
* fix(whisper): use bundled GPU libs and skip software Vulkan devices AppImage 0.15.0 shipped a CPU-only pywhispercpp wheel, so the Settings GPU picker and host vulkaninfo never moved inference off the CPU. Rebuild pywhispercpp with Vulkan in the AppImage, log the libraries that actually load, skip llvmpipe in auto-select, and document how to verify. Fixes #604 * fix(appimage): pin gcc/g++ for Vulkan pywhispercpp rebuild Hosts that default cc/c++ to clang fail CMAKE's C++ test because clang does not search gcc's libstdc++ path. Default the rebuild to gcc/g++.
This commit is contained in:
@@ -49,7 +49,12 @@ jobs:
|
||||
gir1.2-rsvg-2.0 \
|
||||
librsvg2-common \
|
||||
libdbusmenu-gtk3-4 \
|
||||
libnotify4
|
||||
libnotify4 \
|
||||
cmake \
|
||||
ninja-build \
|
||||
build-essential \
|
||||
libvulkan-dev \
|
||||
glslc
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
@@ -97,6 +102,8 @@ jobs:
|
||||
ls -la dist/
|
||||
|
||||
- name: Build AppImage (x86_64)
|
||||
env:
|
||||
VOCALINUX_APPIMAGE_REQUIRE_VULKAN: "1"
|
||||
run: |
|
||||
bash packaging/appimage/build.sh dist/*.whl "${{ steps.version.outputs.version }}" dist
|
||||
ls -la dist/*.AppImage
|
||||
@@ -298,7 +305,12 @@ jobs:
|
||||
gir1.2-rsvg-2.0 \
|
||||
librsvg2-common \
|
||||
libdbusmenu-gtk3-4 \
|
||||
libnotify4
|
||||
libnotify4 \
|
||||
cmake \
|
||||
ninja-build \
|
||||
build-essential \
|
||||
libvulkan-dev \
|
||||
glslc
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
@@ -310,6 +322,8 @@ jobs:
|
||||
ls -la dist/
|
||||
|
||||
- name: Build AppImage (aarch64)
|
||||
env:
|
||||
VOCALINUX_APPIMAGE_REQUIRE_VULKAN: "1"
|
||||
run: |
|
||||
bash packaging/appimage/build.sh dist/*.whl "${{ needs.nightly.outputs.version }}" dist
|
||||
ls -la dist/*.AppImage
|
||||
|
||||
@@ -49,7 +49,12 @@ jobs:
|
||||
gir1.2-rsvg-2.0 \
|
||||
librsvg2-common \
|
||||
libdbusmenu-gtk3-4 \
|
||||
libnotify4
|
||||
libnotify4 \
|
||||
cmake \
|
||||
ninja-build \
|
||||
build-essential \
|
||||
libvulkan-dev \
|
||||
glslc
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
@@ -82,6 +87,8 @@ jobs:
|
||||
ls -la dist/
|
||||
|
||||
- name: Build AppImage (x86_64)
|
||||
env:
|
||||
VOCALINUX_APPIMAGE_REQUIRE_VULKAN: "1"
|
||||
run: |
|
||||
bash packaging/appimage/build.sh dist/*.whl "${{ steps.get_version.outputs.VERSION }}" dist
|
||||
ls -la dist/*.AppImage
|
||||
@@ -177,7 +184,12 @@ jobs:
|
||||
gir1.2-rsvg-2.0 \
|
||||
librsvg2-common \
|
||||
libdbusmenu-gtk3-4 \
|
||||
libnotify4
|
||||
libnotify4 \
|
||||
cmake \
|
||||
ninja-build \
|
||||
build-essential \
|
||||
libvulkan-dev \
|
||||
glslc
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
@@ -196,6 +208,8 @@ jobs:
|
||||
ls -la dist/
|
||||
|
||||
- name: Build AppImage (aarch64)
|
||||
env:
|
||||
VOCALINUX_APPIMAGE_REQUIRE_VULKAN: "1"
|
||||
run: |
|
||||
bash packaging/appimage/build.sh dist/*.whl "${{ steps.get_version.outputs.VERSION }}" dist
|
||||
ls -la dist/*.AppImage
|
||||
|
||||
@@ -213,7 +213,12 @@ jobs:
|
||||
gobject-introspection \
|
||||
libcairo-gobject2 \
|
||||
gir1.2-gtk-3.0 \
|
||||
portaudio19-dev
|
||||
portaudio19-dev \
|
||||
cmake \
|
||||
ninja-build \
|
||||
build-essential \
|
||||
libvulkan-dev \
|
||||
glslc
|
||||
|
||||
- name: Install GObject introspection dependencies
|
||||
run: |
|
||||
@@ -227,6 +232,8 @@ jobs:
|
||||
ls -la dist/
|
||||
|
||||
- name: Build AppImage
|
||||
env:
|
||||
VOCALINUX_APPIMAGE_REQUIRE_VULKAN: "1"
|
||||
run: |
|
||||
VERSION=$(grep -oP '__version__\s*=\s*"\K[^"]+' src/vocalinux/version.py)
|
||||
WHEEL=$(ls dist/*.whl)
|
||||
|
||||
Reference in New Issue
Block a user