mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #419] strata-vision.exe v0.1.32 prebuilt crashes (0xC000001D) on CPUs without AVX-512: unguarded AVX-512 vmovups at strata_vision+0x285545 #193
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#193
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lxfebd on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/419
Summary
The prebuilt
strata-vision.exeshipped in the v0.1.32 release crashes withSTATUS_ILLEGAL_INSTRUCTION(0xC000001D) on any CPU without AVX-512. A debugger shows the faulting instruction is an EVEX-encodedvmovups zmm0inside strata-vision.exe itself, executed during startup with no CPUID runtime dispatch. The main engine binary from the same release is fine — it correctly falls back (this CPU has no AVX-512: the expert kernels run on AVX-2) — and the v0.1.27strata-vision.exeworks on the same machine and model files.This affects a large installed base: every Intel consumer chip 12th–14th gen (AVX-512 fused-disabled) and AMD Zen 4 has no AVX-512. The release advertises
"portable": truein BUILD.json, so the runtime dispatch is expected to cover this.Environment
BUILD.json:{"version": "0.1.32", "source": "release", "cuda": "13.0", "vision": "gpu", "portable": true, "vision_archs": [75, 86, 89, 120], "ptx": true}strata-vision.exe= 107,928,064 bytes, sha256 beginsbd5bd917c4d34849…strata-vision.exe= 90,725,376 bytes, sha256 begins98ffde98f5388b51…, works fine)Reproduce
0xC000001D, empty stderr, no READY line. The v0.1.27 binary printsREADY 2560in ~6 s with the same files.--flash-attn off→ same crash, so it is not the new #288 flash-attn path.--gpu→ggml_cuda_init: failed to initialize CUDA …is printed (CUDA deliberately unavailable), then the same crash on the pure-CPU path — so it is a host-code issue, not a GPU kernel issue.Crash evidence (WinDbg
cdb.exe)62 …= EVEX prefix,zmm0= 512-bit register: an AVX-512 instruction reached unconditionally during startup on a non-AVX-512 CPU. Whatever introduced it between 0.1.27 and 0.1.32 vision builds was compiled without runtime dispatch (e.g. a/arch:AVX512TU or an AVX-512 intrinsic constant-load in an init path).Impact / workaround in use
Vision is completely unavailable on non-AVX-512 CPUs with the 0.1.32 prebuilt (
RuntimeError: the vision encoder did not start:). We pinned the 0.1.27strata-vision.exenext to the 0.1.32 engine as a workaround and it works end-to-end (image requests answered via/v1/messages).Suggest: add a CPUID guard (or build the vision exe with the same dispatch policy as the main engine), and maybe a CI smoke run on a non-AVX-512 runner.
@charnet3d commented on GitHub (Oct 1, 2026):
Same issue on my side, had to use Hermes to recompile it with the option:
-DSTRATA_PORTABLE=ON => AVX2 CPU baseline (no AVX-512), static MSVC runtime matching how the main engine is built.
@Niko1221 commented on GitHub (Oct 1, 2026):
Thanks for the analysis. This is the same as #411: fixed in 0.1.33, released just now. The image encoder is built portable again (AVX2, no OpenMP) and is checked for AVX-512 instructions. Run
START-HERE.bat(Linux:./setup.sh) once to update.