Hi everyone,
I’m currently facing an issue where TensorFlow is unable to detect my GPU and is only using the CPU. Here are the details of my setup:
- GPU: NVIDIA RTX 4090 with the latest graphics drivers installed
- CUDA Version: 11.8
- cuDNN Version: 8.6
- Operating System: [Your OS, e.g., Windows 10, Ubuntu 20.04, etc.]
- Python Version: [Your Python version, e.g., 3.8, 3.9, etc.]
- TensorFlow Version: [Your TensorFlow version, e.g., 2.10, 2.11, etc.]
I’ve made sure that the environment variables for CUDA and cuDNN are set correctly, and the necessary Python libraries are installed. Despite this, TensorFlow still does not recognize the GPU. The output from TensorFlow indicates that no GPU devices are found, and it defaults to using the CPU.
Here is what I’ve tried so far:
- Verified that CUDA and cuDNN paths are correctly set in the environment variables.
- Ensured that the NVIDIA drivers are up to date.
- Reinstalled TensorFlow with GPU support.
- Checked with
nvidia-smi
to confirm that the GPU is properly detected by the system.
Is there something I might be missing or any additional steps I can take to resolve this issue?
Any help or suggestions would be greatly appreciated. Thank you!