{
  "slug": "llama-factory",
  "name": "LLaMA-Factory",
  "category": "finetune",
  "kind": "repo",
  "tier": "catalog",
  "what": "Fine-tune 100+ LLMs and VLMs from one tool.",
  "what_source": "editor",
  "why": "Teach a model your data and style.",
  "icon": "SlidersHorizontal",
  "stack_layer": "model",
  "repo": "https://github.com/hiyouga/LlamaFactory",
  "homepage": "https://llamafactory.readthedocs.io",
  "readme": "https://github.com/hiyouga/LlamaFactory#readme",
  "license": "Apache-2.0",
  "repo_meta": {
    "stars": 75495,
    "last_push": "2026-10-10",
    "last_commit": "2026-10-10",
    "archived": false,
    "fork": false,
    "language": "Python",
    "checked_on": "2026-10-15"
  },
  "tags": [],
  "seen_in_videos": [],
  "cloud_note": null,
  "install": [
    {
      "run": "git clone --depth 1 https://github.com/hiyouga/LlamaFactory.git",
      "platform": "any",
      "source": "README (auto-extracted)",
      "status": "unverified, not executed"
    },
    {
      "run": "docker run -it --rm --gpus=all --ipc=host hiyouga/llamafactory:latest",
      "platform": "any",
      "source": "README (auto-extracted)",
      "status": "unverified, not executed"
    },
    {
      "run": "pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126",
      "platform": "any",
      "source": "README (auto-extracted)",
      "status": "unverified, not executed"
    },
    {
      "run": "pip install bitsandbytes",
      "platform": "any",
      "source": "README (auto-extracted)",
      "status": "unverified, not executed"
    }
  ],
  "verify": [],
  "rollback": [
    {
      "run": "rm -rf https://github.com/hiyouga/LlamaFactory.git",
      "source": "derived inverse of install command",
      "status": "unverified"
    },
    {
      "run": "pip uninstall -y torch",
      "source": "derived inverse of install command",
      "status": "unverified"
    },
    {
      "run": "pip uninstall -y bitsandbytes",
      "source": "derived inverse of install command",
      "status": "unverified"
    }
  ],
  "gap_score": {
    "value": null,
    "status": "pending test on Mac Studio"
  },
  "verified_on": "2026-10-15"
}