数据源与状态仍在导航菜单中
github.com·2026/10/15·kvcache-ai
为什么重要 使 DeepSeek-V4-Flash 可在 CPU+GPU 异构环境做 LoRA 微调,原生 MXFP4 前后向避免 BF16 展开专家权重,降低显存/内存开销,并集成 LLaMA-Factory SFT 流程。
KTransformers v0.7.2 为 4 月的 DeepSeek-V4-Flash checkpoint 增加了 LoRA 微调。路由专家仍在 CPU 上以原生 MXFP4 保存,而注意力和其他非专家模块在 GPU 上运行。
用于训练:
bash python -m pip install 'ktransformers[sft]==0.7.2'
用于推理:
bash python -m pip install 'ktransformers[sglang]==0.7.2'
感谢自 v0.7.1 以来的所有人类代码和文档贡献者:@JimmyPeilinLi、@yyj6666667、@05yuki、@losewayy、@Dashener2、@pratikgx、@MohammadHijjawi97、@Anai-Guo。也感谢所有审阅和测试这些改动的人。
KTransformers v0.7.2 adds LoRA fine-tuning for the April DeepSeek-V4-Flash checkpoint. Routed experts remain in native MXFP4 on CPU, while attention and other non-expert modules run on GPU.
For training:
python -m pip install 'ktransformers[sft]==0.7.2'
For inference:
python -m pip install 'ktransformers[sglang]==0.7.2'
Thanks to all human code and documentation contributors since v0.7.1: @JimmyPeilinLi, @yyj6666667, @05yuki, @losewayy, @Dashener2, @pratikgx, @MohammadHijjawi97, and @Anai-Guo. Thanks also to everyone who reviewed and tested these changes.