58 Commits

Author SHA1 Message Date
Jianwei Dong
15c624dcae Fix/sglang kt detection (#1875)
* [feat]: simplify sglang installation with submodule, auto-sync CI, and version alignment

- Add kvcache-ai/sglang as git submodule at third_party/sglang (branch = main)
- Add top-level install.sh for one-click source installation (sglang + kt-kernel)
- Add sglang-kt as hard dependency in kt-kernel/pyproject.toml
- Add CI workflow to auto-sync sglang submodule daily and create PR
- Add CI workflow to build and publish sglang-kt to PyPI
- Integrate sglang-kt build into release-pypi.yml (version.py bump publishes both packages)
- Align sglang-kt version with ktransformers via SGLANG_KT_VERSION env var injection
- Update Dockerfile to use submodule and inject aligned version
- Update all 13 doc files, CLI hints, and i18n strings to reference new install methods

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [build]: bump version to 0.5.2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [build]: rename PyPI package from kt-kernel to ktransformers

Users can now `pip install ktransformers` to get everything
(sglang-kt is auto-installed as a dependency).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Revert "[build]: rename PyPI package from kt-kernel to ktransformers"

This reverts commit e0cbbf6364.

* [build]: add ktransformers meta-package for PyPI

`pip install ktransformers` now works as a single install command.
It pulls kt-kernel (which in turn pulls sglang-kt).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [fix]: show sglang-kt package version in kt version command

- Prioritize sglang-kt package version (aligned with ktransformers)
  over sglang internal __version__
- Update display name from "sglang" to "sglang-kt"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [fix]: improve sglang-kt detection in kt doctor and kt version

Recognize sglang-kt package name as proof of kvcache-ai fork installation.
Previously both commands fell through to "PyPI (not recommended)" for
non-editable local source installs. Now version.py reuses the centralized
check_sglang_installation() logic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [build]: bump version to 0.5.2.post1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 16:54:48 +08:00
Jianwei Dong
6d2d7cb057 bump to 0.5.0.post1 (#1771) 2025-12-30 11:09:54 +08:00
Jianwei Dong
47b1bfcff6 Update release-pypi.yml (#1770) 2025-12-30 10:47:28 +08:00
Jianwei Dong
9adc91714f Remove kt-kernel-cuda, kt-kernel uses the version with cuda (#1769) 2025-12-30 10:23:58 +08:00
Jianwei Dong
4b235cdaa4 fix cuda wheel build (#1766) 2025-12-29 12:42:06 +08:00
Jianwei Dong
7c127d9fd0 Update release-pypi.yml (#1764) 2025-12-29 11:48:55 +08:00
Jianwei Dong
559a3ad4ac fix pypi cuda install (#1763) 2025-12-29 11:19:43 +08:00
Jianwei Dong
661e19a8e5 Update release-pypi.yml (#1726) 2025-12-16 20:37:20 +08:00
Jianwei Dong
5ba3fb56d1 Update release-pypi.yml (#1725) 2025-12-16 20:30:03 +08:00
Jianwei Dong
3126b8deaa Update release-pypi.yml (#1724) 2025-12-16 17:45:29 +08:00
Jianwei Dong
6dcacd9daf Update release-pypi.yml (#1723) 2025-12-16 17:42:28 +08:00
Jianwei Dong
fe8049d3a9 Update release-pypi.yml (#1722) 2025-12-16 17:35:29 +08:00
Jianwei Dong
5ff0026fc1 Update release-pypi.yml (#1721) 2025-12-16 17:29:29 +08:00
Jianwei Dong
1f79f6da92 [feat](kt-kernel): Add automatic deployment workflow (#1719) 2025-12-16 15:20:06 +08:00
Jianwei Dong
fef6dd98a8 add accuracy and performance test (#1643) 2025-11-27 10:56:39 +08:00
Jianwei Dong
51745a9ea1 add ci (#1642) 2025-11-25 20:52:08 +08:00
liam Yuan
2762012039 fix typo 2025-04-29 13:20:03 +08:00
Azure-Tang
d98433c2d1 update git action env, add USE_BALANCE_SERVE=1 2025-04-01 12:58:28 +00:00
Azure-Tang
aeabd783b0 update git action env, add BALANCE_SERVE=1 2025-04-01 11:21:55 +00:00
SkqLiao
e7d7d2705c rename CI/CD 2025-03-20 10:11:24 +08:00
SkqLiao
bad334fa5b fix path 2025-03-19 21:28:58 +08:00
SkqLiao
bc369b256c add CI/CD for human eval score benchmarking 2025-03-19 21:25:21 +08:00
SkqLiao
c66ca65778 write to log 2025-03-15 17:10:44 +08:00
SkqLiao
a1891b845d remove unsupprted paramters, add force think 2025-03-15 17:04:42 +08:00
SkqLiao
4e23a4c024 split two test 2025-03-15 11:32:43 +08:00
SkqLiao
0899b7dde6 remove file output est 2025-03-15 03:17:35 +08:00
SkqLiao
570c98c52d remove output test 2025-03-15 03:17:17 +08:00
SkqLiao
6385308ff0 replace sed with awk 2025-03-15 03:11:26 +08:00
SkqLiao
9d19b7b4d4 fix sed 2025-03-15 03:03:38 +08:00
SkqLiao
336b5dd590 fix sed command 2025-03-15 02:55:36 +08:00
SkqLiao
2ed4dff85d fix command typo 2025-03-15 02:51:03 +08:00
SkqLiao
f21ea700f3 fix term 2025-03-15 02:45:35 +08:00
SkqLiao
0be19c39e9 change cicd option default 2025-03-15 02:37:54 +08:00
SkqLiao
a31e09969f fix typo 2025-03-15 02:37:08 +08:00
SkqLiao
129e013b41 rename cicd 2025-03-15 02:36:37 +08:00
SkqLiao
57cf449a97 fix command 2025-03-15 02:35:56 +08:00
SkqLiao
9812d57c11 fix typo, logging to file 2025-03-15 02:31:49 +08:00
SkqLiao
12949c8acd fix default options 2025-03-15 01:47:14 +08:00
SkqLiao
bd9dc55a8d fix option typos 2025-03-15 01:45:49 +08:00
SkqLiao
6c98bb6009 modify job name 2025-03-15 01:45:07 +08:00
SkqLiao
8c51f520dd fix install issue & add test 2025-03-15 01:43:38 +08:00
SkqLiao
4e1a7630aa fix cicd script 2025-03-14 23:13:39 +08:00
SkqLiao
a8d159771e fix flash_attn whl path 2025-03-14 23:09:37 +08:00
Jiaqi Liao
7d96e2eeba fix environment name 2025-03-03 14:01:40 +08:00
Jiaqi Liao
3d62579a6a fix environment name 2025-03-03 13:55:40 +08:00
Jiaqi Liao
5fe0d138ca add install job for self-host testing 2025-03-03 13:52:13 +08:00
liam
a0e7afa432 fox docker build 2025-02-28 11:25:34 +08:00
liam
ed74f91a25 docker-iamge workflow 2025-02-20 22:27:51 +08:00
liam
a6aee1c54a Merge branch 'main' of https://github.com/kvcache-ai/ktransformers into main 2025-02-20 22:00:55 +08:00
liam
574b13390b fin docker-image 2025-02-20 18:57:47 +08:00