{
  "title": "How can I run a Mixture-of-Experts model larger than my GPU's VRAM?",
  "summary": "Choose a residency path by workload and by the memory tier that ran out: pinned-host expert streaming, dense offload, profiled hot residency, or an NVMe arena.",
  "summary_origin": "comment",
  "project": "experts4bit-qlora",
  "canonical_package": "experts4bit-qlora",
  "canonical_url": "https://cerinamroth.com/ml/solutions/run-moe-larger-than-vram/",
  "install": {
    "primary": {
      "purpose": "host-RAM training route",
      "command": "pip install \"experts4bit-qlora[train]\"",
      "capabilities": [
        "run-moe-larger-than-vram"
      ]
    },
    "alternatives": [
      {
        "purpose": "residency/NVMe/fast-kernel route",
        "command": "pip install \"experts4bit-qlora[fast]\"",
        "capabilities": [
          "run-moe-larger-than-vram"
        ]
      }
    ],
    "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/run-moe-larger-than-vram.md",
    "sha256": "7cd2e077e6d40730275e343b67824c1c2bd4c2f420ce895ac865d1cfde8ad078",
    "generation_schema": "1.2"
  },
  "pinned_url": "https://github.com/pjordanandrsn/experts4bit-qlora/blob/0c2a256dcdc2cb0a83cf7692224a8aa716f61ecd/docs/solutions/run-moe-larger-than-vram.md",
  "current_main_url": "https://github.com/pjordanandrsn/experts4bit-qlora/blob/main/docs/solutions/run-moe-larger-than-vram.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/run-moe-larger-than-vram/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/run-moe-larger-than-vram.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"
    }
  ]
}
