Commit Graph
4 Commits
Author SHA1 Message Date
debpalash 6d32e307e3 fix(gguf): install SPIRV-Headers for the Windows Vulkan build
Pinned ggml now requires find_package(SPIRV-Headers CONFIG), which the
LunarG SDK does not provide. Install the commit-checked Khronos release
matching the SDK into a private prefix; read UTF-8 explicitly in the
bundle test.
2026-11-11 13:58:59 +05:30
velixio bcd0d734ce fix(build): stop the Vulkan header probe racing the compiler
Under pipefail, `printf | c++` failed whenever c++ exited before reading its
input: printf died of SIGPIPE and the probe reported no Vulkan headers. The
test's stand-in compiler does exactly that, so tests/test_gguf_vulkan_build.py
failed at random (seen on #3787). A here-string has no second process to race.
2026-11-08 02:07:36 +05:30
debpalash 0a787fe0c2 Bound parallel compiles in the GGUF runtime build
A bare cmake --build -j compiled every ggml CPU variant at once and the
Linux runner OOM-killed cc1plus, so the linux-x86_64 runtime (now
shipped in the installers) never built. Limit jobs to the CPU count.
2026-10-27 15:26:26 +05:30
Michael Maertzdorfanddebpalash f7adaaa727 feat(engine): add optional Vulkan builds and native device selection for OmniVoice GGUF (#3042)
* feat(engine): add optional Vulkan builds and native device selection for OmniVoice GGUF

Build optional native Vulkan compute with CPU fallback and explicit device choices; preserve installed quant pairs offline and require explicit installation for missing weights.

* fix(gguf): keep first-run weight download and verify the whole native runtime

- An installed quant pair is still reused first; only a missing pair is
  downloaded, at the pinned revision, on first generate. Readiness checks
  the runtime binary again, so fresh installs work without a manual hf step.
- bin/checksums.sha256 now covers every ggml library the build copies, and
  listed libraries are verified before spawning (older manifests warn).
- The runtime runs with bin/ as its working directory, so ggml's dynamic
  backend loader cannot pick up libraries from the app's cwd.
- Invalid OMNIVOICE_GGUF_BACKEND/DEVICE values raise a typed engine error.
- Windows builds find the exe for both Visual Studio and Ninja generators.
- Move the CHANGELOG lines to a changelog.d fragment.

---------

Co-authored-by: debpalash <4178343+debpalash@users.noreply.github.com>
2026-10-26 05:17:58 +05:30