[D] RTX 5090 / 50-series CuPy setup (Blackwell architecture, CUDA 13.1 required)

Body (unchanged, already compliant):

If you just got an RTX 5090 / 5080 / 5070 and CuPy (or downstream libraries) is failing, this is why.

TL;DR

  • Blackwell GPUs require CUDA 13.1
  • Pre-built CuPy wheels do not support compute capability 10.0
  • You must build from source

CuPy setup

pip uninstall cupy cupy-cuda12x -y 

Install CUDA Toolkit 13.1, then:

pip install cupy --no-binary cupy 

Windows note:
Add the following to PATH:

C:Program FilesNVIDIA GPU Computing ToolkitCUDAv13.1binx64 

DLLs are not in bin.

Full guide + troubleshooting: https://gist.github.com/Batyrkajan/a2775e444e57798c309bd2a966f1176e.js

Verified with a 1M-particle physics simulation: ~21× speedup vs CPU once configured correctly.

submitted by /u/Busy-as-usual
[link] [comments]

Liked Liked