mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #369] Windows源码安装执行install.bat时出现问题 #243
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#243
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 @ICE-awa on GitHub (Feb 16, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/369
Building wheels for collected packages: ktransformers
Building wheel for ktransformers (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for ktransformers (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [3442 lines of output]
Using native cpu instruct
running bdist_wheel
running build
running build_py
copying ktransformers\local_chat.py -> build\lib.win-amd64-cpython-311\ktransformers
copying ktransformers_init_.py -> build\lib.win-amd64-cpython-311\ktransformers
running egg_info
writing ktransformers.egg-info\PKG-INFO
writing dependency_links to ktransformers.egg-info\dependency_links.txt
writing entry points to ktransformers.egg-info\entry_points.txt
writing requirements to ktransformers.egg-info\requires.txt
writing top-level names to ktransformers.egg-info\top_level.txt
reading manifest file 'ktransformers.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'local_chat.py'
no previously-included directories found matching 'ktransformers\logs'
warning: no previously-included files matching 'pycache' found anywhere in distribution
warning: no files found matching 'KTransformersOps.*.so'
adding license file 'LICENSE'
writing manifest file 'ktransformers.egg-info\SOURCES.txt'
C:\Users\hayde.conda\envs\ktransformers\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'ktransformers.ktransformers_ext.cuda' is absent from the
packagesconfiguration.......
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ktransformers
Failed to build ktransformers
ERROR: Failed to build installable wheels for some pyproject.toml based projects (ktransformers)
Installation completed successfully
cuda试过12.1 12.4 12.8都不行
cmake 3.31.5
cpu i7-14700hx gpu 4070laptop
挂了梯子,git submodule init和update也执行了,跟着官方的install.md文档走的
折腾两天了,不知道问题出在哪里,谢谢各位佬佬
@hahassss commented on GitHub (Feb 16, 2025):
兄弟一样
#352 没有解决
@IAMJOYBO commented on GitHub (Feb 17, 2025):
解决了吗,兄弟,我也是一样啊,新创建的conda环境,python=3.11.11

@shijd32 commented on GitHub (Feb 17, 2025):
CMake 装了吗
@siitao commented on GitHub (Feb 18, 2025):
环境变量添加了吗 然后还需要手动安装下依赖 pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu124
@piggggyy commented on GitHub (Feb 18, 2025):
请问cuda版本是多少
@ICE-awa commented on GitHub (Feb 19, 2025):
装了的
@ICE-awa commented on GitHub (Feb 19, 2025):
是手动安装的,不过我现在降级到Cuda12.1 所以我用的cu121下的
环境变量?指的是哪一个啊 我cl.exe的环境变量配了,cmake官网下的最新版,命令行cmake --version是有正常显示版本的
@KEVINEAST333 commented on GitHub (Feb 19, 2025):
解决了吗 我也遇到了这个问题
@lsm03624 commented on GitHub (Feb 22, 2025):
官方文档没写要2.4,一定要2.4版本才行吗?
@lsm03624 commented on GitHub (Feb 22, 2025):
算了,改用linux部署吧,win里面很多莫名其妙的问题。
@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 的贡献!