mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #554] 如何完整编译 #404
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#404
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 @cnsdzbhm on GitHub (Feb 21, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/554
我没有avx2,pip dev install . 不能安装,请给个整体编译的说明或创建一个完整的makefile,就像llama.cpp或linux或openwrt一样,编译环境可以宽松些,毕竟编译和运行不是一个概念。有了这完整的编译环境将来就有可能会运行在不同的边缘设备上。
@fungaren commented on GitHub (Feb 21, 2025):
@cnsdzbhm commented on GitHub (Feb 23, 2025):
谢谢您的答复。我想知道ktransformers-0.2.1.post1+cu121torch23avx512-cp310-cp310-linux_x86_64.whl是通过那几个开关编译出来的,我没有AVX2,我想编译个ktransformers-0.2.1.post1+cu121torch23avx-cp310-cp310-linux_x86_64.whl,这个avx whl可以调整哪几个编译开关编译出来。能讲一下ktransformers-0.2.1.post1+cu121torch23avx512-cp310-cp310-linux_x86_64.whl完整的编译过程?
@fungaren commented on GitHub (Feb 24, 2025):
依赖一个 cpufeature 的库,搜一下这个关键字看下源码。另外,目前不支持 ARM
https://github.com/kvcache-ai/ktransformers/issues/447
@cnsdzbhm commented on GitHub (Feb 28, 2025):
关于avx cpu指令集的问题,在 ./ktransformers/ktransformers/ktransformers_ext/CMakeLists.txt 有option(LLAMA_AVX "llama: enable AVX" OFF) 开关,打开这个开关能行?或者说如何打开这个开关。./ktransformers/setup.py, class CpuInstructInfo: 函数没有AVX的实现,在这里或者后续要做什么工作。
@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 的贡献!
@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 的贡献!