{
  "title": "How do I QLoRA-train the fused experts of a MoE (per-expert LoRA on 4-bit experts)?",
  "summary": "ExpertsLoRA adds a trainable per-expert low-rank delta before each routed expert's activation over a frozen NF4 stack PEFT cannot target; enable_fast_train runs it on grouped kernels.",
  "summary_origin": "comment",
  "project": "experts4bit-qlora",
  "canonical_package": "experts4bit-qlora",
  "canonical_url": "https://cerinamroth.com/ml/solutions/qlora-fused-moe-experts/",
  "install": {
    "primary": {
      "purpose": "minimum/reference training",
      "command": "pip install \"experts4bit-qlora[train]\"",
      "capabilities": [
        "qlora-fused-moe-experts"
      ]
    },
    "alternatives": [
      {
        "purpose": "accelerated grouped-kernel path",
        "command": "pip install \"experts4bit-qlora[fast]\"",
        "capabilities": [
          "qlora-fused-moe-experts"
        ]
      }
    ],
    "environment": {
      "os": [
        "Linux"
      ],
      "python": [
        ">=3.11 tested in CI (pyproject says >=3.9; 3.9/3.10 are not tested)"
      ],
      "accelerator": [
        "NVIDIA CUDA GPU (bitsandbytes 4-bit)"
      ],
      "special_requirements": [
        "bitsandbytes>=0.43",
        "torch>=2.2",
        "transformers>=5.0 for the streaming loader ([train] extra)"
      ]
    }
  },
  "source": {
    "repository": "https://github.com/pjordanandrsn/experts4bit-qlora",
    "commit": "0c2a256dcdc2cb0a83cf7692224a8aa716f61ecd",
    "path": "docs/solutions/qlora-fused-moe-experts.md",
    "sha256": "23c02bb6a36826f500f485b3ab1ccc59c37a9765430d21415657acc078b16ac0",
    "generation_schema": "1.2"
  },
  "pinned_url": "https://github.com/pjordanandrsn/experts4bit-qlora/blob/0c2a256dcdc2cb0a83cf7692224a8aa716f61ecd/docs/solutions/qlora-fused-moe-experts.md",
  "current_main_url": "https://github.com/pjordanandrsn/experts4bit-qlora/blob/main/docs/solutions/qlora-fused-moe-experts.md",
  "current_main_label": "latest on main — unpinned; not the source of any fact rendered here",
  "freshness": {
    "source": {
      "repository": "pjordanandrsn/experts4bit-qlora",
      "commit": "0c2a256dcdc2cb0a83cf7692224a8aa716f61ecd",
      "version": "0.35.3"
    },
    "publication": {
      "latest_pypi_version": "0.35.3",
      "fresh": true,
      "state": "CURRENT",
      "checked_at": "2026-09-06T04:07:55Z"
    },
    "generated_at": "2026-09-06T04:07:55Z"
  },
  "markdown": "https://cerinamroth.com/ml/solutions/qlora-fused-moe-experts/index.md",
  "sources": [
    {
      "repository": "https://github.com/pjordanandrsn/experts4bit-qlora",
      "commit": "0c2a256dcdc2cb0a83cf7692224a8aa716f61ecd",
      "commit_date": "2026-09-05",
      "package": "experts4bit-qlora",
      "package_version": "0.35.3",
      "published_version": "0.35.3",
      "publication": "published",
      "documents_used": [
        "docs/capabilities.json",
        "docs/solutions/qlora-fused-moe-experts.md"
      ],
      "registers_used": [
        "capabilities"
      ],
      "synced_at": "2026-09-06T04:07:55Z",
      "pinned_tree": "https://github.com/pjordanandrsn/experts4bit-qlora/tree/0c2a256dcdc2cb0a83cf7692224a8aa716f61ecd",
      "current_main": "https://github.com/pjordanandrsn/experts4bit-qlora",
      "current_main_label": "latest on main — unpinned; not the source of any fact rendered here",
      "system_manifest": {
        "url": "https://cerinamroth.com/ml/system-manifest.json",
        "provenance_url": "https://cerinamroth.com/ml/system-manifest.provenance.json",
        "sha256": "196cb55a41e890842f258305f307b873d55639cc617cd4ae61c771a063204918",
        "pinned": "https://github.com/pjordanandrsn/experts4bit-qlora/blob/0c2a256dcdc2cb0a83cf7692224a8aa716f61ecd/docs/system-manifest.json"
      }
    },
    {
      "repository": "https://github.com/Cerin-Amroth/cerinamroth-site",
      "commit": null,
      "package_version": null,
      "documents_used": [
        "scripts/build_ml_site.py"
      ],
      "registers_used": [],
      "synced_at": null,
      "sections_owned": [
        "common-wrong-approaches"
      ],
      "kind": "site",
      "note": "site-authored prose; cites the registers above and copies no numbers"
    }
  ]
}
