kvcache-ai / kvcache-ai/ktransformers
[Bug] cmake --build csrc/balance_serve/build --verbose - report error
- Dominant language
- Python
- Stars
- 19.5k
- Forks
- 1.6k
- Avg merge
- 19h 32m
- Merged PRs (30d)
- 27
Description
### Checklist
- [x] 1. I have searched related issues but cannot get the expected help.
- [x] 2. The bug has not been fixed in the latest version.
- [x] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
- [ ] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/kvcache-ai/ktransformers/discussions. Otherwise, it will be closed.
- [ ] 5. To help the community, I will use Chinese/English or attach an Chinese/English translation if using another language. Non-Chinese/English content without translation may be closed.
### Describe the bug
1.git clone ktransformers at 2025/07/02
2.git submodule update --init --recursive
3. execute USE_BALANCE_SERVE=1 bash install.sh
4. then there is an error when process the command: cmake --build ktransformers/csrc/balance_serve/build --verbose --parallel=20
5. directly to execute the command cmake --build ktransformers/csrc/balance_serve/build --verbose --parallel=20.
it will show detail errors

### Reproduction
1.git clone ktransformers at 2025/07/02
2.git submodule update --init --recursive
3. execute USE_BALANCE_SERVE=1 bash install.sh
4. then there is an error when process the command: cmake --build ktransformers/csrc/balance_serve/build --verbose --parallel=20
5. directly to execute the command cmake --build ktransformers/csrc/balance_serve/build --verbose --parallel=20.
it will show detail errors
### Environment
ubuntu 22.04
nvcc --version: cuda12.0
nvidia-smi: cuda 12.8 , driver 570.124.04
Contributor guide
Research direction
Start by reading install.sh and reproducing the USE_BALANCE_SERVE=1 build at csrc/balance_serve/build with the stated CMake command. Capture the full verbose error and compare it with the Ubuntu, CUDA, and driver versions reported in the issue. Done means the balance_serve build completes successfully or the incompatibility is documented and isolated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100