KTransformers 0.7.0 sürüm notları
KTransformers 0.7.0 sürümünün yayın tarihi 17 Ağustos 2026. En güncel sürüm 0.7.2.
Orijinal sürüm notları
KTransformers v0.7.0: Support Full Fine-Tuning and AMD CPU (AVX512) for Fine-Tuning!
KTransformers v0.7.0 brings broader hardware compatibility and new fine-tuning capabilities for large MoE models. This release focuses on five major improvements.
Highlights
1. Full AVX512 Support for LoRA Fine-Tuning
KTransformers LoRA fine-tuning now fully supports compatible AVX512 x86 CPUs without requiring AMX.
The runtime automatically selects the appropriate CPU implementation, allowing MoE expert training to run on a broader range of large-memory servers.
kt_config:
kt_backend: auto
auto is the recommended setting for both AMX and AVX512 platforms.
Related change: #2141
2. Native FP8 LoRA Support
KTransformers now supports native FP8 LoRA fine-tuning for DeepSeek-V3.1.
The original block-wise E4M3 routed-expert weights and scales are loaded directly from the checkpoint, avoiding the need to materialize a complete BF16 copy before training.
In the tested DeepSeek-V3.1 configuration, host-memory requirements decreased from approximately 1.4 TB with BF16 expansion to about 800 GB.
Related change: #2141
3. Qwen VLM MoE Fine-Tuning Support
KTransformers now supports LoRA fine-tuning for Qwen3-VL MoE models through LLaMA-Factory.
The integration handles Qwen3-VL's nested language-model layers, fused expert weight layout, and vision patch embedding, enabling multimodal data to complete distributed forward and backward passes, optimizer updates, and checkpoint saving.
The compatibility path is scoped to supported Qwen VLM model types and does not change the existing text-only training path.
Related change: #2156
4. DeepSeek V4 Docker Quick Deployment
This release adds and expands the DeepSeek V4 Flash Docker deployment guide.
Users can start a DeepSeek V4 environment through a standardized Docker workflow without manually configuring the full build and runtime stack.
5. CPU Activation Reuse
Advanced users can now retain CPU expert activations during activation checkpoint recomputation, reducing repeated CPU computation and improving training throughput.
Enable it in the training YAML when sufficient host memory is available:
kt_cpu_activation: retain
Leaving this option unset preserves the default recomputation behavior. Activation Reuse trades additional CPU memory for reduced recomputation.
Related change: #2141
Release Validation
The release regression covered:
- Qwen3.5-397B-A17B BF16 LoRA on two GPUs
- DeepSeek-V3.1 native FP8 LoRA on four GPUs
- Qwen3-VL-30B-A3B-Instruct BF16 LoRA with FSDP2, including multimodal preprocessing and checkpoint saving
- Finite training loss
- Non-zero LoRA parameter updates
- Distributed FSDP2 execution
- FP8 loading, TP staging, checkpoint, and adapter lifecycle tests
Installation
pip install "ktransformers[sft]==0.7.0"
Matching SFT integration packages:
transformers-kt==5.6.0.post2accelerate-kt==1.14.0.post2
What's Changed
Fine-Tuning
- Activation Reuse and native block-FP8 routed-expert LoRA SFT by @yyj6666667
- Support Qwen VLM MoE fine-tuning by @Illumination111
Deployment and Documentation
- Add DeepSeek V4 Flash Docker guide by @yyj6666667
Contributors
- @yyj6666667 @Illumination111 @ErvinXie @JimmyPeilinLi
New Contributors
- @Illumination111 made their first contribution in #2156.
Full Changelog: https://github.com/kvcache-ai/ktransformers/compare/v0.6.4...v0.7.0
Kaynak: GitHub sürümü v0.7.0