Overview of ms-swift capabilities
mainms-swift (Scalable lightWeight Infrastructure for Fine-Tuning) is a framework for training, inference, evaluation, quantization, and deployment of Large Language Models (LLMs) and Multimodal Large Language Models (MLLMs).
Key Features:
- Model Support: 500+ text models (e.g., Qwen, DeepSeek-R1, Llama) and 200+ multimodal models (e.g., Qwen2.5-VL, LLaVA).
- Training Techniques: Supports LoRA, QLoRA, GaLore, UnSloth, Liger, and more.
- Human Alignment (RLHF): Supports DPO, GRPO, PPO, KTO, CPO, SimPO, and ORPO.
- Inference Acceleration: Integrates with
vLLM,SGLang, andLMDeploy. - Quantization: Supports GPTQ, AWQ, and BNB.
- Distributed Training: Supports DDP, DeepSpeed (ZeRO2/3), FSDP, and Megatron.
- Multimodal Support: Training for VQA, Caption, OCR, and Grounding tasks.