Repository navigation
Releases
2026-11-29-0243
The prebuilt archive for recipe 2026-11-29-0243: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-29-0243 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-29-0243/prebuilt-2026-11-29-0243.tar.gz
PREBUILT=prebuilt-2026-11-29-0243.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
- A draft model's MoE layers stay out of the KT wrapper (
patches/sglang-tier0/14-draft-no-kt.patch, #15). With--kt-weight-pathset, a DSPARK or DFLASH draft loads all its experts from its checkpoint; the draft's weight load stopped with an IndexError before. - A lend with no KV page is not taken back for an allocation (patches 15 and 17 of
patches/sglang-tier1/, from #16).tools/hot-expert-spare-lending-test.pychecks it without torch or a GPU, and CI runs it. - A report from an RTX 4090 with two Xeon Platinum 8555C is filed under
reports/2026-11-14-1514/(#17). - SGLang stays at main
8c7ec052, and the kt-kernel patches are the same as at2026-11-14-1514. Run./setup.shagain after pulling this tag: the SGLang patches changed. - Qualified on one and two RTX 5070 Ti (
reports/2026-11-29-0243/): two GPUs from this archive decode 55.6 tok/s, first 35K prefill 20.3 s, NLL -0.0027 (SE 0.0041) from the reference; one GPU with the2026-11-14-1514archive 39.5 tok/s, 27.6 s, +0.0027 (SE 0.0047).
Current work is in yuzuri-deepseek-v4.1-flash-1017. New work lands there.
2026-11-14-1514
The prebuilt archive for recipe 2026-11-14-1514: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-14-1514 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-14-1514/prebuilt-2026-11-14-1514.tar.gz
PREBUILT=prebuilt-2026-11-14-1514.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
- GGUF experts: kt-kernel's x86 kernels now take IQ2_S, IQ3_XXS, IQ3_S, IQ4_NL and Q2_0, and the IQ4_LUT types kt-kernel repacks IQ2_S, IQ3_XXS and IQ3_S experts to at load (
patches/kt-llamafile-iquants.patch,patches/kt-llamafile-iq4lut.patch). The AVX2 IQ4_XS kernel is replaced: the old one saturated 16-bit sums. Other GGUF packs use these types. - The load runs one block of zeros through each expert tensor's kernel and stops with the type's name when this build has no kernel for it (
patches/kt-kernel-gguf-kernel-guard.patch). There is no slower path behind the kernels. SGLANG_MEM_FRACTIONdefaults to 1.0 inserve.shand the GGUF launch (it was 0.81). The pool covers the context and its pages are mapped as used, so the fraction decides nothing: the pool, the hot slots and the NLL are the same at both values.- SGLang stays at main
8c7ec052. The kt-kernel wheel in this archive is new; run./setup.shagain after pulling this tag. - Qualified on one and two RTX 5070 Ti from this archive (
reports/2026-11-14-1514/): two GPUs decode 54.4 tok/s, first 35K prefill 20.2 s, NLL -0.0006 (SE 0.0042) from the reference; one GPU 39.6 tok/s, 27.6 s, +0.0050 (SE 0.0037). The GGUF setup and check pass on the same archive.
2026-11-14-1234: prebuilt pieces (CI-built)
The prebuilt archive for recipe 2026-11-14-1234: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-14-1234 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-14-1234/prebuilt-2026-11-14-1234.tar.gz
PREBUILT=prebuilt-2026-11-14-1234.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
- SGLang moves from
58484246to main8c7ec052(793 commits). FlashInfer is 0.7.4. - Tier-0 patches 08
sm12x-indexerand 09indexer-score-in-placeare dropped: SGLang main now runs the V4.1 indexer through DeepGEMM on SM12x and scores in place itself. Tier 0 is nine patches. - On SM12x the decode indexer takes main's DeepGEMM path, so tier-1 patch 27
live-topkacts on SM89 only. Decode on two RTX 5070 Ti is unchanged. Seedocs/tier1.md§27. setup.shchecks the SGLang tree out again when the pinned commit moves. Before, an existing checkout whose patches kept their text stayed at the old commit. Run./setup.shagain after pulling this tag.- Qualified on one and two RTX 5070 Ti from this archive (
reports/2026-11-14-1234/): two GPUs decode 55.1 tok/s, first 35K prefill 20.1 s, NLL -0.0001 (SE 0.0047) from the reference; one GPU 39.4 tok/s, 27.6 s, +0.0037 (SE 0.0033). The GGUF setup and check pass on the same archive.
2026-11-05-0936: prebuilt pieces (CI-built)
The prebuilt archive for recipe 2026-11-05-0936: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-05-0936 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-05-0936/prebuilt-2026-11-05-0936.tar.gz
PREBUILT=prebuilt-2026-11-05-0936.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
- Tier-1 patch 27
live-topk: the decode indexer selects among the live positions instead of the graph capacity, on SM89 and SM12x, on by default (KT_IDX_LIVE_TOPK=0keeps the torch path). Two RTX 5070 Ti: decode +9.8 % at a 3.9K-token context, +7.1 % at 24K, +2.9 % at 122K;tools/nll.pyidentical token for token at equal hot slots. The one-CTA kernels are howl9003's (#7, #12); the length path for long rows is new. Seedocs/tier1.md§27. - The optional patch keeps the SM89 fused merge only (
patches/sglang-optional/01-sm89-fused-merge.patch). tools/test_live_topk.pychecks the kernels up to a 1M pool's capacity and replays captured graphs.- Qualified on one and two RTX 5070 Ti from this archive (
reports/2026-11-05-0936/): two GPUs decode 53.9 tok/s, NLL +0.0029 (SE 0.0043) from the reference; one GPU 39.1 tok/s, -0.0011 (SE 0.0047). The GGUF setup and check pass on the same archive.
2026-11-05-0048: prebuilt pieces (CI-built)
The prebuilt archive for recipe 2026-11-05-0048: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-05-0048 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-05-0048/prebuilt-2026-11-05-0048.tar.gz
PREBUILT=prebuilt-2026-11-05-0048.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
- The same tree serves ISTA-DASLab's GSQ-RCO GGUF packs of the model (
GGUF=<dir> ./setup.sh,GGUF=<dir> ./serve.sh, orBUILD=IQ2_XXS ./run.sh); seedocs/gguf.md. - The GGUF format is a tier-0.5 patch (
patches/sglang-tier0.5/01-gguf.patch), and the lends, the streamed prefill and the hot slots for a pack are tier-1 patch 26 (gguf-lend). - kt-kernel carries its GGUF backend and IQ2_XS kernels (
patches/kt-kernel-gguf.patch,patches/kt-llamafile-iq2xs.patch), so the wheel in this archive has them. - The GGUF CUDA kernels are not in the archive:
GGUF=<dir> ./setup.shbuilds them with a CUDA toolkit. - The MXFP4 checkpoint's speed and accuracy are unchanged from
2026-11-04-1912.
Contents:
kt_kernel-0.7.0-cp312-cp312-linux_x86_64.whl: kt-kernel at 95009ea with the recipe's patches (the GGUF backend included), six CPU variants (AVX2, AVX-512 base / VNNI / VBMI / BF16, AMX; one is picked at import), CUDA archs 89, 90, 100, 120mmq/kt_gguf_moe_mmq_{89,90a,100a,120a}.so: the streamed prefill's MMQ extension, one file a GPU arch (RTX 40, H100/H200, B200, RTX 50)lib/libkv_vmm.so,lib/librow_store.so,lib/libhwloc.so.15manifest.json: recipe tag, the pinned SGLang and KTransformers commits, torch 2.14.1+cu130, Python 3.12, SHA-256 of every file
Checked on an EPYC 7452 / RTX 5070 Ti host with a fresh clone of this tag and this archive: tools/qualify.sh passes all checks on one and two GPUs. NLL is within 0.004 of the reference, decode is 38.2 and 52.1 tok/s, and the 35,000-token prefill takes 29.0 and 21.2 s (reports/2026-11-05-0048/). On the same clone, the IQ2_XXS GGUF pack set up with this archive passes tools/check.sh. Its speed and accuracy are in docs/gguf.md.
Only archives built by this repository's maintainers or its CI are published here. Please do not send binaries; qualification reports, chunk hints and code are welcome.
SHA-256: see prebuilt-2026-11-05-0048.tar.gz.sha256.
2026-11-04-1912: prebuilt pieces (CI-built)
The prebuilt archive for recipe 2026-11-04-1912: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-04-1912 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-04-1912/prebuilt-2026-11-04-1912.tar.gz
PREBUILT=prebuilt-2026-11-04-1912.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
- SGLang is pinned to main at
58484246, 214 commits past3edea93c. All patches are rebased onto it. - The engram adapter accepts the
mxfp4=argument that SGLang main now passes to the Engram embedding. The 1017 checkpoint's Engram tables are FP8, and the adapter reads only those. sgl-deep-gemmis 0.2.5.post3, as SGLang main'spyproject.tomlrequires.- Speed and accuracy are unchanged from
2026-11-04-1106. - The archive is built from the same KTransformers commit and the same sources as
2026-11-04-1106's.
Contents:
kt_kernel-0.7.0-cp312-cp312-linux_x86_64.whl: kt-kernel at 95009ea with the recipe's patches, six CPU variants (AVX2, AVX-512 base / VNNI / VBMI / BF16, AMX; one is picked at import), CUDA archs 89, 90, 100, 120mmq/kt_gguf_moe_mmq_{89,90a,100a,120a}.so: the streamed prefill's MMQ extension, one file a GPU arch (RTX 40, H100/H200, B200, RTX 50)lib/libkv_vmm.so,lib/librow_store.so,lib/libhwloc.so.15manifest.json: recipe tag, the pinned SGLang and KTransformers commits, torch 2.14.1+cu130, Python 3.12, SHA-256 of every file
Checked on an EPYC 7452 / RTX 5070 Ti host with a fresh clone of this tag and this archive: tools/qualify.sh passes all checks on one and two GPUs. NLL is within 0.004 of the reference, decode is 37.9 and 53.8 tok/s, and the 35,000-token prefill takes 29.0 and 21.2 s (reports/2026-11-04-1912/).
Only archives built by this repository's maintainers or its CI are published here. Please do not send binaries; qualification reports, chunk hints and code are welcome.
SHA-256: see prebuilt-2026-11-04-1912.tar.gz.sha256.
2026-11-04-1106: prebuilt pieces (CI-built)
The prebuilt archive for recipe 2026-11-04-1106: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-04-1106 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-04-1106/prebuilt-2026-11-04-1106.tar.gz
PREBUILT=prebuilt-2026-11-04-1106.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
- More of the GPU's memory holds hot experts, so decode is faster, most on one GPU. Two tables stayed in VRAM outside every lend. The RoPE tables were built for all 1M positions, twice; the copy nothing reads on CUDA is no longer built, and the other takes memory only under the positions the context reaches (tier-1 patch
24-rope-tables). The token embedding is read a row a token from pinned host memory (25-embed-on-host). Both are on inserve.sh;SGLANG_DSV4_ROPE_LAZY=0andSGLANG_DSV4_EMBED_ON_HOST=0turn them off (docs/tier1.md). - On one RTX 5070 Ti the hot slots go from 61 to 189, decode from 33.3 to 38.2 tok/s and the 35,000-token prefill from 34.2 to 29.3 s. On two, the slots go from 661 to 839 and decode from 51.5 to 53.9 tok/s; the prefill is unchanged.
- The archive's binaries are unaffected.
Contents:
kt_kernel-0.7.0-cp312-cp312-linux_x86_64.whl: kt-kernel at 95009ea with the recipe's patches, six CPU variants (AVX2, AVX-512 base / VNNI / VBMI / BF16, AMX; one is picked at import), CUDA archs 89, 90, 100, 120mmq/kt_gguf_moe_mmq_{89,90a,100a,120a}.so: the streamed prefill's MMQ extension, one file a GPU arch (RTX 40, H100/H200, B200, RTX 50)lib/libkv_vmm.so,lib/librow_store.so,lib/libhwloc.so.15manifest.json: recipe tag, the pinned SGLang and KTransformers commits, torch 2.14.1+cu130, Python 3.12, SHA-256 of every file
Checked on an EPYC 7452 / RTX 5070 Ti host with this tag's patches: tools/qualify.sh passes all checks on one and two GPUs (NLL within 0.003 of the reference, decode 38.2 and 53.9 tok/s, the 35,000-token prefill 29.3 and 22.6 s; reports/2026-11-04-1106/). The archive is built by the same workflow as 2026-11-03-1111's.
Only archives built by this repository's maintainers or its CI are published here. Please do not send binaries; qualification reports, chunk hints and code are welcome.
SHA-256: see prebuilt-2026-11-04-1106.tar.gz.sha256.
2026-11-03-1111: prebuilt pieces (CI-built)
The prebuilt archive for recipe 2026-11-03-1111: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-03-1111 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-03-1111/prebuilt-2026-11-03-1111.tar.gz
PREBUILT=prebuilt-2026-11-03-1111.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
- A prompt sent again after its first request has answered is read from the prefix cache up to its end. Before, the match stopped at the previous prefill-chunk boundary, and up to one chunk was computed again (a 32,625-token prompt read 16,384 tokens from the cache instead of 32,256). The fix is the new tier-1 patch
23-swa-checkpoint-tail(docs/tier1.md). The archive's binaries are unaffected.
Contents:
kt_kernel-0.7.0-cp312-cp312-linux_x86_64.whl: kt-kernel at 95009ea with the recipe's patches, six CPU variants (AVX2, AVX-512 base / VNNI / VBMI / BF16, AMX; one is picked at import), CUDA archs 89, 90, 100, 120mmq/kt_gguf_moe_mmq_{89,90a,100a,120a}.so: the streamed prefill's MMQ extension, one file a GPU arch (RTX 40, H100/H200, B200, RTX 50)lib/libkv_vmm.so,lib/librow_store.so,lib/libhwloc.so.15manifest.json: recipe tag, the pinned SGLang and KTransformers commits, torch 2.14.1+cu130, Python 3.12, SHA-256 of every file
Checked on an EPYC 7452 / RTX 5070 Ti host with this tag's patches: tools/qualify.sh passes all checks on one and two GPUs (NLL within 0.003 of the reference, decode 33.1 and 51.9 tok/s, the 35,000-token prefill 33.4 and 21.6 s). The archive is built by the same workflow as 2026-11-03-0432's, which passed in plain Ubuntu 24.04 and 26.04 Docker containers.
Only archives built by this repository's maintainers or its CI are published here. Please do not send binaries; qualification reports, chunk hints and code are welcome.
SHA-256: see prebuilt-2026-11-03-1111.tar.gz.sha256.
2026-11-03-0432: prebuilt pieces (CI-built)
The prebuilt archive for recipe 2026-11-03-0432: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-03-0432 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-03-0432/prebuilt-2026-11-03-0432.tar.gz
PREBUILT=prebuilt-2026-11-03-0432.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
serve.shputs the venv onPATHbefore the prefill-chunk helpers run. On a machine whose only Python is the venv's, recipe2026-11-02-1856skipped the shipped chunk hint and the calibration without a message and ran the prefill at chunk 2048 (about four times slower; the output was correct). Ifpython3cannot be found, the helper now stops with a message.- The README describes running in Docker.
--cap-add SYS_NICEis required, because Docker's default seccomp profile refuses NUMA memory-policy calls without it.
Contents:
kt_kernel-0.7.0-cp312-cp312-linux_x86_64.whl: kt-kernel at 95009ea with the recipe's patches, six CPU variants (AVX2, AVX-512 base / VNNI / VBMI / BF16, AMX; one is picked at import), CUDA archs 89, 90, 100, 120mmq/kt_gguf_moe_mmq_{89,90a,100a,120a}.so: the streamed prefill's MMQ extension, one file a GPU arch (RTX 40, H100/H200, B200, RTX 50)lib/libkv_vmm.so,lib/librow_store.so,lib/libhwloc.so.15manifest.json: recipe tag, the pinned SGLang and KTransformers commits, torch 2.14.1+cu130, Python 3.12, SHA-256 of every file
Checked on an EPYC 7452 / RTX 5070 Ti host in Docker, on plain Ubuntu 24.04 and 26.04 images with no CUDA toolkit and no system Python. The run used the 2026-11-02-1856 archive, which is built by the same workflow, and this tag's scripts. tools/qualify.sh passed all checks on one GPU on both images and on two GPUs on 24.04. Each run used one launch from the shipped chunk hint.
Only archives built by this repository's maintainers or its CI are published here. Please do not send binaries; qualification reports, chunk hints and code are welcome.
SHA-256: see prebuilt-2026-11-03-0432.tar.gz.sha256.
2026-11-02-1856: prebuilt pieces (CI-built)
The prebuilt archive for recipe 2026-11-02-1856: the pieces setup.sh otherwise compiles on your machine, built by GitHub Actions (.github/workflows/prebuilt.yml, Ubuntu 24.04, no GPU) from this tag.
git clone --branch 2026-11-02-1856 https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers.git
cd deepseek-v4.1-flash-1017-ktransformers
curl -LO https://github.com/05yuki/deepseek-v4.1-flash-1017-ktransformers/releases/download/2026-11-02-1856/prebuilt-2026-11-02-1856.tar.gz
PREBUILT=prebuilt-2026-11-02-1856.tar.gz MODEL=<checkpoint dir> ./setup.sh
setup.sh verifies every file against the archive's manifest.json (SHA-256), installs the kt-kernel wheel, uses the MMQ extension built for your GPU, copies the small libraries, and builds nothing. gcc/g++, libnuma1 and libgomp1 are needed, and uv or Python 3.12.
A system CUDA toolkit is used when it is CUDA 13 and, with glibc 2.42 or later, 13.2 or newer (or a 13.1 updated since). Otherwise setup.sh downloads NVIDIA's CUDA 13.2 toolkit wheels (1.3 GB) into build/ for the kernels SGLang compiles at run time; nothing outside the checkout changes, and CUDA_WHEELS=0 forbids the download.
New in this recipe:
- The archive is built by CI, against glibc 2.39, so it also runs on Ubuntu 24.04.
- Shipped chunk hints (
hints/kt-lend/): on an RTX 5070 Ti, one or two, the first launch at the defaults skips the one-time chunk calibration (about 8 minutes).KT_LEND_SEED=0calibrates instead;tools/lend-hint-export.pywrites a hint for another GPU to contribute. - The toolkit wheels are CUDA 13.2: the 13.1 wheels' headers clash with glibc 2.42 and later (
rsqrt), and every run-time kernel build failed there.
Contents:
kt_kernel-0.7.0-cp312-cp312-linux_x86_64.whl: kt-kernel at 95009ea with the recipe's patches, six CPU variants (AVX2, AVX-512 base / VNNI / VBMI / BF16, AMX; one is picked at import), CUDA archs 89, 90, 100, 120mmq/kt_gguf_moe_mmq_{89,90a,100a,120a}.so: the streamed prefill's MMQ extension, one file a GPU arch (RTX 40, H100/H200, B200, RTX 50)lib/libkv_vmm.so,lib/librow_store.so,lib/libhwloc.so.15manifest.json: recipe tag, the pinned SGLang and KTransformers commits, torch 2.14.1+cu130, Python 3.12, SHA-256 of every file
Checked on an EPYC 7452 / RTX 5070 Ti host with glibc 2.43, in a clean environment without a toolkit, with an archive from the same workflow (run 41402916284): tools/qualify.sh all checks pass on one GPU.
Only archives built by this repository's maintainers or its CI are published here. Please do not send binaries; qualification reports, chunk hints and code are welcome.
SHA-256: see prebuilt-2026-11-02-1856.tar.gz.sha256.