mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1921] KTransformers Roadmap (2026 Q2) #1195
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#1195
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 @ErvinXie on GitHub (Apr 9, 2026).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1921
KTransformers Roadmap - 2026 Q2
Focus
Fine-tuning Service @JimmyPeilinLi
Goal: Lower the barrier for LoRA SFT to match inference — same hardware, same setup, zero extra cost.
Consumer Hardware Support
Goal: Best-in-class MoE inference performance on consumer hardware.
Performance
Coverage
Contribution / Maintenance
Any contribution is welcomed, please email yzwliam@126.com / ervinxie@qq.com if you want to join development WeChat group.
@zklc commented on GitHub (Apr 9, 2026):
nvidia发布了不少nvfp4的量化模型。有针对这块做优化吗?尤其是cpu侧支持nvfp4的高效计算。
@wanjunling168 commented on GitHub (Apr 13, 2026):
Windows native C++ inference support (JIT compiler) <- triton-windows probably enough?
@rnett commented on GitHub (Apr 13, 2026):
Also interested (albeit mostly in the GPU side, since I have a blackwell GPU). It was in the Q1 roadmap, but wasn't checked off and the only related branch I see had its last commit 3 months ago.
@aliez-ren commented on GitHub (Apr 18, 2026):
will be able to run rawint4 on avx2?
@ErvinXie commented on GitHub (Apr 20, 2026):
@zklc @rnett Thanks for bringing this up. You're right that nvfp4 was on the Q1 roadmap but didn't get completed. We're planning to prioritize it in Q2 — along with mxfp4 support. Will update the roadmap accordingly. Stay tuned.
This reply was co-authored by an AI agent and a human.
@ErvinXie commented on GitHub (Apr 20, 2026):
@aliez-ren If you're referring to QAT INT4 formats (like Kimi's raw INT4 weights) — we don't support those yet. The main challenge is that AVX2-only machines typically don't have enough memory bandwidth and compute throughput to run models at that scale efficiently in raw INT4.
That said, AWQ and GPTQ INT4 are fully supported today, and we recently merged VNNI-256 support for GPTQ INT4 (#1926) which improves performance on consumer Intel CPUs. If you have a specific model in mind, let us know and we can advise on the best supported path.
This reply was co-authored by an AI agent and a human.
@yyj6666667 commented on GitHub (Apr 20, 2026):
@wanjunling168 Thanks for the pointer
Triton alone wouldn't be enough though — it only covers @triton.jit kernels and torch.compile. The harder half is the CUDA
C++ / CUTLASS JIT that flashinfer drives through nvcc, which triton-windows doesn't touch.
We're currently focused on the minimum JIT verification on Windows (native MSVC + nvcc), and haven't pulled triton-windows
into the picture yet.
Thanks for pointing it out.
@aliez-ren commented on GitHub (Apr 21, 2026):
@ErvinXie Thanks for your reply! My machine has 384G GDDR7 VRAM + 256G DDR4 RAM. I'm going to write a patch for running RAWINT4 on AVX2
@wanjunling168 commented on GitHub (Apr 21, 2026):
https://github.com/vllm-project/vllm/compare/main...SystemPanic:vllm-windows:vllm-for-windowshttps://github.com/flashinfer-ai/flashinfer/compare/main...SystemPanic:flashinfer-windows:mainSeems we have some limited Windows ports for flashinfer and marlin kernels I found in this repo already (though they're meant for vllm), those marlin kernels in this repo can be good reference for you @yyj6666667 ?
@yyj6666667 commented on GitHub (Apr 21, 2026):
@wanjunling168 Definitely — those are good references, especially flashinfer-windows. We noticed it early on. Thanks for pointing it out.
@aliez-ren commented on GitHub (Apr 23, 2026):
created a pr to support rawint4 on avx2: https://github.com/kvcache-ai/ktransformers/pull/1942
@willbed commented on GitHub (May 25, 2026):
我目前有个问题,当使用Hybird Prefill的时候,即kt-gpu-prefill-token-threshold 设为0, 此时cpu还是会加载全部权重至内存,DDR5的内存实在太贵了,目前只能用SSD swap解决这个问题。 这里是否能够只加载冷门专家至内存,我理解热门专家这个时候已经装载在显卡上,在内存里是完全没必要了。
@WJwonjun commented on GitHub (Jun 6, 2026):
I ran a simple benchmark on an RTX 5000 GPU, but the performance was significantly poorer compared to the H100. I suspect this issue is due to the lack of sm120 support in your current SGLang fork. Are consumer-level GPUs (like the RTX 50/60 series) still unsupported, or did I configure something incorrectly?
@yyj6666667 commented on GitHub (Jun 6, 2026):
For most models, the RTX50/60 is supported. Taking deepseek v4 as an example, we do have sm120 support in the sglang fork. The common reason why speed is slow is more likely ralated to the expert num on gpu, which is '' --kt-num-gpu-experts '' , the more expert you've got on gpu, the faster it would be.
@yyj6666667 commented on GitHub (Jun 6, 2026):
理论上可行, 实际可能需要考虑如下方面: 1. prefill 是计算密集型,多个token会散布到不同专家,gpu prefill过程中至少要保证模型单独一层的专家全量加载。 2. 专家从cpu ram加载到gpu通过一条三层流水线实现, 如果走ssd加载可能会显著拖慢流水线