mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1713] SIGILL on Cascade Lake #1093
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#1093
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 @zymurgy on GitHub (Dec 13, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1713
Originally assigned to: @KMSorSMS on GitHub.
Reminder
System Info
System is a dual Xeon Silver 4216 and a single RTX 3090. When I build kt-kernel for Cascade Lake:
export CPUINFER_CPU_INSTRUCT=AVX512
export CPUINFER_ENABLE_AMX=OFF
./install.sh deps && ./install.sh build --manual
I get a SIGILL when loading the model. I tracked this down to kt-kernel trying to execute a vcvtne2ps2bf16 instruction which is not supported on Cascade Lake. It looks like -mavx512bf16 is being passed during the build phase? I changed CPUINFER_CPU_INSTRUCT=AVX2 and the model loaded with no issues, but would like to test the performance benefits of AVX512 on Cascade Lake.
Reproduction
Others
No response
@KMSorSMS commented on GitHub (Dec 15, 2025):
This is a bug that was introduced by our setup.py and camke. Thx.
@NukePeace commented on GitHub (Dec 17, 2025):
see https://github.com/kvcache-ai/ktransformers/issues/1727