Skip to content

docs(installation): clarify NVIDIA driver vs CUDA Toolkit; add uv source install#318

Merged
lstein merged 1 commit into
masterfrom
lstein/docs/clarify-cuda-installation
Jun 8, 2026
Merged

docs(installation): clarify NVIDIA driver vs CUDA Toolkit; add uv source install#318
lstein merged 1 commit into
masterfrom
lstein/docs/clarify-cuda-installation

Conversation

@lstein

@lstein lstein commented Jun 8, 2026

Copy link
Copy Markdown
Owner

What & why

Installing the GPU build of PyTorch bundles its own CUDA runtime, so users never need the CUDA Toolkit — only a recent NVIDIA driver. This is identical on Windows and Linux. The existing docs were misleading: they told users to download and run NVIDIA's CUDA Toolkit installer, treated Windows and Linux as different, and claimed CUDA 13 was unsupported (cu130 is now PyTorch's stable default as of 2.11/2.12).

Changes

  • docs/installation/cuda.md — rewritten around "driver, not toolkit" (heading now NVIDIA GPU Acceleration):
    • nvidia-smi is the readiness check, with the two clarifications that trip people up: it ships with the driver (not the toolkit), and its top-right "CUDA Version" is the driver's capability, not an installed toolkit (just confirm 12.x or newer).
    • Driver-only install steps for Windows (GeForce/Studio driver) and Linux (fresh Ubuntu/Mint boots nouveau; ubuntu-drivers autoinstall / apt install nvidia-driver-XXX / Driver Manager GUI).
    • macOS callout: no CUDA, Apple-Silicon MPS is automatic.
  • docs/installation.md — corrected the manual-install GPU note (driver-only; Linux/macOS get a GPU build automatically, Windows uses the CUDA index or --torch-backend auto); added a uv variant (uv venv && uv pip install .) to the manual-from-source section alongside the stock pip path, plus an editable-install note for people modifying the source.
  • mkdocs.yml — nav label "CUDA Setup" → "GPU Acceleration".

Docs-only; no code paths touched.

🤖 Generated with Claude Code

…rce install

The GPU build of PyTorch bundles its own CUDA runtime, so users never need
the CUDA Toolkit — only a recent NVIDIA driver. This is identical on Windows
and Linux. The old docs told users to download and run the CUDA Toolkit
installer and claimed CUDA 13 was unsupported (cu130 is now the stable
default as of PyTorch 2.11/2.12).

- Rewrite installation/cuda.md around "driver, not toolkit" with an nvidia-smi
  readiness check (it ships with the driver; its "CUDA Version" is the driver
  capability, not an installed toolkit) and driver-install steps for Windows
  and Linux. Note macOS uses MPS automatically.
- installation.md: correct the manual-install GPU note (driver-only; Linux/
  macOS get a GPU build automatically, Windows uses the CUDA index or
  --torch-backend auto).
- installation.md: add a uv variant (uv venv && uv pip install .) to the
  manual-from-source section alongside the stock pip path, plus an editable-
  install note for people modifying the source.
- mkdocs.yml: nav label "CUDA Setup" -> "GPU Acceleration".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lstein lstein merged commit 6353322 into master Jun 8, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant