Skip to content

TensorFlow GPU Nightmare! #379

@muhendis80

Description

@muhendis80

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions