Hi, I can't get TensorFlow to use the GPU. My computer has an RTX 4070 graphics card. I've tried installing every CUDA and cuDNN version, but TensorFlow still can't detect them and keeps using the CPU. On the other hand, when I use the same code and run PyTorch with the command pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124, PyTorch immediately accesses the GPU without any issues. Please provide a similarly simple solution for TensorFlow, as I can't figure this out.
Hi, I can't get TensorFlow to use the GPU. My computer has an RTX 4070 graphics card. I've tried installing every CUDA and cuDNN version, but TensorFlow still can't detect them and keeps using the CPU. On the other hand, when I use the same code and run PyTorch with the command pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124, PyTorch immediately accesses the GPU without any issues. Please provide a similarly simple solution for TensorFlow, as I can't figure this out.