Pytorch binaries with cuda version 12.2/12.0

I want to know if PyTorch version 2.5.1+cu124 (with the CUDA 12.4 binary) will work on a computer where the CUDA Version is 12.2 or 12.0 as indicated by nvidia-smi.

Your locally installed CUDA toolkit won’t be used as PyTorch binaries ship with their own CUDA runtime. The driver requirements are explained here.