---
type: lookup
id: torch-2-12-1-cuda-12-6
asset: software-interface-version-compatibility
title: "torch==2.12.1 + CUDA 12.6 — Software interface version compatibility"
sources:
  - https://pytorch.org/get-started/previous-versions/
source_quote: "# CUDA 12.6 pip install torch==2.12.1 torchvision==0.27.1 --index-url https://download.pytorch.org/whl/cu126"
generated: true
verified: false
harvested: 2026-08-03
stale_after: 2026-10-02
product: "PyTorch"
pairing: "torch==2.12.1 + CUDA 12.6"
software_version: "2.12.1"
dependency_version: "12.6"
companion_packages: "torchvision==0.27.1"
unverified_fields: pairing
---
**Product:** PyTorch

**Version pairing:** torch==2.12.1 + CUDA 12.6

**Software version:** 2.12.1

**Dependency version:** 12.6

**Companion package versions:** torchvision==0.27.1

> # CUDA 12.6 pip install torch==2.12.1 torchvision==0.27.1 --index-url https://download.pytorch.org/whl/cu126

Source: <https://pytorch.org/get-started/previous-versions/>
