Source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/vllm-project/vllm
Markdown source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/vllm-project/vllm.md
Description: LlamaFactory and vllm share 12 technologies: FastAPI, einops, sentencepiece, tiktoken, torchvision, transformers, torch, datasets, peft, safetensors, torchaudio, and Pydantic. Both are written in Python.

# LlamaFactory vs vllm

LlamaFactory and vllm share 12 technologies: FastAPI, einops, sentencepiece, tiktoken, torchvision, transformers, torch, datasets, peft, safetensors, torchaudio, and Pydantic. Both are written in Python.

- [hiyouga/LlamaFactory](https://seerepo.com/r/hiyouga/LlamaFactory): Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)
- [vllm-project/vllm](https://seerepo.com/r/vllm-project/vllm): A high-throughput and memory-efficient inference and serving engine for LLMs

## What they share and what sets them apart

- In common: FastAPI, einops, sentencepiece, tiktoken, torchvision, transformers, torch, datasets, peft, safetensors, torchaudio, Pydantic
- Only in LlamaFactory: uvicorn, Gradio, matplotlib, triton-ascend, accelerate, trl, deepspeed, liger-kernel, ModelScope, bitsandbytes, nltk, torchdata, torchcodec, av, jsonschema-specifications, referencing
- Only in vllm: axum, gitdb, pyzmq, Hugging Face, Tokio, starlette, Ray, AIOHTTP, tower, mkdocs-material, indicatif, NVIDIA, OpenAI, quack-kernels, triton, MCP, tokenizers, markdown, markupsafe, pymdown-extensions, pillow, image, jinja2, msgspec, jsonschema, pydantic-core, opentelemetry-api, python-json-logger, tracing, prometheus-client, psutil, tracing-subscriber, OpenTelemetry, opentelemetry-sdk, prometheus-fastapi-instrumentator

## Side by side

| | LlamaFactory | vllm |
|---|---|---|
| Size | 62,624 lines written, 194 code files | 2,375,117 lines written, 3,289 code files |
| Who writes it | 1.6% of its commits signed by AI. With Gemini CLI, Claude Code, GitHub Copilot, and Cursor | 12.8% of its commits signed by AI. With Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot, Devin, Mistral Vibe, CodeRabbit, Factory, and Qwen Code |
| Activity | Last push November 4, 2026, 2,769 commits, 75,890 stars | Last push November 4, 2026, 24,593 commits, 96,302 stars |
| Tests | 62 test files. 38.1% of its code files have a test that imports them | 2,419 test files. 60.2% 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, LlamaFactory or vllm?

vllm, with 2,375,117 lines written; LlamaFactory has 62,624.

The proof: [vllm-project/vllm's code at commit 75f6761](https://github.com/vllm-project/vllm/tree/75f67614971a44050140e3422c1a65fe5004a72b)

### Which has more GitHub stars, LlamaFactory or vllm?

vllm, with 96,302 stars; LlamaFactory has 75,890.

The proof: [vllm-project/vllm on GitHub](https://github.com/vllm-project/vllm)

### Which has more tests, LlamaFactory or vllm?

vllm, with 2,419 test files; LlamaFactory has 62.

The proof: [vllm-project/vllm's code at commit 75f6761](https://github.com/vllm-project/vllm/tree/75f67614971a44050140e3422c1a65fe5004a72b)

### Which was updated more recently, LlamaFactory or vllm?

Both got their last push on November 4, 2026.

The proof: [vllm-project/vllm's commits on GitHub](https://github.com/vllm-project/vllm/commits)

### Which has more commits signed by AI, LlamaFactory or vllm?

vllm: an AI signed 12.8% of its commits, with Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot, Devin, Mistral Vibe, CodeRabbit, Factory, and Qwen Code; in LlamaFactory, 1.6%.

The proof: [the commits each tool signed in vllm-project/vllm](https://seerepo.com/r/vllm-project/vllm/ai)

## Sources

- hiyouga/LlamaFactory: Read on November 4, 2026, at commit 702005c (https://github.com/hiyouga/LlamaFactory/tree/702005ce5237ae10f3c572c3f7741ecfd1422fc9)
- vllm-project/vllm: Read on November 4, 2026, at commit 75f6761 (https://github.com/vllm-project/vllm/tree/75f67614971a44050140e3422c1a65fe5004a72b)

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