RadarTopicsBuildersWeeklyReads
Open Source Radar
modelscope/

ms-swift

GitHubWebsite

ms-swift is a Python framework for fine-tuning and deploying large models (text and multimodal) with various training paradigms including LoRA/Full-parameter, GRPO, DPO, embedding/reranker tasks, and support for Megatron parallelism and vLLM-based acceleration.

15kstars
1.6kforks
647issues
Apache-2.0license
2023since
Star historydaily snapshots by VibeCrowd

Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).

Alternatives & relatedmatched by topic overlap
Reviewgenerated from repository data · Aug 5, 2026

What it is

ms-swift is a large-model fine-tuning and deployment framework that supports training, inference, evaluation, quantization, and deployment for 600+ text-only large models and 400+ multimodal large models. It integrates Megatron parallelism methods and GRPO-related reinforcement learning algorithms, and enables training tasks such as embedding, reranker, and sequence classification, with a Web-UI for training/inference/evaluation/quantization.

How it works

The project provides tooling for training and deployment across full pipelines, including acceleration through vLLM, LMDeploy, and SGLang, as well as model quantization using GPTQ/AWQ/BNB/FP8. It supports distributed training (DDP, FSDP, DeepSpeed ZeRO, Megatron), memory optimization techniques (Liger-Kernel, Flash-Attention), and multimodal training via data packing and mixed modality support.

Getting started

Installation

pip install ms-swift -U

# Using uv
pip install uv
uv pip install ms-swift -U --torch-backend=auto

To install from source:

# pip install git+https://github.com/modelscope/ms-swift.git

git clone https://github.com/modelscope/ms-swift.git
cd ms-swift
# The main branch is for swift 4.x. To install swift 3.x, please run the following command:
# git checkout release/3.12
pip install -e .

# Using uv
uv pip install -e . --torch-backend=auto

最新/候选版本

Latest releases include v4.4.2 Patch release (2026-07-21) and v4.4.1 (2026-07-13); v4.4.0 (2026-07-06) includes Chinese version and new features like RL and multi-teacher training for GRPO/GKD.

Recent releases

  • v4.4.2 Patch release v4.4.2 (2026-07-21): Full Changelog: https://github.com/modelscope/ms-swift/compare/v4.4.1...v4.4.2
  • v4.4.1 Patch release v4.4.1 (2026-07-13): Full Changelog: https://github.com/modelscope/ms-swift/compare/v4.4.0...v4.4.1
  • v4.4.0 v4.4.0 (2026-07-06): 中文版,新增 RL、GRPO/多教师训练等特性。

Traction

Stars: 15045


## Behind the repo
N/A

## Caveats
License: Apache-2.0
Age: Created 2023-08-01
Last push: 2026-08-04
SharePost on XLinkedIn
All trending reposRevenue-verified startups →