hex/.github
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 34b74d3e42
x86_64 releases: build ggml for the Ivy Bridge floor; guard against BMI2/AVX2/FMA (#592) (#595)
* x86_64 releases: build ggml for the Ivy Bridge floor and fail on BMI2/AVX2/FMA (issue #592)

GGML_NATIVE=OFF alone leaves ggml's GGML_AVX2/BMI2/FMA/F16C on, so Hex 3.0.0 on Windows x64 died with 0xc000001d (illegal instruction) on an Ivy Bridge Xeon E3-1220 V2 once transcription started (reported by @Hc-Web-Dev). Linux and Windows x86_64 release builds now pin SSE4.2 + AVX + F16C and turn AVX2, BMI2, FMA, AVX-VNNI, AVX-512 and AMX off (scripts/ggml-x86-baseline.txt), the floor transcribe.cpp already uses on Intel Macs. Runtime dispatch (GGML_BACKEND_DL + GGML_CPU_ALL_VARIANTS) needs shared ggml libraries, which our single static executable can't ship. CPU transcription on newer x86 CPUs loses AVX2/FMA kernels; Vulkan is unaffected.

.github/release/check-x86-baseline.sh guards both build jobs: the executable may hold no BMI2 instruction (3.0.0's Linux build holds 100; Rust crates that use AVX2/FMA/AVX-512 behind run-time detection use none), and the ggml static libraries no AVX2, BMI2, FMA or AVX-512. No crate sets target-cpu; the only rustflags are +crt-static; no other C/C++ dependency builds with -march=native or AVX2 (Moonshine/ONNX are gone).

* check-x86-baseline: fail on missing inputs or empty disassembly; match llvm-objdump's suffixed BMI2 mnemonics
2026-10-31 12:21:26 -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 releases: build ggml for the Ivy Bridge floor; guard against BMI2/AVX2/FMA (#592) (#595) 2026-10-31 12:21:26 -04:00
workflows x86_64 releases: build ggml for the Ivy Bridge floor; guard against BMI2/AVX2/FMA (#592) (#595) 2026-10-31 12:21:26 -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