Skip to content

v4.4.0

Latest

Choose a tag to compare

@Jintao-Huang Jintao-Huang released this 06 Jul 06:14

中文版

新特性

  1. RL
    a. GRPO 支持 OPD RL 训练。参考文档:https://swift.readthedocs.io/zh-cn/latest/Instruction/Distillation.html
    b. GRPO/GKD 支持 Multi-teacher 训练。参考文档:https://swift.readthedocs.io/zh-cn/latest/Instruction/Distillation.html
    c. 新增多模态 vLLM 对齐测试。参考 issue:#9668
    d. GRPO/GKD Trainer 完成重构。
  2. Megatron-SWIFT
    a. 新增 model_type 支持:GLM-5.2(glm_moe_dsa 新增 indexer_type = 'shared' 支持)、minicpmv4_6。
    b. NPU Megatron-Core 版本升级至 0.16。(感谢 @addsubmuldiv 的贡献)
    c. moe_router_load_balancing_type 支持同时指定多个类型。
    d. 修复 DeepSeek-V4 FP8 相关问题。
  3. 训练
    a. 新增 DLLM 训练支持(DiffusionGemma)。训练脚本参考:https://github.com/modelscope/ms-swift/blob/main/examples/models/gemma4/diffusion_gemma.sh
    b. 新增 Qwen3-TTS 训练支持。训练脚本参考:https://github.com/modelscope/ms-swift/tree/main/examples/models/qwen3_tts
    c. Embedding 模型新增 MRL 支持,引入 mrl_dims 参数。
    d. Loss Scale 支持 ConcatLossScale,可将多种 loss scale 策略叠加使用,例如:last_round+ignore_empty_think+hermes
    e. Qwen3.5、minicpmv4.6 支持 padding_free/packing。

新模型

  1. 纯文本模型
    a. ZhipuAI/GLM-5.2
  2. 多模态模型
    a. moonshotai/Kimi-K2.7-Code
    b. MiniMaxAI/MiniMax-M3
    c. PaddlePaddle/Unlimited-OCR
    d. google/diffusiongemma-26B-A4B-it

English Version

New Features

  1. RL
    a. GRPO now supports OPD RL training. Reference doc: https://swift.readthedocs.io/zh-cn/latest/Instruction/Distillation.html
    b. GRPO/GKD now supports Multi-teacher training. Reference doc: https://swift.readthedocs.io/zh-cn/latest/Instruction/Distillation.html
    c. Added multimodal vLLM alignment tests. Reference issue: #9668
    d. GRPO/GKD Trainer has been refactored.
  2. Megatron-SWIFT
    a. Added new model_type support: GLM-5.2 (glm_moe_dsa adds indexer_type = 'shared' support) and minicpmv4_6.
    b. NPU Megatron-Core upgraded to version 0.16. (Thanks to @addsubmuldiv for the contribution.)
    c. moe_router_load_balancing_type now supports specifying multiple types simultaneously.
    d. Fixed DeepSeek-V4 FP8 related issues.
  3. Training
    a. Added DLLM training support (DiffusionGemma). Training script reference: https://github.com/modelscope/ms-swift/blob/main/examples/models/gemma4/diffusion_gemma.sh
    b. Added Qwen3-TTS training support. Training script reference: https://github.com/modelscope/ms-swift/tree/main/examples/models/qwen3_tts
    c. Added MRL support for Embedding models, introducing the mrl_dims parameter.
    d. Loss Scale now supports ConcatLossScale, enabling multiple loss scale strategies to be stacked, e.g.: last_round+ignore_empty_think+hermes.
    e. Qwen3.5 and minicpmv4.6 now support padding_free/packing.

New Models

  1. Text-Only Models
    a. ZhipuAI/GLM-5.2
  2. Multimodal Models
    a. moonshotai/Kimi-K2.7-Code
    b. MiniMaxAI/MiniMax-M3
    c. PaddlePaddle/Unlimited-OCR
    d. google/diffusiongemma-26B-A4B-it

What's Changed

New Contributors

Full Changelog: v4.3.0...v4.4.0