# 12 open-source alternatives to LlamaFactory

[LlamaFactory](https://ossradar.net/repo/hiyouga/LlamaFactory) (hiyouga/LlamaFactory) has 76k stars and gained +141 in the last 7 days. Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024).

Below are other repos tracked by OSS Radar that share GitHub topics about what they do with LlamaFactory (platform, language and framework tags don't count), ordered by how closely their topics overlap (rarer shared topics count more), then by stars gained this week. Topic overlap means a similar problem space, not a drop-in replacement, so check each project's README. Data as of 2026-11-28T20:59:41.048Z (UTC), updated hourly. HTML page: https://ossradar.net/alternatives/hiyouga/LlamaFactory

## Alternatives

| # | Repo | Category | 7 days | Total stars | Shared topics | What it is |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | [Soup](https://ossradar.net/repo/MakazhanAlpamys/Soup) (MakazhanAlpamys/Soup) | LLM tooling | +195 | 10907 | fine tuning, LLM, LoRA, peft, QLoRA, transformers | Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU. |
| 2 | [Unsloth](https://ossradar.net/repo/unslothai/unsloth) (unslothai/unsloth) | LLM tooling | +518 | 80429 | agent, AI, DeepSeek, fine tuning, Gemma, Llama, LLM, Qwen | Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more. |
| 3 | [LLMs-from-scratch](https://ossradar.net/repo/rasbt/LLMs-from-scratch) (rasbt/LLMs-from-scratch) | LLM tooling | +419 | 109191 | AI, GPT, instruction tuning, large language models, LLM, transformers | Implement a ChatGPT-like LLM in PyTorch from scratch, step by step. |
| 4 | [vLLM](https://ossradar.net/repo/vllm-project/vllm) (vllm-project/vllm) | LLM tooling | +446 | 97765 | DeepSeek, GPT, Llama, LLM, MoE, Qwen | A high-throughput and memory-efficient inference and serving engine for LLMs. |
| 5 | [SGLang](https://ossradar.net/repo/sgl-project/sglang) (sgl-project/sglang) | LLM tooling | +259 | 39164 | DeepSeek, Llama, LLM, MoE, Qwen | SGLang is a high-performance serving framework for large language models and multimodal models. |
| 6 | [AirLLM](https://ossradar.net/repo/lyogavin/airllm) (lyogavin/airllm) | LLM tooling | +733 | 43599 | Llama, LLM, LoRA, QLoRA | AirLLM 2.8T LLM inference with single 4GB GPU. |
| 7 | [project-maya](https://ossradar.net/repo/mw00/project-maya) (mw00/project-maya) | LLM tooling | +343 | 3500 | DeepSeek, LLM, MoE, quantization | Run GLM-5.3 (744B), DeepSeek-V4.1-Flash (748B), MiniMax-M3.1-Flash (428B), GLM-5.3-Flash (321B), Hy4-Flash (220B)… |
| 8 | [AstrBot](https://ossradar.net/repo/AstrBotDevs/AstrBot) (AstrBotDevs/AstrBot) | LLM tooling | +371 | 47684 | agent, AI, GPT, Llama, LLM | AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw… |
| 9 | [ai-engineering-from-scratch](https://ossradar.net/repo/rohitg00/ai-engineering-from-scratch) (rohitg00/ai-engineering-from-scratch) | LLM tooling | +1239 | 81003 | agent, AI, LLM, transformers | Learn AI Engineering! Learn it. Build it. Ship it for others. |
| 10 | [ai-guide](https://ossradar.net/repo/liyupi/ai-guide) (liyupi/ai-guide) | LLM tooling | +183 est. | 22466 | AI, DeepSeek, GPT, LLM | GPT Gemini Claude RAG MCP Claude Code TRAE Codex. |
| 11 | [PolyStrata](https://ossradar.net/repo/simplexai-labs/PolyStrata) (simplexai-labs/PolyStrata) | LLM tooling | +344 | 1684 | Gemma, LLM, Qwen | Run large AI models on your own PC: Qwen3.8-Flash-Next on Strata's engine, and GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Qwen3.6, Ornith… |
| 12 | [RustingStrata](https://ossradar.net/repo/RustingStudio/RustingStrata) (RustingStudio/RustingStrata) | LLM tooling | +205 | 537 | LLM, MoE, Qwen | Pure-Rust LLM inference engine for GGUF (Qwen, DeepSeek, GLM, Hy4, Flint). |

Gains marked est. are estimates for repos first seen less than a week ago. Each repo also has a Markdown page: append .md to its repo URL.

## More

- LlamaFactory repo page: https://ossradar.net/repo/hiyouga/LlamaFactory (Markdown: https://ossradar.net/repo/hiyouga/LlamaFactory.md)
- Alternatives to Soup: https://ossradar.net/alternatives/MakazhanAlpamys/Soup.md
- Alternatives to Unsloth: https://ossradar.net/alternatives/unslothai/unsloth.md
- Alternatives to LLMs-from-scratch: https://ossradar.net/alternatives/rasbt/LLMs-from-scratch.md
- Alternatives to vLLM: https://ossradar.net/alternatives/vllm-project/vllm.md
- Alternatives to SGLang: https://ossradar.net/alternatives/sgl-project/sglang.md
- Alternatives to AirLLM: https://ossradar.net/alternatives/lyogavin/airllm.md
- All trending LLM tooling repos: https://ossradar.net/category/llm-tooling.md
- Alternatives to other trending repos: https://ossradar.net/alternatives
- Live leaderboard: https://ossradar.net/ (also https://ossradar.net/llms.txt and https://ossradar.net/api/v1/trending)

Free to cite with a link back to https://ossradar.net/alternatives/hiyouga/LlamaFactory.
