[Python] Unable to get cuda available in Jupyter Notebook or Spyder for PyTorch

Discussão em 'Python' iniciado por Stack, Agosto 17, 2025.

  1. Stack

    Stack Membro Participativo

    I've installed pytorch cuda with pip and conda

    when i run this command in IDLE:

    >> import torch

    >> torch.cuda.is_available()


    I get "True", but in Spyder or Jupyter Notebook it gives as "False" even after updating the package and conda. The conda update of pytorch cuda was from 10.1 to 10.2

    Continue reading...

Compartilhe esta Página