I currently have Pytorch (version 1.13.1+cu116) setup. It detects the GPU and works fine with CUDA version 11.6. Below is my output from running nvidia-smi
:
I am now trying to setup tensorflow with GPU support. However, it is not working with CUDA version 11.6 (doesn't detect my GPU when using tf.config.list_physical_devices
) and upon further examination the latest versions of tensorflow only support up to CUDA 11.2.
If I try to install CUDA version 11.2 the installer quits out saying "You already have a newer version of the NVIDIA Frameview SDK installed", which is understandable considering my CUDA 11.6 installation for pytorch. My question is, if I uninstall CUDA 11.6 and install CUDA 11.2 for tensorflow, will this break my pytorch GPU support? Or is pytorch backwards compatible with previous CUDA versions? What is the best way to get both tensorflow and pytorch working with my GPU since they both support different CUDA versions?
Any assistance is greatly appreciated.