mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #766] [Bug] bash install.sh subprocess.CalledProcessError #554
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#554
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 @zijin-zj on GitHub (Mar 2, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/766
Originally assigned to: @Azure-Tang on GitHub.
Checklist
Describe the bug
【软件环境】
python 3.12.9
cuda 12.4
pytorch 2.5.1+cu124
gcc 11.4.0
cmake 3.31.6
【硬件环境】
4090 内存1T 硬盘1T
【执行步骤】
下载ktransformers压缩包到本地,然后上传到显卡服务器,到 /ktransformers 目录执行 bash install.sh,在 Building wheel for ktransformers (pyproject.toml) 步骤,发生异常
【异常日志】
Requirement already satisfied: jsonpointer>=1.9 in /root/miniconda3/lib/python3.12/site-packages (from jsonpatch<2.0,>=1.33->langchain-core<1.0.0,>=0.3.35->langchain>=0.2.0->ktransformers==0.2.1+cu124torch25fancy) (2.1)
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
╰─> [1848 lines of output]
Using native cpu instruct
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312/ktransformers
copying ktransformers/init.py -> build/lib.linux-x86_64-cpython-312/ktransformers
copying ktransformers/local_chat.py -> build/lib.linux-x86_64-cpython-312/ktransformers
running egg_info
creating ktransformers.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
writing manifest file 'ktransformers.egg-info/SOURCES.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'
no previously-included directories found matching 'third_party/llama.cpp/models'
warning: no directories found matching 'ktransformers/website/dist'
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'
/root/miniconda3/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'ktransformers.configs' 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)
Reproduction
bash install.sh
Environment
【软件环境】
python 3.12.9
cuda 12.4
pytorch 2.5.1+cu124
gcc 11.4.0
cmake 3.31.6
【硬件环境】
4090 内存1T 硬盘1T
@twd123-a commented on GitHub (Mar 6, 2025):
请问解决了吗
@twd123-a commented on GitHub (Mar 6, 2025):
我也遇到同样的问题
@yeruimin commented on GitHub (Mar 11, 2025):
遇到同样问题,卡住了