Home/LLM Frameworks/LlamaFactory
LlamaFactory logo

LlamaFactory

hiyouga/LlamaFactory

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

75k stars9.2k forksLast push Sep 14, 2026 Python Apache-2.0

Decision brief

Unverified catalog guidance: LlamaFactory is a Python-based tool for efficient fine-tuning of over 100 large language models and vision-language models, supporting various methods like LoRA, QLoRA, and quantization.

Good fit when

  • Unverified catalog guidance: Use LlamaFactory when you need to fine-tune a wide range of large language models and vision-language models with methods like LoRA, QLoRA, and quantization.
  • Unverified catalog guidance: LlamaFactory is ideal for users who require a unified framework for efficient fine-tuning across multiple models, as it supports over 100 different models.

Avoid when

  • Unverified catalog guidance: Avoid LlamaFactory if you are working with models not included in its supported list of over 100 models, as it may not provide the necessary fine-tuning capabilities.
  • Unverified catalog guidance: Do not use LlamaFactory if you are working in an environment where Python or specific dependencies like PyTorch and bitsandbytes cannot be installed or are not supported.
Requirements:
Min 4 GB RAM; Requires Docker; Hardware requirements vary based on the method and model size. For example, full fine-tuning of a 7B model requires 120GB of memory, while QLoRA with 2-bit can ; Installation is mandatory and can be done from source or via Docker. Additional dependencies like `metrics` and `deepspeed` are optional.; For Windows users, manual installation of PyTorch with CUDA support is required, and bitsandbytes must be installed for QLoRA support.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (4d since push)
As of Sep 18, 2026
Provenance
Not a fork · Personal account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install bitsandbytes

README installation instruction · observed Sep 20, 2026

PyPI

Relationship proposals(38)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Alternatives

Integrations

Related tools

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

LlamaFactory is a Python-based tool for efficient fine-tuning of over 100 large language models and vision-language models, supporting various methods like LoRA, QLoRA, and quantization.

Capability facts

CLI
Unknown; CLI entrypoint not verified

Source: pyproject.toml:[project.scripts] · Sep 18, 2026

Languages
python

Source: github.language+pyproject.toml · Sep 18, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 18, 2026)

This image is built on Ubuntu 22.04 (x86\_64), CUDA 12.4, Python 3.11, PyTorch 2.6.0, and Flash-attn 2.7.4.
Source link

Tags

README

Hardware Requirement \ estimated Method Bits 7B 14B 30B 70B B Full ( or ) 32 120GB 240GB 600GB 1200GB GB Full ( ) 16 60GB 120GB 300GB 600GB GB Freeze/LoRA/GaLore/APOLLO/BAdam/OFT 16 16GB 32GB 64GB 160GB GB QLoRA / QOFT 8 10GB 20GB 40GB 80GB GB QLoRA / QOFT 4 6GB 12GB 24GB 48GB GB...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.