Overview

Full name
docker.io/opencsghq/ms-swift
Registry
docker.io
Namespace
opencsghq
Repository
ms-swift
Cached tags
5
Last synced
07/06/2026, 12:49 AM

Introduction

ModelScope SWIFT 大模型训练推理镜像,LLM 微调/SFT/RLHF 与部署 pipeline,阿里 ModelScope 生态工具链。

Details

opencsghq/ms-swift 集成 ModelScope SWIFT 大模型训练推理框架,支持 LLM SFT 微调、RLHF、量化与 vLLM 部署 pipeline。定位为 GPU 密集型 LLM 训练/推理环境,需 NVIDIA GPU 与模型 volume;K8s Job 或 Slurm batch 训练,常驻 Web API。

快速启动

docker run --rm --gpus all \
  docker.io/opencsghq/ms-swift:latest \
  swift --help

推荐实践

docker run --rm --gpus all \
  -v /data/models:/models \
  -v /data/output:/output \
  docker.io/opencsghq/ms-swift:2.0.0 \
  swift sft --model /models/base --dataset alpaca --output_dir /output

核心参数说明

  • swift sft — 监督微调命令
  • --gpus all — 需 NVIDIA GPU
  • -v .../models:... — 基座模型与数据集
  • 调度 — K8s Job/Slurm batch

Latest tags (20)

View all 5 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/opencsghq/ms-swift
:v3.11.1-cu126
linux/amd64linux/arm64
2025/12/22 23:2312.0 GBsha256:21eccf5aa4f1
docker.io/opencsghq/ms-swift
:v3.7.2-cu124
linux/amd64linux/arm64
2025/09/16 18:1311.7 GBsha256:8d5b3a475142
docker.io/opencsghq/ms-swift
:v3.2.1
linux/amd64
2025/07/06 03:078.2 GBsha256:7372d7b134e2
docker.io/opencsghq/ms-swift
:v3.2.1-cu121
linux/amd64
2025/07/06 02:378.1 GBsha256:3da2345624d8
docker.io/opencsghq/ms-swift
:v3.5.2-cu121
linux/amd64
2025/07/06 02:068.0 GBsha256:4ef395ae0511