modelscope / modelscope/ms-swift
🍭[Roadmap] ms-swift 4.2-4.4
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 1.7k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 136
Description
中文版
重构
- dataset模块:✅样本级别控制 enable_thinking, max_pixels等;streaming训练速度优化。
- 模型模块:transformers 分类/embedding/reranker任务lm_head部分逻辑统一,方便维护。
- infer_engine模块,数据预处理异步处理;异常处理优化。
- 序列并行 (ulysses/ring attention) 模块重构。
- Web-UI模块重构。
Megatron-SWIFT
- 新模型:✅deepseek-v4, ✅gemma4, mimo-v2.5, OLMoE2, ✅ring2.5, ✅qwen3_asr
- 多模态部分的并行支持
- ✅GLM-5 共享MTP支持
- ✅Qwen3.5 FP8训练
- ✅自定义Megatron模型文档
- FP4支持
- megatron-fsdp 支持
- ✅镜像使用cuda13,flash-attn-4
RL
- ✅RAY & Megatron (GRPO/GKD)
- ✅Megatron GRPO/GKD 权重同步 支持仅同步LoRA
- ✅Megatron 多轮RL
- ✅GKD/OPSD teacher_server_api 兼容多模态训练
- ✅GKD/OPSD buffer与采样速度优化
- vLLM原生权重同步接口支持
- ✅新算法支持:FIPO
- ✅distillation RL (KL advantages)
- fully async rollout
训练
- ✅新模型 day0支持
- ✅Qwen3-TTS支持训练;Omni talker的训练
- ✅Qwen3-Embedding MRL 支持
- ✅ulysses/ring attention支持Qwen3.5
- 训练中 验证/评测 支持vllm推理
全链路
- sglang 多模态模型
- vllm-omni
English Version
Refactoring
- Dataset module: ✅Sample-level control for
enable_thinking,max_pixels, etc.; streaming training speed optimization. - Model module: Unified
lm_headlogic for transformers classification/embedding/reranker tasks, improving maintainability. - infer_engine module: Asynchronous data preprocessing; optimized exception handling.
- Sequence Parallelism (Ulysses / Ring Attention) module refactored.
- Web-UI module refactored.
Megatron-SWIFT
- New models: ✅deepseek-v4, ✅gemma4, mimo-v2.5, OLMoE2, ✅ring2.5, ✅qwen3_asr
- Parallel support for multimodal components.
- ✅GLM-5 shared MTP support.
- ✅Qwen3.5 FP8 training.
- ✅Custom Megatron model documentation.
- FP4 support.
- megatron-fsdp support.
- ✅Docker image upgraded to CUDA 13 with flash-attn-4.
RL
- ✅RAY & Megatron (GRPO/GKD).
- ✅Megatron GRPO/GKD weight synchronization now supports syncing LoRA weights only.
- ✅Megatron multi-turn RL.
- ✅GKD/OPSD
teacher_server_apiis now compatible with multimodal training. - ✅GKD/OPSD buffer and sampling speed optimization.
- vLLM native weight synchronization interface support.
- ✅New algorithm support: FIPO.
- ✅distillation RL (KL advantages)
- fully async rollout
Training
- ✅Day-0 support for new models.
- ✅Qwen3-TTS training support; Omni Talker training support.
- ✅Qwen3-Embedding MRL support.
- ✅Ulysses/Ring Attention support for Qwen3.5.
- Validation/evaluation during training with vLLM inference support.
Full Pipeline
- SGLang multimodal model support.
- vllm-omni support.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
This is a broad roadmap covering the dataset, model, infer_engine, sequence-parallelism, Web-UI, Megatron-SWIFT, RL, training, and full-pipeline areas. Start by selecting one unchecked item and reading its relevant module and existing support; done should mean that one scoped capability is implemented and validated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100