[Python] Issues Connecting CUDA for TensorFlow in Jupyter Notebook

Discussão em 'Python' iniciado por Stack, Março 2, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to set up CUDA to use my GPU in Jupyter Notebook, but I am facing compatibility issues and path configuration problems.

    • Windows 11
    • NVIDIA GeForce RTX 3070
    • Python: 3.12.9
    • TensorFlow: 2.18.0
    • CUDA: 12.5
    • cuDNN: system cannot find it, I've installed version 9.3

    What I Have Tried:

    • Installed TensorFlow and dependencies following the official compatibility table.
    • Tried different CUDA and cuDNN versions but encountered compatibility issues or missing versions in Conda
    • Added CUDA and cuDNN paths to PATH
    • Verified that nvidia-smi detects the GPU.
    • Ran tf.config.list_physical_devices('GPU'), but TensorFlow does not detect the GPU.

    Continue reading...

Compartilhe esta Página