{
  "slug": "pytorch",
  "name": "PyTorch",
  "category": "runtimes",
  "kind": "repo",
  "tier": "catalog",
  "what": "The main toolkit AI apps are built on; runs models on Mac GPUs.",
  "what_source": "editor",
  "why": "Runs open models on your own hardware.",
  "icon": "Cpu",
  "stack_layer": "runtime",
  "repo": "https://github.com/pytorch/pytorch",
  "homepage": "https://pytorch.org",
  "readme": "https://github.com/pytorch/pytorch#readme",
  "license": "BSD-3-Clause",
  "repo_meta": {
    "stars": 104960,
    "last_push": "2026-10-21",
    "last_commit": "2026-10-21",
    "archived": false,
    "fork": false,
    "language": "Python",
    "checked_on": "2026-10-21"
  },
  "tags": [
    "apple-silicon"
  ],
  "seen_in_videos": [],
  "cloud_note": null,
  "install": [
    {
      "run": "uv pip install torch==2.15.0 --index-url https://download.pytorch.org/whl/test/cpu",
      "platform": "macos-apple-silicon",
      "source": "Hugging Face blog 'MPS in PyTorch 2.15' (2026-10-20), release candidate",
      "status": "unverified, not executed"
    }
  ],
  "verify": [
    {
      "run": "python3 -c \"import torch; print(torch.__version__, torch.backends.mps.is_available())\"",
      "expect": "prints 2.15.0 and True on an Apple silicon Mac with macOS 15 or later"
    }
  ],
  "rollback": [
    {
      "run": "uv pip uninstall torch",
      "source": "derived inverse of install command",
      "status": "unverified"
    }
  ],
  "gap_score": {
    "value": null,
    "status": "pending test on Mac Studio"
  },
  "verified_on": "2026-10-21",
  "sources": [
    "https://github.com/pytorch/pytorch",
    "https://huggingface.co/blog/mps-pytorch-2-15"
  ],
  "notes": [
    "2.15 is a release candidate as of 2026-10-20; latest stable release is v2.14.1 (2026-09-30).",
    "Mac GPU (MPS) needs macOS 15 or later; PyTorch 2.15 needs Python 3.11 or later.",
    "GitHub reports the licence as NOASSERTION; the LICENSE file is BSD-style 3-clause."
  ],
  "part_no": "T-055",
  "labels": [
    "Apple Silicon"
  ]
}