---
schema: "https://insidethemachine.ai/schema/listing.schema.json"
slug: "pytorch"
name: "PyTorch"
kind: "repo"
tier: "catalog"
category: "runtimes"
category_label: "Runtimes & inference"
stack_layer: "runtime"
homepage: "https://pytorch.org"
repo: "https://github.com/pytorch/pytorch"
license: "BSD-3-Clause"
stars: 104960
stars_as_of: "2026-10-21"
last_push: "2026-10-21"
archived: false
part_no: "T-055"
labels: ["Apple Silicon"]
tags: ["apple-silicon"]
seen_in_videos: []
gap_score: null
gap_score_status: "pending test on Mac Studio"
verified_on: "2026-10-21"
---

# PyTorch

**What:** The main toolkit AI apps are built on; runs models on Mac GPUs.

**Why:** Runs open models on your own hardware.

**Category:** Runtimes & inference · **Stack layer:** runtime

## Status

Catalog entry. Existence and repo metadata checked 2026-10-21 via the GitHub API. Install commands below are auto-extracted from the README and have NOT been executed or verified. Read the README before running anything; prefer a sandbox or venv.

## Install (unverified)

1. [macos-apple-silicon] source: Hugging Face blog 'MPS in PyTorch 2.15' (2026-10-20), release candidate; status: unverified, not executed

```bash
uv pip install torch==2.15.0 --index-url https://download.pytorch.org/whl/test/cpu
```

It uses pip, which needs a virtual environment (venv): a separate folder for one Python app.

## Verify

No verified check yet. Minimum: the install command exits 0 and the tool's own help/version flag runs (exact flag: see README).

## Rollback (unverified)

1. source: derived inverse of install command

```bash
uv pip uninstall torch
```

## Links

- Homepage: https://pytorch.org
- Repo: https://github.com/pytorch/pytorch
- README: https://github.com/pytorch/pytorch#readme

## Part sheet (human page https://insidethemachine.ai/setups/pytorch)

- Part number: T-055 (sheet 55 of 268). Part numbers follow the stack: layer, then group, then A to Z by name. Star counts never move a number.
- Group: Runtimes & inference (drawer 05 of 20, https://insidethemachine.ai/setups/c/runtimes). Layer: 2 of 5, runtime.
- GitHub (catalog.json, read 2026-10-21): 104,960 stars; last code push 2026-10-21.
- Install: Not tested yet (catalog entry).
- Entry checked: 2026-10-21. In our change log 2026-10-20: New in the directory.
- Apple Silicon: Built for Macs with M-series chips.
- Next parts in this drawer: T-056 RamaLama (https://insidethemachine.ai/setups/ramalama), T-057 SGLang (https://insidethemachine.ai/setups/sglang), T-058 vLLM (https://insidethemachine.ai/setups/vllm), T-059 vLLM Metal (https://insidethemachine.ai/setups/vllm-metal), T-041 KoboldCpp (https://insidethemachine.ai/setups/koboldcpp), T-042 llama-swap (https://insidethemachine.ai/setups/llama-swap).
- Previous part: T-054 Ollama (https://insidethemachine.ai/setups/ollama). Next part: T-056 RamaLama (https://insidethemachine.ai/setups/ramalama).
