CUDA Compatibility
Runs selected PyTorch CUDA 13 operations on older NVIDIA GPUs, starting with Maxwell sm_52. Independent and evidence-first; not NVIDIA's CUDA Compatibility package.
Overview
CUDA Compatibility is an independent research project that runs selected PyTorch CUDA 13 operations on older NVIDIA GPUs, starting with Maxwell cards like the GTX TITAN X. It is not NVIDIA's CUDA Compatibility package, and it does not make arbitrary CUDA 13 software run.
My role
Creator: research, engineering and the evidence record.
The problem
CUDA 13 dropped Maxwell, Pascal and Volta, and the official PyTorch build for CUDA 13 starts at sm_75. On a TITAN X, which is sm_52, torch imports, sees the card and copies tensors, then fails the first time it adds two of them: no kernel image is available. Reporting a newer runtime version alone changed nothing.
How it works
cuda-legacy run starts one Python process with the adapter inside it; nothing changes machine-wide. A small preloaded library answers a single question, the CUDA runtime version, and leaves the real device, compute capability and driver alone.
LLVM compiles the project's own kernels to PTX for sm_52. A small Driver API bridge loads them and launches on PyTorch's current stream, and PyTorch's dispatcher routes the selected operators to them. About twenty operator families run natively, among them elementwise math, GELU, softmax, layer norm, reductions, embeddings, fused Adam and AdamW, max pooling, LSTM and GRU cells, and matrix multiply. Operators it doesn't cover fall back to the CPU and copy back, with caps on how much each copy moves.
The evidence
Every mark on the support matrix carries an evidence record, and failures are kept as records too. All of it comes from one host with three GTX TITAN X cards.
The operator and MLP suite passes on all three cards. A private transformer checkpoint matched the CPU on every output across six batch and sequence sizes, and BERT-base and GPT-2-small each train a step that matches the CPU. Speed is measured against that host's CPU, not against newer GPUs.
What it doesn't claim
General CUDA 13 compatibility, prebuilt CUDA 13 binaries, broad cuDNN, NCCL or Triton coverage, multiple GPUs, or any card other than the GTX TITAN X as verified. The site counts its claims of universal support, and the count is zero.
Where it stands
Version 0.2.22 shipped on November 4, 2026, the twenty-fourth release in two days. It installs on Linux x86_64 with a checksum-pinned script that never uses sudo. MIT or Apache-2.0.