EveryDev.ai
Subscribe
Home
Tools

5,347+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2725
  • Coding2018
  • Infrastructure950
  • Projects752
  • Research670
  • MCP655
  • Analytics520
  • Marketing503
  • Design435
  • Testing432
  • Data395
  • Security362
  • Integration270
  • Prompts257
  • Communication255
  • Extensions227
  • Voice182
  • DevOps176
  • Commerce175
  • Web124
  • Learning114
  • Finance39
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. ms-swift
    ms-swift icon

    ms-swift

    AI Infrastructure

    Fine-tuning and deployment framework from the ModelScope community for training, evaluating, quantizing and serving text and multimodal large models.

    Visit Website

    At a Glance

    Pricing
    Open Source

    ms-swift framework is licensed under the Apache License 2.0; free to use, modify and distribute. Models and datasets follow their own original licenses.

    Engagement

    Available On

    Linux
    Web
    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI InfrastructureAI Development LibrariesModel Management

    Alternatives

    OpenRLHFNVIDIA NeMo-Alignertorchtune
    Developer
    ModelScope CommunityHangzhou, ChinaEst. 2022

    Listed Nov 2026

    About ms-swift

    ms-swift (SWIFT, Scalable lightWeight Infrastructure for Fine-Tuning) is an open-source framework from the ModelScope community for fine-tuning and deploying large language models and multimodal models. According to its README, it covers pre-training, fine-tuning, human alignment, inference, evaluation, quantization and deployment for 600+ text-only and 400+ multimodal models. The latest release listed is v4.6.0.

    What It Is

    ms-swift is a Python training and deployment toolkit driven mainly by a command-line interface (swift sft, swift rlhf, swift infer, swift deploy, swift eval, swift export), with a Gradio-based Web-UI and a Python API as alternatives. Users pick a model and a dataset (built-in or custom), choose a tuning method such as full-parameter, LoRA or QLoRA, and run training. Models and datasets are downloaded from ModelScope by default, with HuggingFace as an option.

    Training and Reinforcement Learning

    Supported tasks include pre-training, supervised fine-tuning, DPO, KTO, CPO, SimPO, ORPO, reward models, GKD distillation, embedding, reranker and sequence classification training. A family of GRPO-style reinforcement learning algorithms is built in, including GRPO, DAPO, GSPO, SAPO, CISPO, CHORD, RLOO and Reinforce++, with vLLM-accelerated rollouts and plugin-based reward functions and multi-turn schedulers. Megatron-SWIFT adds TP/PP/CP/EP parallelism for large-scale and MoE training.

    Inference, Evaluation and Export

    Inference and deployment can use Transformers, vLLM, SGLang or LMDeploy, exposing OpenAI-compatible interfaces. Evaluation uses EvalScope as backend. Models can be quantized with GPTQ, AWQ, BNB or FP8, merged from LoRA adapters, and pushed to ModelScope.

    Hardware Support

    Documentation covers NVIDIA GPUs, AMD GPUs, Ascend NPU, MetaX, Moore Threads MUSA, Apple MPS and CPU. The README states a 7B model can be trained with quantized training in about 9GB.

    ms-swift - 1

    Community Discussions

    Be the first to start a conversation about ms-swift

    Share your experience with ms-swift, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (Apache-2.0)

    ms-swift framework is licensed under the Apache License 2.0; free to use, modify and distribute. Models and datasets follow their own original licenses.

    • Licensed under Apache License 2.0
    • Fine-tuning, pre-training, human alignment, inference, evaluation, quantization and deployment
    • 600+ text-only LLMs and 400+ multimodal LLMs supported
    • Megatron parallelism and GRPO-family reinforcement learning algorithms
    • Models and datasets are subject to their own original licenses

    Capabilities

    Key Features

    • Pre-training, SFT, and human alignment (DPO, KTO, CPO, SimPO, ORPO, RM)
    • GRPO family reinforcement learning (GRPO, DAPO, GSPO, SAPO, CISPO, CHORD, RLOO, Reinforce++)
    • LoRA, QLoRA, DoRA and other lightweight tuning methods
    • Megatron-SWIFT parallelism (TP/PP/CP/EP) for MoE and large-scale training
    • Embedding, reranker and sequence classification training
    • Multimodal training with packing and mixed modality data
    • Agent templates for tool-calling training
    • Inference and deployment via Transformers, vLLM, SGLang, LMDeploy
    • Evaluation through EvalScope
    • Quantization export (GPTQ, AWQ, BNB, FP8)
    • Web-UI for training, inference, evaluation and quantization
    • Support for NVIDIA, AMD, Ascend NPU, MetaX, MUSA, Apple MPS and CPU

    Integrations

    ModelScope
    HuggingFace
    vLLM
    SGLang
    LMDeploy
    EvalScope
    DeepSpeed
    Megatron
    Ray
    PEFT
    Gradio
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate ms-swift and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    ModelScope Community

    Founded 2022
    Hangzhou, China

    Used by

    Alibaba Cloud / Alibaba DAMO Academy…
    Baichuan models
    Zhipu models
    Qwen model family
    Read more about ModelScope Community
    WebsiteGitHub
    2 tools in directory

    Similar Tools

    OpenRLHF icon

    OpenRLHF

    Open-source RLHF and agentic reinforcement learning framework for LLMs and VLMs built on Ray, vLLM and DeepSpeed.

    NVIDIA NeMo-Aligner icon

    NVIDIA NeMo-Aligner

    Scalable toolkit from NVIDIA for aligning large language models with SteerLM, DPO, RLHF and related algorithms.

    torchtune icon

    torchtune

    A native-PyTorch library for authoring, post-training, and fine-tuning LLMs with hackable recipes and YAML configs.

    Browse all tools

    Related Topics

    AI Infrastructure

    Infrastructure designed for deploying and running AI models.

    556 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    530 tools

    Model Management

    Tools for managing, versioning, and deploying AI models.

    131 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions