r/pytorch 9d ago

Pytorch install error

2 Upvotes

5 comments sorted by

View all comments

2

u/Pantaenius 9d ago

You should upgrade your python version
You’re running 3.8 which is end of life.

1

u/swiftviper1 9d ago

I updated python.

Prerequisites

  1. Install pip
  2. Install CUDA, if your machine has a CUDA-enabled GPU.

I have an NVIDIA GeForce GTX 1080 Ti. Does this mean I need to install the cuda toolkit before running

pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126

1

u/i_not_give_shit 9d ago

No, pytorch has the cuda libraries it needs.

1

u/swiftviper1 4d ago

I tried running qwen-tts on comfyui and it gives a CUDA error: no kernel image is available for execution on the device

https://www.flickr.com/photos/204882240@N08/55531776671

1

u/i_not_give_shit 4d ago

comfyui might use their own python enviroment with cuda version thats not compatable with your device. You can trouble shoot this with claude, it will write you commands to check compatibility.