Source: https://seerepo.com/compare/hpcaitech/ColossalAI/vs/modelscope/ms-swift
Markdown source: https://seerepo.com/compare/hpcaitech/ColossalAI/vs/modelscope/ms-swift.md
Description: ColossalAI and ms-swift share 18 technologies: FastAPI, uvicorn, Ray, matplotlib, ModelScope, OpenAI, scikit-learn, tiktoken, transformers, peft, datasets, safetensors, einops, accelerate, sentencepiece, torchaudio, torchvision, and pillow. Both are written in Python.

# ColossalAI vs ms-swift

ColossalAI and ms-swift share 18 technologies: FastAPI, uvicorn, Ray, matplotlib, ModelScope, OpenAI, scikit-learn, tiktoken, transformers, peft, datasets, safetensors, einops, accelerate, sentencepiece, torchaudio, torchvision, and pillow. Both are written in Python.

- [hpcaitech/ColossalAI](https://seerepo.com/r/hpcaitech/ColossalAI): Making large AI models cheaper, faster and more accessible
- [modelscope/ms-swift](https://seerepo.com/r/modelscope/ms-swift): Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.8, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM5.3, Gemma4, Llava, Phi4, ...) (AAAI 2025).

## What they share and what sets them apart

- In common: FastAPI, uvicorn, Ray, matplotlib, ModelScope, OpenAI, scikit-learn, tiktoken, transformers, peft, datasets, safetensors, einops, accelerate, sentencepiece, torchaudio, torchvision, pillow
- Only in ColossalAI: chromadb, Hugging Face, anyio, Gradio, seaborn, Rich, SQLAlchemy, sentence-transformers, torch, LangChain, triton, diffusers, flash-attn, timm, bitsandbytes, vLLM, galore-torch, math-verify, tokenizers, jinja2, markdown-it-py, markupsafe, mdurl, pypdf, unstructured, jsonlines, annotated-types, pydantic-core, Pydantic, psutil
- Only in ms-swift: oss2, AIOHTTP, sphinx-rtd-theme, trl, rouge, nltk, docutils, myst-parser, recommonmark, sphinx-markdown-tables, swanlab

## Side by side

| | ColossalAI | ms-swift |
|---|---|---|
| Size | 317,403 lines written, 974 code files | 165,674 lines written, 533 code files |
| Who writes it | 0.3% of its commits signed by AI. With Codex and Claude Code | 0.3% of its commits signed by AI. With Claude Code, Gemini CLI, and Codex |
| Activity | Last push November 6, 2026, 3,887 commits, 41,430 stars | Last push November 7, 2026, 3,872 commits, 16,058 stars |
| Tests | 505 test files. 1.1% of its code files have a test that imports them | 249 test files. 24% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, ColossalAI or ms-swift?

ColossalAI, with 317,403 lines written; ms-swift has 165,674.

The proof: [hpcaitech/ColossalAI's code at commit da8f5c2](https://github.com/hpcaitech/ColossalAI/tree/da8f5c2dd56f97d3d23d3d222b114e1a3d4710f5)

### Which has more GitHub stars, ColossalAI or ms-swift?

ColossalAI, with 41,430 stars; ms-swift has 16,058.

The proof: [hpcaitech/ColossalAI on GitHub](https://github.com/hpcaitech/ColossalAI)

### Which has more tests, ColossalAI or ms-swift?

ColossalAI, with 505 test files; ms-swift has 249.

The proof: [hpcaitech/ColossalAI's code at commit da8f5c2](https://github.com/hpcaitech/ColossalAI/tree/da8f5c2dd56f97d3d23d3d222b114e1a3d4710f5)

### Which was updated more recently, ColossalAI or ms-swift?

ms-swift: its last push was on November 7, 2026, and ColossalAI's on November 6, 2026.

The proof: [modelscope/ms-swift's commits on GitHub](https://github.com/modelscope/ms-swift/commits)

### Which has more commits signed by AI, ColossalAI or ms-swift?

In both, an AI signed 0.3% of their commits.

## Sources

- hpcaitech/ColossalAI: Read on November 6, 2026, at commit da8f5c2 (https://github.com/hpcaitech/ColossalAI/tree/da8f5c2dd56f97d3d23d3d222b114e1a3d4710f5)
- modelscope/ms-swift: Read on November 7, 2026, at commit 47b437a (https://github.com/modelscope/ms-swift/tree/47b437a84e9ea481dbe24f516fc2318e7faf94da)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
