hex/.github
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax ab2e819f1a
x86_64: keep ggml on x86-64-v3; refuse older CPUs with a clear message (#592) (#614)
* x86_64: keep ggml on x86-64-v3 and refuse older CPUs with a clear message (#592)

Reverts #595's Ivy Bridge floor: it slowed CPU transcription for everyone. ggml goes back to its x86-64-v3 defaults (AVX2, BMI2, FMA, F16C). Hex's own Rust stays baseline x86-64, and the first thing main does on Linux and Windows x86_64 is check AVX2/BMI2/FMA/F16C with is_x86_feature_detected!. Without them Hex prints and shows "Hex needs a 2013 or newer processor (Intel Haswell / AMD Excavator or later) with AVX2. This PC's processor isn't supported." (a native MessageBox on Windows; stderr, which the journal logs, and zenity, kdialog or notify-send on Linux) and exits 1. Every command is covered except --version and --help, which installers and the updater run. ggml-cpu has no static constructors, so nothing runs v3 code before main.

The release guard now asserts the opposite: ggml's CPU libraries must hold AVX2 and FMA (the build targets v3) and no AVX-512 or AMX. Docs state the requirement.

* cpu_floor: harden DLL search first; no dialog under systemd, in a terminal or for hex service; guard rejects AVX-VNNI

* cpu_floor: always exit 1; Windows always shows the message box; Linux skips the dialog in a terminal, under NOTIFY_SOCKET, or for hex service
2026-10-31 13:20:56 -04:00
..
agent-policy Add hex-agent-policy check for issue-pipeline pull requests (#371) 2026-10-29 11:06:51 -04:00
assets docs: improve the GitHub project page and issue intake (#72) 2026-09-03 12:41:25 -04:00
ISSUE_TEMPLATE chore: drop the last kitlangton URLs (#379) 2026-10-29 11:25:32 -04:00
release x86_64: keep ggml on x86-64-v3; refuse older CPUs with a clear message (#592) (#614) 2026-10-31 13:20:56 -04:00
workflows Lowercase release file names; README downloads by channel (#456) (#601) 2026-10-31 12:51:09 -04:00
CODEOWNERS ci(release): unpack a lone artifact under its name, keep Windows builds' tree clean; CODEOWNERS for .github 2026-10-27 17:26:20 -04:00