sd-scripts
sd-scripts copied to clipboard
Generate sample images without having CUDA (such as on Macs)
Hello!
This is a quick fix that allows sample images to be generated for those (like me) who are on Mac or otherwise don't have CUDA. It just adds if statements to skip the CUDA specific commands if it isn't available.
Fixes: https://github.com/kohya-ss/sd-scripts/issues/390