Success deply SDXL 0.9 in local, but I can only use PyTorch 1.13 (Using CPU to generate images, speed is slow)

#17
by supwang - opened

Hi, All:

I deply SDXL 0.9 in local, but I can only use PyTorch 1.13. If I use PyTorch 2.0, I got error message "pytorch 2.0.1+cu118 with cuda 1108 (you have 2.0.1+cpu)".
Does anyone know how to solve it? Thank you.
sdxl.png

cpu.png

Solved.
Uninstall pytorch, then reinstall.

  1. pip uninstall -y torch torchvision torchaudio
  2. pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
supwang changed discussion status to closed

Sign up or log in to comment