mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #495] ktransformers V0.3报错Illegal instruction (core dumped) #352
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#352
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 @GodXuxilie on GitHub (Feb 19, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/495
在配置完ktransformers 0.3后,
运行如下命令后,
出现以下报错
之前有成功使用上ktransformers 0.2。不知道为什么用不了ktransformers 0.3?硬件1*A100, AMD EPYC 9654 (96 cpu cores).
有大神能帮下忙吗?
@minhe1 commented on GitHub (Feb 19, 2025):
0.3看说明是用了AMX指令,估计必须用新的Intel CPU才行,我没有试过,瞎猜的。
@loverara commented on GitHub (Feb 19, 2025):
我也这样,但是我用的cpu是Intel Xeon Gold 6240,有人知道如何解决吗?
@yansiyu550 commented on GitHub (Feb 19, 2025):
CPU需要支持AMX,支持AMX出现Illegal instruction (core dumped)问题可以试试这个:#320
@txg1550759 commented on GitHub (Feb 22, 2025):
我跑0.3 cpu不支持 amx 怎么弄?
能不能用这种方法,改造下可用?
@txg1550759 commented on GitHub (Feb 22, 2025):
cpu Intel(R) Xeon(R) Gold 5320 CPU
a800 80g
跑0.21本正常,跑0.3版本,也报这个,有人知道如何解决吗:
flashinfer not found, use triton for linux
using custom modeling_xxx.py.
AVX512F
Injecting model as ktransformers.operators.models . KDeepseekV2Model
Injecting model.embed_tokens as default
Injecting model.layers as default
Injecting model.layers.0 as default
Injecting model.layers.0.self_attn as ktransformers.operators.attention . KDeepseekV2Attention
Illegal instruction (core dumped)
@ArSrNa commented on GitHub (Feb 23, 2025):
先使用
cat /proc/cpuinfo,查看支持的指令集是avx2还是avx512,到release下载对应的安装包,比如avx512,python3.10,torch在2.4以上的就下载[ktransformers-0.2.1.post1+cu121torch24avx512-cp310-cp310-linux_x86_64.whl](https://github.com/kvcache-ai/ktransformers/releases/download/v0.2.1.post1/ktransformers-0.2.1.post1+cu121torch24avx512-cp310-cp310-linux_x86_64.whl)@loverara commented on GitHub (Feb 23, 2025):
0.3需要支持AMX你的cpu不支持哦
@ErvinXie commented on GitHub (Dec 11, 2025):
This issue has been automatically closed due to inactivity for 60 days.
If you believe this issue is still relevant, please feel free to reopen it with additional information or context.
Thank you for your contribution to KTransformers!
此 issue 因超过 60 天无活动而被自动关闭。
如果您认为此问题仍然存在,请随时重新打开并提供更多信息或上下文。
感谢您对 KTransformers 的贡献!