{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "lyogavin-airllm--run-llama-style-models-on-a-mac",
 "repo": "lyogavin/airllm",
 "repo_url": "https://github.com/lyogavin/airllm",
 "repo_slug": "lyogavin-airllm",
 "title": "Run large Llama-style models on a Mac with AirLLM",
 "page_title": "How to run large Llama-style models on a Mac with AirLLM with Airllm",
 "summary": "Install mlx and torch and run AirLLM on Apple Silicon for supported model architectures.",
 "who": "A Mac user who wants to try large open models without an NVIDIA GPU.",
 "problem": "Most large-model tooling assumes CUDA and does not run on Macs.",
 "outcome": "A Llama-style model running on your Mac through AirLLM's macOS support.",
 "steps": [
  "Install mlx and torch on your Mac",
  "Run `pip install airllm`",
  "Pick a Llama-style model; only LlamaForCausalLM and MistralForCausalLM run on macOS for now",
  "Follow the run_on_macos example notebook from the README",
  "Generate text and check memory use while it runs"
 ],
 "agent_prompt": "Set up lyogavin/airllm on my Mac with mlx and torch, choose a Llama-style model that is supported on macOS, run the macOS example with <prompt>, and report memory use and time per token.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Other architectures raise an error on macOS before anything is downloaded.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "jupyter notebook",
 "requirements": [
  "Python and pip",
  "A CUDA GPU (a few GB of VRAM) or a Mac with mlx and torch for Llama-style models",
  "Lots of disk for split layer shards; some models need specific transformers versions",
  "Optional: bitsandbytes for compression"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/lyogavin-airllm/run-llama-style-models-on-a-mac/",
 "md": "https://dedupedai.com/use-cases/lyogavin-airllm/run-llama-style-models-on-a-mac/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/lyogavin-airllm--run-llama-style-models-on-a-mac.json",
 "api_version": "v1"
}
