AIAny
AI Train2023
GitHub

ms-swift

Fine-tunes and deploys 600+ LLMs and 400+ multimodal models in one framework, with SFT, pretraining, RLHF (DPO, PPO, GRPO), and lightweight methods like LoRA and QLoRA. Adds Megatron parallelism, vLLM/SGLang/LMDeploy inference, and a training web UI.

Introduction

Most teams fine-tuning open models end up stitching together half a dozen libraries: one for LoRA, another for DPO, a separate stack for serving. ms-swift's bet is that breadth itself is the feature — cover almost every open model and training algorithm under one config schema, and you stop rewriting glue code every time a new architecture drops. The same toolkit carries a checkpoint from pretraining all the way to a quantized, served endpoint.

What Sets It Apart
  • Coverage as a feature: 600+ text LLMs and 400+ multimodal models (Qwen, DeepSeek, GLM, InternVL, Llama families), so a fresh release usually trains on day one without a bespoke trainer.
  • Every paradigm, one flag: SFT, continued pretraining, the full RLHF family (DPO, PPO, KTO, ORPO) plus the GRPO line (DAPO, GSPO and friends) and distillation — you switch method by changing an argument, not a framework.
  • Scales down and up: lightweight tuning (LoRA, QLoRA, DoRA, LongLoRA) on a single GPU, Megatron parallelism (TP/PP/CP/EP) across nodes, with multimodal packing claimed to roughly double throughput.
  • Train and serve share a stack: hands off to vLLM, SGLang, or LMDeploy and supports AWQ/GPTQ/FP8 quantization, so there is no rewrite between experiment and production.
Who It's For

Great fit if you cycle through many open models or training recipes and want one consistent interface — especially inside the Qwen/ModelScope ecosystem, where coverage runs deepest and new models land first. Look elsewhere if you only ever fine-tune a single model with a single method, where a narrower library like Unsloth or TRL is simpler to reason about, or if you want a polished managed product rather than a fast-moving, research-grade toolkit. The price of supporting everything is a large surface area and frequent releases that can shift under you.

Information

  • Websitegithub.com
  • AuthorsModelScope, Alibaba Group
  • Published date2023/08/01

Categories

More Items

Converts real repositories into verifiable, sandboxed training environments with black-box tests to train coding agents on long-horizon program reproduction. Provides Program-Env for automated environment construction and Program-Agent for a role-isolated development workflow, yielding 1,648 C/C++/Go/Rust tasks and improving benchmark performance.

Hugging Face
AI Video2026

Enables native joint video-and-audio generation and training up to 2K using a dynamic block-sparse attention scheme that cuts attention cost while preserving audio–visual coupling; provides preview checkpoints, training and inference code. High-resolution training requires large multi-GPU (80GB) clusters and CUDA ≥ 12.4.

GitHub
AI Train2019

Train and experiment with multi-billion to trillion-parameter transformer models on large GPU clusters using GPU-optimized building blocks and reference training scripts; offers advanced parallelism and mixed-precision support for research teams and ML engineers.