modelscope / DiffSynth-Studio

Enjoy the magic of Diffusion models!
Apache License 2.0
5.51k stars 502 forks source link

cuda error #52

Closed qinjinsoft closed 1 week ago

qinjinsoft commented 1 week ago

image My computer has CUDA correctly installed and it works fine with other open-source projects. However, when I start this project, I get this error and cannot use other features.

qinjinsoft commented 1 week ago

Here is the translation of your message into English:

Due to my CUDA version being 12.4, when I installed the project, it automatically installed PyTorch version 2.3.1+cpu for me. I executed the command pip uninstall torch torchvision torchaudio, and then installed the corresponding version from https://pytorch.org/. This solved the problem. I hope this can help others too.