ggml-vulkan finds SPIRV-Headers' package but doesn't link its target, so
its include path never reached the compiler and both Vulkan builds
(linux-amd64, windows-amd64) failed on 'spv has not been declared'.
CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES puts it in.
Run: a syntax-only compile of ggml-vulkan.cpp's include block with the
fetched headers finds spirv/unified1/spirv.hpp; the CI run is the real
test.
ggml-vulkan asks for SPIRV-Headers' CMake config, so build.sh installs the
pinned SPIRV-Headers into .work and points cmake at it. Ubuntu 22.04 has no
glslc package; build.sh takes it from LunarG's 1.4.309.0 Linux SDK, checked
against the sha256 LunarG publishes. First CI run failed on both (run
39097128531).
pf-serve loads privacy-filter.cpp's GGUF model on the GPU (Metal, Vulkan)
when there is one, else the CPU, warms the kernels up, writes one JSON
hello line and then answers length-prefixed batches of texts with byte
spans. internal/pii (next) downloads and runs it on demand.
build.sh pins privacy-filter.cpp 735a6c28 (MIT) and patches two upstream
build bugs (ner.h lacks <cstdint>; ggml's power-throttling block needs a
newer mingw). The privacy-filter workflow builds darwin-arm64 (Metal),
darwin-amd64, linux-amd64/arm64 and windows-amd64 (cross, mingw); the
Vulkan targets get pf-serve-vulkan plus a CPU-only pf-serve for machines
with no Vulkan loader. A pf-v* tag publishes them as a prerelease.
Run: build.sh darwin-arm64 on an M4 Pro; pfclient.py against the q8 model:
hello in 5.4s (file cached), warm requests 9-18ms on Metal for Chinese
person/address/phone, email, secret and a 3 KB text. Other targets: not
built locally yet; this push is their first CI build.