echo_yip on X: Settings → Privacy's model would not start, "pf-serve
(Metal): signal: illegal instruction" and then the same on the CPU.
pf-serve for x86 (darwin-amd64, linux-amd64, windows-amd64) is built
with GGML_AVX, AVX2, FMA, F16C and BMI2 on and GGML_NATIVE off, so on a
CPU without AVX2 (a Celeron or Pentium, a Mac before Haswell) and under
Rosetta before macOS 15, which has no AVX at all, ggml's first vector
instruction ends it with SIGILL. Two tries, Metal then CPU, are what
magpie's Mac start does, so this was a Mac: most likely the Intel DMG
on Apple silicon.
build.sh now also builds pf-serve-base for each x86 target, with SSE4.2
on and AVX, AVX2, FMA, F16C and BMI2 off, and puts it in the same zip.
The workflow's start check runs it too where the runner can. magpie
picks it on a CPU without them in the next commit; a pf-v3 tag
publishes these zips.
Run: privacy-filter workflow on pf/base, run 41255213505, green on
all five targets; darwin-amd64, linux-amd64 and windows-amd64 each
have pf-serve-base in their zip. objdump -d of the CI binaries:
pf-serve ymm 20613 / 12222 / 12230, vfmadd 859 / 714 / 686
pf-serve-base ymm 0, VEX-encoded xmm 0, vfmadd 0 (all three)
Linux box (magpie-desktop), the pinned model (sha256 80efc180...),
PF_DEVICE=cpu, qemu-x86_64-static 8.2 -cpu Nehalem (SSE4.2, no AVX):
pf-v2's released pf-serve: signal 4 (Illegal instruction), 132
this build's pf-serve: signal 4, 132
this build's pf-serve-base: {"device":"cpu",...}, exit 0 (135 s
under emulation)
Natively, pf-serve and pf-serve-base find the same spans in an
English, a Chinese and a secrets text (names, email, phones, address,
password).
Not tried: a real CPU without AVX2, and a Mac before macOS 15 under
Rosetta; qemu stands in for the first.