qmetrics.net

ms-swift

Scalable LLM fine-tuning and deployment framework

ms-swift screenshot

SWIFT from the ModelScope community supports training, inference, evaluation, quantization, and deployment for hundreds of text and multimodal models. It covers pre-training, supervised fine-tuning, alignment, and reinforcement workflows.

Overview

ms-swift is a framework for fine-tuning and operating large language and multimodal models. It supports continued pre-training, supervised fine-tuning, preference optimization, reward modeling, embedding and reranker tasks, and a broad set of GRPO-family reinforcement algorithms on many open model families.

Training options include full-parameter updates and lightweight methods such as LoRA, QLoRA, and related tuners, with distributed setups from DDP and DeepSpeed through Megatron parallelism for large MoE models. Hardware coverage spans NVIDIA and AMD GPUs, Huawei Ascend NPUs, domestic accelerators, Apple MPS, and CPU, with built-in datasets and hooks for custom data.

The same stack wires inference and deployment through engines such as vLLM, SGLang, and LMDeploy, optional GPTQ, AWQ, BNB, and FP8 quantization, and evaluation via EvalScope. A Gradio-based Web UI offers a GUI path alongside the recommended command-line workflow for training, inference, evaluation, and quantization.

Users typically install via pip, point commands at a model and dataset identifier or local path, and run training or inference on their own machines or clusters. ModelScope is the default artifact source, with an option to pull from Hugging Face instead.

Key features

  • SFT, DPO, and GRPO training
  • LoRA and full-parameter tuning
  • Multimodal model support
  • Megatron distributed training
  • vLLM and SGLang inference
  • Built-in evaluation via EvalScope
  • Model quantization export
  • Gradio training Web UI

Use cases

  • Instruction tuning open LLMs
  • Multimodal vision-language training
  • RLHF and GRPO alignment runs
  • Embedding and reranker fine-tuning
  • Local model deployment pipelines

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0