$npx skillfedfor your agent

llamafactory

Unified Efficient Fine-Tuning of 100+ LLMs

With conditionsPyPI Artificial IntelligenceReleased May 2026101.6K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — llamafactory-0.9.5-py3-none-any.whl
v0.9.5 · released 2026-05-30 · Python >=3.11.0 · 31 runtime deps: accelerate, av, datasets, einops, fastapi, fire, gradio, hf-transfer

Yes, if you need to fine-tune LLMs without writing training code. The framework is actively maintained, has no known vulnerabilities, and is used by major organizations (Amazon, NVIDIA, Aliyun). The Apache-2.0 license is permissive. Install friction is low, but you must have Python 3.11+, GPU resources (or significant CPU), and be comfortable with the 31-dependency stack. Start with the free Colab notebook or PAI-DSW trial to evaluate before committing to local setup.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; torch and transformers must be installed; GPU or substantial CPU resources needed for actual model training.
  • Low friction installation with a pure Python wheel.
  • Active maintenance with recent releases; 74099 repository stars and last commit on 2026-08-13 signal sustained development.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for both research and production deployments.

last release 2026-05-30 (76 days) · last repo commit 2026-08-13 · 74,099 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 101,638 downloads/mo, #12,922 on PyPI

Verify before relying

pip install llamafactory

from llamafactory.cli import main
main()
  • Exact model count and which specific models are supported beyond the 100+ claim in the summary
  • Performance benchmarks or training speed comparisons across different quantization methods
  • Memory requirements for fine-tuning models of different sizes
  • Whether the web UI (LLaMA Board) can run on CPU-only systems
Same gist for agents: .md · .json

What it is and what it does

LLaMA Factory is a unified framework for fine-tuning large language models, designed to reduce the friction of adapting pre-trained models to specific tasks or domains. It abstracts away boilerplate training code and provides both command-line and web UI entry points, letting users configure training runs through YAML or the Gradio interface without writing custom training loops. The package bundles support for multiple training paradigms—supervised fine-tuning, reward modeling, reinforcement learning methods like DPO and PPO, and quantization-aware training—across a broad range of model families.

The package depends on a substantial ecosystem: PyTorch, Hugging Face Transformers, PEFT for parameter-efficient tuning, and supporting libraries for data handling, optimization, and inference. It integrates with experiment tracking tools (Weights & Biases, MLflow, SwanLab), model hubs (Hugging Face, ModelScope), and inference servers (vLLM, SGLang). The framework targets researchers and practitioners who want to customize LLMs without managing low-level training infrastructure, and it is actively maintained with support for newly released model architectures.

Use it for

  • Fine-tune a Qwen or Llama model on domain-specific instruction data using LoRA to reduce memory footprint
  • Adapt a vision-language model like LLaVA for custom image understanding tasks via the web UI
  • Run reward modeling and DPO training on a base model to align outputs with human preferences
  • Quantize and fine-tune a large model with QLoRA to fit on consumer GPUs
  • Deploy a fine-tuned model with OpenAI-compatible API endpoints using vLLM integration

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to fine-tune LLMs without writing training code.

The framework is actively maintained, has no known vulnerabilities, and is used by major organizations (Amazon, NVIDIA, Aliyun). The Apache-2.0 license is permissive. Install friction is low, but you must have Python 3.11+, GPU resources (or significant CPU), and be comfortable with the 31-dependency stack. Start with the free Colab notebook or PAI-DSW trial to evaluate before committing to local setup.

Install

llamafactory on PyPI

Before you install

Low friction installation with a pure Python wheel. Active maintenance with recent releases; 74099 repository stars and last commit on 2026-08-13 signal sustained development. Requires Python 3.11+ and 31 runtime dependencies including torch, transformers, and peft—a substantial but typical stack for deep learning work.

Requires Python 3.11 or later; torch and transformers must be installed; GPU or substantial CPU resources needed for actual model training.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for both research and production deployments.

Quickstart

pip install llamafactory

from llamafactory.cli import main
main()

Verify before relying

  • Exact model count and which specific models are supported beyond the 100+ claim in the summary
  • Performance benchmarks or training speed comparisons across different quantization methods
  • Memory requirements for fine-tuning models of different sizes
  • Whether the web UI (LLaMA Board) can run on CPU-only systems

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.11.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
31 packages
accelerateavdatasetseinopsfastapifiregradiohf-transfermatplotlibmodelscopenumpyomegaconfpackagingpandaspeftprotobufpydanticpyyamlsafetensorsscipysentencepiecesse-starlettetiktokentorchtorchaudiotorchdatatorchvisiontransformerstrltyro
MaintenanceActively maintained 76 days since the last release
Last repo commit
First released
Downloads101,638 / month, #12,922 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/Engineering :: Artificial Intelligence

Evidence: llamafactory-0.9.5-py3-none-any.whl

Tags

Capabilities
llm fine-tuning frameworklarge language model trainingzero-code model adaptationmulti-model fine-tuning platformlora and quantization trainingtransformer model customizationllm instruction tuning
Topics
llm-trainingmodel-adaptationparameter-efficient-tuning
PyPI keywords
AIChatGPTDeepSeekGPTLLMLlamaPytorchTransformer

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “llm fine-tuning framework”

  • llamafactoryLLaMA Factory provides a unified framework for fine-tuning 100+ large…
  • google-tunixTunix is a JAX-based library for post-training large language models…
  • tinker_cookbookTinker Cookbook provides recipes and abstractions for fine-tuning…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also unsloth-zoo · ms-swift · llama-models · google-tunix · peft · modelscope · liger-kernel · ipex-llm · xgrammar

Further reading