victordibia/peacasso

always CPU rendering

Slendermane opened this issue · 3 comments

For whatever reason, Peacasso is always using CPU instead of GPU, which causes the rendering times to be up to 5 minutes while I have a perfectly good 1080 Ti. I'm a complete noob at both Python and Conda, so I have no experience at adjusting the code in order to make it work the way it should. Is there anyone who would be willing to help me out with this in a more direct manner? Such as through Discord? Would be greatly appreciated.

Additionally, when attempting to use the image prompt instead of text prompt, I receive this error:
obrazek

Thanks for the feedback slendermane.
Peacasso is currently optimized for running on GPU (currently working on an update to allow selection between GPU, CPU and MPS for apple mac pros).

On your first error, the main issue is that your current conda environment probably does not have pytorch + cuda correctly setup.

Second error on image error is related to Peacasso not being yet optimized for CPU (there are parts that attempt half precision conversions that are not supported on CPU).

Greetings, thanks for the reply.
I have actually installed both Pytorch and CUDA. If the versions that I've installed aren't correct, could you direct me to which version I should download and install to make sure that it's going to work correctly with Peacasso?