Source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/Lightricks/LTX-2
Markdown source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/Lightricks/LTX-2.md
Description: LlamaFactory and LTX-2 share 11 technologies: sentencepiece, torchvision, torch, accelerate, peft, safetensors, torchaudio, bitsandbytes, torchcodec, av, and Pydantic. Both are written in Python.

# LlamaFactory vs LTX-2

LlamaFactory and LTX-2 share 11 technologies: sentencepiece, torchvision, torch, accelerate, peft, safetensors, torchaudio, bitsandbytes, torchcodec, av, 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)
- [Lightricks/LTX-2](https://seerepo.com/r/Lightricks/LTX-2): Official Python inference and LoRA trainer package for the LTX-2 audio–video generative model.

## What they share and what sets them apart

- In common: sentencepiece, torchvision, torch, accelerate, peft, safetensors, torchaudio, bitsandbytes, torchcodec, av, Pydantic
- Only in LlamaFactory: FastAPI, uvicorn, Gradio, matplotlib, aqlm, eetq, einops, gptqmodel, hqq, ktransformers, tiktoken, triton-ascend, vector-quantize-pytorch, vocos, transformers, datasets, trl, badam, deepspeed, torch-npu, vLLM, fsdp-turbo, liger-kernel, ModelScope, openmind, adam-mini, apollo-torch, galore-torch, nltk, optimum, rouge-chinese, sglang, torchao, torchdata, transformer-engine, jsonschema-specifications, referencing, swanlab
- Only in LTX-2: Google, OpenAI, Rich, NVIDIA, triton, optimum-quanto, imageio, pillow, imageio-ffmpeg, pillow-heif

## Side by side

| | LlamaFactory | LTX-2 |
|---|---|---|
| Size | 62,694 lines written, 194 code files | 81,590 lines written, 364 code files |
| Who writes it | 1.6% of its commits signed by AI. With Gemini CLI, Claude Code, GitHub Copilot, and Cursor | 0% of its commits signed by AI |
| Activity | Last push November 12, 2026, 2,777 commits, 76,016 stars | Last push November 12, 2026, 36 commits, 10,227 stars |
| Tests | 62 test files. 38.1% of its code files have a test that imports them | 0 test files |

- 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 LTX-2?

LTX-2, with 81,590 lines written; LlamaFactory has 62,694.

The proof: [Lightricks/LTX-2's code at commit f0f2f86](https://github.com/Lightricks/LTX-2/tree/f0f2f8607189c78a72420b2b63cb1975b5eca179)

### Which has more GitHub stars, LlamaFactory or LTX-2?

LlamaFactory, with 76,016 stars; LTX-2 has 10,227.

The proof: [hiyouga/LlamaFactory on GitHub](https://github.com/hiyouga/LlamaFactory)

### Which has more tests, LlamaFactory or LTX-2?

LlamaFactory, with 62 test files.

The proof: [hiyouga/LlamaFactory's code at commit 6d1059c](https://github.com/hiyouga/LlamaFactory/tree/6d1059c727450a4f58e56ad204d01a71abad7781)

### Which was updated more recently, LlamaFactory or LTX-2?

Both got their last push on November 12, 2026.

The proof: [Lightricks/LTX-2's commits on GitHub](https://github.com/Lightricks/LTX-2/commits)

### Which has more commits signed by AI, LlamaFactory or LTX-2?

LlamaFactory: an AI signed 1.6% of its commits, with Gemini CLI, Claude Code, GitHub Copilot, and Cursor.

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

## Sources

- hiyouga/LlamaFactory: Read on November 12, 2026, at commit 6d1059c (https://github.com/hiyouga/LlamaFactory/tree/6d1059c727450a4f58e56ad204d01a71abad7781)
- Lightricks/LTX-2: Read on November 13, 2026, at commit f0f2f86 (https://github.com/Lightricks/LTX-2/tree/f0f2f8607189c78a72420b2b63cb1975b5eca179)

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