Source: https://seerepo.com/compare/hpcaitech/ColossalAI/vs/OptimalScale/LMFlow
Markdown source: https://seerepo.com/compare/hpcaitech/ColossalAI/vs/OptimalScale/LMFlow.md
Description: ColossalAI and LMFlow share 18 technologies: Hugging Face, matplotlib, torch, transformers, triton, peft, diffusers, datasets, bitsandbytes, einops, accelerate, sentencepiece, torchvision, jinja2, markupsafe, pillow, Pydantic, and psutil. Both are written in Python.

# ColossalAI vs LMFlow

ColossalAI and LMFlow share 18 technologies: Hugging Face, matplotlib, torch, transformers, triton, peft, diffusers, datasets, bitsandbytes, einops, accelerate, sentencepiece, torchvision, jinja2, markupsafe, pillow, Pydantic, and psutil. Both are written in Python.

- [hpcaitech/ColossalAI](https://seerepo.com/r/hpcaitech/ColossalAI): Making large AI models cheaper, faster and more accessible
- [OptimalScale/LMFlow](https://seerepo.com/r/OptimalScale/LMFlow): An Extensible Toolkit for Finetuning and Inference of Large Foundation Models. Large Models for All.

## What they share and what sets them apart

- In common: Hugging Face, matplotlib, torch, transformers, triton, peft, diffusers, datasets, bitsandbytes, einops, accelerate, sentencepiece, torchvision, jinja2, markupsafe, pillow, Pydantic, psutil
- Only in ColossalAI: FastAPI, uvicorn, chromadb, anyio, Ray, Gradio, seaborn, Rich, SQLAlchemy, ModelScope, OpenAI, rouge, scikit-learn, sentence-transformers, tiktoken, colossalai, LangChain, flash-attn, safetensors, vLLM, galore-torch, loralib, math-verify, torchaudio, markdown-it-py, mdurl, pypdf, unstructured, jsonlines, annotated-types, gpustat, fabric
- Only in LMFlow: pickleshare, pyarrow, pyzmq, jupyter-core, tornado, cycler, fonttools, contourpy, matplotlib-inline, prompt-toolkit, cpm-kernels, NVIDIA, open-clip-torch, timm, tokenizers, xformers, evaluate, tensordict

## Side by side

| | ColossalAI | LMFlow |
|---|---|---|
| Size | 319,283 lines written, 975 code files | 35,146 lines written, 108 code files |
| Who writes it | 0.3% of its commits signed by AI. With Codex and Claude Code | 0% of its commits signed by AI |
| Activity | Last push November 13, 2026, 3,904 commits, 41,424 stars | Last push August 10, 2026, 1,262 commits, 8,481 stars |
| Tests | 515 test files. 1.1% of its code files have a test that imports them | 22 test files. 16.7% 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 LMFlow?

ColossalAI, with 319,283 lines written; LMFlow has 35,146.

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

### Which has more GitHub stars, ColossalAI or LMFlow?

ColossalAI, with 41,424 stars; LMFlow has 8,481.

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

### Which has more tests, ColossalAI or LMFlow?

ColossalAI, with 515 test files; LMFlow has 22.

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

### Which was updated more recently, ColossalAI or LMFlow?

ColossalAI: its last push was on November 13, 2026, and LMFlow's on August 10, 2026.

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

### Which has more commits signed by AI, ColossalAI or LMFlow?

ColossalAI: an AI signed 0.3% of its commits, with Codex and Claude Code.

## Sources

- hpcaitech/ColossalAI: Read on November 13, 2026, at commit 297c8cf (https://github.com/hpcaitech/ColossalAI/tree/297c8cf6d91cb0bff795cba961d3aea1e66fa370)
- OptimalScale/LMFlow: Read on November 17, 2026, at commit e9b1da0 (https://github.com/OptimalScale/LMFlow/tree/e9b1da012f08d17fadad698278f505800d30a8af)

## 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.
