modelscope/ms-swift
Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.8, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM5.3, Gemma4, Llava, Phi4, ...) (AAAI 2025). observed · 2026-10-11
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 82
- Longevity 84
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 7
- age_days: 1176
- days_rel: 42
- days_push: 10
- n_releases_24m: 78
Adoption not part of the score
15809 stars · 1729 forks observed · 2026-10-11
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ms-swift is a ModelScope community framework for fine-tuning, inference, evaluation, quantization, and deployment of 600+ text LLMs and 400+ multimodal LLMs. It supports PEFT (LoRA) and full-parameter training, Megatron parallelism, and RLHF algorithms like GRPO, DPO, and PPO.
Use cases
- fine-tune qwen or llama with lora
- run sft training on a large language model
- train a multimodal vision-language model
- do grpo reinforcement learning for llm
- merge and quantize a fine-tuned model
- deploy a fine-tuned llm for inference
- train embedding or reranker models
- dpo alignment training for chat models
When to choose
- you need a single framework covering CPT, SFT, DPO/GRPO, inference, evaluation, quantization, and deployment
- you want LoRA/PEFT or Megatron-based full-parameter training for many model families
- you work with multimodal LLMs like Qwen-VL or InternVL
- you need multi-hardware support including Ascend NPU and AMD GPUs
When to avoid
- you only need simple model inference without training
- you want a minimal single-model training script rather than a full framework
- you are not working with transformer-based LLMs or MLLMs
Facets
framework · maturity active
llm-training llm-inference rag machine-learning cli sdk large-language-models machine-learning deep-learning developer-tools python cli peft lora sft grpo rlhf megatron multimodal-llm modelscope quantization dpo fine-tuning qwen deepseek natural-language-processing linux gpu docker
3 sources
- readme: https://github.com/modelscope/ms-swift · fetched 2026-10-11 · 2761e8baba32
- homepage: https://swift.readthedocs.io/zh-cn/latest/ · fetched 2026-10-19 · 9a47131971be
- registry_pypi: https://pypi.org/pypi/ms-swift/json · fetched 2026-10-19 · d2d3b1799068
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| modelscope/ms-swift | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="modelscope/ms-swift")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem